[wp-trac] [WordPress Trac] #50347: is_active_sidebar() documentation is terrible

WordPress Trac noreply at wordpress.org
Tue Jun 9 15:55:32 UTC 2020


#50347: is_active_sidebar() documentation is terrible
-------------------------+-----------------------------
 Reporter:  SUM1         |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.5
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  docs
-------------------------+-----------------------------

Comment (by Hareesh Pillai):

 The developer handbook needs to be updated too.

 https://developer.wordpress.org/themes/basics/conditional-tags/#is-
 sidebar-active

 Presently, it reads

 {{{
 Check to see if a given sidebar is active (in use).
 Returns true if the sidebar (identified by name, id, or number) is in use,
 otherwise the function returns false.
 }}}

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


More information about the wp-trac mailing list