Ticket #5257: 5257.patch
File 5257.patch, 768 bytes (added by , 11 years ago) |
---|
-
bp-core-filters.php
343 343 */ 344 344 function bp_modify_page_title( $title, $sep, $seplocation ) { 345 345 global $bp; 346 347 // If this is a 404 page not found, return the title produced by WP 348 if ( is_404() ) 349 return $title; 346 350 347 351 // If this is not a BP page, just return the title produced by WP 348 352 if ( bp_is_blog_page() ) … … 355 359 $title = ''; 356 360 357 361 // Displayed user 358 if ( bp_get_displayed_user_fullname() && !is_404()) {362 if ( bp_get_displayed_user_fullname() ) { 359 363 360 364 // Get the component's ID to try and get it's name 361 365 $component_id = $component_name = bp_current_component();