WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20229 closed defect (bug) (invalid)

meta boxes not sorting according to docs

Reported by: 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)

comment:1 @SidHarrell3 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.

comment:2 @SidHarrell3 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.

comment:3 @helenyhou3 years ago

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