[wp-trac] [WordPress Trac] #51081: Fatal Error - Undefined get_page_templates() in Customizer

WordPress Trac noreply at wordpress.org
Mon Aug 31 17:55:39 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 commit dev-    |     Focuses:  administration,
  reviewed fixed-major               |  template
-------------------------------------+-------------------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48915" 48915]:
 {{{
 #!CommitTicketReference repository="" revision="48915"
 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.
 Merges [48910] to the 5.5 branch.
 Fixes #51081.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51081#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list