[ 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.8';
  18  
  19  $release_notes_url = sprintf(
  20      /* translators: %s: WordPress version number. */
  21      __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ),
  22      '6-8'
  23  );
  24  
  25  $field_guide_url = sprintf(
  26      /* translators: %s: WordPress version number. */
  27      __( 'https://make.wordpress.org/core/wordpress-%s-field-guide/' ),
  28      '6-8'
  29  );
  30  
  31  require_once  ABSPATH . 'wp-admin/admin-header.php';
  32  ?>
  33      <div class="wrap about__container">
  34  
  35          <div class="about__header">
  36              <div class="about__header-title">
  37                  <h1>
  38                      <?php
  39                      printf(
  40                          /* translators: %s: Version number. */
  41                          __( 'WordPress %s' ),
  42                          $display_version
  43                      );
  44                      ?>
  45                  </h1>
  46              </div>
  47          </div>
  48  
  49          <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  50              <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
  51              <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  52              <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  53              <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
  54              <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
  55          </nav>
  56  
  57          <div class="about__section has-1-column">
  58              <div class="column">
  59                  <h2><?php _e( 'A release polished to a high sheen.' ); ?></h2>
  60                  <p class="is-subheading"><?php _e( 'WordPress 6.8 polishes and refines the tools you use every day, making your site faster, more secure, and easier to manage.' ); ?></p>
  61                  <p><?php _e( 'The Style Book now has a structured layout and works with Classic themes, giving you more control over global styles.' ); ?></p>
  62                  <p><?php _e( 'Speculative loading speeds up navigation by preloading links before users navigate to them, bcrypt hashing strengthens password security automatically, and database optimizations improve performance.' ); ?></p>
  63              </div>
  64          </div>
  65  
  66          <div class="about__section has-2-columns">
  67              <div class="column is-vertically-aligned-center">
  68                  <h3><?php _e( 'The Style Book gets a cleaner look—and a few new tricks' ); ?></h3>
  69                  <p>
  70                      <?php _e( 'The Style Book has a new, structured layout and clearer labels, to make it even easier to edit colors, typography—almost all your site styles—in one place.' ); ?>
  71                  </p>
  72                  <?php if ( ! wp_is_block_theme() ) : ?>
  73                      <p>
  74                          <?php
  75                          if ( current_user_can( 'edit_theme_options' ) && ( current_theme_supports( 'editor-styles' ) || wp_theme_has_theme_json() ) ) {
  76                              printf(
  77                                  /* translators: %s is a direct link to the Style Book. */
  78                                  __( 'Plus, now you can see it in Classic themes that have editor-styles or a theme.json file. Find <a href="%s">the Style Book</a> under Appearance > Design and use it to preview your theme&#8217;s evolution, as you edit CSS or make changes in the Customizer.' ),
  79                                  add_query_arg( 'p', '/stylebook', admin_url( '/site-editor.php' ) )
  80                              );
  81                          } else {
  82                              _e( 'Plus, now you can see it in Classic themes that have editor-styles or a theme.json file. Find the Style Book under Appearance > Design and use it to preview your theme&#8217;s evolution, as you edit CSS or make changes in the Customizer.' );
  83                          }
  84                          ?>
  85                      </p>
  86                  <?php endif; ?>
  87              </div>
  88              <div class="column is-vertically-aligned-center">
  89                  <div class="about__image">
  90                      <img src="https://s.w.org/images/core/6.8/feature-01.webp?v=23478" alt="" height="436" width="436" />
  91                  </div>
  92              </div>
  93          </div>
  94  
  95          <div class="about__section has-2-columns">
  96              <div class="column is-vertically-aligned-center">
  97                  <div class="about__image">
  98                      <img src="https://s.w.org/images/core/6.8/feature-02.png?v=23478" alt="" height="436" width="436" />
  99                  </div>
 100              </div>
 101              <div class="column is-vertically-aligned-center">
 102                  <h3><?php _e( 'Editor improvements' ); ?></h3>
 103                  <p><?php _e( 'Easier ways to see your options in Data Views, and you can exclude sticky posts from the Query Loop. Plus, you&#8217;ll find lots of little improvements in the editor that smooth your way through everything you build.' ); ?></p>
 104              </div>
 105          </div>
 106  
 107          <div class="about__section has-2-columns">
 108              <div class="column is-vertically-aligned-center">
 109                  <h3><?php _e( 'Near-instant page loads, thanks to Speculative Loading' ); ?></h3>
 110                  <p><?php _e( 'In WordPress 6.8, pages load faster than ever. When you or your user hovers over or clicks a link, WordPress may preload the next page, for a smoother, near-instant experience. The system balances speed and efficiency, and you can control how it works, with a plugin or your own code. This feature only works in modern browsers—older ones will simply ignore it without any impact.' ); ?></p>
 111              </div>
 112              <div class="column is-vertically-aligned-center">
 113                  <div class="about__image">
 114                      <img src="https://s.w.org/images/core/6.8/feature-03.webp?v=23478" alt="" height="436" width="436" />
 115                  </div>
 116              </div>
 117          </div>
 118  
 119          <div class="about__section has-2-columns">
 120              <div class="column is-vertically-aligned-center">
 121                  <div class="about__image">
 122                      <img src="https://s.w.org/images/core/6.8/feature-04.png?v=23478" alt="" height="436" width="436" />
 123                  </div>
 124              </div>
 125              <div class="column is-vertically-aligned-center">
 126                  <h3><?php _e( 'Stronger password security with bcrypt' ); ?></h3>
 127                  <p><?php _e( 'Now passwords are harder to crack with bcrypt hashing, which takes a lot more computing power to break. This strengthens overall security, as do other encryption improvements across WordPress. You don&#8217;t need to do anything—everything updates automatically.' ); ?></p>
 128              </div>
 129          </div>
 130  
 131          <hr class="is-invisible is-large" />
 132  
 133          <div class="about__section has-2-columns">
 134              <div class="column">
 135                  <div class="about__image">
 136                      <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
 137                          <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"/>
 138                      </svg>
 139                  </div>
 140                  <h3><?php _e( 'Accessibility improvements' ); ?></h3>
 141                  <p><?php _e( '100+ accessibility fixes and enhancements touch a broad spectrum of the WordPress experience. This release includes fixes to every bundled theme, improvements to the navigation menu management, the customizer, and simplified labeling. The Block Editor has over 70 improvements to blocks, DataViews, and to its overall user experience.' ); ?></p>
 142              </div>
 143              <div class="column">
 144                  <div class="about__image">
 145                      <svg width="48" height="48" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
 146                          <path fill="#1e1e1e" d="M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"></path>
 147                      </svg>
 148                  </div>
 149                  <h3><?php _e( 'Take a load off the database' ); ?></h3>
 150                  <p><?php _e( 'Work continues on optimizing cache key generation in the <code>WP_Query</code> class. The goal is, as ever, to boost your site&#8217;s performance, in this case by taking some more of the load off your database. This is especially good if you get a lot of traffic.' ); ?></p>
 151              </div>
 152          </div>
 153  
 154          <div class="about__section has-1-column">
 155              <div class="column">
 156                  <div class="about__image">
 157                      <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
 158                          <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"/>
 159                          <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"/>
 160                      </svg>
 161                  </div>
 162                  <h3><?php _e( 'Performance updates' ); ?></h3>
 163                  <p><?php _e( 'WordPress 6.8 packs a wide range of performance fixes and enhancements to speed up everything from editing to browsing. Beyond speculative loading, WordPress 6.8 pays special attention to the block editor, block type registration, and query caching. Plus, imagine never waiting longer than 50 milliseconds—for any interaction. In WordPress 6.8, the Interactivity API takes a first step toward that goal.' ); ?></p>
 164              </div>
 165          </div>
 166  
 167          <hr class="is-invisible is-large" style="margin-bottom:calc(2 * var(--gap));" />
 168  
 169          <div class="about__section has-2-columns is-wider-left is-feature" style="background-color:var(--background);border-radius:var(--border-radius);">
 170              <h3 class="is-section-header"><?php _e( 'And much more' ); ?></h3>
 171              <div class="column">
 172                  <p>
 173                      <?php
 174                      printf(
 175                          /* translators: %s: Version number. */
 176                          __( 'For a comprehensive overview of all the new features and enhancements in WordPress %s, please visit the feature-showcase website.' ),
 177                          $display_major_version
 178                      );
 179                      ?>
 180                  </p>
 181              </div>
 182              <div class="column aligncenter">
 183                  <div class="about__image">
 184                      <a href="<?php echo esc_url( __( 'https://wordpress.org/download/releases/6-8/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a>
 185                  </div>
 186              </div>
 187          </div>
 188  
 189          <hr class="is-large" style="margin-top:calc(2 * var(--gap));" />
 190  
 191          <div class="about__section has-3-columns">
 192              <div class="column about__image is-vertically-aligned-top">
 193                  <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.8' ) ); ?>" alt="" height="280" width="280" />
 194              </div>
 195              <div class="column is-vertically-aligned-center" style="grid-column-end:span 2">
 196                  <h3>
 197                      <?php
 198                      printf(
 199                          /* translators: %s: Version number. */
 200                          __( 'Learn more about WordPress %s' ),
 201                          $display_major_version
 202                      );
 203                      ?>
 204                  </h3>
 205                  <p>
 206                      <?php
 207                      printf(
 208                          /* translators: 1: Learn WordPress link, 2: Workshops link. */
 209                          __( '<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.' ),
 210                          'https://learn.wordpress.org/',
 211                          'https://learn.wordpress.org/online-workshops/'
 212                      );
 213                      ?>
 214                  </p>
 215              </div>
 216          </div>
 217  
 218          <div class="about__section has-2-columns">
 219              <div class="column">
 220                  <div class="about__image">
 221                      <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
 222                          <path fill="#1e1e1e" d="M32 15.5H16v3h16v-3ZM16 22h16v3H16v-3ZM28 28.5H16v3h12v-3Z"/>
 223                          <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"/>
 224                      </svg>
 225                  </div>
 226                  <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);">
 227                      <a href="<?php echo esc_url( $release_notes_url ); ?>">
 228                          <?php
 229                          printf(
 230                              /* translators: %s: WordPress version number. */
 231                              __( 'WordPress %s Release Notes' ),
 232                              $display_major_version
 233                          );
 234                          ?>
 235                      </a>
 236                  </h4>
 237                  <p>
 238                      <?php
 239                      printf(
 240                          /* translators: %s: WordPress version number. */
 241                          __( 'Read the WordPress %s Release Notes for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ),
 242                          $display_major_version
 243                      );
 244                      ?>
 245                  </p>
 246              </div>
 247              <div class="column">
 248                  <div class="about__image">
 249                      <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
 250                          <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"/>
 251                      </svg>
 252                  </div>
 253                  <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);">
 254                      <a href="<?php echo esc_url( $field_guide_url ); ?>">
 255                          <?php
 256                          printf(
 257                              /* translators: %s: WordPress version number. */
 258                              __( 'WordPress %s Field Guide' ),
 259                              $display_major_version
 260                          );
 261                          ?>
 262                      </a>
 263                  </h4>
 264                  <p>
 265                      <?php
 266                      printf(
 267                          /* translators: %s: WordPress version number. */
 268                          __( 'Explore the WordPress %s Field Guide. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ),
 269                          $display_major_version
 270                      );
 271                      ?>
 272                  </p>
 273              </div>
 274          </div>
 275  
 276          <hr class="is-large" />
 277  
 278          <div class="return-to-dashboard">
 279              <?php
 280              if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) {
 281                  printf(
 282                      '<a href="%1$s">%2$s</a> | ',
 283                      esc_url( self_admin_url( 'update-core.php' ) ),
 284                      is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard &rarr; Updates' )
 285                  );
 286              }
 287  
 288              printf(
 289                  '<a href="%1$s">%2$s</a>',
 290                  esc_url( self_admin_url() ),
 291                  is_blog_admin() ? __( 'Go to Dashboard &rarr; Home' ) : __( 'Go to Dashboard' )
 292              );
 293              ?>
 294          </div>
 295      </div>
 296  
 297  <?php require_once  ABSPATH . 'wp-admin/admin-footer.php'; ?>
 298  
 299  <?php
 300  
 301  // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
 302  return;
 303  
 304  __( 'Maintenance Release' );
 305  __( 'Maintenance Releases' );
 306  
 307  __( 'Security Release' );
 308  __( 'Security Releases' );
 309  
 310  __( 'Maintenance and Security Release' );
 311  __( 'Maintenance and Security Releases' );
 312  
 313  /* translators: %s: WordPress version number. */
 314  __( '<strong>Version %s</strong> addressed one security issue.' );
 315  /* translators: %s: WordPress version number. */
 316  __( '<strong>Version %s</strong> addressed some security issues.' );
 317  
 318  /* translators: 1: WordPress version number, 2: Plural number of bugs. */
 319  _n_noop(
 320      '<strong>Version %1$s</strong> addressed %2$s bug.',
 321      '<strong>Version %1$s</strong> addressed %2$s bugs.'
 322  );
 323  
 324  /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */
 325  _n_noop(
 326      '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
 327      '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
 328  );
 329  
 330  /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
 331  _n_noop(
 332      '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
 333      '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
 334  );
 335  
 336  /* translators: %s: Documentation URL. */
 337  __( 'For more information, see <a href="%s">the release notes</a>.' );
 338  
 339  /* translators: 1: WordPress version number, 2: Link to update WordPress */
 340  __( '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>.' );
 341  
 342  /* translators: 1: WordPress version number, 2: Link to update WordPress */
 343  __( '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>.' );
 344  
 345  /* translators: %s: The major version of WordPress for this branch. */
 346  __( 'This is the final release of WordPress %s' );
 347  
 348  /* translators: The localized WordPress download URL. */
 349  __( 'https://wordpress.org/download/' );


Generated : Wed May 14 08:20:01 2025 Cross-referenced by PHPXref