Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#5873 closed defect (bug) (fixed)

Submit Post Box needs action hook

Reported by: filosofo's profile filosofo Owned by: ryan's profile ryan
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: General Keywords: submitpost has-patch
Focuses: Cc:

Description

The side post box on the write page should allow additional items. One complaint about the 2.5 layout I've seen repeatedly is that people want X commonly-used feature right there on the side. The action hook in this patch will allow plugin authors to add whatever people want into the side submit box.

Attachments (2)

submitpost_action.diff (331 bytes) - added by filosofo 17 years ago.
submit_boxes.diff (2.5 KB) - added by filosofo 17 years ago.
for pages and links and styling improvements

Download all attachments as: .zip

Change History (7)

#1 @ryan
17 years ago

  • Owner changed from anonymous to ryan

#2 @ryan
17 years ago

(In [6898]) Add submitpost_box action to post edit form. Props filosofo. see #5873

#3 follow-up: @ryan
17 years ago

We should do the same for pages and links. submitpage_box, submitlink_box.

#4 in reply to: ↑ 3 @filosofo
17 years ago

Replying to ryan:

We should do the same for pages and links. submitpage_box, submitlink_box.

I've attached a patch that does this.

Also, since each div had the id of "submitpost" even though it was for posts, pages, or links, I changed the styling to a class named "submitbox" both in the markup and CSS and changed the ids to reflect their individual purposes.

@filosofo
17 years ago

for pages and links and styling improvements

#5 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6901]) submit box actions hooks from filosofo. fixes #5873

Note: See TracTickets for help on using tickets.