[wp-trac] [WordPress Trac] #34455: Additional Filters for Press This

WordPress Trac noreply at wordpress.org
Thu Mar 3 18:58:44 UTC 2016


#34455: Additional Filters for Press This
--------------------------+-----------------------
 Reporter:  cadeyrn       |       Owner:  kraftbj
     Type:  defect (bug)  |      Status:  reopened
 Priority:  high          |   Milestone:  4.5
Component:  Press This    |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by cadeyrn):

 Replying to [comment:18 azaozz]:

 > - Remove `press_this_suggested_content`. It is completely useless as all
 of the suggested content can be controlled better by using
 `press_this_suggested_html`.

 I can't find any filter for the `$text` variable in
 `get_suggested_content`. It is not part of the `$default_html` that is
 filtered with `press_this_suggested_html`.

 If the `press_this_suggested_content` is getting dropped, could that $text
 be included in the filtered array?

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


More information about the wp-trac mailing list