WordPress.org

Make WordPress Core

Opened 20 months ago

Last modified 8 months ago

#21551 new enhancement

Press This Structural Rewrite

Reported by: georgestephanis Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4.1
Component: Press This Keywords: has-patch needs-testing
Focuses: Cc:

Description

This is a ticket to tidy up and abstract some of the Press This code into wp-admin/includes/press-this.php to make it simpler to work with and use functionality in plugins and such.

Once this structural change is done, I've got a couple enhancements coming down the pipes including reading OG/Twitter/Meta tags from the source page, simpler upgrades to the JS (jorbin's suggestion) better image pulling, etc.

This patch below, however, is merely structural, not adding in any new functionality, merely tidying up what we've got so far.

Attachments (2)

21551.diff (36.1 KB) - added by georgestephanis 20 months ago.
21551.2.diff (31.7 KB) - added by georgestephanis 20 months ago.

Download all attachments as: .zip

Change History (5)

georgestephanis20 months ago

georgestephanis20 months ago

comment:1 SergeyBiryukov15 months ago

#18806 was marked as a duplicate.

comment:3 sillybean8 months ago

  • Cc steph@… added
Note: See TracTickets for help on using tickets.