Changeset 37175 for trunk/src/wp-admin/about.php
- Timestamp:
- 04/11/2016 05:45:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r37170 r37175 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 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 if ( current_user_can( 'install_plugins' ) ) {20 add_thickbox();21 wp_enqueue_script( 'plugin-install' );22 }23 24 12 if ( current_user_can( 'customize' ) ) { 25 13 wp_enqueue_script( 'customize-loader' ); … … 33 21 } 34 22 35 wp_oembed_add_host_js();36 37 23 $title = __( 'About' ); 38 24 … … 62 48 <h2><?php _e( 'Editing Improvements' ); ?></h2> 63 49 <div class="col"> 64 <img src="https:// cldup.com/klO9vWGiT3.png" alt=""/>50 <img src="https://s.w.org/images/core/4.5/link-edit-560.png" alt="" srcset="https://s.w.org/images/core/4.5/link-edit-1000.png 1000w, https://s.w.org/images/core/4.5/link-edit-800.png 800w, https://s.w.org/images/core/4.5/link-edit-680.png 680w, https://s.w.org/images/core/4.5/link-edit-560.png 560w, https://s.w.org/images/core/4.5/link-edit-400.png 400w, https://s.w.org/images/core/4.5/link-edit-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/> 65 51 <h3><?php _e( 'Inline Linking' ); ?></h3> 66 52 <p><?php _e( 'Stay focused on your writing with a less distracting interface that keeps you in place and allows you to easily link to your content.' ); ?></p> 67 53 </div> 68 54 <div class="col"> 69 <img src="https:// cldup.com/TE-OBMWHkX.png" alt=""/>55 <img src="https://s.w.org/images/core/4.5/formatting-560.png" alt="" srcset="https://s.w.org/images/core/4.5/formatting-1000.png 1000w, https://s.w.org/images/core/4.5/formatting-800.png 800w, https://s.w.org/images/core/4.5/formatting-680.png 680w, https://s.w.org/images/core/4.5/formatting-560.png 560w, https://s.w.org/images/core/4.5/formatting-400.png 400w, https://s.w.org/images/core/4.5/formatting-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/> 70 56 <h3><?php _e( 'Formatting Shortcuts' ); ?></h3> 71 57 <p><?php _e( 'Do you enjoy using formatting shortcuts for lists and headings? Now they’re even more useful, with horizontal lines and <code><code></code>.' ); ?></p> … … 78 64 <h2><?php _e( 'Customization Improvements' ); ?></h2> 79 65 <div class="col"> 80 <img src="https:// cldup.com/0iRJNVbt4G.png" alt=""/>66 <img src="https://s.w.org/images/core/4.5/preview-icons-560.png" alt="" srcset="https://s.w.org/images/core/4.5/preview-icons-1000.png 1000w, https://s.w.org/images/core/4.5/preview-icons-800.png 800w, https://s.w.org/images/core/4.5/preview-icons-680.png 680w, https://s.w.org/images/core/4.5/preview-icons-560.png 560w, https://s.w.org/images/core/4.5/preview-icons-400.png 400w, https://s.w.org/images/core/4.5/preview-icons-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/> 81 67 <h3><?php _e( 'Live Responsive Previews' ); ?></h3> 82 68 <p><?php _e( 'Make sure your site looks great on all screens!' ); ?> … … 95 81 </div> 96 82 <div class="col"> 97 <img src="https:// cldup.com/HWDA8xR_8G.png" alt=""/>83 <img src="https://s.w.org/images/core/4.5/custom-logos-560.png" alt="" srcset="https://s.w.org/images/core/4.5/custom-logos-1000.png 1000w, https://s.w.org/images/core/4.5/custom-logos-800.png 800w, https://s.w.org/images/core/4.5/custom-logos-680.png 680w, https://s.w.org/images/core/4.5/custom-logos-560.png 560w, https://s.w.org/images/core/4.5/custom-logos-400.png 400w, https://s.w.org/images/core/4.5/custom-logos-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/> 98 84 <h3><?php _e( 'Custom Logos' ); ?></h3> 99 85 <p><?php _e( 'Themes can now support logos for your business or brand.' ); ?> … … 118 104 119 105 <div class="under-the-hood three-col"> 120 <div class="col">121 <h3><?php _e( 'Smart Image Resizing' ); ?></h3>122 <p><?php123 printf(124 /* translators: %s: URL to the development post of the new feature */125 __( 'Generated images now load up to 50% faster with no noticeable quality loss. <a href="%s">It’s really cool</a>.' ),126 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/'127 );128 ?></p>129 </div>130 106 <div class="col"> 131 107 <h3><?php _e( 'Selective Refresh' ); ?></h3> … … 155 131 </div> 156 132 <div class="col"> 133 <h3><?php _e( 'Smart Image Resizing' ); ?></h3> 134 <p><?php 135 printf( 136 /* translators: %s: URL to the development post of the new feature */ 137 __( 'Generated images now load up to 50% faster with no noticeable quality loss. <a href="%s">It’s really cool</a>.' ), 138 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' 139 ); 140 ?></p> 141 </div> 142 <div class="col"> 157 143 <h3><?php _e( 'JavaScript Library Updates' ); ?></h3> 158 144 <p><?php _e( 'jQuery 1.12.3, jQuery Migrate 1.4.0, Backbone 1.2.3, and Underscore 1.8.3 are bundled.' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.