Make WordPress Core

Ticket #32929: 32929.9.diff

File 32929.9.diff, 10.5 KB (added by obenland, 9 years ago)
  • src/wp-admin/about.php

     
    2222
    2323include( ABSPATH . 'wp-admin/admin-header.php' );
    2424
     25$video_url = 'https://videopress.com/embed/e9kH4FzP';
     26$locale    = strtolower( str_replace( '_', '-', get_locale() ) );
     27if ( 'en-us' !== $locale ) {
     28        $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url );
     29}
     30
    2531$major_features = array(
    2632        array(
    2733                'src'         => array(
    28                         'mp4'  => 'https://cldup.com/2k26HVNP6P.mp4',
    29                         'ogv'  => '',
    30                         'webm' => '',
     34                        'mp4'  => '//s.w.org/images/core/4.3/formatting.mp4',
     35                        'ogv'  => '//s.w.org/images/core/4.3/formatting.ogv',
     36                        'webm' => '//s.w.org/images/core/4.3/formatting.webm',
    3137                ),
    32                 'heading'     => 'Formatting Shortcuts',
    33 
     38                'heading'     => __( 'Formatting Shortcuts' ),
    3439                /* Translators: 1: asterisks; 2: number sign; */
    35                 '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>' ),
     40                '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>' ),
    3641        ),
    3742        array(
    38                 'src'         => 'https://cldup.com/k23oK-g_v1.jpg',
    39                 'heading'     => 'Menus in the Customizer',
    40                 'description' => 'Create your menu, update it, and preview it in the customizer, before sharing it with the world. With every release, it becomes easier and faster to build your site from the front-end. And a streamlined customizer design mean a mobile-first, accessibility ready interface.',
     43                'src'         => '//s.w.org/images/core/4.3/menu-customizer.png',
     44                'heading'     => __( 'Menus in the Customizer' ),
     45                '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.' ),
    4146        ),
    4247        array(
    43                 'src'         => 'https://cldup.com/t1HCztI0PR.jpg',
    44                 'heading'     => 'Better Passwords',
    45                 '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, WordPress will automatically generate a secure password.',
     48                'src'         => '//s.w.org/images/core/4.3/better-passwords.png',
     49                'heading'     => __( 'Better Passwords' ),
     50                'description' => __( 'Keep your site more secure with WordPress&#8217; improved approach to passwords. Instead of receiving passwords via email, you&#8217;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.' ),
    4651        ),
    4752        array(
    48                 'src'         => 'https://cldup.com/8LxuMwmsvE.jpg',
    49                 'heading'     => 'Site Icons',
    50                 '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.',
     53                'src'         => '//s.w.org/images/core/4.3/site-icon-customizer.png',
     54                'heading'     => __( 'Site Icons' ),
     55                '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.' ),
    5156        ),
    5257);
    5358shuffle( $major_features );
     
    5560$minor_features = array(
    5661        array(
    5762                'src'         => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBmaWxsPSIjMDBhMGQyIiBkPSJNNTAgMjE1aDI0MHYzMEg1MHpNNTAgMjc1aDI0MHYzMEg1MHpNNTAgMTU1aDI0MHYzMEg1MHpNNTAgOTVoMjQwdjMwSDUwek0zMTAuMSA5NWwxOS45IDMwIDIwLjEtMzAiLz48L3N2Zz4=',
    58                 'heading'     => 'A smoother admin experience',
    59                 'description' => 'Refinements to the list view across the admin make your WordPress more accessible and easier to work with on any device.',
     63                'heading'     => __( 'A smoother admin experience' ),
     64                'description' => __( 'Refinements to the list view across the admin make your WordPress more accessible and easier to work with on any device.' ),
    6065        ),
    6166        array(
    6267                'src'         => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iIzAwYTBkMiIgZD0iTTUgMmgxMHEuODIgMCAxLjQxLjU5VDE3IDR2OHEwIC44Mi0uNTkgMS40MVQxNSAxNGgtMmwtNSA1di01SDVxLS44MiAwLTEuNDEtLjU5VDMgMTJWNHEwLS44Mi41OS0xLjQxVDUgMnptOC41IDguNUwxMSA4bDIuNS0yLjUtMS0xTDEwIDcgNy41IDQuNWwtMSAxTDkgOGwtMi41IDIuNSAxIDFMMTAgOWwyLjUgMi41eiIvPjwvc3ZnPg==',
    63                 'heading'     => 'Comments turned off on pages',
    64                 'description' => 'All new pages that you create will have comments turned off. Keep discussions to your blog, right where they’re supposed to happen.',
     68                'heading'     => __( 'Comments turned off on pages' ),
     69                'description' => __( 'All new pages that you create will have comments turned off. Keep discussions to your blog, right where they&#8217;re supposed to happen.' ),
    6570        ),
    6671        array(
    6772                'src'         => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iIzAwYTBkMiIgZD0iTTI5LjMyOCA1LjcxMnEuMDQ4LS4xNDQuMDk2LS4zODR0LS4wNjQtLjgxNi0uNTI4LS45NzZxLS4zODQtLjM2OC0uODcyLS40NjR0LS43OTIgMGwtLjI4OC4wOHEtMS40NTYuNzItNS44OCAzLjczNnQtNi4zOTIgNS4xNzZxLS43MzYuODMyLTEuNDA4IDIuMzJ0LS44OCAzIC41NDQgMi4zOTJxLjgzMi43MzYgMi4zNDQuNTc2dDMuMDcyLS44MjQgMi4yNDgtMS4zNTJxMi4xNDQtMi4xNDQgNS4xNjgtNi42NTZ0My42MzItNS44MDh6TTIuMjQgMjguMjRxMS4wNTYtLjY4OCAxLjcxMi0xLjUyOHQuOTUyLTEuNjE2LjU0NC0xLjUyLjcyLTEuNDggMS4yNC0xLjI4cTEuMDg4LS44IDIuNTA0LS43MDR0Mi40MjQgMS4xNjhxLjgxNi44OC44MjQgMi42NHQtMS4wOCAyLjg5NnEtMS4yMTYgMS4xMi0yLjkwNCAxLjYyNHQtMy40MjQuNDI0LTMuNTEyLS42MjR6Ii8+PC9zdmc+',
    68                 'heading'     => 'Customize your site quickly' ,
    69                 'description' => 'Wherever you are on the front-end, you can click the customize button in the toolbar to swiftly make changes to your site.',
     73                'heading'     => __( 'Customize your site quickly' ),
     74                'description' => __( 'Wherever you are on the front-end, you can click the customize link in the toolbar to swiftly make changes to your site.' ),
    7075        ),
    7176);
    7277
    7378$tech_features = array(
    7479        array(
    75                 'heading'     => 'Taxonomy Roadmap',
    76                 'description' => 'Terms shared across multiple taxonomies are now split into separate terms.',
     80                'heading'     => __( 'Taxonomy Roadmap' ),
     81                'description' => __( 'Terms shared across multiple taxonomies are now split into separate terms.' ),
    7782        ),
    7883        array(
    79                 'heading'     => 'Template Hierarchy',
    80 
     84                'heading'     => __( 'Template Hierarchy' ),
    8185                /* Translators: 1: singular.php; 2: single.php; 3:page.php */
    82                 '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>.' ),
     86                '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>.' ),
    8387        ),
    8488        array(
    85                 'heading'     => 'List table',
    86                 'description' => 'List tables now can (and often should) have a primary column defined.',
     89                'heading'     => '<code>WP_List_Table</code>',
     90                'description' => __( 'List tables can and should designate a primary column.' ),
    8791        ),
    8892);
    8993
     
    9195        <div class="wrap about-wrap">
    9296                <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
    9397
    94                 <div class="about-text"><?php printf( 'Thank you for updating! WordPress %s: faster workflow, easier customization, strong by default.', $display_version ); ?></div>
     98                <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>
    9599                <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    96100
    97101                <h2 class="nav-tab-wrapper">
     
    101105                </h2>
    102106
    103107                <div class="headline-feature feature-video">
    104                         <!-- [4.3 video] -->
     108                        <iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe>
     109                        <script src="https://videopress.com/videopress-iframe.js"></script>
    105110                </div>
    106111
    107112                <hr/>
  • src/wp-admin/credits.php

     
    8080
    8181<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    8282
    83 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s helps you communicate and share, globally.' ), $display_version ); ?></div>
     83<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>
    8484
    8585<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    8686
  • src/wp-admin/css/about.css

     
    207207.about-wrap .feature-video {
    208208        position: relative;
    209209        margin: 40px 0;
    210         /*padding-bottom: 56.25%; /* video is 1280 x 720 */
     210        padding-bottom: 56.25%; /* video is 1280 x 720 */
    211211        width: 100%;
    212212        height: 0;
    213213        text-align: center;
  • src/wp-admin/freedoms.php

     
    1919
    2020<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2121
    22 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s helps you communicate and share, globally.' ), $display_version ); ?></div>
     22<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>
    2323
    2424<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2525