[wp-trac] [WordPress Trac] #46064: Check for protected endpoint is done twice in a row
WordPress Trac
noreply at wordpress.org
Tue Jan 22 15:25:11 UTC 2019
#46064: Check for protected endpoint is done twice in a row
----------------------------+---------------------
Reporter: schlessera | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.1
Component: Bootstrap/Load | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
----------------------------+---------------------
Comment (by schlessera):
I suggest just removing the second check, as that method is `protected`
and only ever called within the conditional that calls the `store()`
method.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46064#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list