WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #48153, comment 9


Ignore:
Timestamp:
09/26/2019 10:35:11 PM (12 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48153, comment 9

    v1 v2  
    33The intended functionality can be done by using the `admin_email_check_interval` filter and looking at the current user. If additional capabilities are required, the standard `current_user_can()` can be used as well. Then the redirect can be disabled on per-user basis by returning a "falsey" value, see https://core.trac.wordpress.org/browser/trunk/src/wp-login.php?rev=46325#L1246.
    44
    5 Perhaps would be better to update the docs and describe the user case in more details?
     5Perhaps would be better to update the docs and describe the user case in more details instead of a new filter?
    66