]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/options-media.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-admin / options-media.php
index e1a628f99c66f2812467f17103ea55072f564a64..21b96eddbc51d484b3647e41b7d0c0779c40d956 100644 (file)
@@ -40,7 +40,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
 ?>
 
 <div class="wrap">
-<h2><?php echo esc_html( $title ); ?></h2>
+<h1><?php echo esc_html( $title ); ?></h1>
 
 <form action="options.php" method="post">
 <?php settings_fields('media'); ?>
@@ -84,7 +84,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
 <?php do_settings_fields('media', 'default'); ?>
 </table>
 
-<?php if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
+<?php
+/**
+ * @global array $wp_settings
+ */
+if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
 <h3 class="title"><?php _e('Embeds') ?></h3>
 <table class="form-table">
 <?php do_settings_fields( 'media', 'embeds' ); ?>