WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 5 years ago

Last modified 5 years ago

#14164 closed enhancement (invalid)

do_meta_boxes on press-this.php

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

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

Download all attachments as: .zip

Change History (14)

#1 @SpencerFinnell
10 years ago

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

@SpencerFinnell
10 years ago

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

#3 @SpencerFinnell
10 years ago

Added it real patch this time. Sorry about that!

#4 @dd32
10 years ago

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

#5 @cyberhobo
10 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/press-this.dev.css to fix this. I'll attach my proposal.

@cyberhobo
10 years ago

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

#6 @scribu
10 years ago

Related: #14650

#7 @nacin
10 years ago

  • Milestone changed from Awaiting Review to Future Release

#8 @Mautematico
6 years ago

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

#9 @stephdau
5 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
5 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.


5 years ago

#12 @Idealien
5 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.

Thx

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