2011-09-21 19:20:26 -04:00
< ? php
/**
* About This Version administration panel .
*
* @ package WordPress
* @ subpackage Administration
*/
/** WordPress Administration Bootstrap */
2013-09-24 20:18:11 -04:00
require_once ( dirname ( __FILE__ ) . '/admin.php' );
2011-09-21 19:20:26 -04:00
2014-04-16 13:55:15 -04:00
wp_enqueue_style ( 'wp-mediaelement' );
2014-08-27 00:40:15 -04:00
wp_enqueue_script ( 'wp-mediaelement' );
2014-04-16 13:55:15 -04:00
add_action ( 'admin_footer' , 'wp_underscore_playlist_templates' , 0 );
2014-04-16 13:40:14 -04:00
2011-09-21 19:20:26 -04:00
$title = __ ( 'About' );
2011-11-03 19:55:03 -04:00
list ( $display_version ) = explode ( '-' , $wp_version );
2012-01-06 12:53:41 -05:00
include ( ABSPATH . 'wp-admin/admin-header.php' );
2011-09-21 19:20:26 -04:00
?>
2014-04-16 13:55:15 -04:00
<!-- [ if lt IE 9 ] >< script > document . createElement ( 'audio' ); document . createElement ( 'video' ); </ script ><! [ endif ] -->
2011-11-03 19:13:50 -04:00
< div class = " wrap about-wrap " >
2011-09-21 19:20:26 -04:00
2013-12-06 20:34:12 -05:00
< h1 >< ? php printf ( __ ( 'Welcome to WordPress %s' ), $display_version ); ?> </h1>
2011-09-21 19:20:26 -04:00
2014-08-27 00:40:15 -04:00
< div class = " about-text " >< ? php printf ( __ ( 'Thank you for updating! WordPress %s brings you a smoother writing and management experience.' ), $display_version ); ?> </div>
2011-09-21 19:20:26 -04:00
2011-11-03 19:55:03 -04:00
< div class = " wp-badge " >< ? php printf ( __ ( 'Version %s' ), $display_version ); ?> </div>
2011-11-03 19:13:50 -04:00
< h2 class = " nav-tab-wrapper " >
2011-11-03 19:23:31 -04:00
< a href = " about.php " class = " nav-tab nav-tab-active " >
2011-12-01 18:13:56 -05:00
< ? php _e ( 'What’s New' ); ?>
2011-11-03 19:23:31 -04:00
</ a >< a href = " credits.php " class = " nav-tab " >
2011-11-03 19:13:50 -04:00
< ? php _e ( 'Credits' ); ?>
2011-11-03 19:23:31 -04:00
</ a >< a href = " freedoms.php " class = " nav-tab " >
2011-11-03 19:13:50 -04:00
< ? php _e ( 'Freedoms' ); ?>
</ a >
</ h2 >
2011-09-21 19:20:26 -04:00
< div class = " changelog " >
2014-04-14 21:31:14 -04:00
< div class = " about-overview " >
2014-08-27 00:40:15 -04:00
< h2 class = " about-headline-callout " >< ? php _e ( 'Manage your media with style' ); ?> </h2>
<!-- media - grid - cropped . png -->
< img class = " about-overview-img " src = " https://i.cloudup.com/gFjdHZjkbI.png " />
< p >< ? php _e ( 'Explore your uploads in a beautiful, endless grid. A new details preview makes viewing and editing any amount of media in sequence a snap.' ); ?> </p>
2014-04-14 21:31:14 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< hr />
< div class = " feature-section col two-col " >
2013-10-24 18:55:55 -04:00
< div class = " col-1 " >
2014-08-27 00:40:15 -04:00
<!-- oembed . mp4 -->
< ? php
echo wp_video_shortcode ( array (
'mp4' => 'https://i.cloudup.com/IdZ7t3ixES.mp4' ,
// 'ogv' => '//s.w.org/images/core/3.9/widgets.ogv',
// 'webm' => '//s.w.org/images/core/3.9/widgets.webm',
'loop' => true ,
'autoplay' => true ,
'width' => 499
) );
?>
2013-10-24 18:55:55 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< div class = " col-2 last-feature " >
< h3 >< ? php _e ( 'Working with embeds has never been easier' ); ?> </h3>
< p >< ? php _e ( 'Paste in a YouTube URL on a new line, and watch it magically become an embedded video. Now try it with a tweet. Oh yeah — embedding has become a visual experience. The editor shows a true preview of your embedded content, saving you time and giving you confidence.' ); ?> </p>
< p >< ? php _e ( 'We’ve expanded the services supported by default, too — you can embed videos from CollegeHumor, playlists from YouTube, and talks from TED. <a href="http://codex.wordpress.org/Embeds">Check out all of the embeds</a> that WordPress supports.' ); ?> </p>
2013-10-24 18:55:12 -04:00
</ div >
2011-11-22 11:07:36 -05:00
</ div >
2014-04-14 21:31:14 -04:00
2014-05-18 16:33:15 -04:00
< hr />
2014-04-14 21:31:14 -04:00
< div class = " feature-section col two-col " >
2014-04-08 13:47:15 -04:00
< div class = " col-1 " >
2014-08-27 00:40:15 -04:00
< h3 >< ? php _e ( 'Focus on your content' ); ?> </h3>
< p >< ? php _e ( 'Writing and editing is smoother and more immersive with an editor that expands to fit your content as you write, and keeps the formatting tools available at all times.' ); ?> </p>
2013-07-27 08:10:58 -04:00
</ div >
2014-04-14 21:31:14 -04:00
< div class = " col-2 last-feature " >
2014-08-27 00:40:15 -04:00
<!-- focus . png -->
< img src = " https://i.cloudup.com/DhokGXMLmR.png " />
2013-07-27 08:10:58 -04:00
</ div >
2012-06-01 21:16:35 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< hr />
2013-12-06 02:50:12 -05:00
2013-10-24 18:54:13 -04:00
< div class = " feature-section col two-col " >
2014-08-27 00:40:15 -04:00
< div class = " col-1 " >
<!-- plugins . png -->
< img src = " https://i.cloudup.com/6hlYGuLiTq.png " />
2013-10-24 18:53:14 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< div class = " col-2 last-feature " >
< h3 >< ? php _e ( 'Finding the right plugin' ); ?> </h3>
< p >< ? php _e ( 'There are more than 30,000 free and open source plugins in the WordPress plugin directory. WordPress 4.0 makes it easier to find the right one for your needs, with new metrics, improved search, and a more visual browsing experience.' ); ?> </p>
< a href = " <?php echo admin_url( 'plugin-install.php' ); ?> " class = " button button-large button-primary " >< ? php _e ( 'Browse plugins' ); ?> </a>
2013-10-24 18:53:14 -04:00
</ div >
</ div >
2013-10-24 18:54:13 -04:00
</ div >
2014-05-18 16:33:15 -04:00
< hr />
2013-12-06 02:50:12 -05:00
2014-04-14 21:31:14 -04:00
< div class = " changelog under-the-hood " >
2014-04-08 13:47:15 -04:00
< h3 >< ? php _e ( 'Under the Hood' ); ?> </h3>
2013-12-06 02:50:12 -05:00
2014-04-08 13:47:15 -04:00
< div class = " feature-section col three-col " >
2013-12-06 02:50:12 -05:00
< div >
2014-08-27 00:40:15 -04:00
< h4 >< ? php _e ( 'Customizer API' ); ?> </h4>
< p >< ? php _e ( 'Contexts, panels, and a wider array of controls are now supported in the customizer.' ); ?> </p>
2014-04-08 13:47:15 -04:00
</ div >
< div >
2014-08-27 00:40:15 -04:00
< h4 >< ? php _e ( 'Query Ordering' ); ?> </h4>
< p >< ? php
/* translators: 1: "ORDER BY" (SQL), 2: "WP_Query" */
printf ( __ ( 'Developers have more flexibility creating %1$s clauses through %2$s.' ), '<code>ORDER BY</code>' , '<code>WP_Query</code>' );
?> </p>
2014-04-08 13:47:15 -04:00
</ div >
< div class = " last-feature " >
2014-08-27 00:40:15 -04:00
< h4 >< ? php _e ( 'External Libraries' ); ?> </h4>
< p >< ? php _e ( 'Updated libraries: TinyMCE 4.1.3, jQuery 1.11.1, MediaElement 2.15.' ); ?> </p>
2013-12-06 02:50:12 -05:00
</ div >
2014-05-18 16:33:15 -04:00
</ div >
2013-12-06 02:50:12 -05:00
2014-05-18 16:33:15 -04:00
< hr />
< div class = " return-to-dashboard " >
< ? php if ( current_user_can ( 'update_core' ) && isset ( $_GET [ 'updated' ] ) ) : ?>
< a href = " <?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?> " >< ? php
is_multisite () ? _e ( 'Return to Updates' ) : _e ( 'Return to Dashboard → Updates' );
?> </a> |
< ? php endif ; ?>
< a href = " <?php echo esc_url( self_admin_url() ); ?> " >< ? php
is_blog_admin () ? _e ( 'Go to Dashboard → Home' ) : _e ( 'Go to Dashboard' ); ?> </a>
</ div >
2013-12-06 02:50:12 -05:00
2011-11-03 19:13:50 -04:00
</ div >
2011-09-21 19:20:26 -04:00
</ div >
< ? php
2012-01-06 12:53:41 -05:00
include ( ABSPATH . 'wp-admin/admin-footer.php' );
2011-12-01 18:13:56 -05:00
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
return ;
_n_noop ( 'Maintenance Release' , 'Maintenance Releases' );
_n_noop ( 'Security Release' , 'Security Releases' );
_n_noop ( 'Maintenance and Security Release' , 'Maintenance and Security Releases' );
/* translators: 1: WordPress version number. */
_n_noop ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' );
2011-12-02 12:17:08 -05:00
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n_noop ( '<strong>Version %1$s</strong> addressed %2$s bug.' ,
2011-12-01 18:13:56 -05:00
'<strong>Version %1$s</strong> addressed %2$s bugs.' );
2011-12-02 12:17:08 -05:00
/* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
_n_noop ( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.' ,
2011-12-01 18:13:56 -05:00
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
2011-12-02 12:17:08 -05:00
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n_noop ( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.' ,
2011-12-01 18:13:56 -05:00
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
2011-12-02 12:17:08 -05:00
__ ( 'For more information, see <a href="%s">the release notes</a>.' );