[wp-trac] [WordPress Trac] #40736: Ensure that `get_blog_count()` and `get_user_count()` return an integer

WordPress Trac noreply at wordpress.org
Tue Jun 20 17:22:34 UTC 2017


#40736: Ensure that `get_blog_count()` and `get_user_count()` return an integer
--------------------------------+------------------------------
 Reporter:  flixos90            |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  2nd-opinion         |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by flixos90):

 Highlighting https://core.trac.wordpress.org/ticket/40736#comment:2 again:
 Is it reasonable to change the name from `get_blog_count()` to the more
 appropriate `get_site_count()`? In my opinion it's fine since we're
 practically breaking back-compatibility anyway, so we might as well
 deprecate the function in favor of the new one (and of course also adjust
 its old calls in core).

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


More information about the wp-trac mailing list