~canonical-sysadmins/wordpress/4.2.4

« back to all changes in this revision

Viewing changes to wp-admin/options-reading.php

  • Committer: Paul Gear
  • Date: 2015-04-24 01:35:20 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: paul.gear@canonical.com-20150424013520-w4p9ksth76zh6opw
Merge new upstream release 4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
function options_reading_add_js() {
24
24
?>
25
25
<script type="text/javascript">
26
 
//<![CDATA[
27
26
        jQuery(document).ready(function($){
28
27
                var section = $('#front-static-pages'),
29
28
                        staticPage = section.find('input:radio[value="page"]'),
34
33
                check_disabled();
35
34
                section.find('input:radio').change(check_disabled);
36
35
        });
37
 
//]]>
38
36
</script>
39
37
<?php
40
38
}
47
45
 */
48
46
function options_reading_blog_charset() {
49
47
        echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
50
 
        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>';
 
48
        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>';
51
49
}
52
50
 
53
51
get_current_screen()->add_help_tab( array(
68
66
 
69
67
get_current_screen()->set_help_sidebar(
70
68
        '<p><strong>' . __('For more information:') . '</strong></p>' .
71
 
        '<p>' . __('<a href="http://codex.wordpress.org/Settings_Reading_Screen" target="_blank">Documentation on Reading Settings</a>') . '</p>' .
 
69
        '<p>' . __('<a href="https://codex.wordpress.org/Settings_Reading_Screen" target="_blank">Documentation on Reading Settings</a>') . '</p>' .
72
70
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
73
71
);
74
72