WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 05:03:13 PM (6 years ago)
Author:
wonderboymusic
Message:

In the style of #30947 and default-filters.php, add 2 new files to wp-admin/includes:
admin-filters.php
ms-admin-filters.php

There are random actions and filters littered among files like misc.php. These files contain functions that won't work outside of admin context and are typically only loaded in files that have already loaded the admin bootstrap.

See #32529.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r32650 r32653  
    21872187}
    21882188
    2189 add_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts'                ) );
    2190 add_action( 'user_register',         array( 'WP_Internal_Pointers', 'dismiss_pointers_for_new_users' ) );
    2191 
    21922189/**
    21932190 * Convert a screen string to a screen object
Note: See TracChangeset for help on using the changeset viewer.