[wp-trac] [WordPress Trac] #57030: Condition is not strictly checked on options-general.php file

WordPress Trac noreply at wordpress.org
Tue Nov 8 09:56:56 UTC 2022


#57030: Condition is not strictly checked on options-general.php file
----------------------------+-----------------------------
 Reporter:  rakibwordpress  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:  has-patch
  Focuses:  administration  |
----------------------------+-----------------------------
 In options-general.php file it is 0 is being compared with another
 variable which is $current_offset. As 0 is numeric value this needs to be
 compared.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57030>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list