Opened 3 years ago

Last modified 3 years ago

#14164 new enhancement

do_meta_boxes on press-this.php

Reported by: SpencerFinnell Owned by:
Priority: normal Milestone: Future Release
Component: Press This Version: 3.0
Severity: normal Keywords: has-patch
Cc: cyberhobo@…

Description

Right now, there is no way of add meta boxes to the Press This bookmarklet. A simple call of do_meta_boxes() allows plugin/theme authors to easily hook into the bookmarklet.

do_meta_boxes( 'press-this', 'normal', '' );

That seems to work like a charm.

Attachments (2)

press-this.diff (308 bytes) - added by SpencerFinnell 3 years ago.
Adds do_meta_boxes( 'press-this', 'normal', );
press-this-style-patch.diff (335 bytes) - added by cyberhobo 3 years ago.
A style fix to separate meta boxes from the post content area.

Download all attachments as: .zip

Change History (9)

So apparently I don't know how to create the patch, but the code is in the file I attached.

Adds do_meta_boxes( 'press-this', 'normal', );

Added it real patch this time. Sorry about that!

comment:4   dd323 years ago

  • Keywords has-patch added; press this meta box removed
  • Cc cyberhobo@… added

I tested the patch on WP 3.0 with a single meta box. It works and is useful to me.

Visually, there is no space between the editor and the first meta box. I haven't worked much with WP CSS, but I think I can patch wp-admin/css/press-this.dev.css to fix this. I'll attach my proposal.

A style fix to separate meta boxes from the post content area.

Related: #14650

  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.