Opened 10 years ago
Closed 10 years ago
#31750 closed defect (bug) (wontfix)
add_meta_box() ignores calls with invalid $priority parameter
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 2.5 |
Component: | Posts, Post Types | Keywords: | dev-feedback |
Focuses: | Cc: |
Description
I incorrectly changed a call to add_meta_box() to adjust the $priority - I used a valid value for the $context parameter.
Actual result:
The meta box callback was not invoked at all
Expected result:
Some form of validation, which would produce one or more of the following
- Doing it wrong
- WP_Error returned from the call
- return( false );
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi @bobbingwide, could you please provide some sample code to reproduce this issue?