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

WordPress Trac noreply at wordpress.org
Wed Aug 26 20:48:55 UTC 2020


#51081: Fatal Error - Undefined get_page_templates() in Customizer
---------------------------+---------------------------------------
 Reporter:  Howdy_McGee    |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  accepted
 Priority:  normal         |   Milestone:  5.5.1
Component:  Customize      |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |     Focuses:  administration, template
---------------------------+---------------------------------------

Comment (by garrett-eclipse):

 @khag7 appreciate the offer, all that's needed to contribute an update to
 the filter documentation is to supply either a svn diff patch or a git PR
 with the updated verbiage.

 Working with Patches - https://make.wordpress.org/core/handbook/tutorials
 /working-with-patches/
 Submitting a Patch -
 https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
 Prefer Github? You can PR -
 https://make.wordpress.org/core/handbook/contribute/git/github-pull-
 requests-for-code-review/

 Do note the PHP Documentation Standards;
 https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/

 The existing PHP docblock to look at for this is here;
 https://github.com/WordPress/wordpress-
 develop/blob/5602ba4db7284a4787f0f311008ca9f99a22eab1/src/wp-
 admin/includes/template.php#L2221-L2230

 Hope that helps, there's also the new contributor meetings on wednesdays.
 Upcoming WordPress Meetings: https://make.wordpress.org/meetings/

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


More information about the wp-trac mailing list