Changeset 14059
- Timestamp:
- 10/25/2024 12:38:29 AM (7 months ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/developer/components/build-component.md
r14038 r14059 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 /* -
trunk/src/bp-activity/classes/class-bp-activity-component.php
r14026 r14059 29 29 parent::start( 30 30 'activity', 31 __( 'Activity Streams', 'buddypress' ),31 'Activity Streams', 32 32 buddypress()->plugin_dir, 33 33 array( -
trunk/src/bp-blogs/classes/class-bp-blogs-component.php
r14026 r14059 31 31 parent::start( 32 32 'blogs', 33 __( 'Site Directory', 'buddypress' ),33 'Site Directory', 34 34 buddypress()->plugin_dir, 35 35 array( -
trunk/src/bp-core/classes/class-bp-component.php
r14026 r14059 30 30 31 31 /** 32 * Translatable name for the component. 32 * Raw name for the component. 33 * 34 * Do not use translatable strings here as this part is set before WP's `init` hook. 35 * 36 * @since 1.5.0 37 * @since 14.3.0 Changed the variable inline documentation summary and added a description. 33 38 * 34 39 * @internal … … 245 250 * @since 2.3.0 Added $params['features'] as a configurable value. 246 251 * @since 2.4.0 Added $params['search_query_arg'] as a configurable value. 252 * @since 14.3.0 Changed the `$name` parameter's description. 247 253 * 248 254 * @param string $id Unique ID. Letters, numbers, and underscores only. 249 * @param string $name Unique name. This should be a translatable name, e.g. __( 'Groups', 'buddypress').255 * @param string $name Unique raw name for the component (do not use translatable strings). 250 256 * @param string $path The file path for the component's files. Used by {@link BP_Component::includes()}. 251 257 * @param array $params { -
trunk/src/bp-core/classes/class-bp-core.php
r14029 r14059 29 29 parent::start( 30 30 'core', 31 __( 'BuddyPress Core', 'buddypress' ),31 'BuddyPress Core', 32 32 buddypress()->plugin_dir 33 33 ); -
trunk/src/bp-core/classes/class-bp-theme-compat.php
r13893 r14059 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 -
trunk/src/bp-friends/classes/class-bp-friends-component.php
r14026 r14059 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( -
trunk/src/bp-groups/classes/class-bp-groups-component.php
r14026 r14059 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( -
trunk/src/bp-members/classes/class-bp-members-component.php
r14026 r14059 76 76 parent::start( 77 77 'members', 78 __( 'Members', 'buddypress' ),78 'Members', 79 79 buddypress()->plugin_dir, 80 80 array( -
trunk/src/bp-members/classes/class-bp-members-invitations-component.php
r13993 r14059 31 31 parent::start( 32 32 'members_invitations', 33 __( 'Members Invitations', 'buddypress' ),33 'Members Invitations', 34 34 '', 35 35 array() -
trunk/src/bp-messages/classes/class-bp-messages-component.php
r14026 r14059 38 38 parent::start( 39 39 'messages', 40 __( 'Private Messages', 'buddypress' ),40 'Private Messages', 41 41 buddypress()->plugin_dir, 42 42 array( -
trunk/src/bp-notifications/classes/class-bp-notifications-component.php
r14026 r14059 29 29 parent::start( 30 30 'notifications', 31 _x( 'Notifications', 'Page <title>', 'buddypress' ),31 'Notifications', 32 32 buddypress()->plugin_dir, 33 33 array( -
trunk/src/bp-settings/classes/class-bp-settings-component.php
r13503 r14059 27 27 parent::start( 28 28 'settings', 29 __( 'Settings', 'buddypress' ),29 'Settings', 30 30 buddypress()->plugin_dir, 31 31 array( -
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r14043 r14059 7 7 * @package BuddyPress 8 8 * @subpackage BP_Theme_Compat 9 * @version 14. 0.09 * @version 14.3.0 10 10 */ 11 11 … … 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' ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php
r14049 r14059 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( -
trunk/src/class-buddypress.php
r14026 r14059 897 897 array( 898 898 'id' => 'legacy', 899 'name' => __( 'BuddyPress Legacy', 'buddypress' ),899 'name' => 'BP Legacy', 900 900 'version' => bp_get_version(), 901 901 'dir' => trailingslashit( $this->themes_dir . '/bp-legacy' ), … … 907 907 array( 908 908 'id' => 'nouveau', 909 'name' => __( 'BuddyPress Nouveau', 'buddypress' ),909 'name' => 'BP Nouveau', 910 910 'version' => bp_get_version(), 911 911 'dir' => trailingslashit( $this->themes_dir . '/bp-nouveau' ),
Note: See TracChangeset
for help on using the changeset viewer.