Make WordPress Core


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

    r32642 r32653  
    387387}
    388388
    389 add_action('admin_init', 'default_password_nag_handler');
    390389/**
    391390 * @since 2.8.0
     
    410409}
    411410
    412 add_action('profile_update', 'default_password_nag_edit_user', 10, 2);
    413 
    414411/**
    415412 * @since 2.8.0
     
    428425    }
    429426}
    430 
    431 add_action('admin_notices', 'default_password_nag');
    432427
    433428/**
Note: See TracChangeset for help on using the changeset viewer.