[wp-trac] [WordPress Trac] #47779: Add a filter to `get_item_schema()` to be able to extend the schema of existing properties

WordPress Trac noreply at wordpress.org
Thu Aug 1 08:35:35 UTC 2019


#47779: Add a filter to `get_item_schema()` to be able to extend the schema of
existing properties
-------------------------+------------------------------
 Reporter:  luisherranz  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  REST API     |     Version:
 Severity:  trivial      |  Resolution:
 Keywords:               |     Focuses:  rest-api
-------------------------+------------------------------

Comment (by luisherranz):

 For more context about why this filter is needed, please take a look at
 this slack conversation:
 https://wordpress.slack.com/archives/C02RQC26G/p1563397511313900

 Pascal's question appeared because of this new feature of the AMP plugin:
 https://github.com/ampproject/amp-wp/issues/1014
 https://github.com/ampproject/amp-wp/pull/2827

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


More information about the wp-trac mailing list