Skip to content

Commit

Permalink
Revert "show existing attachments when attachments are disabled"
Browse files Browse the repository at this point in the history
putting this on a different branch so it doesn't conflict with my
pull request for the minimal theme.

This reverts commit 00a4eae.
  • Loading branch information
JonathanReeve committed Aug 13, 2014
1 parent 00a4eae commit dbbc406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/templates/docs/single/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<?php do_action( 'bp_docs_after_doc_content' ) ?>

<?php if ( bp_docs_doc_has_attachments() ) : ?>
<?php if ( bp_docs_enable_attachments() && bp_docs_doc_has_attachments() ) : ?>
<div class="doc-attachments">
<h3><?php _e( 'Attachments', 'bp-docs' ) ?></h3>
<?php include ( bp_docs_locate_template( 'single/attachments.php' ) ) ?>
Expand Down

0 comments on commit dbbc406

Please sign in to comment.