[wp-trac] [WordPress Trac] #51463: Fire an action prior to AJAX action handling (allows diagnostics)
WordPress Trac
noreply at wordpress.org
Wed Oct 7 16:20:34 UTC 2020
#51463: Fire an action prior to AJAX action handling (allows diagnostics)
---------------------------+-----------------------------
Reporter: DavidAnderson | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+-----------------------------
Comment (by DavidAnderson):
I tend to think that the parameters passed to an action shouldn't include
ones it can directly derive from what is already got. So, here, the Carmen
function can already call is_user_logged_in() and has_action() itself.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51463#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list