diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php
index a7f54d697b..e293760673 100644
a
|
b
|
function dynamic_sidebar( $index = 1 ) { |
718 | 718 | */ |
719 | 719 | do_action( 'dynamic_sidebar_before', $index, true ); |
720 | 720 | |
721 | | if ( ! empty( $sidebar['before_sidebar'] ) ) { |
| 721 | if ( ! is_admin() && ! empty( $sidebar['before_sidebar'] ) ) { |
722 | 722 | echo $sidebar['before_sidebar']; |
723 | 723 | } |
724 | 724 | |
… |
… |
function dynamic_sidebar( $index = 1 ) { |
823 | 823 | } |
824 | 824 | } |
825 | 825 | |
826 | | if ( ! empty( $sidebar['after_sidebar'] ) ) { |
| 826 | if ( ! is_admin() && ! empty( $sidebar['after_sidebar'] ) ) { |
827 | 827 | echo $sidebar['after_sidebar']; |
828 | 828 | } |
829 | 829 | |