[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/ -> about.php (source)

   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   = '6.9';
  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&#8217;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">
  65                  <h2><?php _e( 'Welcome to WordPress 6.9' ); ?></h2>
  66                  <p class="is-subheading"><?php _e( 'WordPress 6.9 introduces a more intuitive way to create content, together. Every detail is designed to fit your creative flow, from Notes that let you collaborate directly in the editor to a powerful Command Palette that helps you reach every part of your site.' ); ?></p>
  67              </div>
  68          </div>
  69  
  70          <div class="about__section has-2-columns">
  71              <div class="column is-vertically-aligned-center">
  72                  <h3><?php _ex( 'Notes', 'about page section title' ); ?></h3>
  73                  <p>
  74                      <strong><?php _e( 'Leave feedback right where you’re working.' ); ?></strong><br />
  75                      <?php _e( 'With notes attached directly to blocks, your team can stay aligned, track changes, and turn feedback into action all in one place. Whether you&#8217;re working on copy or refining design, collaboration happens seamlessly on the canvas itself.' ); ?>
  76                  </p>
  77              </div>
  78              <div class="column is-vertically-aligned-center">
  79                  <div class="about__image">
  80                      <img src="https://s.w.org/images/core/6.9/01-notes.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">
  87                  <div class="about__image">
  88                      <img src="https://s.w.org/images/core/6.9/02-visual-drag-drop.webp" alt="" height="436" width="436" />
  89                  </div>
  90              </div>
  91              <div class="column is-vertically-aligned-center">
  92                  <h3><?php _e( 'Visual drag and drop' ); ?></h3>
  93                  <p>
  94                      <strong><?php _e( 'Design flows naturally.' ); ?></strong><br />
  95                      <?php _e( 'Building layouts is now more intuitive and flexible with clear drag handles and a live preview that shows exactly what you&#8217;re moving—a faster way to build pages.' ); ?>
  96                  </p>
  97              </div>
  98          </div>
  99  
 100          <div class="about__section has-2-columns">
 101              <div class="column is-vertically-aligned-center">
 102                  <h3><?php _e( 'Command Palette, everywhere' ); ?></h3>
 103                  <p>
 104                      <strong><?php _e( 'Your tools are always at hand.' ); ?></strong><br />
 105                      <?php _e( 'Access the Command Palette from any part of your site, whether you&#8217;re writing your latest post, deep in design in the Site Editor, or browsing your plugins. Everything you need, just a few keystrokes away.' ); ?>
 106                  </p>
 107              </div>
 108              <div class="column is-vertically-aligned-center">
 109                  <div class="about__image">
 110                      <img src="https://s.w.org/images/core/6.9/03-command-palette-everywhere.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">
 117                  <div class="about__image">
 118                      <img src="https://s.w.org/images/core/6.9/04-fit-text.webp" alt="" height="436" width="436" />
 119                  </div>
 120              </div>
 121              <div class="column is-vertically-aligned-center">
 122                  <h3><?php _e( 'Fit text to container' ); ?></h3>
 123                  <p>
 124                      <strong><?php _e( 'Content that adapts.' ); ?></strong><br />
 125                      <?php _e( 'A new typography option for text-based blocks, starting with the Paragraph and Heading blocks, that automatically adjusts font size to fill its container perfectly. Ideal for banners, callouts, and standout moments in your design. No manual tweaks, just an instant clean design.' ); ?>
 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">
 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 updates' ); ?></h3>
 141                  <p><?php _e( 'WordPress 6.9 includes a broad set of performance enhancements. A better <abbr>LCP</abbr> (Largest Contentful Paint) metric is achieved through improved loading of conditional and inlined stylesheets, script loading with fetchpriority support, and additional core optimizations. Editor advances include fixes for layout shifts caused by the Video block and faster loading of the terms selector.' ); ?></p>
 142              </div>
 143              <div class="column">
 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 improvements' ); ?></h3>
 150                  <p><?php _e( '70+ accessibility fixes and enhancements focus on central areas of the WordPress experience. From globally hiding CSS-generated content from assistive technology and improvements to screen reader announcements and user experience, to fixing cursor position and keeping typing focus when clicking on an autocomplete suggestion item.' ); ?></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 is-feature" style="background-color:var(--background);border-radius:var(--border-radius);">
 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">
 180                  <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.9' ) ); ?>" alt="" height="280" width="280" />
 181              </div>
 182              <div class="column is-vertically-aligned-center" 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">
 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">
 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 &rarr; 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 &rarr; 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/' );


Generated : Tue Feb 10 08:20:09 2026 Cross-referenced by PHPXref