Changeset 47853 for trunk/src/wp-admin/network/sites.php
- Timestamp:
- 05/24/2020 09:14:21 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/network/sites.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r47219 r47853 224 224 } 225 225 } 226 226 227 if ( ! in_array( $doaction, array( 'delete', 'spam', 'notspam' ), true ) ) { 227 228 $redirect_to = wp_get_referer(); 228 229 $blogs = (array) $_POST['allblogs']; 230 229 231 /** This action is documented in wp-admin/network/site-themes.php */ 230 232 $redirect_to = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $blogs, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 233 231 234 wp_safe_redirect( $redirect_to ); 232 235 exit(); … … 238 241 add_query_arg( $_POST, network_admin_url( 'sites.php' ) ) 239 242 ); 243 240 244 wp_redirect( $location ); 241 245 exit; … … 271 275 */ 272 276 do_action( 'deactivate_blog', $id ); 277 273 278 update_blog_status( $id, 'deleted', '1' ); 274 279 break;
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)