diff --git src/wp-admin/about.php src/wp-admin/about.php
index caca10f..d23af10 100644
|
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
61 | 61 | <div class="feature-section two-col"> |
62 | 62 | <h2><?php _e( 'Editing Improvements' ); ?></h2> |
63 | 63 | <div class="col"> |
64 | | <img src="https://cldup.com/klO9vWGiT3.png" /> |
| 64 | <img src="https://cldup.com/klO9vWGiT3.png" alt="" /> |
65 | 65 | <h3><?php _e( 'Inline Linking' ); ?></h3> |
66 | 66 | <p><?php _e( 'Stay focused on your writing with a less distracting interface that keeps you in place and allows you to easily link to your content.' ); ?></p> |
67 | 67 | </div> |
68 | 68 | <div class="col"> |
69 | | <img src="https://cldup.com/TE-OBMWHkX.png" /> |
| 69 | <img src="https://cldup.com/TE-OBMWHkX.png" alt="" /> |
70 | 70 | <h3><?php _e( 'Formatting Shortcuts' ); ?></h3> |
71 | 71 | <p><?php _e( 'Do you enjoy using formatting shortcuts for lists and headings? Now they’re even more useful, with horizontal lines and <code><code></code>.' ); ?></p> |
72 | 72 | </div> |
… |
… |
include( ABSPATH . 'wp-admin/admin-header.php' ); |
77 | 77 | <div class="feature-section two-col"> |
78 | 78 | <h2><?php _e( 'Customization Improvements' ); ?></h2> |
79 | 79 | <div class="col"> |
80 | | <img src="https://cldup.com/0iRJNVbt4G.png" /> |
| 80 | <img src="https://cldup.com/0iRJNVbt4G.png" alt="" /> |
81 | 81 | <h3><?php _e( 'Live Responsive Previews' ); ?></h3> |
82 | | <?php |
83 | | if ( current_user_can( 'customize' ) ) { |
84 | | $customize_url = esc_url( admin_url( 'customize.php' ) ); |
85 | | $customizer_link = sprintf( __( '<a href="%1$s" class="load-customize">%2$s</a>' ), $customize_url, __( 'customizer' ) ); |
86 | | } else { |
87 | | $customizer_link = __( 'customizer' ); |
88 | | } |
89 | | ?> |
90 | | <p><?php printf( __( 'Make sure your site looks great on all screens! Preview mobile, tablet, and desktop views directly in the %s.' ), $customizer_link ); ?></p> |
| 82 | <p><?php _e( 'Make sure your site looks great on all screens!' ); ?> |
| 83 | <?php |
| 84 | if ( current_user_can( 'customize' ) ) { |
| 85 | $customize_url = admin_url( 'customize.php' ); |
| 86 | printf( |
| 87 | /* translators: %s: URL to customizer */ |
| 88 | __( 'Preview mobile, tablet, and desktop views directly in the <a href="%s" class="load-customize">customizer</a>.' ), |
| 89 | esc_url( $customize_url ) |
| 90 | ); |
| 91 | } else { |
| 92 | _e( 'Preview mobile, tablet, and desktop views directly in the customizer.' ); |
| 93 | } |
| 94 | ?></p> |
91 | 95 | </div> |
92 | 96 | <div class="col"> |
93 | | <img src="https://cldup.com/HWDA8xR_8G.png" /> |
| 97 | <img src="https://cldup.com/HWDA8xR_8G.png" alt="" /> |
94 | 98 | <h3><?php _e( 'Custom Logos' ); ?></h3> |
95 | 99 | <p><?php _e( 'Themes can now support logos for your business or brand.' ); ?> |
96 | 100 | <?php |
97 | 101 | if ( current_theme_supports( 'custom-logo' ) && current_user_can( 'customize' ) ) { |
98 | | printf( __( 'Your theme supports custom logos! Try it out right now in the <a href="%s" class="load-customize">Site Identity</a> section of the customizer.' ), add_query_arg( 'autofocus[section]', 'title_tagline', $customize_url ) ); |
| 102 | printf( |
| 103 | /* translators: %s: URL to Site Identity section of the customizer */ |
| 104 | __( 'Your theme supports custom logos! Try it out right now in the <a href="%s" class="load-customize">Site Identity</a> section of the customizer.' ), |
| 105 | esc_url( add_query_arg( array( 'autofocus' => array( 'section' => 'title_tagline' ) ), $customize_url ) ) |
| 106 | ); |
99 | 107 | } else { |
100 | | _e( 'The Twenty Fifteen and Twenty Sixteen themes have been updated to support custom logos, which can be found in the Site Identity section of the Customizer.' ); |
| 108 | _e( 'The Twenty Fifteen and Twenty Sixteen themes have been updated to support custom logos, which can be found in the Site Identity section of the customizer.' ); |
101 | 109 | } |
102 | 110 | ?></p> |
103 | 111 | </div> |
… |
… |
include( ABSPATH . 'wp-admin/admin-header.php' ); |
106 | 114 | <hr /> |
107 | 115 | |
108 | 116 | <div class="changelog"> |
109 | | <h3><?php _e( 'Under the Hood' ); ?></h3> |
| 117 | <h2><?php _e( 'Under the Hood' ); ?></h2> |
110 | 118 | |
111 | 119 | <div class="under-the-hood three-col"> |
112 | 120 | <div class="col"> |
113 | | <h4><?php _e( 'Smart Image Resizing' ); ?></h4> |
114 | | <p><?php printf( __( 'Generated images now load up to 50% faster with no noticeable quality loss. <a href="%s">It’s really cool</a>.' ), 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' ); ?></p> |
| 121 | <h3><?php _e( 'Smart Image Resizing' ); ?></h3> |
| 122 | <p><?php |
| 123 | printf( |
| 124 | /* translators: %s: URL to the development post of the new feature */ |
| 125 | __( 'Generated images now load up to 50% faster with no noticeable quality loss. <a href="%s">It’s really cool</a>.' ), |
| 126 | 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' |
| 127 | ); |
| 128 | ?></p> |
115 | 129 | </div> |
116 | 130 | <div class="col"> |
117 | | <h4><?php _e( 'Selective Refresh' ); ?></h4> |
118 | | <p><?php |
119 | | printf( __( 'The customizer now supports a <a href="%s">comprehensive framework</a> for rendering parts of the preview without rewriting your PHP code in JavaScript.' ), 'https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/' ); |
| 131 | <h3><?php _e( 'Selective Refresh' ); ?></h3> |
| 132 | <p><?php |
| 133 | printf( |
| 134 | /* translators: %s: URL to the development post of the new feature */ |
| 135 | __( 'The customizer now supports a <a href="%s">comprehensive framework</a> for rendering parts of the preview without rewriting your PHP code in JavaScript.' ), |
| 136 | 'https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/' |
| 137 | ); |
120 | 138 | if ( current_user_can( 'customize' ) && current_user_can( 'edit_theme_options' ) ) { |
121 | 139 | if ( current_theme_supports( 'menus' ) && ! current_theme_supports( 'customize-selective-refresh-widgets' ) ) { |
122 | | printf( ' ' . __( 'See it in action with <a href="%1$s" class="load-customize">Menus</a>.' ), add_query_arg( 'autofocus[panel]', 'nav_menus', $customize_url ) ); |
| 140 | printf( |
| 141 | /* translators: %s: URL to Menus section of the customizer */ |
| 142 | ' ' . __( 'See it in action with <a href="%s" class="load-customize">Menus</a>.' ), |
| 143 | esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $customize_url ) ) |
| 144 | ); |
123 | 145 | } elseif ( current_theme_supports( 'customize-selective-refresh-widgets' ) ) { // If widgets are supported, menus are also because of the menus widget. |
124 | | printf( ' ' . __( 'See it in action with <a href="%1$s" class="load-customize">Menus</a> or <a href="%2$s" class="load-customize">Widgets</a>.' ), add_query_arg( 'autofocus[panel]', 'nav_menus', $customize_url ), add_query_arg( 'autofocus[panel]', 'widgets', $customize_url ) ); |
| 146 | printf( |
| 147 | /* translators: 1: URL to Menus section of the customizer, 2: URL to Widgets section of the customizer */ |
| 148 | ' ' . __( 'See it in action with <a href="%1$s" class="load-customize">Menus</a> or <a href="%2$s" class="load-customize">Widgets</a>.' ), |
| 149 | esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $customize_url ) ), |
| 150 | esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'widgets' ) ), $customize_url ) ) |
| 151 | ); |
125 | 152 | } |
126 | 153 | } |
127 | 154 | ?></p> |
128 | 155 | </div> |
129 | 156 | <div class="col"> |
130 | | <h4><?php _e( 'JavaScript Library Updates' ); ?></h4> |
| 157 | <h3><?php _e( 'JavaScript Library Updates' ); ?></h3> |
131 | 158 | <p><?php _e( 'jQuery 1.12.3, jQuery Migrate 1.4.0, Backbone 1.2.3, and Underscore 1.8.3 are bundled.' ); ?></p> |
132 | 159 | </div> |
133 | 160 | </div> |
134 | 161 | |
135 | 162 | <div class="under-the-hood two-col"> |
136 | 163 | <div class="col"> |
137 | | <h4><?php _e( 'Script Loader Improvements' ); ?></h4> |
138 | | <p><?php printf( __( 'Better support has been added for script header/footer dependencies. New <code><a href="%s">wp_add_inline_script()</a></code> enables adding extra code to registered scripts.' ), 'https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/' ); ?></p> |
| 164 | <h3><?php _e( 'Script Loader Improvements' ); ?></h3> |
| 165 | <p><?php |
| 166 | printf( |
| 167 | /* translators: %s: wp_add_inline_script() */ |
| 168 | __( 'Better support has been added for script header/footer dependencies. New %s enables adding extra code to registered scripts.' ), |
| 169 | '<code><a href="https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/">wp_add_inline_script()</a></code>' |
| 170 | ); |
| 171 | ?></p> |
139 | 172 | </div> |
140 | 173 | <div class="col"> |
141 | | <h4><?php _e( 'Better Embed Templates' ); ?></h4> |
142 | | <p><?php printf( __( 'Embed templates have been split into parts and can be <a href="%s">directly overridden by themes</a> via the template hierarchy.' ), 'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/' ); ?></p> |
| 174 | <h3><?php _e( 'Better Embed Templates' ); ?></h3> |
| 175 | <p><?php |
| 176 | printf( |
| 177 | /* translators: %s: URL to the development post of the new feature */ |
| 178 | __( 'Embed templates have been split into parts and can be <a href="%s">directly overridden by themes</a> via the template hierarchy.' ), |
| 179 | 'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/' |
| 180 | ); |
| 181 | ?></p> |
143 | 182 | </div> |
144 | 183 | </div> |
145 | 184 | |
diff --git src/wp-admin/credits.php src/wp-admin/credits.php
index 8457cd3..3b29c03 100644
|
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
20 | 20 | |
21 | 21 | <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
22 | 22 | |
23 | | <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s makes your site more connected and responsive.' ), $display_version ); ?></div> |
| 23 | <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s streamlines your workflow, whether you’re writing or building your site.' ), $display_version ); ?></div> |
24 | 24 | |
25 | 25 | <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
26 | 26 | |
… |
… |
__( 'Contributing Developers' ); |
118 | 118 | __( 'Cofounder, Project Lead' ); |
119 | 119 | __( 'Lead Developer' ); |
120 | 120 | __( 'Release Lead' ); |
| 121 | __( 'Release Design Lead' ); |
| 122 | __( 'Release Deputy' ); |
121 | 123 | __( 'Core Developer' ); |
122 | 124 | __( 'External Libraries' ); |
diff --git src/wp-admin/css/about.css src/wp-admin/css/about.css
index e2aac34..aad606f 100644
|
|
|
109 | 109 | text-align: center; |
110 | 110 | } |
111 | 111 | |
| 112 | .about-wrap .changelog h2, |
112 | 113 | .about-wrap h3 { |
113 | 114 | margin: 1.25em 0 .6em; |
114 | 115 | font-size: 1.25em; |
115 | 116 | line-height: 1.5em; |
116 | 117 | } |
117 | 118 | |
118 | | .about-wrap .changelog h3 { |
| 119 | .about-wrap .changelog h2 { |
119 | 120 | margin-top: 40px; |
| 121 | font-weight: 600; |
| 122 | text-align: left; |
120 | 123 | } |
121 | 124 | |
122 | 125 | .about-wrap h4 { |
123 | 126 | color: #23282d; |
124 | 127 | } |
125 | 128 | |
| 129 | .about-wrap .changelog h3 { |
| 130 | margin: 1.33em 0; |
| 131 | font-size: 1em; |
| 132 | line-height: inherit; |
| 133 | color: #23282d; |
| 134 | } |
| 135 | |
126 | 136 | .about-wrap code, |
127 | 137 | .about-wrap ol li p { |
128 | 138 | font-size: 14px; |
diff --git src/wp-admin/freedoms.php src/wp-admin/freedoms.php
index 81b02d8..440f085 100644
|
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
19 | 19 | |
20 | 20 | <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
21 | 21 | |
22 | | <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s makes your site more connected and responsive.' ), $display_version ); ?></div> |
| 22 | <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s streamlines your workflow, whether you’re writing or building your site.' ), $display_version ); ?></div> |
23 | 23 | |
24 | 24 | <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
25 | 25 | |