X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..245e789b234afa4525862e7a6e5e3c2e7a52ef20:/wp-admin/widgets.php diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index db2a279f..9383d743 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -35,7 +35,8 @@ if ( 'on' == $widgets_access ) { } /** - * Fires early before the Widgets administration screen loads, after scripts are enqueued. + * Fires early before the Widgets administration screen loads, + * after scripts are enqueued. * * @since 2.2.0 */ @@ -70,7 +71,7 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . '

' . __('Documentation on Widgets') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Support Forums') . '

' ); if ( ! current_theme_supports( 'widgets' ) ) { @@ -229,7 +230,6 @@ if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) { require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

>

@@ -310,7 +310,6 @@ $errors = array( require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

@@ -332,72 +331,90 @@ do_action( 'widgets_admin_page' ); ?>
-
-

-
- + +

-
+
+ +
+ +
+

$registered_sidebar ) { if ( false !== strpos( $registered_sidebar['class'], 'inactive-sidebar' ) || 'orphaned_widgets' == substr( $sidebar, 0, 16 ) ) { $wrap_class = 'widgets-holder-wrap'; if ( !empty( $registered_sidebar['class'] ) ) $wrap_class .= ' ' . $registered_sidebar['class']; -?> - + ?>
-
- +
- +?>
+ 1 ) { + $split = ceil( $sidebars_count / 2 ); +} else { + $single_sidebar_class = ' class="single-sidebar"'; +} +?>
-
+
> +
@@ -406,6 +423,14 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
+
+
    +
    + + +
    +
    +