[wp-trac] [WordPress Trac] #41689: Retire Press This
WordPress Trac
noreply at wordpress.org
Wed Aug 23 03:40:40 UTC 2017
#41689: Retire Press This
----------------------------+------------------
Reporter: azaozz | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.9
Component: Press This | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------
Comment (by kraftbj):
Looking specifically at the class-wp-press-this.php file, we should keep
the various internal utility functions (`_limit_array`, et
al),`fetch_source_html`, `source_data_fetch_fallback`, `get_embeds`,
`get_images`, `get_canonical_link`, `get_source_site_name`,
`get_suggested_title`, `get_suggested_content`.
Anything that outputs HTML or handling the ajax-y bits should be extracted
( `html`, `tags_html`, `categories_html`, `post_formats_html`,
`add_editor_style`, `add_category`, `save_post`, `side_load_images` ), as
well as the press-this-editor.css from wp-admin/css, and mentions of PT in
wp-admin/tools.php
It doesn't look like anything terrible to do and would just need to
account for the class variables properly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41689#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list