--- a/wp/wp-admin/network/update.php Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-admin/network/update.php Tue Dec 15 13:49:49 2020 +0100
@@ -7,11 +7,11 @@
* @since 3.1.0
*/
-if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) ) {
+if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ), true ) ) {
define( 'IFRAME_REQUEST', true );
}
/** Load WordPress Administration Bootstrap */
-require_once( dirname( __FILE__ ) . '/admin.php' );
+require_once __DIR__ . '/admin.php';
-require( ABSPATH . 'wp-admin/update.php' );
+require ABSPATH . 'wp-admin/update.php';