[wp-trac] [WordPress Trac] #50620: REST API: regression after introducing changes how block renderer endpoint is now defined

WordPress Trac noreply at wordpress.org
Thu Jul 9 13:41:47 UTC 2020


#50620: REST API: regression after introducing changes how block renderer endpoint
is now defined
-------------------------------------------------+-------------------------
 Reporter:  manooweb                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.5
Component:  REST API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-unit-tests good-   |     Focuses:
  first-bug                                      |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => needs-patch needs-unit-tests good-first-bug
 * milestone:  Awaiting Review => 5.5


Comment:

 Hi @manooweb,

 Thanks for the ticket! That's a great catch. Do you want to work on a
 patch for it? We'd essentially want to duplicate our `validate_callback`
 that is set, but at the end call `rest_sanitize_value_from_schema` instead
 of the validate function.

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


More information about the wp-trac mailing list