WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/15/2012 07:49:21 PM (7 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r20605 r21856  
    2424 * @subpackage General_Settings_Screen
    2525 */
    26 function add_js() {
     26function options_general_add_js() {
    2727?>
    2828<script type="text/javascript">
     
    5757<?php
    5858}
    59 add_action('admin_head', 'add_js');
     59add_action('admin_head', 'options_general_add_js');
    6060
    6161$options_help = '<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' .
Note: See TracChangeset for help on using the changeset viewer.