WordPress.org

Make WordPress Core

Changeset 19521


Ignore:
Timestamp:
12/01/2011 03:34:55 AM (9 years ago)
Author:
nacin
Message:

Make current_screen an action, not a filter. see #18785.

File:
1 edited

Legend:

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

    r19520 r19521  
    509509        $taxnow = $this->taxonomy;
    510510        $typenow = $this->post_type;
    511         $current_screen = apply_filters( 'current_screen', $current_screen );
     511        do_action( 'current_screen', $current_screen );
    512512    }
    513513
Note: See TracChangeset for help on using the changeset viewer.