Ticket #5873 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Submit Post Box needs action hook

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

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

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

Change History

comment:1   ryan4 years ago

  • Owner changed from anonymous to ryan

comment:2   ryan4 years ago

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

comment:3 follow-up: ↓ 4   ryan4 years ago

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

comment:4 in reply to: ↑ 3   filosofo4 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.

for pages and links and styling improvements

comment:5   ryan4 years ago

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

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

Note: See TracTickets for help on using tickets.