[wp-trac] [WordPress Trac] #57318: Coding Standards: Use strict comparison in wp-admin/includes/nav-menu.php

WordPress Trac noreply at wordpress.org
Mon Dec 12 11:12:30 UTC 2022


#57318: Coding Standards: Use strict comparison in wp-admin/includes/nav-menu.php
------------------------------------------+-------------------------------
 Reporter:  jenilk                        |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Menus                         |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch needs-testing-info  |     Focuses:  coding-standards
------------------------------------------+-------------------------------
Changes (by johnbillion):

 * keywords:   => has-patch needs-testing-info
 * severity:  major => normal


Comment:

 Thanks for the patch @jenilk! Are all of these variables guaranteed to be
 of the same type? For example data coming in via `$_POST` may be a string,
 etc.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57318#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list