wppaste
WordPress

wp_ajax_update_plugin()

Since
4.2.0
Source
wp-admin/includes/ajax-actions.php:4611
Handles updating a plugin via AJAX.

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

Reaches an outbound HTTP request via wp_remote_post().

Scaling
Constant

No loop in the body: the same number of instructions runs whatever you pass in.

Instructions
102–172

Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 227.

Plugin surface
None

Nothing here hands control to plugin code.

Called by
0

Nothing in core calls this; the cost is only what you spend yourself.

What it touches

  • hookthird-party callbacksdo_action()one call below wp_ajax_update_plugin()
  • optionoption read or writeget_option()one call below wp_ajax_update_plugin()
  • transienttransientget_site_transient()one call below wp_ajax_update_plugin()
  • httpoutbound HTTP requestwp_remote_post()one call below wp_ajax_update_plugin()
  • cacheobject cachewp_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.

WhenInstructionsCalls it makes
!empty($value) && current_user_can() && !$plugin_data && !is_wp_error() && !->has_errors() && $result !== false102–106check_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 !== false105–109check_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–108check_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–109check_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 !== false108–110check_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 !== false108–115check_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–111check_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–112check_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 !== false110–114check_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 !== false111–113check_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 !== false111–118check_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 !== false112–116check_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()112check_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–117check_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()113check_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–118check_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 !== false114–119check_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–116check_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–119check_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 !== false115–119check_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–117check_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()115check_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–120check_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()116check_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 !== false116–118check_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–121check_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 !== false116–123check_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–118check_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–119check_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 !== false117–122check_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–122check_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 !== false118–120check_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 !== false118–125check_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–121check_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–122check_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–121check_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–122check_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 !== false120–124check_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()120check_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–125check_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 instanceof121–125check_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–123check_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–128check_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 !== false121–123check_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()121check_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 !== false121–128check_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–126check_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–124check_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–124check_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–125check_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 !== false122–127check_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()122check_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–127check_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()123check_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–127check_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–128check_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 instanceof124–128check_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–126check_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–131check_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 !== false124–129check_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–126check_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–127check_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 instanceof125–129check_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–129check_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–127check_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()125check_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–130check_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()126check_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 !== false126–128check_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–131check_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 !== false126–133check_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–129check_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 instanceof127–129check_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 instanceof127–134check_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–132check_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 !== false127–132check_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–130check_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])128check_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–133check_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 instanceof128–132check_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–132check_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–131check_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–131check_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 instanceof129–133check_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–131check_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–132check_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–136check_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 instanceof130–132check_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–132check_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 instanceof130–137check_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–135check_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()130check_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–135check_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])131check_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 instanceof131–133check_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 instanceof131–135check_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–133check_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–136check_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 instanceof131–138check_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–138check_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()131check_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–136check_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–134check_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–134check_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–134check_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–134check_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–135check_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 !== false132–137check_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 instanceof133–138check_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 instanceof133–137check_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 instanceof133–137check_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–137check_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–137check_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 instanceof134–136check_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 instanceof134–138check_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–136check_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 instanceof134–141check_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–141check_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])135check_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–140check_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–137check_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–137check_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 instanceof135–139check_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 instanceof135–137check_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 instanceof135–142check_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–140check_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])136check_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 instanceof136–141check_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–141check_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 instanceof136–140check_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–139check_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 instanceof137–139check_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–139check_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–140check_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 instanceof137–142check_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 instanceof137–144check_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–142check_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–140check_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])138check_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])138check_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])138check_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–143check_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–143check_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–143check_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 instanceof138–142check_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–141check_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–141check_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 instanceof139–141check_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 instanceof139–141check_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 instanceof139–143check_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–141check_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 instanceof139–146check_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 instanceof139–146check_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–146check_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 instanceof140–142check_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–142check_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–142check_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 instanceof140–145check_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 instanceof140–147check_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–145check_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–144check_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])141check_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])141check_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 instanceof141–143check_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–146check_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–146check_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 instanceof141–148check_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 instanceof141–146check_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 instanceof141–145check_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–144check_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–144check_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–144check_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–145check_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 instanceof142–144check_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 instanceof142–149check_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])143check_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 instanceof143–148check_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–148check_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 instanceof143–147check_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 instanceof143–147check_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–147check_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–147check_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–147check_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 instanceof144–146check_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 instanceof144–151check_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])145check_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])145check_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–150check_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–150check_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–147check_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 instanceof145–147check_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 instanceof145–150check_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 instanceof145–150check_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 instanceof145–152check_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–150check_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])146check_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])146check_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 instanceof146–151check_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–151check_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–151check_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 instanceof146–150check_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–149check_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–149check_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–150check_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–150check_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 instanceof147–152check_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 instanceof147–149check_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 instanceof147–154check_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])148check_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])148check_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])148check_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–153check_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–153check_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–153check_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 instanceof148–153check_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–151check_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–152check_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 instanceof149–151check_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 instanceof149–151check_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 instanceof149–156check_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 instanceof149–156check_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–152check_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 instanceof150–155check_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–154check_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–154check_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])151check_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–156check_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 instanceof151–156check_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 instanceof151–155check_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–154check_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–155check_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–155check_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 instanceof152–154check_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 instanceof152–159check_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])153check_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])153check_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–158check_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–158check_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 instanceof153–158check_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–157check_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–157check_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–157check_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])155check_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–160check_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 instanceof155–160check_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 instanceof155–160check_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])156check_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–161check_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–159check_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–160check_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 instanceof157–159check_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 instanceof157–164check_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])158check_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–163check_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 instanceof158–163check_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–162check_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–162check_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–164check_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–165check_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])163check_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–168check_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 instanceof163–168check_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–167check_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–172check_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

Show all 17

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.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.9.7 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.