Changeset 14110
- Timestamp:
- 03/20/2025 07:10:39 PM (7 weeks ago)
- Location:
- branches/12.0
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/12.0/docs/developer/component/build-component.md
r13516 r14110 48 48 'custom', 49 49 50 // Your component Name.51 __( 'Custom component', 'custom-text-domain' ),50 // The raw name for your component. Do not use translatable strings here. 51 'Custom component', 52 52 53 53 /* -
branches/12.0/src/bp-activity/classes/class-bp-activity-component.php
r13690 r14110 29 29 parent::start( 30 30 'activity', 31 __( 'Activity Streams', 'buddypress' ),31 'Activity Streams', 32 32 buddypress()->plugin_dir, 33 33 array( -
branches/12.0/src/bp-blogs/classes/class-bp-blogs-component.php
r13522 r14110 31 31 parent::start( 32 32 'blogs', 33 __( 'Site Directory', 'buddypress' ),33 'Site Directory', 34 34 buddypress()->plugin_dir, 35 35 array( -
branches/12.0/src/bp-core/classes/class-bp-component.php
r13662 r14110 28 28 29 29 /** 30 * Translatable name for the component. 30 * Raw name for the component. 31 * 32 * Do not use translatable strings here as this part is set before WP's `init` hook. 33 * 34 * @since 1.5.0 35 * @since 14.3.0 Changed the variable inline documentation summary and added a description. 31 36 * 32 37 * @internal … … 221 226 * @since 2.3.0 Added $params['features'] as a configurable value. 222 227 * @since 2.4.0 Added $params['search_query_arg'] as a configurable value. 228 * @since 14.3.0 Changed the `$name` parameter's description. 223 229 * 224 230 * @param string $id Unique ID. Letters, numbers, and underscores only. 225 * @param string $name Unique name. This should be a translatable name, eg. 226 * __( 'Groups', 'buddypress' ). 231 * @param string $name Unique raw name for the component (do not use translatable strings). 227 232 * @param string $path The file path for the component's files. Used by {@link BP_Component::includes()}. 228 233 * @param array $params { -
branches/12.0/src/bp-core/classes/class-bp-core.php
r13532 r14110 30 30 parent::start( 31 31 'core', 32 __( 'BuddyPress Core', 'buddypress' ),32 'BuddyPress Core', 33 33 buddypress()->plugin_dir 34 34 ); -
branches/12.0/src/bp-core/classes/class-bp-theme-compat.php
r13013 r14110 19 19 * 20 20 * @since 1.7.0 21 * @since 14.3.0 Changed the `$name` property's description. 21 22 * 22 23 * @todo We should probably do something similar to BP_Component::start(). … … 26 27 * An array of properties describing the theme compat package. 27 28 * @type string $id ID of the package. Must be unique. 28 * @type string $name Name ofthe theme. This should match the name given29 * @type string $name Raw name for the theme. This should match the name given 29 30 * in style.css. 30 31 * @type string $version Theme version. Used for busting script and style -
branches/12.0/src/bp-friends/classes/class-bp-friends-component.php
r13503 r14110 29 29 parent::start( 30 30 'friends', 31 _x( 'Friend Connections', 'Friends screen page <title>', 'buddypress' ),31 'Friend Connections', 32 32 buddypress()->plugin_dir, 33 33 array( -
branches/12.0/src/bp-groups/classes/class-bp-groups-component.php
r13690 r14110 118 118 parent::start( 119 119 'groups', 120 _x( 'User Groups', 'Group screen page <title>', 'buddypress' ),120 'User Groups', 121 121 buddypress()->plugin_dir, 122 122 array( -
branches/12.0/src/bp-members/classes/class-bp-members-component.php
r13708 r14110 76 76 parent::start( 77 77 'members', 78 __( 'Members', 'buddypress' ),78 'Members', 79 79 buddypress()->plugin_dir, 80 80 array( -
branches/12.0/src/bp-members/classes/class-bp-members-invitations-component.php
r13629 r14110 17 17 parent::start( 18 18 'members_invitations', 19 __( 'Members Invitations', 'buddypress' ),19 'Members Invitations', 20 20 '', 21 21 array() -
branches/12.0/src/bp-messages/classes/class-bp-messages-component.php
r13551 r14110 38 38 parent::start( 39 39 'messages', 40 __( 'Private Messages', 'buddypress' ),40 'Private Messages', 41 41 buddypress()->plugin_dir, 42 42 array( -
branches/12.0/src/bp-notifications/classes/class-bp-notifications-component.php
r13503 r14110 29 29 parent::start( 30 30 'notifications', 31 _x( 'Notifications', 'Page <title>', 'buddypress' ),31 'Notifications', 32 32 buddypress()->plugin_dir, 33 33 array( -
branches/12.0/src/bp-settings/classes/class-bp-settings-component.php
r13503 r14110 27 27 parent::start( 28 28 'settings', 29 __( 'Settings', 'buddypress' ),29 'Settings', 30 30 buddypress()->plugin_dir, 31 31 array( -
branches/12.0/src/bp-templates/bp-legacy/buddypress-functions.php
r13823 r14110 59 59 $bp = buddypress(); 60 60 $this->id = 'legacy'; 61 $this->name = __( 'BuddyPress Legacy', 'buddypress' );61 $this->name = 'BP Legacy'; 62 62 $this->version = bp_get_version(); 63 63 $this->dir = trailingslashit( $bp->themes_dir . '/bp-legacy' ); -
branches/12.0/src/bp-xprofile/classes/class-bp-xprofile-component.php
r13503 r14110 48 48 parent::start( 49 49 'xprofile', 50 _x( 'Extended Profiles', 'Component page <title>', 'buddypress' ),50 'Extended Profiles', 51 51 buddypress()->plugin_dir, 52 52 array( -
branches/12.0/src/class-buddypress.php
r14053 r14110 936 936 array( 937 937 'id' => 'legacy', 938 'name' => __( 'BuddyPress Legacy', 'buddypress' ),938 'name' => 'BP Legacy', 939 939 'version' => bp_get_version(), 940 940 'dir' => trailingslashit( $this->themes_dir . '/bp-legacy' ), … … 946 946 array( 947 947 'id' => 'nouveau', 948 'name' => __( 'BuddyPress Nouveau', 'buddypress' ),948 'name' => 'BP Nouveau', 949 949 'version' => bp_get_version(), 950 950 'dir' => trailingslashit( $this->themes_dir . '/bp-nouveau' ),
Note: See TracChangeset
for help on using the changeset viewer.