| [ 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.0'; 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 require_once ABSPATH . 'wp-admin/admin-header.php'; 38 ?> 39 <div class="wrap about__container"> 40 41 <div class="about__header"> 42 <div class="about__header-title"> 43 <h1> 44 <?php 45 printf( 46 /* translators: %s: Version number. */ 47 __( 'WordPress %s' ), 48 $display_version 49 ); 50 ?> 51 </h1> 52 </div> 53 </div> 54 55 <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> 56 <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What’s New' ); ?></a> 57 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 58 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 59 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 60 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 61 </nav> 62 63 <div class="about__section"> 64 <div class="column is-left-padding-zero is-right-padding-zero"> 65 <h2><?php _e( 'Welcome to WordPress 7.0' ); ?></h2> 66 <p class="is-subheading"><?php _e( 'WordPress 7.0 introduces the foundation for AI across the platform, letting you connect your preferred provider and put it to work across your site. Edit more simply by dropping in layouts and swapping content without diving into blocks. The navigation overlay now taps into the full potential of blocks, and reviewing historical changes is easier with a visual comparison.' ); ?></p> 67 </div> 68 </div> 69 70 <div class="about__section has-2-columns"> 71 <div class="column is-vertically-aligned-center is-left-padding-zero"> 72 <h3><?php _e( 'Design your navigation overlay' ); ?></h3> 73 <p> 74 <strong><?php _e( 'A dedicated canvas for your menu.' ); ?></strong><br /> 75 <?php _e( 'Build the menu overlay you want visitors to see. Go beyond a simple list of links: add columns, increase the font size, and align everything to your liking. Start from a pre-built template, or design your own from scratch.' ); ?> 76 </p> 77 </div> 78 <div class="column is-vertically-aligned-center is-right-padding-zero"> 79 <div class="about__image"> 80 <img src="https://s.w.org/images/core/7.0/about-feature-01.webp" alt="" height="436" width="436" /> 81 </div> 82 </div> 83 </div> 84 85 <div class="about__section has-2-columns"> 86 <div class="column is-vertically-aligned-center is-left-padding-zero"> 87 <div class="about__image"> 88 <img src="https://s.w.org/images/core/7.0/about-feature-02.webp" alt="" height="436" width="436" /> 89 </div> 90 </div> 91 <div class="column is-vertically-aligned-center is-right-padding-zero"> 92 <h3><?php _e( 'AI foundations' ); ?></h3> 93 <p> 94 <strong><?php _e( 'A centralized hub for your connections.' ); ?></strong><br /> 95 <?php _e( 'The Connectors screen introduces a single hub for managing a range of external service integrations, including AI providers. Opt in by connecting your preferred AI provider, then put it to work across your site. The optional AI plugin adds a growing set of tools directly into the editor: create titles and excerpts, generate and edit images, and suggest alt text. Any plugin that needs to connect to an outside service can tap into this standardized connection management system, making it easy for users and developers alike.' ); ?> 96 </p> 97 </div> 98 </div> 99 100 <div class="about__section has-2-columns"> 101 <div class="column is-vertically-aligned-center is-left-padding-zero"> 102 <h3><?php _e( 'Visual revisions' ); ?></h3> 103 <p> 104 <strong><?php _e( 'Scrub through every version of your page.' ); ?></strong><br /> 105 <?php _e( 'Review your post’s revision history with a timeline slider and see exactly what changed in the document with visual markers, block by block. Find the version you want and restore it in one click.' ); ?> 106 </p> 107 </div> 108 <div class="column is-vertically-aligned-center is-right-padding-zero"> 109 <div class="about__image"> 110 <img src="https://s.w.org/images/core/7.0/about-feature-03.webp" alt="" height="436" width="436" /> 111 </div> 112 </div> 113 </div> 114 115 <div class="about__section has-2-columns"> 116 <div class="column is-vertically-aligned-center is-left-padding-zero"> 117 <div class="about__image"> 118 <img src="https://s.w.org/images/core/7.0/about-feature-04.webp" alt="" height="436" width="436" /> 119 </div> 120 </div> 121 <div class="column is-vertically-aligned-center is-right-padding-zero"> 122 <h3><?php _e( 'A simpler way to build with patterns' ); ?></h3> 123 <p> 124 <strong><?php _e( 'Patterns as single blocks.' ); ?></strong><br /> 125 <?php _e( 'Drop a pattern onto your page and it behaves like one block, so you don’t have to hunt through nested blocks for the element you want to change. Swap the text and images, adjust styles from the inspector, and keep moving. For any advanced edits, a single click to "edit pattern" gives you access to all available tools.' ); ?> 126 </p> 127 </div> 128 </div> 129 130 <hr class="is-invisible is-large" /> 131 132 <div class="about__section has-2-columns"> 133 <div class="column is-left-padding-zero"> 134 <div class="about__image"> 135 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 136 <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"/> 137 <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"/> 138 </svg> 139 </div> 140 <h3><?php _e( 'Performance' ); ?></h3> 141 <p><?php _e( 'WordPress 7.0 improves the accuracy of image loading prioritization, preventing hidden images in navigation overlays or interactive blocks from degrading the loading of critical resources. On-demand block stylesheet loading in classic themes is more reliable, and the ability is added for scripts to depend on script modules to reduce render-blocking.' ); ?></p> 142 </div> 143 <div class="column is-right-padding-zero"> 144 <div class="about__image"> 145 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 146 <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"/> 147 </svg> 148 </div> 149 <h3><?php _e( 'Accessibility' ); ?></h3> 150 <p><?php _e( 'WordPress continues to polish accessibility across WordPress Core and Gutenberg, advancing the goals to meet accessibility standards. WordPress 7.0 includes fixes across the platform, improving media management, usability for voice control, and improvements to color contrast with the new admin color scheme. The editor ships with new blocks and improvements to editor navigation and interaction.' ); ?></p> 151 </div> 152 </div> 153 154 <hr class="is-invisible is-large" style="margin-bottom:calc(2 * var(--gap));" /> 155 156 <div class="about__section has-2-columns is-wider-left has-subtle-background-color is-feature"> 157 <h3 class="is-section-header"><?php _e( 'And much more' ); ?></h3> 158 <div class="column"> 159 <p> 160 <?php 161 printf( 162 /* translators: %s: Version number. */ 163 __( 'For a comprehensive overview of all the new features and enhancements in WordPress %s, please visit the feature-showcase website.' ), 164 $display_major_version 165 ); 166 ?> 167 </p> 168 </div> 169 <div class="column aligncenter"> 170 <div class="about__image"> 171 <a href="<?php echo esc_url( $release_page_url ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a> 172 </div> 173 </div> 174 </div> 175 176 <hr class="is-large" style="margin-top:calc(2 * var(--gap));" /> 177 178 <div class="about__section has-3-columns"> 179 <div class="column about__image is-vertically-aligned-top is-left-padding-zero"> 180 <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=7.0' ) ); ?>" alt="" height="280" width="280" /> 181 </div> 182 <div class="column is-vertically-aligned-center is-right-padding-zero" style="grid-column-end:span 2"> 183 <h3> 184 <?php 185 printf( 186 /* translators: %s: Version number. */ 187 __( 'Learn more about WordPress %s' ), 188 $display_major_version 189 ); 190 ?> 191 </h3> 192 <p> 193 <?php 194 printf( 195 /* translators: 1: Learn WordPress link, 2: Workshops link. */ 196 __( '<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.' ), 197 'https://learn.wordpress.org/', 198 'https://learn.wordpress.org/online-workshops/' 199 ); 200 ?> 201 </p> 202 </div> 203 </div> 204 205 <div class="about__section has-2-columns"> 206 <div class="column is-left-padding-zero"> 207 <div class="about__image"> 208 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 209 <path fill="#1e1e1e" d="M32 15.5H16v3h16v-3ZM16 22h16v3H16v-3ZM28 28.5H16v3h12v-3Z"/> 210 <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"/> 211 </svg> 212 </div> 213 <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);"> 214 <a href="<?php echo esc_url( $release_notes_url ); ?>"> 215 <?php 216 printf( 217 /* translators: %s: WordPress version number. */ 218 __( 'WordPress %s Release Notes' ), 219 $display_major_version 220 ); 221 ?> 222 </a> 223 </h4> 224 <p> 225 <?php 226 printf( 227 /* translators: %s: WordPress version number. */ 228 __( 'Read the WordPress %s Release Notes for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ), 229 $display_major_version 230 ); 231 ?> 232 </p> 233 </div> 234 <div class="column is-right-padding-zero"> 235 <div class="about__image"> 236 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 237 <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"/> 238 </svg> 239 </div> 240 <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);"> 241 <a href="<?php echo esc_url( $field_guide_url ); ?>"> 242 <?php 243 printf( 244 /* translators: %s: WordPress version number. */ 245 __( 'WordPress %s Field Guide' ), 246 $display_major_version 247 ); 248 ?> 249 </a> 250 </h4> 251 <p> 252 <?php 253 printf( 254 /* translators: %s: WordPress version number. */ 255 __( 'Explore the WordPress %s Field Guide. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ), 256 $display_major_version 257 ); 258 ?> 259 </p> 260 </div> 261 </div> 262 263 <hr class="is-large" /> 264 265 <div class="return-to-dashboard"> 266 <?php 267 if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) { 268 printf( 269 '<a href="%1$s">%2$s</a> | ', 270 esc_url( self_admin_url( 'update-core.php' ) ), 271 is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard → Updates' ) 272 ); 273 } 274 275 printf( 276 '<a href="%1$s">%2$s</a>', 277 esc_url( self_admin_url() ), 278 is_blog_admin() ? __( 'Go to Dashboard → Home' ) : __( 'Go to Dashboard' ) 279 ); 280 ?> 281 </div> 282 </div> 283 284 <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?> 285 286 <?php 287 288 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. 289 return; 290 291 __( 'Maintenance Release' ); 292 __( 'Maintenance Releases' ); 293 294 __( 'Security Release' ); 295 __( 'Security Releases' ); 296 297 __( 'Maintenance and Security Release' ); 298 __( 'Maintenance and Security Releases' ); 299 300 /* translators: %s: WordPress version number. */ 301 __( '<strong>Version %s</strong> addressed one security issue.' ); 302 /* translators: %s: WordPress version number. */ 303 __( '<strong>Version %s</strong> addressed some security issues.' ); 304 305 /* translators: 1: WordPress version number, 2: Plural number of bugs. */ 306 _n_noop( 307 '<strong>Version %1$s</strong> addressed %2$s bug.', 308 '<strong>Version %1$s</strong> addressed %2$s bugs.' 309 ); 310 311 /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */ 312 _n_noop( 313 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', 314 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' 315 ); 316 317 /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */ 318 _n_noop( 319 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 320 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' 321 ); 322 323 /* translators: %s: Documentation URL. */ 324 __( 'For more information, see <a href="%s">the release notes</a>.' ); 325 326 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 327 __( '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>.' ); 328 329 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 330 __( '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>.' ); 331 332 /* translators: %s: The major version of WordPress for this branch. */ 333 __( 'This is the final release of WordPress %s' ); 334 335 /* translators: The localized WordPress download URL. */ 336 __( 'https://wordpress.org/download/' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Fri Jun 19 08:20:10 2026 | Cross-referenced by PHPXref |