Ticket #8892: 8892.7.patch
File 8892.7.patch, 6.0 KB (added by , 18 months ago) |
---|
-
src/bp-messages/bp-messages-notifications.php
34 34 'single_item_action' => bp_rewrites_get_slug( 'members', 'member_' . $message_slug . '_inbox', 'inbox' ), 35 35 ) 36 36 ); 37 $title = __( 'Inbox', 'buddypress' );38 37 $amount = 'single'; 39 38 40 39 if ( 'new_message' === $action ) { -
src/bp-templates/bp-nouveau/includes/activity/template-tags.php
552 552 $data_element = 'href'; 553 553 } 554 554 555 $spam_link = bp_rewrites_get_url(556 array(557 'component_id' => 'activity',558 'single_item_action' => 'spam',559 'single_item_action_variables' => array( bp_get_activity_id() ),560 )561 );562 563 555 $buttons['activity_spam']['button_attr'][ $data_element ] = wp_nonce_url( 564 556 bp_rewrites_get_url( 565 557 array( -
src/bp-templates/bp-nouveau/includes/blogs/template-tags.php
191 191 * 192 192 * Icons sets a class for icon display if not using the button element 193 193 */ 194 $icons = '';195 194 if ( ! empty( $args['button_element'] ) ) { 196 195 $button_element = $args['button_element'] ; 197 196 } else { 198 197 $button_element = 'a'; 199 $icons = ' icons';200 198 } 201 199 202 200 // If we pass through parent classes add them to $button array -
src/bp-templates/bp-nouveau/includes/customizer-controls.php
31 31 */ 32 32 public function render_content() { 33 33 $id = 'customize-control-' . str_replace( '[', '-', str_replace( ']', '', $this->id ) ); 34 $class = 'customize-control customize-control-' . $this->type;35 34 $setting = "bp_nouveau_appearance[{$this->type}_nav_order]"; 36 35 $item_nav = array(); 37 36 … … 76 75 <ul id="<?php echo esc_attr( $id ); ?>" class="ui-sortable" style="margin-top: 0px; height: 500px;" data-bp-type="<?php echo esc_attr( $this->type ); ?>"> 77 76 78 77 <?php 79 $i = 0;80 78 foreach ( $item_nav as $item ) : 81 $i += 1;82 79 ?> 83 80 <li data-bp-nav="<?php echo esc_attr( $item->slug ); ?>"> 84 81 <div class="menu-item-bar"> -
src/bp-templates/bp-nouveau/includes/groups/ajax.php
377 377 * @since 3.0.0 378 378 */ 379 379 function bp_nouveau_ajax_send_group_invites() { 380 $bp = buddypress();381 380 382 381 $response = array( 383 382 'feedback' => __( 'Invites could not be sent. Please try again.', 'buddypress' ), -
src/bp-templates/bp-nouveau/includes/groups/functions.php
526 526 */ 527 527 function bp_nouveau_restrict_rest_group_invite_to_friends( $retval, $request ) { 528 528 if ( true === $retval && bp_is_active( 'friends' ) ) { 529 $group_id = $request->get_param( 'group_id' );530 529 $user_id = $request->get_param( 'user_id' ); 531 530 $inviter_id = $request->get_param( 'inviter_id' ); 532 531 -
src/bp-templates/bp-nouveau/includes/groups/template-tags.php
696 696 * 697 697 * Icons sets a class for icon display if not using the button element 698 698 */ 699 $icons = '';700 699 if ( ! empty( $args['button_element'] ) ) { 701 700 $button_element = $args['button_element'] ; 702 701 } else { 703 702 $button_element = 'a'; 704 $icons = ' icons';705 703 } 706 704 707 705 // If we pass through parent classes add them to $button array -
src/bp-templates/bp-nouveau/includes/members/template-tags.php
255 255 * 256 256 * Icons sets a class for icon display if not using the button element 257 257 */ 258 $icons = '';259 258 if ( ! empty( $args['button_element'] ) ) { 260 259 $button_element = $args['button_element'] ; 261 260 } else { 262 261 $button_element = 'button'; 263 $icons = ' icons';264 262 } 265 263 266 264 // If we pass through parent classes add them to $button array -
src/bp-templates/bp-nouveau/includes/template-tags.php
474 474 break; 475 475 } 476 476 477 $count_class = sprintf( '%1$s-%2$s-count-%3$s', $pagination_type, $screen, $position );478 $links_class = sprintf( '%1$s-%2$s-links-%3$s', $pagination_type, $screen, $position );479 477 ?> 480 478 481 479 <?php … … 2420 2418 // Text fields are using strings, radios are using their inputs 2421 2419 $label_output = '<label for="%1$s">%2$s</label>'; 2422 2420 $id = $name; 2423 $classes = '';2424 2421 2425 2422 if ( $required ) { 2426 2423 /* translators: Do not translate placeholders. 2 = form field name, 3 = "(required)". */