[wp-trac] [WordPress Trac] #38428: admin_page_access_denied action never called

WordPress Trac noreply at wordpress.org
Fri Oct 21 09:42:30 UTC 2016


#38428: admin_page_access_denied action never called
------------------------------------+-----------------------------
 Reporter:  solo14000               |      Owner:
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:  4.6.1
 Severity:  normal                  |   Keywords:
  Focuses:  administration          |
------------------------------------+-----------------------------
 Hello,

 I have setup my own custom WP theme.
 I'm trying to customize denied access to WP admin by registering my own
 callback on the 'admin_page_access_denied' hook.

 But unfortunately, my callback is never called.

 I have simply added the code snippet provided as example in the Codex
 ([https://codex.wordpress.org/Plugin_API/Action_Reference/admin_page_access_denied])
 in my functions.php.

 Can anyone confirm this?

 Thanks

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38428>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list