wp/wp-admin/plugin-install.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
   116 	)
   116 	)
   117 );
   117 );
   118 
   118 
   119 get_current_screen()->set_help_sidebar(
   119 get_current_screen()->set_help_sidebar(
   120 	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
   120 	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
   121 	'<p>' . __( '<a href="https://wordpress.org/support/article/plugins-add-new-screen/">Documentation on Installing Plugins</a>' ) . '</p>' .
   121 	'<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-add-new-screen/">Documentation on Installing Plugins</a>' ) . '</p>' .
   122 	'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
   122 	'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
   123 );
   123 );
   124 
   124 
   125 get_current_screen()->set_screen_reader_content(
   125 get_current_screen()->set_screen_reader_content(
   126 	array(
   126 	array(
   127 		'heading_views'      => __( 'Filter plugins list' ),
   127 		'heading_views'      => __( 'Filter plugins list' ),
   132 
   132 
   133 /**
   133 /**
   134  * WordPress Administration Template Header.
   134  * WordPress Administration Template Header.
   135  */
   135  */
   136 require_once ABSPATH . 'wp-admin/admin-header.php';
   136 require_once ABSPATH . 'wp-admin/admin-header.php';
       
   137 
       
   138 WP_Plugin_Dependencies::initialize();
       
   139 WP_Plugin_Dependencies::display_admin_notice_for_unmet_dependencies();
       
   140 WP_Plugin_Dependencies::display_admin_notice_for_circular_dependencies();
   137 ?>
   141 ?>
   138 <div class="wrap <?php echo esc_attr( "plugin-install-tab-$tab" ); ?>">
   142 <div class="wrap <?php echo esc_attr( "plugin-install-tab-$tab" ); ?>">
   139 <h1 class="wp-heading-inline">
   143 <h1 class="wp-heading-inline">
   140 <?php
   144 <?php
   141 echo esc_html( $title );
   145 echo esc_html( $title );