Changeset 13500
- Timestamp:
- 06/10/2023 06:22:42 AM (18 months ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-notifications.php
r13441 r13500 43 43 44 44 /* translators: %s: the current user display name */ 45 $t itle= sprintf( __( '@%s Mentions', 'buddypress' ), bp_get_loggedin_user_username() );45 $text = sprintf( __( '@%s Mentions', 'buddypress' ), bp_get_loggedin_user_username() ); 46 46 $amount = 'single'; 47 47 … … 58 58 case 'update_reply': 59 59 $link = bp_get_notifications_permalink(); 60 $t itle= __( 'New Activity reply', 'buddypress' );60 $text = __( 'New Activity reply', 'buddypress' ); 61 61 $amount = 'single'; 62 62 … … 77 77 case 'comment_reply': 78 78 $link = bp_get_notifications_permalink(); 79 $t itle= __( 'New Activity comment reply', 'buddypress' );79 $text = __( 'New Activity comment reply', 'buddypress' ); 80 80 $amount = 'single'; 81 81 -
trunk/src/bp-activity/bp-activity-template.php
r13493 r13500 3191 3191 function bp_activity_can_comment() { 3192 3192 global $activities_template; 3193 $bp = buddypress();3194 3193 3195 3194 // Determine ability to comment based on activity type name. -
trunk/src/bp-core/bp-core-buddybar.php
r13443 r13500 120 120 */ 121 121 function bp_core_create_nav_link( $args = '', $component = 'members' ) { 122 $bp = buddypress();123 124 122 $defaults = array( 125 123 'component_id' => '', // The component ID registering this nav item. … … 539 537 */ 540 538 function bp_core_create_subnav_link( $args = '', $component = 'members' ) { 541 $bp = buddypress();542 543 539 $r = bp_parse_args( 544 540 $args, -
trunk/src/bp-core/classes/class-bp-block.php
r13321 r13500 196 196 if ( ! isset( $this->registered_scripts['editor_script'] ) || ! $this->registered_scripts['editor_script'] ) { 197 197 $this->block = new WP_Error( 'script_registration_error', __( 'The required `editor_script` could not be registered.', 'buddypress' ) ); 198 199 // Register the styles. 198 200 } else { 199 // Register the styles.200 $registered_styles = array();201 201 202 202 foreach ( array( 'editor_style', 'style' ) as $style_handle_key ) { -
trunk/src/bp-core/classes/class-bp-core-bp-nav-backcompat.php
r13311 r13500 217 217 */ 218 218 protected function get_nav( $offset ) { 219 $bp = buddypress();220 221 219 $component_nav = $this->get_component_nav( $offset ); 222 220 $primary_nav = $component_nav->get_primary( array( 'slug' => $offset ), false ); -
trunk/src/bp-core/classes/class-bp-invitation-manager.php
r13172 r13500 170 170 */ 171 171 public function send_invitation_by_id( $invitation_id = 0, $args = array() ) { 172 $updated = false;173 174 172 $invitation = new BP_Invitation( $invitation_id ); 175 173 … … 328 326 */ 329 327 public function send_request_notification_by_id( $request_id = 0, $args = array() ) { 330 $updated = false;331 332 328 $request = new BP_Invitation( $request_id ); 333 329 -
trunk/src/bp-core/classes/class-bp-media-extractor.php
r13414 r13500 520 520 protected function extract_embeds( $richtext, $plaintext, $extra_args = array() ) { 521 521 $data = array( 'has' => array( 'embeds' => 0 ), 'embeds' => array() ); 522 $embeds = array();523 522 524 523 if ( ! function_exists( '_wp_oembed_get_object' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.