Changeset 46811 for trunk/src/wp-admin/plugins.php
- Timestamp:
- 12/03/2019 01:56:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugins.php
r45932 r46811 415 415 if ( isset( $_POST['checked'] ) ) { 416 416 check_admin_referer( 'bulk-plugins' ); 417 418 $screen = get_current_screen()->id; 419 $sendback = wp_get_referer(); 417 420 $plugins = isset( $_POST['checked'] ) ? (array) wp_unslash( $_POST['checked'] ) : array(); 418 $sendback = wp_get_referer(); 419 420 /** This action is documented in wp-admin/edit-comments.php */ 421 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 421 422 /** This action is documented in wp-admin/edit.php */ 423 $sendback = apply_filters( "handle_bulk_actions-{$screen}", $sendback, $action, $plugins ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 422 424 wp_safe_redirect( $sendback ); 423 425 exit;
Note: See TracChangeset
for help on using the changeset viewer.