[wp-trac] [WordPress Trac] #58615: Backport 6.3: REST API Template Controller ignore empty templates

WordPress Trac noreply at wordpress.org
Tue Jun 27 05:34:28 UTC 2023


#58615: Backport 6.3: REST API Template Controller ignore empty templates
-------------------------------------------------+-------------------------
 Reporter:  ramonopoly                           |       Owner:
                                                 |  isabel_brison
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  REST API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests gutenberg-  |     Focuses:
  merge                                          |
-------------------------------------------------+-------------------------
Changes (by isabel_brison):

 * owner:  (none) => isabel_brison
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56051" 56051]:
 {{{
 #!CommitTicketReference repository="" revision="56051"
 REST API: ignore empty templates.

 Ignore empty templates when using the `/lookup` endpoint in the
 `WP_REST_Templates_Controller` class.

 Props ramonopoly, jorgefilipecosta, spacedmonkey, youknowriad, mukesh27.
 Fixes #58615.
 }}}

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


More information about the wp-trac mailing list