mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 14:17:06 +00:00
41d1eb8f56813b9e4d44db5d4a05771348f4b817
ajax-actions.php, remove dead code:
* In `wp_ajax_add_tag()`, `$post_type` is set and never used. * In `wp_ajax_hidden_columns()`, `$hidden` is set twice, but only checks for the existence of `$_POST['hidden']` the first time. The two lines can be combined and work together. * In `wp_ajax_inline_save()`, `$mode` is set and never used. * In `wp_ajax_find_posts()`, `$searchand = $search = '';` is leftover cruft, neither variable is used. `$wpdb` does not need to be imported, it is never used. * In `wp_ajax_wp_fullscreen_save_post()`, `$post_type` is set and never used. * In `wp_ajax_save_attachment_order()`, `$post` is set and never used. * In `wp_ajax_send_attachment_to_editor()`, `$title` is set and never used. See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28292 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
243 MiB
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%