[wp-trac] [WordPress Trac] #60909: Classic Theme with theme.json attempts to load templates

WordPress Trac noreply at wordpress.org
Thu May 2 16:27:49 UTC 2024


#60909: Classic Theme with theme.json attempts to load templates
-------------------------------------------------+-------------------------
 Reporter:  CookiesForDevo                       |       Owner:  jorbin
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.5.3
Component:  Themes                               |     Version:  6.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-      |     Focuses:
  major dev-reviewed                             |
-------------------------------------------------+-------------------------
Changes (by jorbin):

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


Comment:

 In [changeset:"58080" 58080]:
 {{{
 #!CommitTicketReference repository="" revision="58080"
 REST API: Return empty object when no fallback templates are found
 (wp/v2/templates/lookup)

 This prevents a number of php notices that are surfaced due to the
 endpoint being called on load of the post editor even when there are no
 templates.

 Reviewed by joemcgill.
 Merges [58079] to the 6.5 branch.

 Props grantmkin, CookiesForDevo, britner, wildworks, jorbin.
 Fixes #60909.
 }}}

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


More information about the wp-trac mailing list