Make WordPress Core

Opened 14 years ago

Closed 9 years ago

Last modified 9 years ago

#14164 closed enhancement (invalid)

do_meta_boxes on press-this.php

Reported by: spencerfinnell's profile SpencerFinnell Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Press This Keywords: has-patch
Focuses: Cc:


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 14 years ago.
Adds do_meta_boxes( 'press-this', 'normal', );
press-this-style-patch.diff (335 bytes) - added by cyberhobo 14 years ago.
A style fix to separate meta boxes from the post content area.

Download all attachments as: .zip

Change History (14)

#1 @SpencerFinnell
14 years ago

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

14 years ago

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

#3 @SpencerFinnell
14 years ago

Added it real patch this time. Sorry about that!

#4 @dd32
14 years ago

  • Keywords has-patch added; press this meta box removed

#5 @cyberhobo
14 years ago

  • 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/ to fix this. I'll attach my proposal.

14 years ago

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

#6 @scribu
14 years ago

Related: #14650

#7 @nacin
14 years ago

  • Milestone changed from Awaiting Review to Future Release

#8 @Mautematico
10 years ago

Any news on this?
I think it's a must to have, specially today that we do have Post Formats.

#9 @stephdau
9 years ago

The new Press This (as of 4.2b1) no longer uses meta boxes.

We have, on the other hand, talked about new actions for devs to be able to extend PT, but will not be through the meta box API.

#10 @DrewAPicture
9 years ago

  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

This ticket was mentioned in Slack in #core by idealien. View the logs.

9 years ago

#12 @Idealien
9 years ago

@stephdau - Can you outline the new actions for devs to be able to extend PT you've discussed?

I love the UX of new Press This - and wondering how it might be extended for quick entry of other post types and, if not Meta Boxes API to store into post meta, something similar that could be hooked via plugin to allow front-end theme and regular admin interface to view / edit respectively.


Last edited 9 years ago by Idealien (previous) (diff)
Note: See TracTickets for help on using tickets.