Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/25/2024 12:38:29 AM (2 years 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.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r14026 r14059  
    897897                        array(
    898898                                'id'      => 'legacy',
    899                                 'name'    => __( 'BuddyPress Legacy', 'buddypress' ),
     899                                'name'    => 'BP Legacy',
    900900                                'version' => bp_get_version(),
    901901                                'dir'     => trailingslashit( $this->themes_dir . '/bp-legacy' ),
    … …  
    907907                        array(
    908908                                'id'      => 'nouveau',
    909                                 'name'    => __( 'BuddyPress Nouveau', 'buddypress' ),
     909                                'name'    => 'BP Nouveau',
    910910                                'version' => bp_get_version(),
    911911                                'dir'     => trailingslashit( $this->themes_dir . '/bp-nouveau' ),
Note: See TracChangeset for help on using the changeset viewer.