diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 2400521804..738f63be72 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -627,8 +627,12 @@ wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); do_action( 'edit_form_after_title', $post ); if ( post_type_supports($post_type, 'editor') ) { + $_wp_editor_expand_class = ''; + if ( $_wp_editor_expand ) { + $_wp_editor_expand_class = ' wp-editor-expand'; + } ?> -
+
post_content, 'content', array( '_content_editor_dfw' => $_content_editor_dfw, diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 81e62a60fc..f8c83feac3 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -113,11 +113,16 @@ wp_nonce_field( 'update-tag_' . $tag_ID ); * @param string $taxonomy Current $taxonomy slug. */ do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy ); + +$tag_name_value = ''; +if ( isset( $tag->name ) ) { + $tag_name_value = esc_attr( $tag->name ); +} ?> - diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index b948d9fad6..ddee18c687 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -1702,6 +1702,11 @@ echo "<$heading_tag id='request-filesystem-credentials-title'>" . __( 'Connectio echo ' '; } _e('If you do not remember your credentials, you should contact your web host.'); + + $password_value = ''; + if ( defined('FTP_PASS') ) { + $password_value = '*****'; + } ?>

+

@@ -195,7 +199,7 @@ $show_avatars = get_option( 'show_avatars' ); - + - + - + - + - - + @@ -290,7 +290,7 @@ endif; // $_wp_admin_css_colors if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> - + diff --git a/wp-content/themes/twentyeleven/header.php b/wp-content/themes/twentyeleven/header.php index f9be4f52e0..a2ad51a211 100644 --- a/wp-content/themes/twentyeleven/header.php +++ b/wp-content/themes/twentyeleven/header.php @@ -119,8 +119,12 @@ -
+
- choices ) ) { return; } + + $value_hidden_class = $no_value_hidden_class = ''; + if ( $this->value() ) { + $value_hidden_class = ' hidden'; + } else { + $no_value_hidden_class = ' hidden'; + } ?> - - + + -> +> @@ -3768,9 +3774,14 @@ function dead_db() { status_header( 500 ); nocache_headers(); header( 'Content-Type: text/html; charset=utf-8' ); + + $dir_attr = ''; + if ( is_rtl() ) { + $dir_attr = ' dir="rtl"'; + } ?> -> +> <?php _e( 'Database Error' ); ?> diff --git a/wp-includes/load.php b/wp-includes/load.php index c7a46de5cc..5ecd2f492f 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -211,9 +211,14 @@ function wp_maintenance() { header( "$protocol 503 Service Unavailable", true, 503 ); header( 'Content-Type: text/html; charset=utf-8' ); header( 'Retry-After: 600' ); + + $dir_attr = ''; + if ( is_rtl() ) { + $dir_attr = ' dir="rtl"'; + } ?> - > + > <?php _e( 'Maintenance' ); ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 5c7a1b3004..6908a35b04 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42216'; +$wp_version = '5.0-alpha-42217'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-nav-menu-widget.php b/wp-includes/widgets/class-wp-nav-menu-widget.php index 51ac2286b0..dc3d6db601 100644 --- a/wp-includes/widgets/class-wp-nav-menu-widget.php +++ b/wp-includes/widgets/class-wp-nav-menu-widget.php @@ -120,9 +120,21 @@ class WP_Nav_Menu_Widget extends WP_Widget { // Get menus $menus = wp_get_nav_menus(); + $empty_menus_style = $not_empty_menus_style = ''; + if ( empty( $menus ) ) { + $empty_menus_style = ' style="display:none" '; + } else { + $not_empty_menus_style = ' style="display:none" '; + } + + $nav_menu_style = ''; + if ( ! $nav_menu ) { + $nav_menu_style = 'display: none;'; + } + // If no menus exists, direct the user to go and create some. ?> - -
@@ -218,7 +222,7 @@ endforeach;
diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index f26c826f5e..ecf4857eb2 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -68,16 +68,25 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

class="regular-text code" /> class="regular-text code" />
class="regular-text code" /> + class="regular-text code" />

-> +> diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 9218983239..be3d09d6f3 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -250,8 +250,13 @@ if ( ! empty( $_GET['search'] ) ) { foreach ( $themes as $theme ) : $aria_action = esc_attr( $theme['id'] . '-action' ); $aria_name = esc_attr( $theme['id'] . '-name' ); + + $active_class = ''; + if ( $theme['active'] ) { + $active_class = ' active'; + } ?> -

+
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index c3c120ff37..71b66b7db1 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -244,7 +244,7 @@ if ( ! IS_PROFILE_PAGE ) {
- +
More information'); ?> More information'); ?>