]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/about.php
WordPress 4.2.3-scripts
[autoinstalls/wordpress.git] / wp-admin / about.php
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 <div class="wrap about-wrap">
26
27 <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
28
29 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s helps you communicate and share, globally.' ), $display_version ); ?></div>
30
31 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
32
33 <h2 class="nav-tab-wrapper">
34         <a href="about.php" class="nav-tab nav-tab-active">
35                 <?php _e( 'What&#8217;s New' ); ?>
36         </a><a href="credits.php" class="nav-tab">
37                 <?php _e( 'Credits' ); ?>
38         </a><a href="freedoms.php" class="nav-tab">
39                 <?php _e( 'Freedoms' ); ?>
40         </a>
41 </h2>
42
43 <div class="changelog point-releases">
44         <h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 3 ); ?></h3>
45         <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
46          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 20 ), '4.2.3', number_format_i18n( 20 ) ); ?>
47                 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_4.2.3' ); ?>
48         </p>
49         <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
50          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 13 ), '4.2.2', number_format_i18n( 13 ) ); ?>
51                 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_4.2.2' ); ?>
52         </p>
53         <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
54          '<strong>Version %1$s</strong> addressed some security issues.', 1 ), '4.2.1' ); ?>
55                 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_4.2.1' ); ?>
56         </p>
57 </div>
58
59 <div class="headline-feature feature-video">
60         <embed type="application/x-shockwave-flash" src="https://v0.wordpress.com/player.swf?v=1.04" width="1000" height="560" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=e9kH4FzP&amp;isDynamicSeeking=true"></embed>
61 </div>
62
63 <hr />
64
65 <div class="feature-section two-col">
66         <div class="col">
67                 <h3><?php _e( 'An easier way to share content' ); ?></h3>
68                 <p><?php printf( __( 'Clip it, edit it, publish it. Get familiar with the new and improved Press This. From the <a href="%s">Tools</a> menu, add Press This to your browser bookmark bar or your mobile device home screen. Once installed you can share your content with lightning speed. Sharing your favorite videos, images, and content has never been this fast or this easy.' ), admin_url( 'tools.php' ) ); ?></p>
69                 <p><?php _e( 'Drag the bookmarklet below to your bookmarks bar. Then, when you&#8217;re on a page you want to share, simply &#8220;press&#8221; it.' ); ?></p>
70
71                 <p class="pressthis-bookmarklet-demo">
72                         <a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a>
73                 </p>
74         </div>
75
76         <div class="col">
77                 <img src="//s.w.org/images/core/4.2/press-this.jpg" />
78         </div>
79 </div>
80
81 <div class="feature-section two-col">
82         <div class="col">
83                 <img src="//s.w.org/images/core/4.2/unicode.png" />
84         </div>
85         <div class="col">
86                 <h3><?php _e( 'Extended character support' ); ?></h3>
87                 <p><?php _e( 'Writing in WordPress, whatever your language, just got better. WordPress 4.2 supports a host of new characters out-of-the-box, including native Chinese, Japanese, and Korean characters, musical and mathematical symbols, and hieroglyphs.' ); ?></p>
88                 <p><?php
89                         /* translators: 1: heart emoji, 2: frog face emoji, 3, monkey emoji, 4: pizza emoji, 5: Emoji Codex link */
90                         printf( __( 'Don&#8217;t use any of those characters? You can still have fun &mdash; emoji are now available in WordPress! Get creative and decorate your content with %1$s, %2$s, %3$s, %4$s, and all the many other <a href="%5$s">emoji</a>.' ), '&#x1F499', '&#x1F438', '&#x1F412', '&#x1F355', __( 'https://codex.wordpress.org/Emoji' ) );
91                 ?></p>
92         </div>
93 </div>
94
95 <div class="changelog feature-section three-col">
96         <div>
97                 <img src="//s.w.org/images/core/4.2/theme-switcher.png" />
98                 <h3><?php _e( 'Switch themes in the Customizer' ); ?></h3>
99                 <p><?php _e( 'Browse and preview your installed themes from the Customizer. Make sure the theme looks great with <em>your</em> content, before it debuts on your site. ' ); ?></p>
100         </div>
101         <div>
102                 <img src="//s.w.org/images/core/4.2/embeds.png" />
103                 <h3><?php _e( 'Even more embeds' ); ?></h3>
104                 <p><?php _e( 'Paste links from Tumblr.com and Kickstarter and watch them magically appear right in the editor. With every release, your publishing and editing experience get closer together.' ); ?></p>
105         </div>
106         <div class="last-feature">
107                 <img src="//s.w.org/images/core/4.2/plugins.png" />
108                 <h3><?php _e( 'Streamlined plugin updates' ); ?></h3>
109                 <p><?php _e( 'Goodbye boring loading screen, hello smooth and simple plugin updates. Click <em>Update&nbsp;Now</em> and watch the magic happen.' ); ?></p>
110         </div>
111 </div>
112
113 <div class="changelog under-the-hood feature-list">
114         <h3><?php _e( 'Under the Hood' ); ?></h3>
115
116         <div class="feature-section col two-col">
117                 <div>
118                         <h4><?php _e( 'utf8mb4 support' ); ?></h4>
119                         <p><?php _e( 'Database character encoding has changed from utf8 to utf8mb4, which adds support for a whole range of new 4-byte characters.' ); ?></p>
120
121                         <h4><?php _e( 'JavaScript accessibility' ); ?></h4>
122                         <p><?php
123                                 /* translators: %s wp.a11y.speak() */
124                                 printf( __( 'You can now send audible notifications to screen readers in JavaScript with %s. Pass it a string, and an update will be sent to a dedicated ARIA live notifications area.' ), '<code>wp.a11y.speak()</code>' );
125                         ?></p>
126                 </div>
127                 <div class="last-feature">
128                         <h4><?php _e( 'Shared term splitting' ); ?></h4>
129                         <p><?php
130                                 /* translators: 1: Term splitting guide link */
131                                 printf( __( 'Terms shared across multiple taxonomies will be split when one of them is updated. Find out more in the <a href="%1$s">Plugin Developer Handbook</a>.' ), 'https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/' );
132                         ?></p>
133
134                         <h4><?php _e( 'Complex query ordering' ); ?></h4>
135                         <p><?php
136                                 /* translators: 1: WP_Query, 2: WP_Comment_Query, 3: WP_User_Query */
137                                 printf( __( '%1$s, %2$s, and %3$s now support complex ordering with named meta query clauses.' ), '<code>WP_Query</code>', '<code>WP_Comment_Query</code>', '<code>WP_User_Query</code>' );
138                         ?></p>
139                 </div>
140
141         <hr />
142
143         <div class="return-to-dashboard">
144                 <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
145                 <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
146                         is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
147                 ?></a> |
148                 <?php endif; ?>
149                 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
150                         is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
151         </div>
152 </div>
153
154 </div>
155 <?php
156
157 include( ABSPATH . 'wp-admin/admin-footer.php' );
158
159 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
160 return;
161
162 _n_noop( 'Maintenance Release', 'Maintenance Releases' );
163 _n_noop( 'Security Release', 'Security Releases' );
164 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
165
166 /* translators: 1: WordPress version number. */
167 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
168          '<strong>Version %1$s</strong> addressed some security issues.' );
169
170 /* translators: 1: WordPress version number, 2: plural number of bugs. */
171 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
172          '<strong>Version %1$s</strong> addressed %2$s bugs.' );
173
174 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
175 _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
176          '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
177
178 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
179 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
180          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
181
182 __( 'For more information, see <a href="%s">the release notes</a>.' );