[wp-trac] [WordPress Trac] #42826: Change get_oembed_response_data to apply filters to title

WordPress Trac noreply at wordpress.org
Thu Dec 7 12:45:10 UTC 2017


#42826: Change get_oembed_response_data to apply filters to title
-------------------------+------------------------------
 Reporter:  mheikkila    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Embeds       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch
 * type:  defect (bug) => enhancement
 * component:  General => Embeds


Comment:

 Hey there

 Thanks for your ticket!

 Instead of using `apply_filters()` this should rather use
 `get_the_title()`.

 If you want to help create a proper patch for this, please have a look at
 https://make.wordpress.org/core/handbook/tutorials/working-with-patches/

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


More information about the wp-trac mailing list