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

WordPress Trac noreply at wordpress.org
Fri Mar 4 18:55:26 UTC 2016

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

 * status:  reopened => closed
 * resolution:   => fixed


 In [changeset:"36848"]:
 #!CommitTicketReference repository="" revision="36848"
 Pres This:
 - Change the newly added `press_this_save_post_content` filter to
 `press_this_save_post` and pass the $post_data array to it.
 - Remove the newly added `press_this_useful_html_elements`. It only runs
 in compatibility mode when a URL is typed by the user.
 - Remove the `press_this_suggested_content` filter. It is redundant as the
 suggested HTML for the editor is already filtered by
 - Add some more inline docs and rename couple of vars to make the code
 more readable.

 Fixes #34455.

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

More information about the wp-trac mailing list