Ticket #6964 (closed defect: fixed)

Opened 5 months ago

Last modified 4 months ago

Add default meta boxes via add_meta_box()

Reported by: ryan Assigned to: ryan
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords:
Cc: jeremyclarke

Description

The default meta boxes on the post, page, and link edit page are hard-coded into the template. To allow the default meta boxes to be removed and replaced, they should be added via add_meta_box().

Attachments

meta_boxes.diff (2.8 kB) - added by ryan on 05/12/08 20:15:01.
6964.diff (9.0 kB) - added by DD32 on 05/17/08 11:38:38.

Change History

05/12/08 20:15:01 changed by ryan

  • attachment meta_boxes.diff added.

05/12/08 20:15:39 changed by ryan

Patch does the cats and tags boxes on the edit post page as an example. Also adds remove_meta_box() API.

05/12/08 21:59:06 changed by ryan

  • summary changed from Adde default meta boxes via add_meta_box() to Add default meta boxes via add_meta_box().

05/14/08 04:17:48 changed by ryan

  • owner changed from anonymous to ryan.

05/14/08 08:22:02 changed by ryan

(In [7930]) Add default edit post meta boxes via API. see #6964

05/14/08 08:26:36 changed by ryan

Page and link edit forms are next. If anyone wants to do those, go for it.

05/14/08 15:00:28 changed by jeremyclarke

  • cc set to jeremyclarke.

And all across the land, a resounding 'W007' was heard. :D

05/17/08 11:38:38 changed by DD32

  • attachment 6964.diff added.

05/17/08 11:39:27 changed by DD32

attachment 6964.diff added.

Moves Pages to API, Some corrections to the post author box that was missed on the Post page.

05/18/08 20:08:18 changed by ryan

(In [7948]) add_meta_box() for edit page form. Props DD32. see #6964

05/30/08 21:16:15 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [8025]) add_meta_box() for edit link form. fixes #6964