Skip to:
Content

BuddyPress.org

Changeset 9108


Ignore:
Timestamp:
10/29/2014 09:33:28 PM (10 years ago)
Author:
djpaul
Message:

Core: Page title: make the 2nd/3rd params for bp_modify_page_title optional and provide defaults.

Prevents PHP Warnings caused by other plugins/themes.

Fixes #5933, props imath and whyisjake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r9106 r9108  
    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
Note: See TracChangeset for help on using the changeset viewer.