diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php index b95506b1eb..356970f076 100644 --- a/wp-admin/includes/widgets.php +++ b/wp-admin/includes/widgets.php @@ -263,3 +263,12 @@ function wp_widget_control( $sidebar_args ) { return $sidebar_args; } + +/** + * + * @param string $classes + * @return string + */ +function wp_widgets_access_body_class($classes) { + return "$classes widgets_access "; +} \ No newline at end of file diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 0b603ea256..23d0a5d411 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -26,15 +26,6 @@ if ( isset($_GET['widgets-access']) ) { set_user_setting( 'widgets_access', $widgets_access ); } -/** - * - * @param string $classes - * @return string - */ -function wp_widgets_access_body_class($classes) { - return "$classes widgets_access "; -} - if ( 'on' == $widgets_access ) { add_filter( 'admin_body_class', 'wp_widgets_access_body_class' ); } else { diff --git a/wp-includes/version.php b/wp-includes/version.php index 8520af8d41..3bf525ba71 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34016'; +$wp_version = '4.4-alpha-34017'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.