<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][14059] trunk: Avoid WP 6.7 notice about using translatable strings too early</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/14059">14059</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/14059","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>imath</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-10-25 00:38:29 +0000 (Fri, 25 Oct 2024)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>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 <a href="http://buddypress.trac.wordpress.org/ticket/9247">#9247</a> (trunk)
Closes https://github.com/buddypress/buddypress/pull/391</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdocsdevelopercomponentsbuildcomponentmd">trunk/docs/developer/components/build-component.md</a></li>
<li><a href="#trunksrcbpactivityclassesclassbpactivitycomponentphp">trunk/src/bp-activity/classes/class-bp-activity-component.php</a></li>
<li><a href="#trunksrcbpblogsclassesclassbpblogscomponentphp">trunk/src/bp-blogs/classes/class-bp-blogs-component.php</a></li>
<li><a href="#trunksrcbpcoreclassesclassbpcomponentphp">trunk/src/bp-core/classes/class-bp-component.php</a></li>
<li><a href="#trunksrcbpcoreclassesclassbpcorephp">trunk/src/bp-core/classes/class-bp-core.php</a></li>
<li><a href="#trunksrcbpcoreclassesclassbpthemecompatphp">trunk/src/bp-core/classes/class-bp-theme-compat.php</a></li>
<li><a href="#trunksrcbpfriendsclassesclassbpfriendscomponentphp">trunk/src/bp-friends/classes/class-bp-friends-component.php</a></li>
<li><a href="#trunksrcbpgroupsclassesclassbpgroupscomponentphp">trunk/src/bp-groups/classes/class-bp-groups-component.php</a></li>
<li><a href="#trunksrcbpmembersclassesclassbpmemberscomponentphp">trunk/src/bp-members/classes/class-bp-members-component.php</a></li>
<li><a href="#trunksrcbpmembersclassesclassbpmembersinvitationscomponentphp">trunk/src/bp-members/classes/class-bp-members-invitations-component.php</a></li>
<li><a href="#trunksrcbpmessagesclassesclassbpmessagescomponentphp">trunk/src/bp-messages/classes/class-bp-messages-component.php</a></li>
<li><a href="#trunksrcbpnotificationsclassesclassbpnotificationscomponentphp">trunk/src/bp-notifications/classes/class-bp-notifications-component.php</a></li>
<li><a href="#trunksrcbpsettingsclassesclassbpsettingscomponentphp">trunk/src/bp-settings/classes/class-bp-settings-component.php</a></li>
<li><a href="#trunksrcbptemplatesbplegacybuddypressfunctionsphp">trunk/src/bp-templates/bp-legacy/buddypress-functions.php</a></li>
<li><a href="#trunksrcbpxprofileclassesclassbpxprofilecomponentphp">trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php</a></li>
<li><a href="#trunksrcclassbuddypressphp">trunk/src/class-buddypress.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdocsdevelopercomponentsbuildcomponentmd"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/docs/developer/components/build-component.md</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/docs/developer/components/build-component.md        2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/docs/developer/components/build-component.md  2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,8 +47,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        // Your component ID.
</span><span class="cx" style="display: block; padding: 0 10px">                        'custom',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        // Your component Name.
-                       __( 'Custom component', 'custom-text-domain' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 // The raw name for your component. Do not use translatable strings here.
+                       'Custom component',
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        /*
</span><span class="cx" style="display: block; padding: 0 10px">                         * The path from where additional files should be included.
</span></span></pre></div>
<a id="trunksrcbpactivityclassesclassbpactivitycomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-activity/classes/class-bp-activity-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-activity/classes/class-bp-activity-component.php     2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-activity/classes/class-bp-activity-component.php       2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'activity',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'Activity Streams', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Activity Streams',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 10,
</span></span></pre></div>
<a id="trunksrcbpblogsclassesclassbpblogscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-blogs/classes/class-bp-blogs-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-blogs/classes/class-bp-blogs-component.php   2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-blogs/classes/class-bp-blogs-component.php     2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,7 +30,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'blogs',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'Site Directory', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Site Directory',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 30,
</span></span></pre></div>
<a id="trunksrcbpcoreclassesclassbpcomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-core/classes/class-bp-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-core/classes/class-bp-component.php  2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-core/classes/class-bp-component.php    2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,8 +29,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /** Variables *************************************************************/
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * Translatable name for the component.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Raw name for the component.
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * Do not use translatable strings here as this part is set before WP's `init` hook.
+        *
+        * @since 1.5.0
+        * @since 14.3.0 Changed the variable inline documentation summary and added a description.
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @internal
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @var string
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -244,9 +249,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 1.9.0 Added $params as a parameter.
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 2.3.0 Added $params['features'] as a configurable value.
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 2.4.0 Added $params['search_query_arg'] as a configurable value.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @since 14.3.0 Changed the `$name` parameter's description.
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param string $id   Unique ID. Letters, numbers, and underscores only.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @param string $name Unique name. This should be a translatable name, e.g. __( 'Groups', 'buddypress' ).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @param string $name Unique raw name for the component (do not use translatable strings).
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param string $path The file path for the component's files. Used by {@link BP_Component::includes()}.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param array  $params {
</span><span class="cx" style="display: block; padding: 0 10px">         *     Additional parameters used by the component.
</span></span></pre></div>
<a id="trunksrcbpcoreclassesclassbpcorephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-core/classes/class-bp-core.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-core/classes/class-bp-core.php       2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-core/classes/class-bp-core.php 2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'core',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'BuddyPress Core', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'BuddyPress Core',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcbpcoreclassesclassbpthemecompatphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-core/classes/class-bp-theme-compat.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-core/classes/class-bp-theme-compat.php       2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-core/classes/class-bp-theme-compat.php 2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,6 +18,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * extending this class.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 1.7.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @since 14.3.0 Changed the `$name` property's description.
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @todo We should probably do something similar to BP_Component::start().
</span><span class="cx" style="display: block; padding: 0 10px">  * @todo If this is only intended to be extended, it should be abstract.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param array $properties {
</span><span class="cx" style="display: block; padding: 0 10px">  *     An array of properties describing the theme compat package.
</span><span class="cx" style="display: block; padding: 0 10px">  *     @type string $id      ID of the package. Must be unique.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *     @type string $name    Name of the theme. This should match the name given
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *     @type string $name    Raw name for the theme. This should match the name given
</ins><span class="cx" style="display: block; padding: 0 10px">  *                           in style.css.
</span><span class="cx" style="display: block; padding: 0 10px">  *     @type string $version Theme version. Used for busting script and style
</span><span class="cx" style="display: block; padding: 0 10px">  *                           browser caches.
</span></span></pre></div>
<a id="trunksrcbpfriendsclassesclassbpfriendscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-friends/classes/class-bp-friends-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-friends/classes/class-bp-friends-component.php       2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-friends/classes/class-bp-friends-component.php 2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'friends',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        _x( 'Friend Connections', 'Friends screen page <title>', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Friend Connections',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 60,
</span></span></pre></div>
<a id="trunksrcbpgroupsclassesclassbpgroupscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-groups/classes/class-bp-groups-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/classes/class-bp-groups-component.php 2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-groups/classes/class-bp-groups-component.php   2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,7 +117,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'groups',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        _x( 'User Groups', 'Group screen page <title>', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'User Groups',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 70,
</span></span></pre></div>
<a id="trunksrcbpmembersclassesclassbpmemberscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-members/classes/class-bp-members-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-members/classes/class-bp-members-component.php       2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-members/classes/class-bp-members-component.php 2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -75,7 +75,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'members',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'Members', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Members',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 20,
</span></span></pre></div>
<a id="trunksrcbpmembersclassesclassbpmembersinvitationscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-members/classes/class-bp-members-invitations-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-members/classes/class-bp-members-invitations-component.php   2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-members/classes/class-bp-members-invitations-component.php     2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,7 +30,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'members_invitations',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'Members Invitations', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Members Invitations',
</ins><span class="cx" style="display: block; padding: 0 10px">                         '',
</span><span class="cx" style="display: block; padding: 0 10px">                        array()
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span></span></pre></div>
<a id="trunksrcbpmessagesclassesclassbpmessagescomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-messages/classes/class-bp-messages-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-messages/classes/class-bp-messages-component.php     2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-messages/classes/class-bp-messages-component.php       2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,7 +37,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'messages',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'Private Messages', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Private Messages',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 50,
</span></span></pre></div>
<a id="trunksrcbpnotificationsclassesclassbpnotificationscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-notifications/classes/class-bp-notifications-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-notifications/classes/class-bp-notifications-component.php   2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-notifications/classes/class-bp-notifications-component.php     2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'notifications',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        _x( 'Notifications', 'Page <title>', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Notifications',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 30,
</span></span></pre></div>
<a id="trunksrcbpsettingsclassesclassbpsettingscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-settings/classes/class-bp-settings-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-settings/classes/class-bp-settings-component.php     2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-settings/classes/class-bp-settings-component.php       2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'settings',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        __( 'Settings', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Settings',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 100,
</span></span></pre></div>
<a id="trunksrcbptemplatesbplegacybuddypressfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-templates/bp-legacy/buddypress-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/buddypress-functions.php 2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-templates/bp-legacy/buddypress-functions.php   2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @package BuddyPress
</span><span class="cx" style="display: block; padding: 0 10px">  * @subpackage BP_Theme_Compat
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @version 14.0.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @version 14.3.0
</ins><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> // Exit if accessed directly.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -58,7 +58,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        protected function setup_globals() {
</span><span class="cx" style="display: block; padding: 0 10px">                $bp            = buddypress();
</span><span class="cx" style="display: block; padding: 0 10px">                $this->id      = 'legacy';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->name    = __( 'BuddyPress Legacy', 'buddypress' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->name    = 'BP Legacy';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->version = bp_get_version();
</span><span class="cx" style="display: block; padding: 0 10px">                $this->dir     = trailingslashit( $bp->themes_dir . '/bp-legacy' );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->url     = trailingslashit( $bp->themes_url . '/bp-legacy' );
</span></span></pre></div>
<a id="trunksrcbpxprofileclassesclassbpxprofilecomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php     2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php       2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,7 +47,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::start(
</span><span class="cx" style="display: block; padding: 0 10px">                        'xprofile',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        _x( 'Extended Profiles', 'Component page <title>', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'Extended Profiles',
</ins><span class="cx" style="display: block; padding: 0 10px">                         buddypress()->plugin_dir,
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'adminbar_myaccount_order' => 20,
</span></span></pre></div>
<a id="trunksrcclassbuddypressphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/class-buddypress.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/class-buddypress.php    2024-10-24 18:29:17 UTC (rev 14058)
+++ trunk/src/class-buddypress.php      2024-10-25 00:38:29 UTC (rev 14059)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -896,7 +896,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                bp_register_theme_package(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'id'      => 'legacy',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'name'    => __( 'BuddyPress Legacy', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'name'    => 'BP Legacy',
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'version' => bp_get_version(),
</span><span class="cx" style="display: block; padding: 0 10px">                                'dir'     => trailingslashit( $this->themes_dir . '/bp-legacy' ),
</span><span class="cx" style="display: block; padding: 0 10px">                                'url'     => trailingslashit( $this->themes_url . '/bp-legacy' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -906,7 +906,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                bp_register_theme_package(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'id'      => 'nouveau',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'name'    => __( 'BuddyPress Nouveau', 'buddypress' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'name'    => 'BP Nouveau',
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'version' => bp_get_version(),
</span><span class="cx" style="display: block; padding: 0 10px">                                'dir'     => trailingslashit( $this->themes_dir . '/bp-nouveau' ),
</span><span class="cx" style="display: block; padding: 0 10px">                                'url'     => trailingslashit( $this->themes_url . '/bp-nouveau' ),
</span></span></pre>
</div>
</div>

</body>
</html>