[wp-trac] [WordPress Trac] #51081: Fatal Error - Undefined get_page_templates() in Customizer
WordPress Trac
noreply at wordpress.org
Mon Aug 31 13:30:35 UTC 2020
#51081: Fatal Error - Undefined get_page_templates() in Customizer
--------------------------+---------------------------------------
Reporter: Howdy_McGee | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.1
Component: Customize | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration, template
--------------------------+---------------------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48910" 48910]:
{{{
#!CommitTicketReference repository="" revision="48910"
Docs: Add a `@since` note to the `display_post_states` filter to clarify
that it is now also applied in the Customizer context.
If any admin functions are used within the filter, their existence should
be checked with `function_exists()` before being used.
Follow-up to [47763], [48620].
Props audrasjb, garrett-eclipse, Howdy_McGee, dlh, khag7, SergeyBiryukov.
Fixes #51081.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51081#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list