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-reading.php

    r21851 r21856  
    2222 * @subpackage Reading_Settings_Screen
    2323 */
    24 function add_js() {
     24function options_reading_add_js() {
    2525?>
    2626<script type="text/javascript">
     
    4040<?php
    4141}
    42 add_action('admin_head', 'add_js');
     42add_action('admin_head', 'options_reading_add_js');
    4343
    4444get_current_screen()->add_help_tab( array(
Note: See TracChangeset for help on using the changeset viewer.