[wp-trac] [WordPress Trac] #60651: Block Bindings: Don't show protected fields that are bound to blocks and post meta

WordPress Trac noreply at wordpress.org
Sat Mar 2 14:12:09 UTC 2024


#60651: Block Bindings: Don't show protected fields that are bound to blocks and
post meta
--------------------------------------+-------------------------
 Reporter:  santosguillamot           |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  closed
 Priority:  high                      |   Milestone:  6.5
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57754" 57754]:
 {{{
 #!CommitTicketReference repository="" revision="57754"
 Editor: do not expose protected post meta fields in block bindings.

 Ignores meta keys which are considered protected or not registered to be
 shown in the REST API. Adds tests.

 Props santosguillamot, swissspidy, gziolo, xknown, peterwilsoncc.
 Fixes #60651.
 }}}

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


More information about the wp-trac mailing list