Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/25/2024 12:57:50 AM (22 months ago)
Author:
imath
Message:

Avoid WP 6.7 notice about using translatable strings too early

Use a "raw" name instead of a "translatable" name for the BP_Component's & BP_Theme_Compat's name properties.

Props boonebgorges.

Fixes #9247 (branch 14.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/14.0/src/bp-templates/bp-legacy/buddypress-functions.php

    r14044 r14060  
    77 * @package BuddyPress
    88 * @subpackage BP_Theme_Compat
    9  * @version 14.0.0
     9 * @version 14.3.0
    1010 */
    1111
     
    5959                $bp            = buddypress();
    6060                $this->id      = 'legacy';
    61                 $this->name    = __( 'BuddyPress Legacy', 'buddypress' );
     61                $this->name    = 'BP Legacy';
    6262                $this->version = bp_get_version();
    6363                $this->dir     = trailingslashit( $bp->themes_dir . '/bp-legacy' );
Note: See TracChangeset for help on using the changeset viewer.