Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.

git-svn-id: https://develop.svn.wordpress.org/trunk@21856 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-09-15 19:49:21 +00:00
parent 322919eb1c
commit eea7a4b8d3
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ $timezone_format = _x('Y-m-d G:i:s', 'timezone date format');
* @package WordPress
* @subpackage General_Settings_Screen
*/
function add_js() {
function options_general_add_js() {
?>
<script type="text/javascript">
//<![CDATA[
@@ -56,7 +56,7 @@ function add_js() {
</script>
<?php
}
add_action('admin_head', 'add_js');
add_action('admin_head', 'options_general_add_js');
$options_help = '<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' .
'<p>' . __('Most themes display the site title at the top of every page, in the title bar of the browser, and as the identifying name for syndicated feeds. The tagline is also displayed by many themes.') . '</p>';