Changeset 12911
- Timestamp:
- 04/28/2021 11:49:06 PM (4 years ago)
- Location:
- trunk/src/bp-core/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-optouts.php
r12899 r12911 175 175 176 176 if ( ! empty( $_REQUEST['deleted'] ) ) { 177 $deleted = absint( $_REQUEST['deleted'] ); 177 178 $notice['message'] .= sprintf( 178 /* translators: %s: number of deleted optouts */ 179 _nx( '%s opt-out successfully deleted!', '%s opt-outs successfully deleted!', 180 absint( $_REQUEST['deleted'] ), 181 'nonmembers opt-out deleted', 182 'buddypress' 179 _nx( 180 /* translators: %s: number of deleted optouts */ 181 '%s opt-out successfully deleted!', '%s opt-outs successfully deleted!', 182 $deleted, 183 'nonmembers opt-out deleted', 184 'buddypress' 183 185 ), 184 186 number_format_i18n( absint( $_REQUEST['deleted'] ) ) … … 187 189 188 190 if ( ! empty( $_REQUEST['notdeleted'] ) ) { 191 $notdeleted = absint( $_REQUEST['notdeleted'] ); 189 192 $notice['message'] .= sprintf( 190 /* translators: %s: number of optouts that failed to be deleted */ 191 _nx( '%s opt-out was not deleted.', '%s opt-outs were not deleted.', 192 absint( $_REQUEST['notdeleted'] ), 193 'nonmembers opt-out not deleted', 194 'buddypress' 193 _nx( 194 /* translators: %s: number of optouts that failed to be deleted */ 195 '%s opt-out was not deleted.', '%s opt-outs were not deleted.', 196 $notdeleted, 197 'nonmembers opt-out not deleted', 198 'buddypress' 195 199 ), 196 number_format_i18n( absint( $_REQUEST['notdeleted'] ))200 number_format_i18n( $notdeleted ) 197 201 ); 198 202 -
trunk/src/bp-core/admin/bp-core-admin-tools.php
r12902 r12911 564 564 $url = add_query_arg( 'page', 'bp-optouts', bp_get_admin_url( $page ) ); 565 565 printf( 566 /* translators: %s: the link to the BuddyPress Nonmember Opt-outs */566 /* translators: %s: the link to the BuddyPress Nonmember Opt-outs management tool screen */ 567 567 esc_html_x( 'Visit %s to manage your site’s opt-out requests.', 'buddypress opt-outs intro', 'buddypress' ), 568 568 '<a href="' . esc_url( $url ) . '">' . esc_html__( 'Nonmember Opt-outs', 'buddypress' ) . '</a>'
Note: See TracChangeset
for help on using the changeset viewer.