Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#6964 closed defect (bug) (fixed)

Add default meta boxes via add_meta_box()

Reported by: ryan's profile ryan Owned by: ryan's profile ryan
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

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 (2)

meta_boxes.diff (2.8 KB) - added by ryan 17 years ago.
6964.diff (9.0 KB) - added by DD32 17 years ago.

Download all attachments as: .zip

Change History (11)

@ryan
17 years ago

#1 @ryan
17 years ago

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

#2 @ryan
17 years ago

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

#3 @ryan
17 years ago

  • Owner changed from anonymous to ryan

#4 @ryan
17 years ago

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

#5 @ryan
17 years ago

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

#6 @jeremyclarke
17 years ago

  • Cc jeremyclarke added

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

@DD32
17 years ago

#7 @DD32
17 years ago

attachment 6964.diff added.

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

#8 @ryan
17 years ago

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

#9 @ryan
17 years ago

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

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

Note: See TracTickets for help on using tickets.