Changeset 33613
- Timestamp:
- 08/13/2015 10:10:06 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r33498 r33613 23 23 include( ABSPATH . 'wp-admin/admin-header.php' ); 24 24 25 $video_url = 'https://videopress.com/embed/e9kH4FzP'; 26 $locale = strtolower( str_replace( '_', '-', get_locale() ) ); 27 if ( 'en-us' !== $locale ) { 28 $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); 29 } 30 25 31 $major_features = array( 26 32 array( 27 33 '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', 31 37 ), 32 'heading' => 'Formatting Shortcuts', 33 38 'heading' => __( 'Formatting Shortcuts' ), 34 39 /* 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>' ),36 ), 37 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.',41 ), 42 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.',46 ), 47 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.',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>' ), 41 ), 42 array( 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.' ), 46 ), 47 array( 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’ 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.' ), 51 ), 52 array( 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.' ), 51 56 ), 52 57 ); … … 56 61 array( 57 62 '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.' ), 60 65 ), 61 66 array( 62 67 '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’re supposed to happen.' ), 65 70 ), 66 71 array( 67 72 '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.' ), 70 75 ), 71 76 ); … … 73 78 $tech_features = array( 74 79 array( 75 'heading' => 'Taxonomy Roadmap', 76 'description' => 'Terms shared across multiple taxonomies are now split into separate terms.', 77 ), 78 array( 79 'heading' => 'Template Hierarchy', 80 80 'heading' => __( 'Taxonomy Roadmap' ), 81 'description' => __( 'Terms shared across multiple taxonomies are now split into separate terms.' ), 82 ), 83 array( 84 'heading' => __( 'Template Hierarchy' ), 81 85 /* 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>.' ),83 ), 84 array( 85 'heading' => ' List table',86 'description' => 'List tables now can (and often should) have a primary column defined.',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>.' ), 87 ), 88 array( 89 'heading' => '<code>WP_List_Table</code>', 90 'description' => __( 'List tables can and should designate a primary column.' ), 87 91 ), 88 92 ); … … 92 96 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 93 97 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> 95 99 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 96 100 … … 102 106 103 107 <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> 105 110 </div> 106 111 -
trunk/src/wp-admin/credits.php
r33032 r33613 81 81 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 82 82 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> 84 84 85 85 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> -
trunk/src/wp-admin/css/about.css
r33498 r33613 43 43 } 44 44 45 .about-wrap .jetpack-video-wrapper { 46 margin-bottom: 0; 47 } 48 45 49 /* WordPress Version Badge */ 46 50 … … 118 122 .about-wrap ol li p { 119 123 font-size: 14px; 124 font-weight: normal; 120 125 } 121 126 … … 208 213 position: relative; 209 214 margin: 40px 0; 210 /*padding-bottom: 56.25%; /* video is 1280 x 720 */215 padding-bottom: 56.25%; /* video is 1280 x 720 */ 211 216 width: 100%; 212 217 height: 0; -
trunk/src/wp-admin/freedoms.php
r32131 r33613 20 20 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 21 21 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> 23 23 24 24 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
Note: See TracChangeset
for help on using the changeset viewer.