[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

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  /* 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  require_once  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                  <p>
  24                      <?php _e( 'WordPress' ); ?>
  25                      <span><?php echo $display_version; ?></span>
  26                  </p>
  27              </div>
  28  
  29              <div class="about__header-text">
  30                  <p>
  31                      <?php _e( 'Building more with blocks, faster and easier.' ); ?>
  32                  </p>
  33              </div>
  34  
  35              <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  36                  <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
  37                  <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
  38                  <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  39                  <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
  40              </nav>
  41          </div>
  42  
  43          <div class="about__section changelog">
  44              <div class="column">
  45                  <h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
  46                  <p>
  47                      <?php
  48                      printf(
  49                          /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
  50                          _n(
  51                              '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
  52                              '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
  53                              11
  54                          ),
  55                          '5.4.1',
  56                          number_format_i18n( 11 )
  57                      );
  58                      ?>
  59                      <?php
  60                      printf(
  61                          /* translators: %s: HelpHub URL */
  62                          __( 'For more information, see <a href="%s">the release notes</a>.' ),
  63                          sprintf(
  64                              /* translators: %s: WordPress version */
  65                              esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
  66                              sanitize_title( '5.4.1' )
  67                          )
  68                      );
  69                      ?>
  70                  </p>
  71              </div>
  72          </div>
  73  
  74          <hr />
  75  
  76          <div class="about__section is-feature has-accent-background-color">
  77              <h1><?php _e( 'Say hello to more and better.' ); ?></h1>
  78  
  79              <p><?php _e( 'More ways to make your pages come alive. With easier ways to get it all done and looking better than ever&mdash;and boosts in speed you can feel.' ); ?></p>
  80          </div>
  81  
  82          <hr />
  83  
  84          <div class="about__section has-2-columns has-subtle-background-color">
  85              <h2 class="is-section-header">
  86                  <?php
  87                  printf(
  88                      /* translators: %s: The current WordPress version number. */
  89                      __( 'Welcome to WordPress %s.' ),
  90                      $display_version
  91                  );
  92                  ?>
  93              </h2>
  94              <div class="column">
  95                  <p>
  96                      <?php _e( 'Every major release adds more to the block editor.' ); ?>
  97                  </p>
  98                  <p>
  99                      <?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?>
 100                      <?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the web&#8217;s top services.' ); ?>
 101                  </p>
 102              </div>
 103              <div class="column">
 104                  <p>
 105                      <?php _e( 'More ways to make your vision real, and put blocks in the perfect place&mdash;even if a particular kind of block is new to you. More efficient processes.' ); ?>
 106                  </p>
 107                  <p>
 108                      <?php _e( 'And more speed everywhere, so as you build sections or galleries, or just type in a line of prose, you can feel how much faster your work flows.' ); ?>
 109                  </p>
 110              </div>
 111          </div>
 112  
 113          <hr />
 114  
 115          <div class="about__section has-2-columns">
 116              <div class="column is-edge-to-edge">
 117                  <div class="about__image aligncenter">
 118                      <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cpath d='M346.7 37.645s100.5-2.8 102.6 0c2.1 2.8 0 124.999 0 124.999l-106.9 2.8 4.3-127.8z' fill='%232CA8EB'/%3E%3Cpath d='M343.5 185.844s100.5-1.9 102.6 0c2.1 1.9 1.1 125.9 4.3 127.8 3.2 1.9-100.5 1.9-104.8 2.8-4.3.9-2.1-130.6-2.1-130.6z' fill='%237CAED2'/%3E%3Cpath d='M195.6 186.744s102.7 2.8 106.9 2.8c4.2 0 7.4 120.4 4.2 122.2-3.2 1.9-106.9 2.8-106.9 2.8s2.1-126.9-4.2-127.8z' fill='%2381A4D4'/%3E%3Cpath d='M152.8 192.344s2.1 124.1 4.3 126.9c2.1 2.7-109.1 1.8-109.1 1.8v-128.7h104.8z' fill='%235DC3D8'/%3E%3Cpath d='M152 464.544H56v-119.8l101-1.7s-8.9 118-5 121.5z' fill='%230574E2'/%3E%3Cpath d='M195 35.844h101.6s-8.6 119.4 0 125c8.6 5.6-101.6 3.7-101.6 3.7v-128.7z' fill='%23216BCE'/%3E%3Cpath d='M302.3 463.844s-102.9 2.8-105.1 0c-2.2-2.8 0-125 0-125l109.5-2.8-4.4 127.8z' fill='%231C99D1'/%3E%3Cpath d='M346.2 464.544s-2.1-124.1-4.3-126.9c-2.1-2.8 109.1-1.9 109.1-1.9v128.7H346.2v.1z' fill='%231B44DD'/%3E%3Cpath d='M50.2 35.844s100.5-1.9 102.6 0c2.1 1.9 1.1 125.9 4.3 127.8 3.2 1.9-100.5 1.9-104.8 2.8-4.3.9-2.1-130.6-2.1-130.6z' fill='%231B36BC'/%3E%3C/svg%3E" alt="" />
 119                  </div>
 120              </div>
 121              <div class="column is-vertically-aligned-center">
 122                  <h2><?php _e( 'Two new blocks. And better blocks overall.' ); ?></h2>
 123                  <ul>
 124                      <li><?php _e( 'Two brand-new blocks: Social Icons and Buttons make adding interactive features fast and easy.' ); ?></li>
 125                      <li><?php _e( 'New ways with color: Gradients in the Buttons and Cover block, toolbar access to color options in Rich Text blocks, and for the first time, color options in the Group and Columns blocks.' ); ?></li>
 126                      <li><?php _e( 'Guess a whole lot less! Version 5.4 streamlines the whole process for placing and replacing multimedia in every block. Now it works the same way in almost every block!' ); ?></li>
 127                      <li><?php _e( 'And if you&#8217;ve ever thought your image in the Media+Text block should link to something else&mdash;perhaps a picture of a brochure should download that brochure as a document? Well, now it can.' ); ?></li>
 128                  </ul>
 129              </div>
 130          </div>
 131  
 132          <div class="about__section has-2-columns">
 133              <div class="column is-vertically-aligned-center">
 134                  <h2><?php _e( 'Cleaner UI, clearer navigation—and easier tabbing!' ); ?></h2>
 135                  <ul>
 136                      <li><?php _e( 'Clearer block navigation with block breadcrumbs. And easier selection once you get there.' ); ?></li>
 137                      <li><?php _e( 'For when you need to navigate with the keyboard, better tabbing and focus. Plus, you can tab over to the sidebar of nearly any block.' ); ?></li>
 138                      <li><?php _e( 'Speed! 14% faster loading of the editor, 51% faster time-to-type!' ); ?></li>
 139                      <li><?php _e( 'Tips are gone. In their place, a Welcome Guide window you can bring up when you need it&mdash;and only when you need it&mdash;again and again.' ); ?></li>
 140                      <li><?php _e( 'Know at a glance whether you&#8217;re in a block&#8217;s Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode you&#8217;re in.' ); ?></li>
 141                  </ul>
 142                  <p><?php _e( 'Of course, if you want to work with the very latest tools and features, install the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. You&#8217;ll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p>
 143              </div>
 144              <div class="column is-edge-to-edge">
 145                  <div class="about__image aligncenter">
 146                      <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cg clip-path='url(%23clip0)'%3E%3Cpath d='M169.6 171.55l-.3 72.3 330.7-1v-72.6l-330.4 1.3z' fill='%230740B3'/%3E%3Cpath d='M291.2 97.85l-1.3-14.8-63.4-.7v76c0 3.6 176.7 4.1 273.5 4.1v-64.5H291.2v-.1z' fill='%230285D7'/%3E%3Cpath d='M500 27.75l-215.5-5.9 5.4 61.2 210.1 2.5v-57.8z' fill='%231730E5'/%3E%3Cpath d='M500 97.85v-12.3l-210.1-2.5 1.3 14.8H500z' fill='%230285D7'/%3E%3Cpath d='M500 97.85v-12.3l-210.1-2.5 1.3 14.8H500z' fill='%231730E5' style='mix-blend-mode:multiply'/%3E%3Cpath d='M255.2 379.75l-1-49.2-229.2.3-2 69.7 477-1.3v-24.3l-244.8 4.8z' fill='%230285D7'/%3E%3Cpath d='M500 424.35v-15l-430.8 1.2-4 51.5 134.6-.5v-34.4c.1-2.8 214.4-2.9 300.2-2.8z' fill='%230878FF'/%3E%3Cpath d='M500 290.05l-246.4 4.3.6 36.2 245.8-.3v-40.2z' fill='%23072CF0'/%3E%3Cpath d='M500 374.95v-44.7l-245.8.3 1 49.2 244.8-4.8z' fill='%230285D7'/%3E%3Cpath d='M500 374.95v-44.7l-245.8.3 1 49.2 244.8-4.8z' fill='%23072CF0' style='mix-blend-mode:multiply'/%3E%3Cpath d='M199.9 461.55v17.6l300.1-2.4v-16.3l-300.1 1.1z' fill='%230285D7'/%3E%3Cpath d='M500 424.35c-85.8-.1-300.1 0-300.1 2.8v34.4l300.1-1.1v-36.1z' fill='%230878FF'/%3E%3Cpath d='M500 424.35c-85.8-.1-300.1 0-300.1 2.8v34.4l300.1-1.1v-36.1z' fill='%230285D7' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0'%3E%3Cpath transform='rotate(-90 23 479.15)' fill='%23fff' d='M23 479.15h457.3v477H23z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E" alt="">
 147                  </div>
 148              </div>
 149          </div>
 150  
 151          <div class="about__section has-2-columns">
 152              <div class="column is-edge-to-edge">
 153                  <div class="about__image aligncenter">
 154                      <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cpath d='M31.3 284.4c-2-.1 12.2-250.6 12.2-250.6s94.8 4.4 99.7 5.2c.3 21.8 4.1 250.1 4.1 250.1l-116-4.7z' fill='%231730E5'/%3E%3Cpath d='M346.8 467.4l-11.7-305.9 138.2 2.4-3 304.1-123.5-.6z' fill='%230840B3'/%3E%3Cpath d='M287.7 34.9c2.3 0 5.9 398.5 5.9 398.5s-109.6-2.2-115 .6c-5.4 2.8 10.6-400.5 10.6-400.5l98.5 1.4z' fill='%23018BDE'/%3E%3Cpath d='M372.3 138c32.585 0 59-26.415 59-59s-26.415-59-59-59-59 26.415-59 59 26.415 59 59 59z' fill='%23062EF7'/%3E%3Cpath d='M35.8 315c-12.8 0-24.9 2.9-35.8 8.1v148.7c10.8 5.2 22.9 8.1 35.8 8.1 45.6 0 82.5-36.9 82.5-82.5S81.3 315 35.8 315z' fill='%231C87C0'/%3E%3C/svg%3E" alt="" />
 155                  </div>
 156              </div>
 157              <div class="column is-vertically-aligned-center">
 158                  <h2><?php _e( 'Your fundamental right: privacy' ); ?></h2>
 159                  <p><?php _e( '5.4 helps with a variety of privacy issues around the world. So when users and stakeholders ask about regulatory compliance, or how your team handles user data, the answers should be a lot easier to get right.' ); ?></p>
 160                  <p><?php _e( 'Take a look:' ); ?></p>
 161                  <ul>
 162                      <li><?php _e( 'Now personal data exports include users session information and users location data from the community events widget. Plus, a table of contents!' ); ?></li>
 163                      <li><?php _e( 'See progress as you process export and erasure requests through the privacy tools.' ); ?></li>
 164                      <li><?php _e( 'Plus, little enhancements throughout give the privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li>
 165                  </ul>
 166              </div>
 167          </div>
 168  
 169          <hr />
 170  
 171          <div class="about__section ">
 172              <div class="column has-subtle-background-color">
 173                  <h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2>
 174              </div>
 175          </div>
 176  
 177          <hr class="is-small" />
 178  
 179          <div class="about__section">
 180              <div class="about__image aligncenter">
 181                  <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='500' viewbox='0 0 1000 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M761 360.917H428v66.8h333v-66.8z' fill='%230574E2'/%3E%3Cpath d='M921 399.801H592.2v99.7H921v-99.7z' fill='%231C99D1'/%3E%3Cpath d='M288.1 378.963c46.392 0 84-37.496 84-83.749 0-46.253-37.608-83.748-84-83.748s-84 37.495-84 83.748c0 46.253 37.608 83.749 84 83.749z' fill='%230F7DEA'/%3E%3Cpath d='M553.3 191.426H272.5v85.742h280.8v-85.742z' fill='%231730E5'/%3E%3Cpath d='M785 151.545H499.4v77.169H785v-77.169z' fill='%231C99D1'/%3E%3Cpath d='M777.3 284.247c50.258 0 91-40.62 91-90.728 0-50.107-40.742-90.727-91-90.727s-91 40.62-91 90.727c0 50.108 40.742 90.728 91 90.728z' fill='%231826D3'/%3E%3Cpath d='M635 33.898H413v101.695h222V33.898zM1000 303.091H708v76.769h292v-76.769zM366 102.692H0v66.799h366v-66.799z' fill='%230574E2'/%3E%3Cpath d='M275 24.925H96v93.719h179V24.925z' fill='%231C99D1'/%3E%3Cpath d='M861 0H573v66.8h288V0z' fill='%231730E5'/%3E%3Cpath d='M436 440.678c35.346 0 64-28.568 64-63.809 0-35.24-28.654-63.808-64-63.808-35.346 0-64 28.568-64 63.808 0 35.241 28.654 63.809 64 63.809z' fill='%23236FE8'/%3E%3Cpath d='M428 449.651H171.4V500H428v-50.349z' fill='%231C99D1'/%3E%3Cpath d='M318 404.786H77v63.908h241v-63.908z' fill='%231826D3'/%3E%3Cpath d='M818 258.225H600v73.281h218v-73.281zM613 117.647H456v93.719h157v-93.719zM96.1 198.604c18.833 0 34.1-15.221 34.1-33.998 0-18.776-15.267-33.998-34.1-33.998-18.833 0-34.1 15.222-34.1 33.998 0 18.777 15.267 33.998 34.1 33.998z' fill='%231C99D1'/%3E%3C/svg%3E" alt="">
 182              </div>
 183          </div>
 184  
 185          <hr class="is-small" />
 186  
 187          <div class="about__section has-2-columns">
 188              <div class="column">
 189                  <h3><?php _e( 'Add custom fields to menu items—natively' ); ?></h3>
 190                  <p>
 191                      <?php _e( 'Two new actions let you add custom fields to menu items&mdash;without a plugin and without writing custom walkers.' ); ?>
 192                  </p>
 193                  <p>
 194                      <?php
 195                      printf(
 196                          /* translators: %s: 'wp_nav_menu_item_custom_fields' action name. */
 197                          __( 'On the Menus admin screen, %s fires just before the move buttons of a nav menu item in the menu editor.' ),
 198                          '<code>wp_nav_menu_item_custom_fields</code>'
 199                      );
 200                      ?>
 201                  </p>
 202                  <p>
 203                      <?php
 204                      printf(
 205                          /* translators: %s: 'wp_nav_menu_item_custom_fields_customize_template' action name. */
 206                          __( 'In the Customizer, %s fires at the end of the menu-items form-fields template.' ),
 207                          '<code>wp_nav_menu_item_custom_fields_customize_template</code>'
 208                      );
 209                      ?>
 210                  </p>
 211                  <p>
 212                      <?php _e( 'Check your code and see where these new actions can replace your custom code, and if you&#8217;re concerned about duplication, add a check for the WordPress version.' ); ?>
 213                  </p>
 214              </div>
 215              <div class="column">
 216                  <h3><?php _e( 'Blocks! Simpler styling, new APIs and embeds' ); ?></h3>
 217                  <ul>
 218                      <li><?php _e( '<strong>Radically</strong> simpler block styling. Negative margins and default padding are gone! Now you can style blocks the way you need them. And, a refactor got rid of four redundant wrapper divs.' ); ?></li>
 219                      <li><?php _e( 'If you build plugins, now you can register collections of your blocks by namespace across categories—a great way to get more brand visibility.' ); ?></li>
 220                      <li><?php _e( 'Let users do more with two new APIs: block variations and gradients.' ); ?></li>
 221                      <li><?php _e( 'In embeds, now the block editor supports TikTok—and CollegeHumor is gone.' ); ?></li>
 222                  </ul>
 223              </div>
 224          </div>
 225  
 226          <hr class="is-small" />
 227  
 228          <div class="about__section">
 229              <div class="column">
 230                  <p>
 231                      <?php
 232                      printf(
 233                          /* translators: %s: WordPress 5.4 Field Guide link. */
 234                          __( 'There&#8217;s lots more for developers to love in WordPress 5.4. To discover more and learn how to make these changes shine on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide</a>.' ),
 235                          'https://make.wordpress.org/core/2020/03/03/wordpress-5-4-field-guide/'
 236                      );
 237                      ?>
 238                  </p>
 239              </div>
 240          </div>
 241  
 242          <hr />
 243  
 244          <div class="return-to-dashboard">
 245              <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
 246                  <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
 247                      <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
 248                  </a> |
 249              <?php endif; ?>
 250              <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
 251          </div>
 252      </div>
 253  <?php
 254  
 255  require_once  ABSPATH . 'wp-admin/admin-footer.php';
 256  
 257  // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
 258  return;
 259  
 260  __( 'Maintenance Release' );
 261  __( 'Maintenance Releases' );
 262  
 263  __( 'Security Release' );
 264  __( 'Security Releases' );
 265  
 266  __( 'Maintenance and Security Release' );
 267  __( 'Maintenance and Security Releases' );
 268  
 269  /* translators: %s: WordPress version number. */
 270  __( '<strong>Version %s</strong> addressed one security issue.' );
 271  /* translators: %s: WordPress version number. */
 272  __( '<strong>Version %s</strong> addressed some security issues.' );
 273  
 274  /* translators: 1: WordPress version number, 2: Plural number of bugs. */
 275  _n_noop(
 276      '<strong>Version %1$s</strong> addressed %2$s bug.',
 277      '<strong>Version %1$s</strong> addressed %2$s bugs.'
 278  );
 279  
 280  /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */
 281  _n_noop(
 282      '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
 283      '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
 284  );
 285  
 286  /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
 287  _n_noop(
 288      '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
 289      '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
 290  );
 291  
 292  /* translators: %s: Documentation URL. */
 293  __( 'For more information, see <a href="%s">the release notes</a>.' );


Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1