[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

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( dirname( __FILE__ ) . '/admin.php' );
  11  
  12  /* translators: Page title of the About WordPress page in the admin. */
  13  $title = _x( 'About', 'page title' );
  14  
  15  list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
  16  
  17  include ( ABSPATH . 'wp-admin/admin-header.php' );
  18  ?>
  19      <div class="wrap about__container">
  20  
  21          <div class="about__header">
  22              <div class="about__header-title">
  23                  <h1>
  24                      <span><?php echo $display_version; ?></span>
  25                      <?php _e( 'WordPress' ); ?>
  26                  </h1>
  27              </div>
  28  
  29              <div class="about__header-badge"></div>
  30  
  31              <div class="about__header-text">
  32                  <p>
  33                      <?php
  34                      printf(
  35                          /* translators: %s: The current WordPress version number. */
  36                          __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
  37                          $display_version
  38                      );
  39                      ?>
  40                  </p>
  41              </div>
  42  
  43              <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  44                  <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
  45                  <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  46                  <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  47                  <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
  48              </nav>
  49          </div>
  50  
  51          <div class="about__section is-feature">
  52              <p>
  53                  <?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with a new block, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>
  54              </p>
  55          </div>
  56  
  57          <hr />
  58  
  59          <div class="about__section has-2-columns">
  60              <div class="column is-edge-to-edge has-accent-background-color">
  61                  <div class="about__image aligncenter">
  62                      <img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
  63                  </div>
  64              </div>
  65              <div class="column is-vertically-aligned-center">
  66                  <h2><?php _e( 'Block Editor Improvements' ); ?></h2>
  67                  <p>
  68                      <?php _e( 'This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.' ); ?>
  69                  </p>
  70  
  71                  <p>
  72                      <?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the block editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?>
  73                  </p>
  74              </div>
  75          </div>
  76  
  77          <div class="about__section has-2-columns">
  78              <div class="column is-vertically-aligned-center">
  79                  <h2><?php _e( 'Expanded Design Flexibility' ); ?></h2>
  80                  <p>
  81                      <?php
  82                      printf(
  83                          /* translators: %s: The current WordPress version number. */
  84                          __( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
  85                          $display_version
  86                      );
  87                      ?>
  88                  </p>
  89                  <ul>
  90                      <li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
  91                      <li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
  92                      <li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li>
  93                      <li><?php _e( 'Heading blocks now offer controls for text color' ); ?></li>
  94                      <li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li>
  95                  </ul>
  96              </div>
  97              <div class="column is-edge-to-edge has-accent-background-color">
  98                  <div class="about__image aligncenter">
  99                      <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt="">
 100                  </div>
 101              </div>
 102          </div>
 103  
 104          <div class="about__section has-2-columns has-subtle-background-color">
 105              <div class="column is-vertically-aligned-center">
 106                  <h2><?php _e( 'Introducing Twenty Twenty' ); ?></h2>
 107                  <p><?php _e( 'As the block editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
 108  
 109                  <p>
 110                      <?php
 111                      printf(
 112                          /* translators: %s: Link to the Inter font website. */
 113                          __( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
 114                          'https://rsms.me/inter/'
 115                      );
 116                      ?>
 117                  </p>
 118              </div>
 119              <div class="column is-edge-to-edge">
 120                  <div class="about__image aligncenter">
 121                      <img src="https://s.w.org/images/core/5.3/twentytwenty-mobile.png" alt="" />
 122                  </div>
 123              </div>
 124          </div>
 125  
 126          <div class="about__section has-subtle-background-color">
 127              <div class="column is-edge-to-edge">
 128                  <div class="about__image aligncenter">
 129                      <img src="https://s.w.org/images/core/5.3/twentytwenty-desktop.png" alt="" />
 130                  </div>
 131              </div>
 132          </div>
 133  
 134          <hr />
 135  
 136          <div class="about__section has-3-columns">
 137              <h2 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h2>
 138  
 139              <div class="column">
 140                  <h3><?php _e( 'Automatic Image Rotation' ); ?></h3>
 141                  <p><?php _e( 'Your images will be correctly rotated upon upload according to the embedded orientation data. This feature was first proposed nine years ago and made possible through the perserverance of many dedicated contributors.' ); ?></p>
 142              </div>
 143              <div class="column">
 144                  <h3><?php _e( 'Site Health Checks' ); ?></h3>
 145                  <p><?php _e( 'The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.' ); ?></p>
 146              </div>
 147              <div class="column">
 148                  <h3><?php _e( 'Admin Email Verification' ); ?></h3>
 149                  <p><?php _e( 'You’ll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out of your site if you change your email address.' ); ?></p>
 150              </div>
 151          </div>
 152  
 153          <div class="about__section">
 154              <div class="column is-edge-to-edge">
 155                  <div class="about__image aligncenter">
 156                      <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" />
 157                  </div>
 158              </div>
 159          </div>
 160  
 161          <hr />
 162  
 163          <div class="about__section has-2-columns has-subtle-background-color">
 164              <h2 class="is-section-header"><?php _e( 'For Developers' ); ?></h2>
 165  
 166              <div class="column">
 167                  <h3><?php _e( 'Date/Time Component Fixes' ); ?></h3>
 168                  <p>
 169                      <?php
 170                      printf(
 171                          /* translators: %s: Link to the date/time developer notes. */
 172                          __( 'Developers can now work with <a href="%s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
 173                          'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
 174                      );
 175                      ?>
 176                  </p>
 177              </div>
 178              <div class="column">
 179                  <h3><?php _e( 'PHP 7.4 Compatibility' ); ?></h3>
 180                  <p>
 181                      <?php
 182                      printf(
 183                          /* translators: %s: Link to the PHP 7 developer notes. */
 184                          __( 'WordPress 5.3 aims to fully support PHP 7.4. This release contains <a href="%s">multiple changes</a> to remove deprecated functionality and ensure compatibility. WordPress continues to encourage all users to run the latest and greatest versions of PHP.' ),
 185                          'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
 186                      );
 187                      ?>
 188                  </p>
 189              </div>
 190          </div>
 191  
 192          <hr />
 193  
 194          <div class="return-to-dashboard">
 195              <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
 196                  <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
 197                      <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
 198                  </a> |
 199              <?php endif; ?>
 200              <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
 201          </div>
 202      </div>
 203  <?php
 204  
 205  include ( ABSPATH . 'wp-admin/admin-footer.php' );
 206  
 207  // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
 208  return;
 209  
 210  __( 'Maintenance Release' );
 211  __( 'Maintenance Releases' );
 212  
 213  __( 'Security Release' );
 214  __( 'Security Releases' );
 215  
 216  __( 'Maintenance and Security Release' );
 217  __( 'Maintenance and Security Releases' );
 218  
 219  /* translators: %s: WordPress version number. */
 220  __( '<strong>Version %s</strong> addressed one security issue.' );
 221  /* translators: %s: WordPress version number. */
 222  __( '<strong>Version %s</strong> addressed some security issues.' );
 223  
 224  /* translators: 1: WordPress version number, 2: Plural number of bugs. */
 225  _n_noop(
 226      '<strong>Version %1$s</strong> addressed %2$s bug.',
 227      '<strong>Version %1$s</strong> addressed %2$s bugs.'
 228  );
 229  
 230  /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */
 231  _n_noop(
 232      '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
 233      '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
 234  );
 235  
 236  /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
 237  _n_noop(
 238      '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
 239      '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
 240  );
 241  
 242  /* translators: %s: Documentation URL. */
 243  __( 'For more information, see <a href="%s">the release notes</a>.' );


Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7