Changeset 11032
- Timestamp:
- 08/24/2016 11:25:28 AM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-actions.php
r10981 r11032 30 30 * 31 31 * v--WordPress Actions v--BuddyPress Sub-actions 32 32 */ 33 33 add_action( 'plugins_loaded', 'bp_loaded', 10 ); 34 34 add_action( 'init', 'bp_init', 10 ); -
trunk/src/bp-core/bp-core-admin.php
r10825 r11032 31 31 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases', 'buddypress' ); 32 32 33 /* translators: 1: WordPress version number. */ 34 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.', 35 '<strong>Version %1$s</strong> addressed some security issues.', 36 'buddypress' ); 33 /* translators: 1: BuddyPress version number. */ 34 _n_noop( 35 '<strong>Version %1$s</strong> addressed a security issue.', 36 '<strong>Version %1$s</strong> addressed some security issues.', 37 'buddypress' 38 ); 37 39 38 /* translators: 1: WordPress version number, 2: plural number of bugs. */ 39 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.', 40 '<strong>Version %1$s</strong> addressed %2$s bugs.', 41 'buddypress' ); 40 /* translators: 1: BuddyPress version number, 2: plural number of bugs. */ 41 _n_noop( 42 '<strong>Version %1$s</strong> addressed %2$s bug.', 43 '<strong>Version %1$s</strong> addressed %2$s bugs.', 44 'buddypress' 45 ); 42 46 43 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */ 44 _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', 45 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', 46 'buddypress' ); 47 /* translators: 1: BuddyPress version number, 2: plural number of bugs. Singular security issue. */ 48 _n_noop( 49 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', 50 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', 51 'buddypress' 52 ); 47 53 48 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */ 49 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 50 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 51 'buddypress' ); 54 /* translators: 1: BuddyPress version number, 2: plural number of bugs. More than one security issue. */ 55 _n_noop( 56 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 57 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 58 'buddypress' 59 ); 52 60 53 61 __( 'For more information, see <a href="%s">the release notes</a>.', 'buddypress' ); -
trunk/src/bp-core/bp-core-buddybar.php
r10980 r11032 215 215 216 216 /** 217 * If this is for site admins only and the user is not one,218 * don't register this screen function.219 */217 * If this is for site admins only and the user is not one, 218 * don't register this screen function. 219 */ 220 220 if ( ! empty( $r['site_admin_only'] ) && ! bp_current_user_can( 'bp_moderate' ) ) { 221 221 return false; -
trunk/src/bp-core/bp-core-filters.php
r11010 r11032 179 179 // Handles the majority of components. 180 180 if ( bp_is_current_component( $component ) ) { 181 181 $page_id = (int) $bp_page->id; 182 182 } 183 183 … … 1052 1052 $tokens['recipient.username'] = $user_obj->user_login; 1053 1053 if ( bp_is_active( 'settings' ) && empty( $tokens['unsubscribe'] ) ) { 1054 1055 1056 1057 1058 1054 $tokens['unsubscribe'] = esc_url( sprintf( 1055 '%s%s/notifications/', 1056 bp_core_get_user_domain( $user_obj->ID ), 1057 bp_get_settings_slug() 1058 ) ); 1059 1059 } 1060 1060 } 1061 1061 } 1062 1062 -
trunk/src/bp-core/classes/class-bp-theme-compat.php
r10528 r11032 51 51 * @param array $properties Array of properties for BP_Theme_Compat. 52 52 */ 53 53 public function __construct( Array $properties = array() ) { 54 54 $this->_data = $properties; 55 55 } -
trunk/src/bp-forums/bp-forums-bbpress-sa.php
r10957 r11032 284 284 if ( 4 == func_num_args() ) { 285 285 $args = array( 286 287 288 289 290 291 292 286 'user' => $args, 287 'password' => func_get_arg( 1 ), 288 'name' => func_get_arg( 2 ), 289 'host' => func_get_arg( 3 ), 290 'charset' => defined( 'BBDB_CHARSET' ) ? BBDB_CHARSET : false, 291 'collate' => defined( 'BBDB_COLLATE' ) ? BBDB_COLLATE : false, 292 ); 293 293 } 294 294 -
trunk/src/bp-groups/bp-groups-functions.php
r11027 r11032 1737 1737 if ( ! bp_is_item_admin() ) { 1738 1738 return false; 1739 1739 } 1740 1740 1741 1741 $member = new BP_Groups_Member( $user_id, $group_id ); -
trunk/src/bp-groups/classes/class-bp-groups-member.php
r11027 r11032 679 679 if ( $limit && $page ) { 680 680 $pag_sql = $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * $limit ), intval( $limit ) ); 681 681 } 682 682 683 683 if ( $filter ) { -
trunk/src/bp-members/bp-members-screens.php
r10800 r11032 111 111 } elseif ( isset( $_POST['signup_submit'] ) && bp_verify_nonce_request( 'bp_new_signup' ) ) { 112 112 113 113 /** 114 114 * Fires before the validation of a new signup. 115 115 * … … 182 182 } 183 183 184 184 /** 185 185 * Fires after the validation of a new signup. 186 186 * -
trunk/src/bp-settings/bp-settings-actions.php
r10990 r11032 473 473 // Email change is being dismissed. 474 474 } elseif ( ! empty( $_GET['dismiss_email_change'] ) ) { 475 475 bp_delete_user_meta( bp_displayed_user_id(), 'pending_email_change' ); 476 476 bp_core_add_message( __( 'You have successfully dismissed your pending email change.', 'buddypress' ) ); 477 477
Note: See TracChangeset
for help on using the changeset viewer.