[wp-trac] [WordPress Trac] #45451: Filter to allow plugins override block attributes

WordPress Trac noreply at wordpress.org
Thu Jan 10 23:31:06 UTC 2019


#45451: Filter to allow plugins override block attributes
------------------------------+---------------------
 Reporter:  kkarpieszuk       |       Owner:  pento
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.1
Component:  Editor            |     Version:  5.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------

Comment (by pento):

 In [changeset:"44555" 44555]:
 {{{
 #!CommitTicketReference repository="" revision="44555"
 Blocks: Reverse the logic when checking the `pre_render_block` result.

 We should be returning if the result isn't null, not when it is.

 See #45451.
 }}}

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


More information about the wp-trac mailing list