WordPress.org

Make WordPress Core

Changeset 15802


Ignore:
Timestamp:
10/14/2010 09:53:04 AM (8 years ago)
Author:
nacin
Message:

Pass screen context to favorite_actions filter. props whoismanu, fixes #15117.

File:
1 edited

Legend:

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

    r15764 r15802  
    14651465        unset($actions[$default_key]);
    14661466    $actions = array_merge($default_action, $actions);
    1467     $actions = apply_filters('favorite_actions', $actions);
     1467    $actions = apply_filters( 'favorite_actions', $actions, $screen );
    14681468
    14691469    $allowed_actions = array();
Note: See TracChangeset for help on using the changeset viewer.