[wp-trac] [WordPress Trac] #45727: is_admin_bar_showing() is true in REST API requests
WordPress Trac
noreply at wordpress.org
Thu Dec 20 15:10:55 UTC 2018
#45727: is_admin_bar_showing() is true in REST API requests
--------------------------+------------------------------
Reporter: Rarst | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Toolbar | Version: trunk
Severity: minor | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Description changed by Rarst:
Old description:
> `is_admin_bar_showing()` returns `true` if logged and looking at REST API
> request.
>
> This is inconsistent with it being explicitly `false` for XML RPC and
> Ajax requests.
New description:
`is_admin_bar_showing()` returns `true` if logged in and looking at REST
API request.
This is inconsistent with it being explicitly `false` for XML RPC and Ajax
requests.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45727#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list