Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#20229 closed defect (bug) (invalid)

meta boxes not sorting according to docs

Reported by: sidharrell's profile SidHarrell Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.1
Component: General Keywords:
Focuses: Cc:

Description

looking at my var_dump of $wp_meta_boxes I put in at the end of line 901 of wp-admin/includes/template.php ( the end of the add_meta_box function ) I see ( I'll change the names for the protection of the innocent )
[side]

[high]

A
B
C
D

[low]

E

Then when it's done sorting, I see:
[side]

[high]
[low]
[sorted]

E
A
B
D
C

Is there any way you could add integer prioritizing to override the present system of high, core, default, low to give us precise control over the order that they appear on the page?
Thanks

Sidney Harrell
Event Espresso core developer

Change History (3)

#1 @SidHarrell
13 years ago

think I may have figured it out. I have it saving metabox ordering in usermeta. Let me do some more testing so I don't look like an idiot.

#2 @SidHarrell
13 years ago

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

Yeah, that was it. I disabled the ajax call to save the sort order (for now) and deleted the saved sort order from the db, and they're coming up right.

Thanks.

#3 @helenyhou
13 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.