[buddypress-trac] [BuddyPress Trac] #5442: when user edit within profile is off log-in/out specific menu items break

buddypress-trac noreply at wordpress.org
Sun Mar 2 18:56:05 UTC 2014


#5442: when user edit within profile is off log-in/out specific menu items break
--------------------------+-----------------------------
 Reporter:  gingerling    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.9.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In menu (in my case a sidebar menu) has items that are chosen from the
 buddypress box in appearance > menus. Log In and Join are only visible to
 users who are logged out. This works well except I found this bug:

 When you uncheck settings > budypress > Components "Allow your users to
 modify their account and notification settings directly from within their
 profiles" and view the menu when you are logged in, shows the following
 mad lookin code in place of login and join. The rest of the menu below is
 fine.


 {{{
 Warning: strpos(): Empty delimiter in /var/lib/wordpress/wp-
 content/plugins/buddypress/bp-core/bp-core-filters.php on line 489 Call
 Stack: 0.0001 341020 1. {main}() /usr/share/wordpress/index.php:0 0.0002
 344268 2. require('/usr/share/wordpress/wp-blog-header.php')
 /usr/share/wordpress/index.php:17 1.8181 4435556 3.
 require_once('/usr/share/wordpress/wp-includes/template-loader.php')
 /usr/share/wordpress/wp-blog-header.php:16 2.0572 4638868 4.
 include('/home/phplist/site/trunk/blog/wp-content/themes/phplist-
 community/page.php') /usr/share/wordpress/wp-includes/template-
 loader.php:47 3.3722 4797124 5. get_sidebar()
 /home/phplist/site/trunk/blog/wp-content/themes/phplist-
 community/page.php:44 3.3722 4797812 6. locate_template()
 /usr/share/wordpress/wp-includes/general-template.php:95 3.3723 4798008 7.
 load_template() /usr/share/wordpress/wp-includes/template.php:383 3.3725
 4810544 8. require_once('/home/phplist/site/trunk/blog/wp-
 content/themes/twentyfourteen/sidebar-content.php') /usr/share/wordpress
 /wp-includes/template.php:407 3.3728 4810624 9. dynamic_sidebar()
 /home/phplist/site/trunk/blog/wp-content/themes/twentyfourteen/sidebar-
 content.php:15 3.3743 4813352 10. call_user_func_array()
 /usr/share/wordpress/wp-includes/widgets.php:904 3.3743 4813668 11.
 WP_Widget->display_callback() /usr/share/wordpress/wp-
 includes/widgets.php:0 3.3746 4814324 12. WP_Nav_Menu_Widget->widget()
 /usr/share/wordpress/wp-includes/widgets.php:182 3.3757 4817732 13.
 wp_nav_menu() /usr/share/wordpress/wp-includes/default-widgets.php:1120
 3.3758 4821848 14. wp_get_nav_menu_items() /usr/share/wordpress/wp-
 includes/nav-menu-template.php:178 3.4997 4910716 15. array_map()
 /usr/share/wordpress/wp-includes/nav-menu.php:537 3.6181 4941376 16.
 wp_setup_nav_menu_item() /usr/share/wordpress/wp-includes/nav-menu.php:0
 3.6192 4944920 17. apply_filters() /usr/share/wordpress/wp-includes/nav-
 menu.php:678 3.6193 4945872 18. call_user_func_array()
 /usr/share/wordpress/wp-includes/plugin.php:173 3.6193 4945900 19.
 bp_setup_nav_menu_item() /usr/share/wordpress/wp-includes/plugin.php:0
 3.6194 4946392 20. strpos() /var/lib/wordpress/wp-
 content/plugins/buddypress/bp-core/bp-core-filters.php:489
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5442>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list