Changeset 4638 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 07/09/2011 10:58:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r4602 r4638 222 222 223 223 function bp_search_form_action() { 224 global $bp; 225 226 return apply_filters( 'bp_search_form_action', bp_get_root_domain() . '/' . BP_SEARCH_SLUG ); 224 return apply_filters( 'bp_search_form_action', bp_get_root_domain() . '/' . bp_get_search_slug() ); 227 225 } 228 226 … … 594 592 } 595 593 594 /** 595 * Output the search slug 596 * 597 * @package BuddyPress 598 * @since 1.3 599 * 600 * @uses bp_get_search_slug() 601 */ 602 function bp_search_slug() { 603 echo bp_get_search_slug(); 604 } 605 /** 606 * Return the search slug 607 * 608 * @package BuddyPress 609 * @since 1.3 610 */ 611 function bp_get_search_slug() { 612 global $bp; 613 614 return apply_filters( 'bp_get_search_slug', BP_SEARCH_SLUG ); 615 } 616 596 617 /** is_() functions to determine the current page *****************************/ 597 618
Note: See TracChangeset
for help on using the changeset viewer.