[wp-trac] [WordPress Trac] #29647: WP_oEmbed::_strip_newlines was hooked into "oembed_dataparse", but it is private

WordPress Trac noreply at wordpress.org
Fri Sep 12 22:53:06 UTC 2014


#29647: WP_oEmbed::_strip_newlines was hooked into "oembed_dataparse", but it is
private
----------------------------+-----------------------------
 Reporter:  dikiy_forester  |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.0.1
Component:  Embeds          |     Version:  4.0
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29742"]:
 {{{
 #!CommitTicketReference repository="" revision="29742"
 `WP_oEmbed::_strip_newlines` is called as a filter callback for
 `oembed_dataparse`, must be public. It was marked as private for fun in
 [14109] and then made `private` officially in [28507].

 Fixes #29647 for trunk.
 }}}

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


More information about the wp-trac mailing list