Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22250, comment 13


Ignore:
Timestamp:
10/22/2012 06:40:34 PM (12 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22250, comment 13

    initial v1  
    44foreach ( get_option( 'footer_sidebars' ) as $sidebar_id ) {
    55  add_action( 'wp_footer', function() use ( $sidebar_id ) {
    6     get_sidebar( 'footer' );
     6    get_sidebar( $sidebar_id );
    77  } );
    88}