[wp-trac] [WordPress Trac] #49374: Use get_post_states to denote special pages on the added menu item accordions
WordPress Trac
noreply at wordpress.org
Sun Jul 26 01:13:07 UTC 2020
#49374: Use get_post_states to denote special pages on the added menu item
accordions
-------------------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner:
| SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.4
Component: Menus | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-screenshots commit | Focuses: ui,
fixed-major dev-reviewed | administration
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"48619" 48619]:
{{{
#!CommitTicketReference repository="" revision="48619"
Posts, Post Types: Make `get_post_states()` available on frontend.
This allows special pages to be denoted as such when editing a menu in the
Customizer.
This applies to the Front Page, Posts Page, and Privacy Policy Page.
Follow-up to [47211], [47213], [47763].
Props dlh, whyisjake, SergeyBiryukov.
Fixes #46829. See #49374.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49374#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list