Changeset 4971 for trunk/includes/common/shortcodes.php
- Timestamp:
- 05/28/2013 11:12:36 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/common/shortcodes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/shortcodes.php
r4917 r4971 621 621 public function display_search_form() { 622 622 623 // Bail if search is disabled 624 if ( ! bbp_allow_search() ) { 625 return; 626 } 627 623 628 // Start output buffer 624 629 $this->start( 'bbp_search_form' ); … … 645 650 646 651 // Sanity check required info 647 if ( !empty( $content ) ) 652 if ( !empty( $content ) ) { 648 653 return $content; 654 } 655 656 // Bail if search is disabled 657 if ( ! bbp_allow_search() ) { 658 return; 659 } 649 660 650 661 // Trim search attribute if it's set
Note: See TracChangeset
for help on using the changeset viewer.