wp_ajax_update_plugin()
- Since
- 4.2.0
- Source
wp-admin/includes/ajax-actions.php:4645
Compatibility
- WordPress
- since 4.2.0
- PHP
- 7.4–8.6-dev
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.
Performance profile
How much work a call to wp_ajax_update_plugin() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.
- Cost class
- Expensive
- Scaling
- Constant
- Instructions
- 102–172
- Plugin surface
- None
- Called by
- 0
Reaches an outbound HTTP request via wp_remote_post().
No loop in the body: the same number of instructions runs whatever you pass in.
Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 227.
Nothing here hands control to plugin code.
Nothing in core calls this; the cost is only what you spend yourself.
What it touches
- hookthird-party callbacks
do_action()one call below wp_ajax_update_plugin() - optionoption read or write
get_option()one call below wp_ajax_update_plugin() - transienttransient
get_site_transient()one call below wp_ajax_update_plugin() - httpoutbound HTTP request
wp_remote_post()one call below wp_ajax_update_plugin() - cacheobject cache
wp_cache_get()one call below wp_ajax_update_plugin()
Further down the call graph this can also reach serialize and query. Those are the worst case, several calls deep and usually down an error path, not what a normal call pays.
What one call costs · 264 distinct outcomes
One number would be a lie: the work depends on which branch runs. These are every distinct cost wp_ajax_update_plugin() can have, taken from its control-flow graph on PHP 8.5.
| When | Instructions | Calls it makes |
|---|---|---|
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 102–106 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 105–109 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && ->has_errors() | 106–108 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && is_wp_error() | 107–109 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 108–110 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 108–115 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && ->has_errors() | 109–111 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && is_wp_error() | 110–112 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 110–114 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 111–113 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 111–118 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 112–116 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
252 further outcomes, up to 172 instructions
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 112 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && ->has_errors() | 112–117 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && is_wp_error() | 113 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && is_wp_error() | 113–118 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 114–119 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && ->has_errors() | 114–116 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 115–119 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 115–119 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && is_wp_error() | 115–117 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 115 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && ->has_errors() | 115–120 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && is_wp_error() | 116 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 116–118 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && is_wp_error() | 116–121 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 116–123 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && ->has_errors() | 116–118 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && is_wp_error() | 117–119 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 117–122 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 118–122 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 118–120 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 118–125 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 118–121 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && is_wp_error() | 119–122 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && ->has_errors() | 119–121 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && is_wp_error() | 120–122 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 120–124 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 120 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && ->has_errors() | 120–125 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 121–125 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 121–123 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 121–128 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 121–123 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && is_wp_error() | 121 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 121–128 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && is_wp_error() | 121–126 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 121–124 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 122–124 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && is_wp_error() | 122–125 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 122–127 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 122 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && ->has_errors() | 122–127 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && is_wp_error() | 123 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 123–127 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && is_wp_error() | 123–128 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 124–128 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 124–126 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 124–131 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 124–129 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && ->has_errors() | 124–126 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 125–127 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 125–129 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 125–129 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && is_wp_error() | 125–127 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 125 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && ->has_errors() | 125–130 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && is_wp_error() | 126 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 126–128 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && is_wp_error() | 126–131 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result !== false | 126–133 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 126–129 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 127–129 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 127–134 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 127–132 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 127–132 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && is_wp_error() | 127–130 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 128 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 128–133 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 128–132 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 128–132 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 128–131 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 129–131 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 129–133 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 129–131 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && is_wp_error() | 129–132 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 129–136 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 130–132 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 130–132 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 130–137 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 130–135 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 130 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && ->has_errors() | 130–135 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 131 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 131–133 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 131–135 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 131–133 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 131–136 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 131–138 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 131–138 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && is_wp_error() | 131 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && is_wp_error() | 131–136 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 131–134 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 132–134 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 132–134 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 132–134 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && is_wp_error() | 132–135 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result !== false | 132–137 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 133–138 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && $result === false && $wp_filesystem instanceof | 133–137 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 133–137 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 133–137 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 134–137 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 134–136 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 134–138 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 134–136 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 134–141 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 134–141 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 135 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 135–140 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 135–137 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 135–137 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 135–139 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 135–137 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 135–142 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 135–140 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 136 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 136–141 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 136–141 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && $result === false && $wp_filesystem instanceof | 136–140 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && ->has_errors() | 136–139 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), ->get_error_messages(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 137–139 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 137–139 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 137–140 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 137–142 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 137–144 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 137–142 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && is_wp_error() | 137–140 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_error_code(), ->get_error_message(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 138 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 138 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 138 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 138–143 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 138–143 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 138–143 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 138–142 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 139–141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 139–141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 139–141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 139–141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 139–143 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 139–141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && $result === false && $wp_filesystem instanceof | 139–146 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 139–146 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 139–146 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 140–142 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 140–142 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 140–142 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 140–145 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 140–147 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 140–145 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 141–144 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 141 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 141–143 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 141–146 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 141–146 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 141–148 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 141–146 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && $result === false && $wp_filesystem instanceof | 141–145 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 142–144 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 142–144 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 142–144 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 142–145 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 142–144 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && $result === false && $wp_filesystem instanceof | 142–149 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 143 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 143–148 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 143–148 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && $result === false && $wp_filesystem instanceof | 143–147 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 143–147 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 144–147 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 144–147 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 144–147 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 144–146 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 144–151 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 145 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 145 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 145–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 145–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 145–147 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 145–147 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 145–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 145–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 145–152 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && !($wp_filesystem instanceof) | 145–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 146 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 146 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 146–151 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 146–151 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 146–151 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && $result === false && $wp_filesystem instanceof | 146–150 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 147–149 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 147–149 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 147–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 147–150 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 147–152 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 147–149 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && $result === false && $wp_filesystem instanceof | 147–154 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 148 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 148 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 148 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 148–153 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 148–153 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 148–153 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && !$plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 148–153 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 149–151 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 149–152 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 149–151 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 149–151 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && $result === false && $wp_filesystem instanceof | 149–156 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !->has_errors() && $result === false && $wp_filesystem instanceof | 149–156 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 150–152 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 150–155 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 151–154 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 151–154 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 151 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 151–156 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && $result === false && $wp_filesystem instanceof | 151–156 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && $result === false && $wp_filesystem instanceof | 151–155 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 152–154 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 152–155 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 152–155 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 152–154 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && $result === false && $wp_filesystem instanceof | 152–159 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 153 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 153 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 153–158 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 153–158 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && !$plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 153–158 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 154–157 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 154–157 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 154–157 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 155 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 155–160 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 155–160 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !->has_errors() && $result === false && $wp_filesystem instanceof | 155–160 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 156 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 156–161 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 157–159 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 157–160 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 157–159 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && $result === false && $wp_filesystem instanceof | 157–164 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
!empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 158 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 158–163 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 158–163 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 159–162 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 159–162 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 161–164 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 162–165 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
!empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 163 | check_ajax_referer(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 163–168 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && $result === false && $wp_filesystem instanceof | 163–168 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), __(), is_wp_error(), ->has_errors(), ->get_error_message(), esc_html(), wp_send_json_error(), __(), wp_send_json_error() |
empty($value) && !current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 164–167 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
empty($value) && current_user_can() && $plugin_data && defined('WP_DEBUG') && !is_wp_error() && !->has_errors() && is_array($result) && !empty($result[$plugin]) | 169–172 | check_ajax_referer(), __(), slug(), wp_unslash(), sanitize_text_field(), plugin_basename(), wp_unslash(), sanitize_key(), current_user_can(), validate_file(), __(), wp_send_json_error(), get_plugin_data(), __(), sprintf(), wp_update_plugins(), plugin(), wp_send_json_error(), ->get_upgrade_messages(), is_wp_error(), ->get_errors(), ->has_errors(), wp_send_json_error(), get_plugins(), reset(), __(), sprintf(), wp_send_json_success(), __(), wp_send_json_error() |
Across PHP versions
Compiles the same on PHP 7.4, 8.1, 8.2, 8.3, 8.4, 8.5 and 8.6-dev: 227 instructions, 102–172 executed per call, 17 branches. The work does not change between versions.
An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.
Uses · 17
- check_ajax_referer()Verifies the Ajax request to prevent processing requests external of the blog.
- wp_send_json_error()Sends a JSON response back to an Ajax request, indicating failure.
- __()Retrieves the translation of $text.
- plugin_basename()Gets the basename of a plugin.
- sanitize_text_field()Sanitizes a string from user input or from the database.
- wp_unslash()Removes slashes from a string or recursively removes slashes from strings within an array.
- sanitize_key()Sanitizes a string key.
- current_user_can()Returns whether the current user has the specified capability.
- validate_file()Validates a file name and path against an allowed set of rules.
- get_plugin_data()Parses the plugin contents to retrieve plugin's metadata.
- wp_update_plugins()Checks for available updates to plugins based on the latest versions hosted on WordPress.org.
- is_wp_error()Checks whether the given variable is a WordPress Error.
Show all 17
- get_plugins()Checks the plugins directory and retrieve all plugin files with plugin data.
- wp_send_json_success()Sends a JSON response back to an Ajax request, indicating success.
- esc_html()Escaping for HTML blocks.
- WP_Ajax_Upgrader_Skin::__construct()Constructor.
- Plugin_Upgrader::__construct()
Source code
function wp_ajax_update_plugin() { check_ajax_referer( 'updates' ); if ( empty( $_POST['plugin'] ) || empty( $_POST['slug'] ) ) { wp_send_json_error( array( 'slug' => '', 'errorCode' => 'no_plugin_specified', 'errorMessage' => __( 'No plugin specified.' ), ) ); } $plugin = plugin_basename( sanitize_text_field( wp_unslash( $_POST['plugin'] ) ) ); $status = array( 'update' => 'plugin', 'slug' => sanitize_key( wp_unslash( $_POST['slug'] ) ), 'oldVersion' => '', 'newVersion' => '', ); if ( ! current_user_can( 'update_plugins' ) || 0 !== validate_file( $plugin ) ) { $status['errorMessage'] = __( 'Sorry, you are not allowed to update plugins for this site.' ); wp_send_json_error( $status ); } $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin ); $status['plugin'] = $plugin; $status['pluginName'] = $plugin_data['Name']; if ( $plugin_data['Version'] ) { /* translators: %s: Plugin version. */ $status['oldVersion'] = sprintf( __( 'Version %s' ), $plugin_data['Version'] ); } require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; wp_update_plugins(); $skin = new WP_Ajax_Upgrader_Skin(); $upgrader = new Plugin_Upgrader( $skin ); $result = $upgrader->bulk_upgrade( array( $plugin ) ); if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { $status['debug'] = $skin->get_upgrade_messages(); } if ( is_wp_error( $skin->result ) ) { $status['errorCode'] = $skin->result->get_error_code(); $status['errorMessage'] = $skin->result->get_error_message(); wp_send_json_error( $status ); } elseif ( $skin->get_errors()->has_errors() ) { $status['errorMessage'] = $skin->get_error_messages(); wp_send_json_error( $status ); } elseif ( is_array( $result ) && ! empty( $result[ $plugin ] ) ) { /* * Plugin is already at the latest version. * * This may also be the return value if the `update_plugins` site transient is empty, * e.g. when you update two plugins in quick succession before the transient repopulates. * * Preferably something can be done to ensure `update_plugins` isn't empty. * For now, surface some sort of error here. */ if ( true === $result[ $plugin ] ) { $status['errorMessage'] = $upgrader->strings['up_to_date']; wp_send_json_error( $status ); } $plugin_data = get_plugins( '/' . $result[ $plugin ]['destination_name'] ); $plugin_data = reset( $plugin_data ); if ( $plugin_data['Version'] ) { /* translators: %s: Plugin version. */ $status['newVersion'] = sprintf( __( 'Version %s' ), $plugin_data['Version'] ); } wp_send_json_success( $status );Changelog
Introduced in 4.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-admin/includes/ajax-actions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.