| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
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 __DIR__ . '/admin.php'; 11 12 // Used in the HTML title tag. 13 /* translators: Page title of the About WordPress page in the admin. */ 14 $title = _x( 'About', 'page title' ); 15 16 list( $display_version ) = explode( '-', wp_get_wp_version() ); 17 $display_major_version = '7.1'; 18 19 $release_notes_url = sprintf( 20 /* translators: %s: WordPress version number. */ 21 __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ), 22 sanitize_title( $display_major_version ) 23 ); 24 25 $field_guide_url = sprintf( 26 /* translators: %s: WordPress version number. */ 27 __( 'https://make.wordpress.org/core/wordpress-%s-field-guide/' ), 28 sanitize_title( $display_major_version ) 29 ); 30 31 $release_page_url = sprintf( 32 /* translators: %s: WordPress version number. */ 33 __( 'https://wordpress.org/download/releases/%s/' ), 34 sanitize_title( $display_major_version ) 35 ); 36 37 $version_text = sprintf( 38 /* translators: %s: Version number. */ 39 __( 'WordPress %s' ), 40 $display_version 41 ); 42 43 require_once ABSPATH . 'wp-admin/admin-header.php'; 44 ?> 45 <div class="wrap about__container"> 46 47 <div class="about__header"> 48 <div class="about__header-title"> 49 <h1><?php echo esc_html( $version_text ); ?></h1> 50 </div> 51 </div> 52 53 <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> 54 <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What’s New' ); ?></a> 55 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 56 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 57 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 58 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 59 </nav> 60 61 <div class="about__section"> 62 <div class="column is-left-padding-zero is-right-padding-zero"> 63 <h2> 64 <?php 65 printf( 66 /* translators: %s: Version number. */ 67 __( 'Welcome to WordPress %s' ), 68 $display_major_version 69 ); 70 ?> 71 </h2> 72 <p class="is-subheading"><?php _e( 'WordPress 7.1 makes styling and collaborating easier. Style how all blocks look across screen sizes and how the Button block responds to hover, focus, and active states, all without writing custom CSS. A streamlined media editor brings cropping, rotation, and metadata editing together in one workflow. Notes now support rich text and @mentions, and the admin bar travels with you into every editor, so the tools you rely on stay with you wherever you’re working.' ); ?></p> 73 </div> 74 </div> 75 76 <div class="about__section has-2-columns"> 77 <div class="column is-vertically-aligned-center is-left-padding-zero"> 78 <h3><?php _e( 'Apply responsive styles' ); ?></h3> 79 <p> 80 <strong><?php _e( 'Style content your way, on every screen.' ); ?></strong><br /> 81 <?php _e( 'WordPress 7.1 takes a major step toward built-in responsive design. Set how a block looks at different screen sizes directly in the editor, for both Global Styles and individual blocks, all without writing custom CSS.' ); ?> 82 </p> 83 </div> 84 <div class="column is-vertically-aligned-center is-right-padding-zero"> 85 <div class="about__image"> 86 <img src="https://s.w.org/images/core/7.1/about-feature-01.webp?ver=20260814" alt="" height="900" width="900" /> 87 </div> 88 </div> 89 </div> 90 91 <div class="about__section has-2-columns"> 92 <div class="column is-vertically-aligned-center is-left-padding-zero"> 93 <div class="about__image"> 94 <img loading="lazy" src="https://s.w.org/images/core/7.1/about-feature-02.webp?ver=20260814" alt="" height="900" width="900" /> 95 </div> 96 </div> 97 <div class="column is-vertically-aligned-center is-right-padding-zero"> 98 <h3><?php _e( 'Admin bar, now in every editor' ); ?></h3> 99 <p> 100 <strong><?php _e( 'Consistent navigation, from dashboard to editor.' ); ?></strong><br /> 101 <?php _e( 'The admin bar now stays with you across all editors, so you always know where you are. The admin bar also gets a small visual refresh.' ); ?> 102 </p> 103 </div> 104 </div> 105 106 <div class="about__section has-2-columns"> 107 <div class="column is-vertically-aligned-center is-left-padding-zero"> 108 <h3><?php _e( 'A new way to crop' ); ?></h3> 109 <p> 110 <strong><?php _e( 'One dedicated workflow for editing your images.' ); ?></strong><br /> 111 <?php _e( 'A new media editor modal replaces the old inline cropping tool, bringing freeform and aspect-ratio cropping, flip, precise rotation, and metadata editing together in a single streamlined workflow. The familiar Crop button still gets you there, now opening a dedicated space to crop, rotate, and adjust images before publishing.' ); ?> 112 </p> 113 </div> 114 <div class="column is-vertically-aligned-center is-right-padding-zero"> 115 <div class="about__image"> 116 <img loading="lazy" src="https://s.w.org/images/core/7.1/about-feature-03.webp?ver=20260814" alt="" height="900" width="900" /> 117 </div> 118 </div> 119 </div> 120 121 <div class="about__section has-2-columns"> 122 <div class="column is-vertically-aligned-center is-left-padding-zero"> 123 <div class="about__image"> 124 <img loading="lazy" src="https://s.w.org/images/core/7.1/about-feature-04.webp?ver=20260814" alt="" height="900" width="900" /> 125 </div> 126 </div> 127 <div class="column is-vertically-aligned-center is-right-padding-zero"> 128 <h3><?php _e( 'Inline notes with mentions and rich text' ); ?></h3> 129 <p> 130 <strong><?php _e( 'More ways to leave feedback.' ); ?></strong><br /> 131 <?php _e( 'Notes now support rich text and @mentions. Add bold, italic, code, and links so feedback reads clearly. Type “@” to pull up a list of collaborators to tag the right person directly, with built-in email notifications. Leave a note on a specific text selection instead of an entire block. Start more than one conversation on the same block. Collapse long notes to keep the margin tidy.' ); ?> 132 </p> 133 </div> 134 </div> 135 136 <hr class="is-invisible is-large" /> 137 138 <div class="about__section has-2-columns"> 139 <div class="column is-left-padding-zero"> 140 <div class="about__image"> 141 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 142 <path fill="#1e1e1e" d="M32.455 17.72a1.592 1.592 0 0 1 .599 2.195l-7.637 12.99a1.653 1.653 0 0 1-2.235.589 1.592 1.592 0 0 1-.599-2.195l7.637-12.99a1.653 1.653 0 0 1 2.235-.589ZM13.774 23.21a1.653 1.653 0 0 0-2.236.589 1.592 1.592 0 0 0 .6 2.195l.944.536c.783.444 1.783.18 2.235-.588a1.592 1.592 0 0 0-.599-2.196l-.944-.535ZM16.432 17.72a1.653 1.653 0 0 1 2.236.588l.545.928a1.592 1.592 0 0 1-.599 2.196 1.653 1.653 0 0 1-2.235-.588l-.546-.928a1.592 1.592 0 0 1 .6-2.196ZM25.637 16.5c0-.888-.733-1.607-1.637-1.607s-1.636.72-1.636 1.607v1.071c0 .888.732 1.608 1.636 1.608.904 0 1.637-.72 1.637-1.608V16.5Z"/> 143 <path fill="#1e1e1e" fill-rule="evenodd" d="M4.91 27.75C4.91 17.395 13.455 9 24 9s19.091 8.395 19.091 18.75c0 3.909-1.22 7.542-3.305 10.548l-.488.702H8.702l-.488-.702A18.438 18.438 0 0 1 4.91 27.75ZM24 12.214c-8.736 0-15.818 6.956-15.818 15.536 0 2.943.832 5.692 2.277 8.036h27.082a15.25 15.25 0 0 0 2.277-8.036c0-8.58-7.082-15.536-15.818-15.536Z" clip-rule="evenodd"/> 144 </svg> 145 </div> 146 <h3><?php _e( 'Improved media handling' ); ?></h3> 147 <p><?php _e( 'Image compression, resizing, and thumbnail generation now happen in the browser, via a WebAssembly build of libvips, so large uploads won’t hit PHP memory limits or time out on shared hosts. This also frees up server CPU and memory, while producing smaller files for visitors. Media handling includes built-in support for AVIF, HEIC and HDR gain maps.' ); ?></p> 148 </div> 149 <div class="column is-right-padding-zero"> 150 <div class="about__image"> 151 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 152 <path fill="#1e1e1e" d="M24 13.84c-.752 0-1.397-.287-1.936-.86a2.902 2.902 0 0 1-.809-2.06c0-.8.27-1.487.809-2.06S23.248 8 24 8c.753 0 1.398.287 1.937.86.54.573.809 1.26.809 2.06s-.27 1.487-.809 2.06-1.184.86-1.937.86ZM19.976 40V18.68a69.562 69.562 0 0 1-4.945-.56 45.877 45.877 0 0 1-4.57-.92l.565-2.4a46.79 46.79 0 0 0 6.356 1.14c2.106.227 4.312.34 6.618.34 2.307 0 4.513-.113 6.62-.34a46.786 46.786 0 0 0 6.355-1.14l.564 2.4c-1.454.373-2.977.68-4.57.92a69.55 69.55 0 0 1-4.945.56V40h-2.256V29.6h-3.535V40h-2.257Z"/> 153 </svg> 154 </div> 155 <h3><?php _e( 'Accessibility' ); ?></h3> 156 <p><?php _e( 'WordPress 7.1 continues to polish accessibility across WordPress Core and Gutenberg, advancing the goals to meet accessibility standards. In this release, high impact changes include the new accessible tooltips API, improved predictability for screen readers, and improved labeling in many places in the admin. The editor adds extensive improvements to navigation and interaction.' ); ?></p> 157 </div> 158 </div> 159 160 <hr class="is-invisible is-large" style="margin-bottom:calc(2 * var(--gap));" /> 161 162 <div class="about__section has-2-columns is-wider-left has-subtle-background-color is-feature"> 163 <h3 class="is-section-header"><?php _e( 'And much more' ); ?></h3> 164 <div class="column"> 165 <p> 166 <?php 167 printf( 168 /* translators: %s: Version number. */ 169 __( 'For a comprehensive overview of all the new features and enhancements in WordPress %s, please visit the feature-showcase website.' ), 170 $display_major_version 171 ); 172 ?> 173 </p> 174 </div> 175 <div class="column aligncenter"> 176 <div class="about__image"> 177 <a href="<?php echo esc_url( $release_page_url ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a> 178 </div> 179 </div> 180 </div> 181 182 <hr class="is-large" style="margin-top:calc(2 * var(--gap));" /> 183 184 <div class="about__section has-3-columns"> 185 <div class="column about__image is-vertically-aligned-top is-left-padding-zero"> 186 <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=7.1' ) ); ?>" alt="<?php echo esc_attr( $version_text ); ?>" height="280" width="280" /> 187 </div> 188 <div class="column is-vertically-aligned-center is-right-padding-zero" style="grid-column-end:span 2"> 189 <h3> 190 <?php 191 printf( 192 /* translators: %s: Version number. */ 193 __( 'Learn more about WordPress %s' ), 194 $display_major_version 195 ); 196 ?> 197 </h3> 198 <p> 199 <?php 200 printf( 201 /* translators: 1: Learn WordPress link, 2: Workshops link. */ 202 __( '<a href="%1$s">Learn WordPress</a> is a free resource for new and experienced WordPress users. Learn is stocked with how-to videos on using various features in WordPress, <a href="%2$s">interactive workshops</a> for exploring topics in-depth, and lesson plans for diving deep into specific areas of WordPress.' ), 203 'https://learn.wordpress.org/', 204 'https://learn.wordpress.org/online-workshops/' 205 ); 206 ?> 207 </p> 208 </div> 209 </div> 210 211 <div class="about__section has-2-columns"> 212 <div class="column is-left-padding-zero"> 213 <div class="about__image"> 214 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 215 <path fill="#1e1e1e" d="M32 15.5H16v3h16v-3ZM16 22h16v3H16v-3ZM28 28.5H16v3h12v-3Z"/> 216 <path fill="#1e1e1e" fill-rule="evenodd" d="M34 8H14a4 4 0 0 0-4 4v24a4 4 0 0 0 4 4h20a4 4 0 0 0 4-4V12a4 4 0 0 0-4-4Zm-20 3h20a1 1 0 0 1 1 1v24a1 1 0 0 1-1 1H14a1 1 0 0 1-1-1V12a1 1 0 0 1 1-1Z" clip-rule="evenodd"/> 217 </svg> 218 </div> 219 <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);"> 220 <a href="<?php echo esc_url( $release_notes_url ); ?>"> 221 <?php 222 printf( 223 /* translators: %s: WordPress version number. */ 224 __( 'WordPress %s Release Notes' ), 225 $display_major_version 226 ); 227 ?> 228 </a> 229 </h4> 230 <p> 231 <?php 232 printf( 233 /* translators: %s: WordPress version number. */ 234 __( 'Read the WordPress %s Release Notes for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ), 235 $display_major_version 236 ); 237 ?> 238 </p> 239 </div> 240 <div class="column is-right-padding-zero"> 241 <div class="about__image"> 242 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 243 <path fill="#1e1e1e" stroke="#fff" stroke-width=".5" d="M26.5 24.25h13.75v11.5h-14v8h-3.5v-8H12.604L8.09 31.237a1.75 1.75 0 0 1 0-2.474l4.513-4.513H22.75v-4.5h-14V8.25h14v-4h3.5v4h10.146l4.513 4.513a1.75 1.75 0 0 1 0 2.474l-4.513 4.513H26.25v4.5h.25ZM12.25 16v.25h22.704l.073-.073 1.293-1.293a1.25 1.25 0 0 0 0-1.768l-1.293-1.293-.073-.073H12.25V16Zm1.723 16.177.073.073H36.75v-4.5H14.046l-.073.073-1.293 1.293a1.25 1.25 0 0 0 0 1.768l1.293 1.293Z"/> 244 </svg> 245 </div> 246 <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);"> 247 <a href="<?php echo esc_url( $field_guide_url ); ?>"> 248 <?php 249 printf( 250 /* translators: %s: WordPress version number. */ 251 __( 'WordPress %s Field Guide' ), 252 $display_major_version 253 ); 254 ?> 255 </a> 256 </h4> 257 <p> 258 <?php 259 printf( 260 /* translators: %s: WordPress version number. */ 261 __( 'Explore the WordPress %s Field Guide. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ), 262 $display_major_version 263 ); 264 ?> 265 </p> 266 </div> 267 </div> 268 269 <hr class="is-large" /> 270 271 <div class="return-to-dashboard"> 272 <?php 273 if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) { 274 printf( 275 '<a href="%1$s">%2$s</a> | ', 276 esc_url( self_admin_url( 'update-core.php' ) ), 277 is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard → Updates' ) 278 ); 279 } 280 281 printf( 282 '<a href="%1$s">%2$s</a>', 283 esc_url( self_admin_url() ), 284 is_blog_admin() ? __( 'Go to Dashboard → Home' ) : __( 'Go to Dashboard' ) 285 ); 286 ?> 287 </div> 288 </div> 289 290 <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?> 291 292 <?php 293 294 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. 295 return; 296 297 __( 'Maintenance Release' ); 298 __( 'Maintenance Releases' ); 299 300 __( 'Security Release' ); 301 __( 'Security Releases' ); 302 303 __( 'Maintenance and Security Release' ); 304 __( 'Maintenance and Security Releases' ); 305 306 /* translators: %s: WordPress version number. */ 307 __( '<strong>Version %s</strong> addressed one security issue.' ); 308 /* translators: %s: WordPress version number. */ 309 __( '<strong>Version %s</strong> addressed some security issues.' ); 310 311 /* translators: 1: WordPress version number, 2: Plural number of bugs. */ 312 _n_noop( 313 '<strong>Version %1$s</strong> addressed %2$s bug.', 314 '<strong>Version %1$s</strong> addressed %2$s bugs.' 315 ); 316 317 /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */ 318 _n_noop( 319 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', 320 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' 321 ); 322 323 /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */ 324 _n_noop( 325 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 326 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' 327 ); 328 329 /* translators: %s: Documentation URL. */ 330 __( 'For more information, see <a href="%s">the release notes</a>.' ); 331 332 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 333 __( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' ); 334 335 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 336 __( 'Important! Your version of WordPress (%1$s) will stop receiving security updates in the near future. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' ); 337 338 /* translators: %s: The major version of WordPress for this branch. */ 339 __( 'This is the final release of WordPress %s' ); 340 341 /* translators: The localized WordPress download URL. */ 342 __( 'https://wordpress.org/download/' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sun Aug 23 08:20:23 2026 | Cross-referenced by PHPXref |