WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 05:03:13 PM (7 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/theme-install.php

    r32643 r32653  
    133133<?php
    134134}
    135 // add_action('install_themes_dashboard', 'install_themes_dashboard');
    136135
    137136function install_themes_upload() {
     
    145144    <?php
    146145}
    147 // add_action('install_themes_upload', 'install_themes_upload', 10, 0);
    148146
    149147/**
     
    181179
    182180}
    183 // add_action('install_themes_search', 'display_themes');
    184 // add_action('install_themes_featured', 'display_themes');
    185 // add_action('install_themes_new', 'display_themes');
    186 // add_action('install_themes_updated', 'display_themes');
    187181
    188182/**
     
    209203    exit;
    210204}
    211 add_action('install_themes_pre_theme-information', 'install_theme_information');
Note: See TracChangeset for help on using the changeset viewer.