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/plugin-install.php

    r32642 r32653  
    159159    echo '</p><br class="clear" />';
    160160}
    161 add_action( 'install_plugins_featured', 'install_dashboard' );
    162161
    163162/**
     
    210209<?php
    211210}
    212 add_action('install_plugins_upload', 'install_plugins_upload' );
    213211
    214212/**
     
    259257    <?php
    260258}
    261 add_action( 'install_plugins_search',      'display_plugins_table' );
    262 add_action( 'install_plugins_popular',     'display_plugins_table' );
    263 add_action( 'install_plugins_recommended', 'display_plugins_table' );
    264 add_action( 'install_plugins_new',         'display_plugins_table' );
    265 add_action( 'install_plugins_beta',        'display_plugins_table' );
    266 add_action( 'install_plugins_favorites',   'display_plugins_table' );
    267259
    268260/**
     
    583575    exit;
    584576}
    585 add_action('install_plugins_pre_plugin-information', 'install_plugin_information');
Note: See TracChangeset for help on using the changeset viewer.