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

WordPress Trac noreply at wordpress.org
Thu Mar 3 16:56:50 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:
--------------------------+-----------------------
Changes (by azaozz):

 * keywords:  needs-patch => has-patch
 * priority:  normal => high
 * type:  enhancement => defect (bug)


Comment:

 In 34455.1.patch:
 - Rename `press_this_save_post_content` to `press_this_save_post` and pass
 all post data to it. This is still marginally useful as there are at least
 two other "save post" filters that can be used, however if we must have it
 at least lets filter all of the post data.

 - Remove `press_this_useful_html_elements`. It's misleading as it runs
 only in compatibility mode. Also we are looking at keeping some of the
 HTML elements in the bookmarklet, then we will have to sync this or remove
 all, depending on the direction that goes.

 - 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`.

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


More information about the wp-trac mailing list