Opened 6 years ago
Closed 6 years ago
#3783 closed enhancement (invalid)
register_post_type won't accept menu_position as float (as string) like other admin menu functions do
Reported by: | stiofansisland | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | has-patch dev-feedback |
Cc: |
Description
The register_post_type function does not accept float values so its impossible to exactly position your CPTs next to each other if you have more than 5.
Most other functions to add admin menu items accept float values as a string like "55.1" but this is not the case with register_post_type due to a is_int check.
I will attach a diff file for the smallest change ever...
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Closing, wrong Trac, see #WP44875