[wp-trac] [WordPress Trac] #41070: register_sidebar and dynamic_sidebar inconsistency
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Jun 20 22:36:14 UTC 2017
    
    
  
#41070: register_sidebar and dynamic_sidebar inconsistency
-----------------------------+------------------------------
 Reporter:  derkjanspeelman  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Widgets          |     Version:  4.8
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Comment (by mdifelice):
 Hi @derkjanspeelman, I've tried your code in my environment and I did not
 get the same output. Could you please give us more information: the
 sidebar has widgets? your theme has other sidebars? etc.
 The {{{dynamic_sidebar()}}} function does return {{{true}}} when there is
 at least one widget loaded in it. So it is weird it does also print the
 widget itself when calling it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41070#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list