[wp-trac] [WordPress Trac] #20966: Inconsistent Variable Usage

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 11:30:04 UTC 2012


#20966: Inconsistent Variable Usage
-------------------------------------------+-----------------------
 Reporter:  ericmann                       |       Owner:  ericmann
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  3.4.1
Component:  Upgrade/Install                |     Version:  3.1
 Severity:  minor                          |  Resolution:
 Keywords:  has-patch dev-feedback commit  |
-------------------------------------------+-----------------------

Comment (by cogmios):

 I have php 5.4.4 see the warning.
 I assume it has something todo with wp_cache_get where site-options does
 not contain the user-count yet since it reads then the value from the
 meta_value. Maybe the php doc from get_user_count could also be updated
 since the return value should NOT be an integer if i follow correctly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20966#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list