[wp-trac] [WordPress Trac] #58139: Strict type comparison

WordPress Trac noreply at wordpress.org
Sun Apr 16 21:10:42 UTC 2023


#58139: Strict type comparison
--------------------------------+------------------------------
 Reporter:  mujuonly            |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------------
Changes (by audrasjb):

 * version:  6.2 =>


Comment:

 Thanks for opening this ticket and for the PR.

 I have not looked deeply into this, but are we sure that
 `$blog['deleted']`, `$blog['archived']` and `$blog['spam']` are string
 type? Shouldn't we cast them into a string?

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


More information about the wp-trac mailing list