Changeset 4917
- Timestamp:
- 05/19/2013 04:59:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/shortcodes.php
r4586 r4917 648 648 return $content; 649 649 650 // Trim search attribute if it's set 651 if ( isset( $attr['search'] ) ) { 652 $attr['search'] = trim( $attr['search'] ); 653 } 654 650 655 // Set passed attribute to $search_terms for clarity 651 656 $search_terms = empty( $attr['search'] ) ? bbp_get_search_terms() : $attr['search'];
Note: See TracChangeset
for help on using the changeset viewer.