Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/20/2025 07:10:39 PM (14 months ago)
Author:
dcavins
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.

See #9247 (trunk)
Closes https://github.com/buddypress/buddypress/pull/391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/12.0/src/class-buddypress.php

    r14053 r14110  
    936936            array(
    937937                'id'      => 'legacy',
    938                 'name'    => __( 'BuddyPress Legacy', 'buddypress' ),
     938                'name'    => 'BP Legacy',
    939939                'version' => bp_get_version(),
    940940                'dir'     => trailingslashit( $this->themes_dir . '/bp-legacy' ),
     
    946946            array(
    947947                'id'      => 'nouveau',
    948                 'name'    => __( 'BuddyPress Nouveau', 'buddypress' ),
     948                'name'    => 'BP Nouveau',
    949949                'version' => bp_get_version(),
    950950                'dir'     => trailingslashit( $this->themes_dir . '/bp-nouveau' ),
Note: See TracChangeset for help on using the changeset viewer.