equal
deleted
inserted
replaced
152 |
152 |
153 $untrashed++; |
153 $untrashed++; |
154 } |
154 } |
155 $sendback = add_query_arg( 'untrashed', $untrashed, $sendback ); |
155 $sendback = add_query_arg( 'untrashed', $untrashed, $sendback ); |
156 |
156 |
157 remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10, 3 ); |
157 remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10 ); |
158 |
158 |
159 break; |
159 break; |
160 case 'delete': |
160 case 'delete': |
161 $deleted = 0; |
161 $deleted = 0; |
162 foreach ( (array) $post_ids as $post_id ) { |
162 foreach ( (array) $post_ids as $post_id ) { |
230 if ( 'wp_block' === $post_type ) { |
230 if ( 'wp_block' === $post_type ) { |
231 wp_enqueue_script( 'wp-list-reusable-blocks' ); |
231 wp_enqueue_script( 'wp-list-reusable-blocks' ); |
232 wp_enqueue_style( 'wp-list-reusable-blocks' ); |
232 wp_enqueue_style( 'wp-list-reusable-blocks' ); |
233 } |
233 } |
234 |
234 |
|
235 // Used in the HTML title tag. |
235 $title = $post_type_object->labels->name; |
236 $title = $post_type_object->labels->name; |
236 |
237 |
237 if ( 'post' === $post_type ) { |
238 if ( 'post' === $post_type ) { |
238 get_current_screen()->add_help_tab( |
239 get_current_screen()->add_help_tab( |
239 array( |
240 array( |