WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26869, comment 30


Ignore:
Timestamp:
05/08/14 10:29:10 (3 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26869, comment 30

    initial v1  
    44Convert and rename the `$action` hook in wp-admin/admin-post to two dynamic hook sets. 
    55 
    6 * `admin_post_nopriv{$request_action}` is fired for logged-out users 
    7 * `admin_post{$request_action}` is fired for logged-in users 
     6* `admin_post_nopriv{$action}` is fired for logged-out users 
     7* `admin_post{$action}` is fired for logged-in users 
    88 
    99Props Otto42, DrewAPicture. 
    1010See #26869. 
    1111}}} 
     12 
     13Edit: s/$request_action/$action