Changes between Initial Version and Version 4 of Ticket #54798
- Timestamp:
- 01/12/2022 07:00:56 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54798
- Property Summary Check for int in menu priority implementation → Check for int in menu priority
- Property Keywords has-patch has-unit-tests added
- Property Milestone Awaiting Review → 6.0
- Property Owner set to
- Property Status assigned → reviewing
- Property Version trunk
-
Ticket #54798 – Description
initial v4 1 Similar to [https://core.trac.wordpress.org/ticket/48249], this ticket focuses on ensuring that devs don't accidentally pass non-integer values in the position argument.1 Similar to #48249, this ticket focuses on ensuring that devs don't accidentally pass non-integer values in the position argument. 2 2 3 A similar issue was also reported in [https://core.trac.wordpress.org/ticket/40927], where passing a float argument in `add_menu_page` causes to override menu item.3 A similar issue was also reported in #40927, where passing a float argument in `add_menu_page` causes to override menu item. 4 4 5 5 For backward compatibility, I'd like to suggest informing users with `_doing_it_wrong` if a non-integer value is passed.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)