]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/options-reading.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-admin / options-reading.php
index 7bcb20be61b318e021e75cfa50a218290210b960..9341e7fcf42119434956a32dcdc2e21dc13f2d98 100644 (file)
@@ -23,7 +23,6 @@ $parent_file = 'options-general.php';
 function options_reading_add_js() {
 ?>
 <script type="text/javascript">
 function options_reading_add_js() {
 ?>
 <script type="text/javascript">
-//<![CDATA[
        jQuery(document).ready(function($){
                var section = $('#front-static-pages'),
                        staticPage = section.find('input:radio[value="page"]'),
        jQuery(document).ready(function($){
                var section = $('#front-static-pages'),
                        staticPage = section.find('input:radio[value="page"]'),
@@ -34,7 +33,6 @@ function options_reading_add_js() {
                check_disabled();
                section.find('input:radio').change(check_disabled);
        });
                check_disabled();
                section.find('input:radio').change(check_disabled);
        });
-//]]>
 </script>
 <?php
 }
 </script>
 <?php
 }
@@ -47,7 +45,7 @@ add_action('admin_head', 'options_reading_add_js');
  */
 function options_reading_blog_charset() {
        echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
  */
 function options_reading_blog_charset() {
        echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
-       echo '<p class="description">' . __( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
+       echo '<p class="description">' . __( 'The <a href="https://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
 }
 
 get_current_screen()->add_help_tab( array(
 }
 
 get_current_screen()->add_help_tab( array(
@@ -68,7 +66,7 @@ get_current_screen()->add_help_tab( array(
 
 get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
 
 get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
-       '<p>' . __('<a href="http://codex.wordpress.org/Settings_Reading_Screen" target="_blank">Documentation on Reading Settings</a>') . '</p>' .
+       '<p>' . __('<a href="https://codex.wordpress.org/Settings_Reading_Screen" target="_blank">Documentation on Reading Settings</a>') . '</p>' .
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
 );
 
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
 );
 
@@ -76,7 +74,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
 ?>
 
 <div class="wrap">
 ?>
 
 <div class="wrap">
-<h2><?php echo esc_html( $title ); ?></h2>
+<h1><?php echo esc_html( $title ); ?></h1>
 
 <form method="post" action="options.php">
 <?php
 
 <form method="post" action="options.php">
 <?php