|
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( './admin.php' ); |
|
11 |
|
12 $title = __( 'About' ); |
|
13 |
|
14 list( $display_version ) = explode( '-', $wp_version ); |
|
15 |
|
16 include( ABSPATH . 'wp-admin/admin-header.php' ); |
|
17 ?> |
|
18 <div class="wrap about-wrap"> |
|
19 |
|
20 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
|
21 |
|
22 <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s is already making your website better, faster, and more attractive, just like you!' ), $display_version ); ?></div> |
|
23 |
|
24 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
|
25 |
|
26 <h2 class="nav-tab-wrapper"> |
|
27 <a href="about.php" class="nav-tab nav-tab-active"> |
|
28 <?php _e( 'What’s New' ); ?> |
|
29 </a><a href="credits.php" class="nav-tab"> |
|
30 <?php _e( 'Credits' ); ?> |
|
31 </a><a href="freedoms.php" class="nav-tab"> |
|
32 <?php _e( 'Freedoms' ); ?> |
|
33 </a> |
|
34 </h2> |
|
35 |
|
36 <div class="changelog point-releases"> |
|
37 <h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 2 ); ?></h3> |
|
38 <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', |
|
39 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 20 ), '3.4.2', number_format_i18n( 20 ) ); ?> |
|
40 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.4.2' ); ?> |
|
41 </p> |
|
42 |
|
43 <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', |
|
44 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 21 ), '3.4.1', number_format_i18n( 21 ) ); ?> |
|
45 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.4.1' ); ?> |
|
46 </p> |
|
47 </div> |
|
48 |
|
49 <div class="changelog"> |
|
50 <h3><?php _e( 'Live Theme Previews' ); ?></h3> |
|
51 |
|
52 <div class="feature-section images-stagger-right"> |
|
53 <img src="<?php echo esc_url( admin_url( 'images/screenshots/theme-customizer.png' ) ); ?>" class="image-50" /> |
|
54 <h4><?php _e( 'Try on New Themes' ); ?></h4> |
|
55 <p><?php _e( 'Gone are the days of rushing to update your header, background, and the like as soon as you activate a new theme. You can now customize these options <strong>before</strong> activating a new theme. Note: this feature is available for installed themes only.' ); ?></p> |
|
56 |
|
57 <h4><?php _e( 'Customize Current Theme' ); ?></h4> |
|
58 <p><?php _e( 'Satisfy your curiosity and try on a fresh coat of paint — you can also use the live preview mode to customize your current theme. Look for the Customize link on the Themes screen.' ); ?></p> |
|
59 </div> |
|
60 </div> |
|
61 |
|
62 <div class="changelog"> |
|
63 <h3><?php _e( 'Custom Headers' ); ?></h3> |
|
64 |
|
65 <div class="feature-section"> |
|
66 <h4><?php _e( 'Flexible Sizes' ); ?></h4> |
|
67 <p><?php _e( 'You can decide for yourself how tall or wide your custom header image should be. From now on, themes will provide a recommended image size for custom headers rather than a fixed requirement. Note: this feature requires <a href="http://codex.wordpress.org/Custom_Headers">theme support</a>.' ); ?></p> |
|
68 <div class="three-col-images"> |
|
69 <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30 first-feature" /> |
|
70 <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" /> |
|
71 <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30 last-feature" /> |
|
72 </div> |
|
73 </div> |
|
74 |
|
75 <div class="feature-section images-stagger-right"> |
|
76 <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-media-library.png' ) ); ?>" class="image-50" /> |
|
77 <h4><?php _e( 'Choose from Media Library' ); ?></h4> |
|
78 <p><?php _e( 'Tired of re-uploading the same custom header image every time you check out a new theme? Now you can choose header images from your media library for easier customization.' ); ?></p> |
|
79 </div> |
|
80 </div> |
|
81 |
|
82 <div class="changelog"> |
|
83 <h3><?php _e( 'Twitter Embeds' ); ?></h3> |
|
84 |
|
85 <div class="feature-section images-stagger-right"> |
|
86 <img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-1.png' ) ); ?>" class="image-30" /> |
|
87 <img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-2.png' ) ); ?>" class="image-30" /> |
|
88 <h4><?php _e( 'Share Tweets with Style' ); ?></h4> |
|
89 <p><?php _e( 'You can now embed individual tweets in posts. It includes action links that allow readers to reply to, retweet, and favorite the tweet without leaving your site. Just paste a tweet URL on its own line.' ); ?></p> |
|
90 <p><?php printf( __( 'This works with URLs from some other sites, too. For more, see the Codex article on <a href="%s">Embeds</a>.' ), __( 'http://codex.wordpress.org/Embeds' ) ); ?></p> |
|
91 </div> |
|
92 |
|
93 </div> |
|
94 |
|
95 |
|
96 <div class="changelog"> |
|
97 <h3><?php _e( 'Better Captions' ); ?></h3> |
|
98 |
|
99 <div class="feature-section images-stagger-right"> |
|
100 <img src="<?php echo esc_url( admin_url( 'images/screenshots/captions-1.png' ) ); ?>" class="image-30" /> |
|
101 <img src="<?php echo esc_url( admin_url( 'images/screenshots/captions-2.png' ) ); ?>" class="image-30" /> |
|
102 <h4><?php _e( 'HTML Support' ); ?></h4> |
|
103 <p><?php _e( 'Basic HTML support has been added to the caption field in the image uploader. This allows you to add links — great for photo credits or licensing details — and basic formatting such as bold and italicized text.' ); ?></p> |
|
104 </div> |
|
105 </div> |
|
106 |
|
107 <div class="changelog"> |
|
108 <h3><?php _e( 'Under the Hood' ); ?></h3> |
|
109 |
|
110 <div class="feature-section three-col"> |
|
111 <div> |
|
112 <h4><?php _e( 'Faster WP_Query' ); ?></h4> |
|
113 <p><?php _e( 'Post queries have been optimized to improve performance, especially for sites with large databases.' ); ?></p> |
|
114 |
|
115 <h4><?php _e( 'Faster Translations' ); ?></h4> |
|
116 <p><?php _e( 'The number of strings loaded on the front end was greatly reduced, resulting in faster front page load times for localized installations.' ); ?> <?php _e( 'Also, better support for East Asian languages, right-to-left languages, theme translations, and more.' ); ?></p> |
|
117 </div> |
|
118 <div> |
|
119 <h4><?php _e( 'Themes API' ); ?></h4> |
|
120 <p><?php _e( 'WP_Theme, wp_get_themes(), wp_get_theme(). Faster, uses less memory, makes use of persistent caching.' ); ?></p> |
|
121 |
|
122 <h4><?php _e( 'Custom Header and Background API' ); ?></h4> |
|
123 <p><?php _e( 'Custom header and background API relocated into the theme support API.' ); ?></p> |
|
124 </div> |
|
125 <div class="last-feature"> |
|
126 <h4><?php _e( 'XML-RPC API' ); ?></h4> |
|
127 <p><?php printf( __( 'A new <a href="%s">WordPress API</a> that supports custom content types and taxonomies, as well as dozens of other bug fixes and improvements.' ), __( 'http://codex.wordpress.org/XML-RPC_WordPress_API' ) ); ?></p> |
|
128 |
|
129 <h4><?php _e( 'External Libraries' ); ?></h4> |
|
130 <p><?php _e( 'jQuery, jQuery UI, TinyMCE, Plupload, PHPMailer, SimplePie, and other libraries were updated. jQuery UI Touch Punch was introduced.' ); ?></p> |
|
131 </div> |
|
132 </div> |
|
133 </div> |
|
134 |
|
135 <div class="return-to-dashboard"> |
|
136 <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?> |
|
137 <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php |
|
138 is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); |
|
139 ?></a> | |
|
140 <?php endif; ?> |
|
141 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php |
|
142 is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> |
|
143 </div> |
|
144 |
|
145 </div> |
|
146 <?php |
|
147 |
|
148 include( ABSPATH . 'wp-admin/admin-footer.php' ); |
|
149 |
|
150 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. |
|
151 return; |
|
152 |
|
153 _n_noop( 'Maintenance Release', 'Maintenance Releases' ); |
|
154 _n_noop( 'Security Release', 'Security Releases' ); |
|
155 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' ); |
|
156 |
|
157 /* translators: 1: WordPress version number. */ |
|
158 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.', |
|
159 '<strong>Version %1$s</strong> addressed some security issues.' ); |
|
160 |
|
161 /* translators: 1: WordPress version number, 2: plural number of bugs. */ |
|
162 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.', |
|
163 '<strong>Version %1$s</strong> addressed %2$s bugs.' ); |
|
164 |
|
165 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */ |
|
166 _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', |
|
167 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' ); |
|
168 |
|
169 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */ |
|
170 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', |
|
171 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' ); |
|
172 |
|
173 __( 'For more information, see <a href="%s">the release notes</a>.' ); |