Changeset 12911 for trunk/src/bp-core/admin/bp-core-admin-optouts.php
- Timestamp:
- 04/28/2021 11:49:06 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/admin/bp-core-admin-optouts.php (modified) (2 diffs)
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
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)