You appear to be a bot. Output may be restricted
Description
Checks if we are on a theme or plugin upgrade page.
Usage
$bool = Yoast_Admin_And_Dashboard_Conditional::on_upgrade_page();
Parameters
Returns
bool Whether we are on a theme or plugin upgrade page.
Source
File name: wordpress-seo/src/conditionals/yoast-admin-and-dashboard-conditional.php
Lines:
1 to 8 of 8
private function on_upgrade_page() { /* * IFRAME_REQUEST is not defined on these pages, * though these action pages do show when upgrading themes or plugins. */ $actions = [ 'do-theme-upgrade', 'do-plugin-upgrade', 'do-core-upgrade', 'do-core-reinstall' ]; return isset( $_GET['action'] ) && \in_array( $_GET['action'], $actions, true ); }