[wp-trac] [WordPress Trac] #64168: Inaccurate JSON schema for template-parts endpoint

WordPress Trac noreply at wordpress.org
Mon Apr 6 07:20:39 UTC 2026


#64168: Inaccurate JSON schema for template-parts endpoint
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  REST API                             |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by motylanogha):

 * Attachment "64168.diff" added.

 Refreshed patch for current trunk (r609f25f). Schema fix for    origin
 (string|null) and modified (oneOf string|false) with 3 unit tests. All 51
 template        controller tests pass.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64168>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list