1 | <?php |
---|
2 | /** |
---|
3 | * About This Version administration panel. |
---|
4 | * |
---|
5 | * @package WordPress |
---|
6 | * @subpackage Administration |
---|
7 | */ |
---|
8 | |
---|
9 | /** WordPress Administration Bootstrap */ |
---|
10 | require_once( dirname( __FILE__ ) . '/admin.php' ); |
---|
11 | |
---|
12 | wp_enqueue_style( 'wp-mediaelement' ); |
---|
13 | wp_enqueue_script( 'wp-mediaelement' ); |
---|
14 | wp_localize_script( 'mediaelement', '_wpmejsSettings', array( |
---|
15 | 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), |
---|
16 | 'pauseOtherPlayers' => '' |
---|
17 | ) ); |
---|
18 | |
---|
19 | $title = __( 'About' ); |
---|
20 | |
---|
21 | list( $display_version ) = explode( '-', $wp_version ); |
---|
22 | |
---|
23 | include( ABSPATH . 'wp-admin/admin-header.php' ); |
---|
24 | |
---|
25 | $video_url = 'https://videopress.com/embed/T54Iy7Tw'; |
---|
26 | $locale = str_replace( '_', '-', get_locale() ); |
---|
27 | if ( 'en-AU' !== $locale ) { |
---|
28 | list( $locale ) = explode( '-', $locale ); |
---|
29 | } |
---|
30 | if ( 'en' !== $locale ) { |
---|
31 | $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); |
---|
32 | } |
---|
33 | |
---|
34 | $major_features = array( |
---|
35 | array( |
---|
36 | 'src' => array( |
---|
37 | 'mp4' => '//s.w.org/images/core/4.3/formatting.mp4', |
---|
38 | 'ogv' => '//s.w.org/images/core/4.3/formatting.ogv', |
---|
39 | 'webm' => '//s.w.org/images/core/4.3/formatting.webm', |
---|
40 | ), |
---|
41 | 'heading' => __( 'Formatting Shortcuts' ), |
---|
42 | /* Translators: 1: asterisks; 2: number sign; */ |
---|
43 | 'description' => sprintf( __( 'Your writing flow just got faster with new formatting shortcuts in WordPress 4.3. Use asterisks to create lists and number signs to make a heading. No more breaking your flow; your text looks great with a %1$s and a %2$s.' ), '<code>*</code>', '<code>#</code>' ), |
---|
44 | ), |
---|
45 | array( |
---|
46 | 'src' => '//s.w.org/images/core/4.3/menu-customizer.png', |
---|
47 | 'heading' => __( 'Menus in the Customizer' ), |
---|
48 | 'description' => __( 'Create your menu, update it, and assign it, all while live-previewing in the customizer. The streamlined customizer design provides a mobile-friendly and accessible interface. With every release, it becomes easier and faster to make your site just the way you want it.' ), |
---|
49 | ), |
---|
50 | array( |
---|
51 | 'src' => '//s.w.org/images/core/4.3/better-passwords.png', |
---|
52 | 'heading' => __( 'Better Passwords' ), |
---|
53 | 'description' => __( 'Keep your site more secure with WordPress’ improved approach to passwords. Instead of receiving passwords via email, you’ll get a password reset link. When you add new users to your site or edit a user profile, WordPress will automatically generate a secure password.' ), |
---|
54 | ), |
---|
55 | array( |
---|
56 | 'src' => '//s.w.org/images/core/4.3/site-icon-customizer.png', |
---|
57 | 'heading' => __( 'Site Icons' ), |
---|
58 | 'description' => __( 'Site icons represent your site in browser tabs, bookmark menus, and on the home screen of mobile devices. Add your unique site icon in the customizer; it will even stay in place when you switch themes. Make your whole site reflect your brand.' ), |
---|
59 | ), |
---|
60 | ); |
---|
61 | shuffle( $major_features ); |
---|
62 | |
---|
63 | $minor_features = array( |
---|
64 | array( |
---|
65 | 'src' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBmaWxsPSIjMDBhMGQyIiBkPSJNNTAgMjE1aDI0MHYzMEg1MHpNNTAgMjc1aDI0MHYzMEg1MHpNNTAgMTU1aDI0MHYzMEg1MHpNNTAgOTVoMjQwdjMwSDUwek0zMTAuMSA5NWwxOS45IDMwIDIwLjEtMzAiLz48L3N2Zz4=', |
---|
66 | 'heading' => __( 'A smoother admin experience' ), |
---|
67 | 'description' => __( 'Refinements to the list view across the admin make your WordPress more accessible and easier to work with on any device.' ), |
---|
68 | ), |
---|
69 | array( |
---|
70 | 'src' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iIzAwYTBkMiIgZD0iTTUgMmgxMHEuODIgMCAxLjQxLjU5VDE3IDR2OHEwIC44Mi0uNTkgMS40MVQxNSAxNGgtMmwtNSA1di01SDVxLS44MiAwLTEuNDEtLjU5VDMgMTJWNHEwLS44Mi41OS0xLjQxVDUgMnptOC41IDguNUwxMSA4bDIuNS0yLjUtMS0xTDEwIDcgNy41IDQuNWwtMSAxTDkgOGwtMi41IDIuNSAxIDFMMTAgOWwyLjUgMi41eiIvPjwvc3ZnPg==', |
---|
71 | 'heading' => __( 'Comments turned off on pages' ), |
---|
72 | 'description' => __( 'All new pages that you create will have comments turned off. Keep discussions to your blog, right where they’re supposed to happen.' ), |
---|
73 | ), |
---|
74 | array( |
---|
75 | 'src' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iIzAwYTBkMiIgZD0iTTI5LjMyOCA1LjcxMnEuMDQ4LS4xNDQuMDk2LS4zODR0LS4wNjQtLjgxNi0uNTI4LS45NzZxLS4zODQtLjM2OC0uODcyLS40NjR0LS43OTIgMGwtLjI4OC4wOHEtMS40NTYuNzItNS44OCAzLjczNnQtNi4zOTIgNS4xNzZxLS43MzYuODMyLTEuNDA4IDIuMzJ0LS44OCAzIC41NDQgMi4zOTJxLjgzMi43MzYgMi4zNDQuNTc2dDMuMDcyLS44MjQgMi4yNDgtMS4zNTJxMi4xNDQtMi4xNDQgNS4xNjgtNi42NTZ0My42MzItNS44MDh6TTIuMjQgMjguMjRxMS4wNTYtLjY4OCAxLjcxMi0xLjUyOHQuOTUyLTEuNjE2LjU0NC0xLjUyLjcyLTEuNDggMS4yNC0xLjI4cTEuMDg4LS44IDIuNTA0LS43MDR0Mi40MjQgMS4xNjhxLjgxNi44OC44MjQgMi42NHQtMS4wOCAyLjg5NnEtMS4yMTYgMS4xMi0yLjkwNCAxLjYyNHQtMy40MjQuNDI0LTMuNTEyLS42MjR6Ii8+PC9zdmc+', |
---|
76 | 'heading' => __( 'Customize your site quickly' ), |
---|
77 | 'description' => __( 'Wherever you are on the front-end, you can click the customize link in the toolbar to swiftly make changes to your site.' ), |
---|
78 | ), |
---|
79 | ); |
---|
80 | |
---|
81 | $tech_features = array( |
---|
82 | array( |
---|
83 | 'heading' => __( 'Taxonomy Roadmap' ), |
---|
84 | 'description' => __( 'Terms shared across multiple taxonomies are now split into separate terms.' ), |
---|
85 | ), |
---|
86 | array( |
---|
87 | 'heading' => __( 'Template Hierarchy' ), |
---|
88 | /* Translators: 1: singular.php; 2: single.php; 3:page.php */ |
---|
89 | 'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>' ), |
---|
90 | ), |
---|
91 | array( |
---|
92 | 'heading' => '<code>WP_List_Table</code>', |
---|
93 | 'description' => __( 'List tables can and should designate a primary column.' ), |
---|
94 | ), |
---|
95 | ); |
---|
96 | |
---|
97 | ?> |
---|
98 | <div class="wrap about-wrap"> |
---|
99 | <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
---|
100 | |
---|
101 | <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s makes it even easier to format your content and customize your site.' ), $display_version ); ?></div> |
---|
102 | <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
---|
103 | |
---|
104 | <h2 class="nav-tab-wrapper"> |
---|
105 | <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a> |
---|
106 | <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
---|
107 | <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
---|
108 | </h2> |
---|
109 | |
---|
110 | <div class="changelog point-releases"> |
---|
111 | <h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 28 ); ?></h3> |
---|
112 | <p> |
---|
113 | <?php |
---|
114 | printf( |
---|
115 | /* translators: %s: WordPress version number */ |
---|
116 | __( '<strong>Version %s</strong> addressed one security issue.' ), |
---|
117 | '4.3.28' |
---|
118 | ); |
---|
119 | ?> |
---|
120 | <?php |
---|
121 | printf( |
---|
122 | /* translators: %s: HelpHub URL */ |
---|
123 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
124 | sprintf( |
---|
125 | /* translators: %s: WordPress version */ |
---|
126 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
127 | sanitize_title( '4.3.28' ) |
---|
128 | ) |
---|
129 | ); |
---|
130 | ?> |
---|
131 | </p> |
---|
132 | <p> |
---|
133 | <?php |
---|
134 | printf( |
---|
135 | /* translators: %s: WordPress version number */ |
---|
136 | __( '<strong>Version %1$s</strong> addressed some security issues.' ), |
---|
137 | '4.3.27' |
---|
138 | ); |
---|
139 | ?> |
---|
140 | <?php |
---|
141 | printf( |
---|
142 | /* translators: %s: HelpHub URL */ |
---|
143 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
144 | sprintf( |
---|
145 | /* translators: %s: WordPress version */ |
---|
146 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
147 | sanitize_title( '4.3.27' ) |
---|
148 | ) |
---|
149 | ); |
---|
150 | ?> |
---|
151 | </p> |
---|
152 | <p> |
---|
153 | <?php |
---|
154 | printf( |
---|
155 | /* translators: %s: WordPress version number */ |
---|
156 | __( '<strong>Version %1$s</strong> addressed a security issue.' ), |
---|
157 | '4.3.26' |
---|
158 | ); |
---|
159 | ?> |
---|
160 | <?php |
---|
161 | printf( |
---|
162 | /* translators: %s: HelpHub URL */ |
---|
163 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
164 | sprintf( |
---|
165 | /* translators: %s: WordPress version */ |
---|
166 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
167 | sanitize_title( '4.3.26' ) |
---|
168 | ) |
---|
169 | ); |
---|
170 | ?> |
---|
171 | </p> |
---|
172 | <p> |
---|
173 | <?php |
---|
174 | printf( |
---|
175 | /* translators: %s: WordPress version number */ |
---|
176 | __( '<strong>Version %s</strong> addressed some security issues.' ), |
---|
177 | '4.3.25' |
---|
178 | ); |
---|
179 | ?> |
---|
180 | <?php |
---|
181 | printf( |
---|
182 | /* translators: %s: HelpHub URL */ |
---|
183 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
184 | sprintf( |
---|
185 | /* translators: %s: WordPress version */ |
---|
186 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
187 | sanitize_title( '4.3.25' ) |
---|
188 | ) |
---|
189 | ); |
---|
190 | ?> |
---|
191 | </p> |
---|
192 | <p> |
---|
193 | <?php |
---|
194 | printf( |
---|
195 | /* translators: %s: WordPress version number */ |
---|
196 | __( '<strong>Version %s</strong> addressed some security issues.' ), |
---|
197 | '4.3.24' |
---|
198 | ); |
---|
199 | ?> |
---|
200 | <?php |
---|
201 | printf( |
---|
202 | /* translators: %s: HelpHub URL */ |
---|
203 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
204 | sprintf( |
---|
205 | /* translators: %s: WordPress version */ |
---|
206 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
207 | sanitize_title( '4.3.24' ) |
---|
208 | ) |
---|
209 | ); |
---|
210 | ?> |
---|
211 | </p> |
---|
212 | <p> |
---|
213 | <?php |
---|
214 | printf( |
---|
215 | /* translators: %s: WordPress version number */ |
---|
216 | __( '<strong>Version %s</strong> addressed some security issues.' ), |
---|
217 | '4.3.23' |
---|
218 | ); |
---|
219 | ?> |
---|
220 | <?php |
---|
221 | printf( |
---|
222 | /* translators: %s: HelpHub URL */ |
---|
223 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
224 | sprintf( |
---|
225 | /* translators: %s: WordPress version */ |
---|
226 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
227 | sanitize_title( '4.3.23' ) |
---|
228 | ) |
---|
229 | ); |
---|
230 | ?> |
---|
231 | </p> |
---|
232 | <p> |
---|
233 | <?php |
---|
234 | printf( |
---|
235 | /* translators: %s: WordPress version number */ |
---|
236 | __( '<strong>Version %s</strong> addressed one security issue.' ), |
---|
237 | '4.3.22' |
---|
238 | ); |
---|
239 | ?> |
---|
240 | <?php |
---|
241 | printf( |
---|
242 | /* translators: %s: HelpHub URL */ |
---|
243 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
244 | sprintf( |
---|
245 | /* translators: %s: WordPress version */ |
---|
246 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
247 | sanitize_title( '4.3.22' ) |
---|
248 | ) |
---|
249 | ); |
---|
250 | ?> |
---|
251 | </p> |
---|
252 | <p> |
---|
253 | <?php |
---|
254 | printf( |
---|
255 | /* translators: %s: WordPress version number */ |
---|
256 | __( '<strong>Version %s</strong> addressed some security issues.' ), |
---|
257 | '4.3.21' |
---|
258 | ); |
---|
259 | ?> |
---|
260 | <?php |
---|
261 | printf( |
---|
262 | /* translators: %s: HelpHub URL */ |
---|
263 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
264 | sprintf( |
---|
265 | /* translators: %s: WordPress version */ |
---|
266 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
267 | sanitize_title( '4.3.21' ) |
---|
268 | ) |
---|
269 | ); |
---|
270 | ?> |
---|
271 | </p> |
---|
272 | <p> |
---|
273 | <?php |
---|
274 | printf( |
---|
275 | /* translators: %s: WordPress version number */ |
---|
276 | __( '<strong>Version %s</strong> addressed some security issues.' ), |
---|
277 | '4.3.20' |
---|
278 | ); |
---|
279 | ?> |
---|
280 | <?php |
---|
281 | printf( |
---|
282 | /* translators: %s: HelpHub URL */ |
---|
283 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
284 | sprintf( |
---|
285 | /* translators: %s: WordPress version */ |
---|
286 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
287 | sanitize_title( '4.3.20' ) |
---|
288 | ) |
---|
289 | ); |
---|
290 | ?> |
---|
291 | </p> |
---|
292 | <p> |
---|
293 | <?php |
---|
294 | printf( |
---|
295 | /* translators: %s: WordPress version number */ |
---|
296 | __( '<strong>Version %s</strong> addressed a security issue.' ), |
---|
297 | '4.3.19' |
---|
298 | ); |
---|
299 | ?> |
---|
300 | <?php |
---|
301 | printf( |
---|
302 | /* translators: %s: HelpHub URL */ |
---|
303 | __( 'For more information, see <a href="%s">the release notes</a>.' ), |
---|
304 | sprintf( |
---|
305 | /* translators: %s: WordPress version */ |
---|
306 | esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), |
---|
307 | sanitize_title( '4.3.19' ) |
---|
308 | ) |
---|
309 | ); |
---|
310 | ?> |
---|
311 | </p> |
---|
312 | <p> |
---|
313 | <?php |
---|
314 | /* translators: %s: WordPress version number */ |
---|
315 | printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.3.18' ); |
---|
316 | ?> |
---|
317 | <?php |
---|
318 | /* translators: %s: Codex URL */ |
---|
319 | printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.18' ); |
---|
320 | ?> |
---|
321 | </p> |
---|
322 | <p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.3.17' ); ?> |
---|
323 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.17' ); ?> |
---|
324 | </p> |
---|
325 | <p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.3.16' ); ?> |
---|
326 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.16' ); ?> |
---|
327 | </p> |
---|
328 | <p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.3.15' ); ?> |
---|
329 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.15' ); ?> |
---|
330 | </p> |
---|
331 | <p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.3.14' ); ?> |
---|
332 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.14' ); ?> |
---|
333 | </p> |
---|
334 | <p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.3.13' ); ?> |
---|
335 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.13' ); ?> |
---|
336 | </p> |
---|
337 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
338 | '<strong>Version %1$s</strong> addressed some security issues.', 8 ), '4.3.12' ); ?> |
---|
339 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.12' ); ?> |
---|
340 | </p> |
---|
341 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
342 | '<strong>Version %1$s</strong> addressed some security issues.', 5 ), '4.3.11' ); ?> |
---|
343 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.11' ); ?> |
---|
344 | </p> |
---|
345 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.', |
---|
346 | '<strong>Version %1$s</strong> addressed %2$s bugs.', 1 ), '4.3.10', number_format_i18n( 1 ) ); ?> |
---|
347 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.10' ); ?> |
---|
348 | </p> |
---|
349 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
350 | '<strong>Version %1$s</strong> addressed some security issues.', 6 ), '4.3.9' ); ?> |
---|
351 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.9' ); ?> |
---|
352 | </p> |
---|
353 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
354 | '<strong>Version %1$s</strong> addressed some security issues.', 3 ), '4.3.8' ); ?> |
---|
355 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.8' ); ?> |
---|
356 | </p> |
---|
357 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
358 | '<strong>Version %1$s</strong> addressed some security issues.', 8 ), '4.3.7' ); ?> |
---|
359 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.7' ); ?> |
---|
360 | </p> |
---|
361 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', |
---|
362 | '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 1 ), '4.3.6', number_format_i18n( 1 ) ); ?> |
---|
363 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.6' ); ?> |
---|
364 | </p> |
---|
365 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
366 | '<strong>Version %1$s</strong> addressed some security issues.', 7 ), '4.3.5' ); ?> |
---|
367 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.5' ); ?> |
---|
368 | </p> |
---|
369 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
370 | '<strong>Version %1$s</strong> addressed some security issues.', 7 ), '4.3.4' ); ?> |
---|
371 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.4' ); ?> |
---|
372 | </p> |
---|
373 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
374 | '<strong>Version %1$s</strong> addressed some security issues.', 2 ), '4.3.3' ); ?> |
---|
375 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.3' ); ?> |
---|
376 | </p> |
---|
377 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', |
---|
378 | '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', 5 ), '4.3.2', number_format_i18n( 5 ) ); ?> |
---|
379 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.2' ); ?> |
---|
380 | </p> |
---|
381 | <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', |
---|
382 | '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 26 ), '4.3.1', number_format_i18n( 26 ) ); ?> |
---|
383 | <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.3.1' ); ?> |
---|
384 | </p> |
---|
385 | </div> |
---|
386 | |
---|
387 | <div class="headline-feature feature-video"> |
---|
388 | <iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe> |
---|
389 | <script src="https://videopress.com/videopress-iframe.js"></script> |
---|
390 | </div> |
---|
391 | |
---|
392 | <hr/> |
---|
393 | |
---|
394 | <div class="feature-section two-col"> |
---|
395 | <?php foreach ( $major_features as $feature ) : ?> |
---|
396 | <div class="col"> |
---|
397 | <div class="media-container"> |
---|
398 | <?php |
---|
399 | // Video. |
---|
400 | if ( is_array( $feature['src'] ) ) : |
---|
401 | echo wp_video_shortcode( array( |
---|
402 | 'mp4' => $feature['src']['mp4'], |
---|
403 | 'ogv' => $feature['src']['ogv'], |
---|
404 | 'webm' => $feature['src']['webm'], |
---|
405 | 'loop' => true, |
---|
406 | 'autoplay' => true, |
---|
407 | 'width' => 500, |
---|
408 | 'height' => 284 |
---|
409 | ) ); |
---|
410 | |
---|
411 | // Image. |
---|
412 | else: |
---|
413 | ?> |
---|
414 | <img src="<?php echo esc_url( $feature['src'] ); ?>" /> |
---|
415 | <?php endif; ?> |
---|
416 | </div> |
---|
417 | <h3><?php echo $feature['heading']; ?></h3> |
---|
418 | <p><?php echo $feature['description']; ?></p> |
---|
419 | </div> |
---|
420 | <?php endforeach; ?> |
---|
421 | </div> |
---|
422 | |
---|
423 | <div class="feature-section three-col"> |
---|
424 | <?php foreach ( $minor_features as $feature ) : ?> |
---|
425 | <div class="col"> |
---|
426 | <div class="svg-container"> |
---|
427 | <img src="<?php echo esc_attr( $feature['src'] ); ?>" /> |
---|
428 | </div> |
---|
429 | <h3><?php echo $feature['heading']; ?></h3> |
---|
430 | <p><?php echo $feature['description']; ?></p> |
---|
431 | </div> |
---|
432 | <?php endforeach; ?> |
---|
433 | </div> |
---|
434 | |
---|
435 | <div class="changelog"> |
---|
436 | <h3><?php _e( 'Under the Hood' ); ?></h3> |
---|
437 | |
---|
438 | <div class="feature-section under-the-hood three-col"> |
---|
439 | <?php foreach ( $tech_features as $feature ) : ?> |
---|
440 | <div class="col"> |
---|
441 | <h4><?php echo $feature['heading']; ?></h4> |
---|
442 | <p><?php echo $feature['description']; ?></p> |
---|
443 | </div> |
---|
444 | <?php endforeach; ?> |
---|
445 | </div> |
---|
446 | |
---|
447 | <div class="return-to-dashboard"> |
---|
448 | <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?> |
---|
449 | <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"> |
---|
450 | <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?> |
---|
451 | </a> | |
---|
452 | <?php endif; ?> |
---|
453 | <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> |
---|
454 | </div> |
---|
455 | |
---|
456 | </div> |
---|
457 | </div> |
---|
458 | <?php |
---|
459 | |
---|
460 | include( ABSPATH . 'wp-admin/admin-footer.php' ); |
---|
461 | |
---|
462 | // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. |
---|
463 | return; |
---|
464 | |
---|
465 | _n_noop( 'Maintenance Release', 'Maintenance Releases' ); |
---|
466 | _n_noop( 'Security Release', 'Security Releases' ); |
---|
467 | _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' ); |
---|
468 | |
---|
469 | /* translators: 1: WordPress version number. */ |
---|
470 | _n_noop( '<strong>Version %1$s</strong> addressed a security issue.', |
---|
471 | '<strong>Version %1$s</strong> addressed some security issues.' ); |
---|
472 | |
---|
473 | /* translators: 1: WordPress version number, 2: plural number of bugs. */ |
---|
474 | _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.', |
---|
475 | '<strong>Version %1$s</strong> addressed %2$s bugs.' ); |
---|
476 | |
---|
477 | /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */ |
---|
478 | _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', |
---|
479 | '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' ); |
---|
480 | |
---|
481 | /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */ |
---|
482 | _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', |
---|
483 | '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' ); |
---|
484 | |
---|
485 | __( 'For more information, see <a href="%s">the release notes</a>.' ); |
---|