[wp-trac] [WordPress Trac] #45029: Changes by widget_{$this->id_base}_instance_schema are overridden by sub class.

WordPress Trac noreply at wordpress.org
Tue Apr 2 22:14:26 UTC 2019


#45029: Changes by widget_{$this->id_base}_instance_schema  are overridden by sub
class.
-------------------------------------------------+-------------------------
 Reporter:  Toro_Unit                            |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.2
Component:  Widgets                              |     Version:  4.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"45101" 45101]:
 {{{
 #!CommitTicketReference repository="" revision="45101"
 Widgets: Make sure changes to media widgets' instance schema via
 `widget_{$this->id_base}_instance_schema` filter are not overridden by
 subclasses.

 Add unit tests missed in [45100].

 Props Toro_Unit, birgire.
 See #45029.
 }}}

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


More information about the wp-trac mailing list