Ticket #15509: 15509-network-admin.patch
| File 15509-network-admin.patch, 2.1 KB (added by SergeyBiryukov, 2 years ago) |
|---|
-
wp-admin/network/plugin-install.php
7 7 * @since 3.1.0 8 8 */ 9 9 10 if ( isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) ) 11 define( 'IFRAME_REQUEST' , true ); 12 10 13 /** Load WordPress Administration Bootstrap */ 11 14 require_once( './admin.php' ); 12 15 -
wp-admin/network/theme-install.php
7 7 * @since 3.1.0 8 8 */ 9 9 10 if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) ) 11 define( 'IFRAME_REQUEST', true ); 12 10 13 /** Load WordPress Administration Bootstrap */ 11 14 require_once( './admin.php' ); 12 15 -
wp-admin/plugin-install.php
6 6 * @subpackage Administration 7 7 */ 8 8 // TODO route this pages via a specific iframe handler instead of the do_action below 9 if ( isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )10 define( 'IFRAME_REQUEST' , true);9 if ( ! defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) ) 10 define( 'IFRAME_REQUEST' , true ); 11 11 12 12 /** WordPress Administration Bootstrap */ 13 13 require_once('./admin.php'); -
wp-admin/theme-install.php
6 6 * @subpackage Administration 7 7 */ 8 8 9 if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )9 if ( ! defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) ) 10 10 define( 'IFRAME_REQUEST', true ); 11 11 12 12 /** WordPress Administration Bootstrap */
