Changeset 11707
- Timestamp:
- 09/28/2017 08:38:32 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/template-tags.php
r11686 r11707 1683 1683 * @return string The default search text. 1684 1684 * 1685 * @todo 05/09/17 added '! $text' to $object query as it's not returning output as expected & not returning user set params1686 * This needs looking at as var_dump the query and it shows user set string yet won't return it?!- hnla1685 * @todo 28/09/17 added 'empty( $text )' check to $object query as it wasn't returning output as expected & not returning user set params 1686 * This may require further examination - hnla 1687 1687 */ 1688 1688 function bp_nouveau_search_default_text( $text = '', $is_attr = true ) { 1689 1689 $objects = bp_nouveau_get_search_objects(); 1690 1690 1691 if ( ! empty( $objects['secondary'] ) && ! $text) {1692 echo$text = bp_get_search_default_text( $objects['secondary'] );1691 if ( ! empty( $objects['secondary'] ) && empty( $text ) ) { 1692 $text = bp_get_search_default_text( $objects['secondary'] ); 1693 1693 } 1694 1694
Note: See TracChangeset
for help on using the changeset viewer.