[wp-trac] [WordPress Trac] #28346: Deprecated notice for get_current_site_name() does not mention its alternative

WordPress Trac noreply at wordpress.org
Sat May 24 09:42:09 UTC 2014


#28346: Deprecated notice for get_current_site_name() does not mention its
alternative
--------------------------+-----------------------------
 Reporter:  jesin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Using `get_current_site_name()` displays the following PHP notice.

 {{{
 get_current_site_name is deprecated since version 3.9 with no alternative
 available.
 }}}

 But the alternative for this function is `get_current_site()` and the
 [[http://codex.wordpress.org/Function_Reference/get_current_site_name |
 codex]] clearly mentions this.

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


More information about the wp-trac mailing list