Skip to:
Content

BuddyPress.org

Ticket #5933: 5933.2.patch

File 5933.2.patch, 549 bytes (added by whyisjake, 10 years ago)

Keep the first parameter without a default.

  • src/bp-core/bp-core-filters.php

     
    423423 * @param string $seplocation Direction to display title.
    424424 * @return string New page title.
    425425 */
    426 function bp_modify_page_title( $title, $sep, $seplocation ) {
     426function bp_modify_page_title( $title, $sep = '', $seplocation = '' ) {
    427427        global $bp;
    428428
    429429        // If this is not a BP page, just return the title produced by WP