[wp-trac] [WordPress Trac] #44461: inconsistent type for global $blog_id

WordPress Trac noreply at wordpress.org
Tue Jun 26 22:22:04 UTC 2018


#44461: inconsistent type for global $blog_id
-------------------------------+------------------------------
 Reporter:  jmlapam            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  4.9.6
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  multisite
-------------------------------+------------------------------

Comment (by jmlapam):

 That's normal, as I said get_current_blog_id() is basically applying an
 absint() on the global but the global itself is inconsistent.

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


More information about the wp-trac mailing list