[ 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( '-', get_bloginfo( 'version' ) ); 17 18 $release_notes_url = sprintf( 19 /* translators: %s: WordPress version number. */ 20 __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ), 21 '6-7' 22 ); 23 24 $field_guide_url = sprintf( 25 /* translators: %s: WordPress version number. */ 26 __( 'https://make.wordpress.org/core/wordpress-%s-field-guide/' ), 27 '6-7' 28 ); 29 30 require_once ABSPATH . 'wp-admin/admin-header.php'; 31 ?> 32 <div class="wrap about__container"> 33 34 <div class="about__header"> 35 <div class="about__header-title"> 36 <h1> 37 <?php 38 printf( 39 /* translators: %s: Version number. */ 40 __( 'WordPress %s' ), 41 $display_version 42 ); 43 ?> 44 </h1> 45 </div> 46 </div> 47 48 <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> 49 <a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What’s New' ); ?></a> 50 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 51 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 52 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 53 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 54 </nav> 55 56 <div class="about__section"> 57 <div class="column"> 58 <h2> 59 <?php 60 printf( 61 /* translators: %s: Version number. */ 62 __( 'Welcome to WordPress %s' ), 63 $display_version 64 ); 65 ?> 66 </h2> 67 <p class="is-subheading"> 68 <?php _e( 'WordPress 6.7 debuts the modern Twenty Twenty-Five theme, offering ultimate design flexibility for any blog at any scale. Control your site typography like never before with new font management features. The new Zoom Out feature lets you design your site with a macro view, stepping back from the details to bring the big picture to life.' ); ?> 69 </p> 70 </div> 71 </div> 72 73 <div class="about__section has-2-columns"> 74 <div class="column is-vertically-aligned-center"> 75 <h3><?php _e( 'Introducing Twenty Twenty-Five' ); ?></h3> 76 <p> 77 <strong><?php _e( 'Endless possibility without complexity' ); ?></strong><br /> 78 <?php _e( 'Twenty Twenty-Five offers a flexible, design-focused theme that lets you build stunning sites with ease. Tailor your aesthetic with an array of style options, block patterns, and color palettes. Pared down to the essentials, this is a theme that can truly grow with you.' ); ?> 79 </p> 80 </div> 81 <div class="column is-vertically-aligned-center"> 82 <div class="about__image"> 83 <img src="https://s.w.org/images/core/6.7/feature-tt5-2.webp" alt="" height="436" width="436" /> 84 </div> 85 </div> 86 </div> 87 88 <div class="about__section has-2-columns"> 89 <div class="column is-vertically-aligned-center"> 90 <div class="about__image"> 91 <img src="https://s.w.org/images/core/6.7/feature-zoom-2.webp" alt="" height="436" width="436" /> 92 </div> 93 </div> 94 <div class="column is-vertically-aligned-center"> 95 <h3><?php _e( 'Get the big picture with Zoom Out' ); ?></h3> 96 <p> 97 <strong><?php _e( 'Explore your content from a new perspective' ); ?></strong><br /> 98 <?php _e( 'Edit and arrange entire sections of your content like never before. A broader view of your site lets you add, edit, shuffle, or remove patterns to your liking. Embrace your inner architect.' ); ?> 99 </p> 100 </div> 101 </div> 102 103 <div class="about__section has-2-columns"> 104 <div class="column is-vertically-aligned-center"> 105 <h3><?php _e( 'Connect blocks and custom fields with no hassle (or code)' ); ?></h3> 106 <p> 107 <strong><?php _e( 'A streamlined way to create dynamic content' ); ?></strong><br /> 108 <?php _e( 'This feature introduces a new UI for connecting blocks to custom fields, putting control of dynamic content directly in the editor. Link blocks with fields in just a few clicks, enhancing flexibility and efficiency when building. Your clients will love you—as if they didn’t already.' ); ?> 109 </p> 110 </div> 111 <div class="column is-vertically-aligned-center"> 112 <div class="about__image"> 113 <img src="https://s.w.org/images/core/6.7/feature-block-bindings-2.webp" alt="" height="436" width="436" /> 114 </div> 115 </div> 116 </div> 117 118 <div class="about__section has-2-columns"> 119 <div class="column is-vertically-aligned-center"> 120 <div class="about__image"> 121 <img src="https://s.w.org/images/core/6.7/feature-font-presets-2.png" alt="" height="436" width="436" /> 122 </div> 123 </div> 124 <div class="column is-vertically-aligned-center"> 125 <h3><?php _e( 'Embrace your inner font nerd' ); ?></h3> 126 <p> 127 <strong><?php _e( 'New style section, new possibilities' ); ?></strong><br /> 128 <?php _e( 'Create, edit, remove, and apply font size presets with the next addition to the Styles interface. Override theme defaults or create your own custom font size, complete with fluid typography for responsive font scaling. Get into the details!' ); ?> 129 </p> 130 </div> 131 </div> 132 133 <hr class="is-invisible is-large" /> 134 135 <div class="about__section has-2-columns"> 136 <div class="column"> 137 <div class="about__image"> 138 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 139 <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"/> 140 <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"/> 141 </svg> 142 </div> 143 <h3><?php _e( 'Performance updates' ); ?></h3> 144 <p><?php _e( 'WordPress 6.7 delivers important performance updates, including faster pattern loading, optimized previews in the data views component, improved PHP 8+ support and removal of deprecated code, auto sizes for lazy-loaded images, and more efficient tag processing in the HTML API.' ); ?></p> 145 </div> 146 <div class="column"> 147 <div class="about__image"> 148 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 149 <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"/> 150 </svg> 151 </div> 152 <h3><?php _e( 'Accessibility improvements' ); ?></h3> 153 <p><?php _e( '65+ accessibility fixes and enhancements focus on foundational aspects of the WordPress experience, from improving user interface components and keyboard navigation in the Editor, to an accessible heading on WordPress login screens and clearer labeling throughout.' ); ?></p> 154 </div> 155 </div> 156 157 <hr class="is-invisible is-large" style="margin-bottom:calc(2 * var(--gap));" /> 158 159 <div class="about__section has-2-columns is-wider-left is-feature" style="background-color:var(--background);border-radius:var(--border-radius);"> 160 <h3 class="is-section-header"><?php _e( 'And much more' ); ?></h3> 161 <div class="column"> 162 <p> 163 <?php 164 printf( 165 /* translators: %s: Version number. */ 166 __( 'For a comprehensive overview of all the new features and enhancements in WordPress %s, please visit the feature-showcase website.' ), 167 $display_version 168 ); 169 ?> 170 </p> 171 </div> 172 <div class="column aligncenter"> 173 <div class="about__image"> 174 <a href="<?php echo esc_url( __( 'https://wordpress.org/download/releases/6-7/' ) ); ?>" class="button button-primary button-hero"><?php _e( 'See everything new' ); ?></a> 175 </div> 176 </div> 177 </div> 178 179 <hr class="is-large" style="margin-top:calc(2 * var(--gap));" /> 180 181 <div class="about__section has-3-columns"> 182 <div class="column about__image is-vertically-aligned-top"> 183 <img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.7' ) ); ?>" alt="" height="280" width="280" /> 184 </div> 185 <div class="column is-vertically-aligned-center" style="grid-column-end:span 2"> 186 <h3> 187 <?php 188 printf( 189 /* translators: %s: Version number. */ 190 __( 'Learn more about WordPress %s' ), 191 $display_version 192 ); 193 ?> 194 </h3> 195 <p> 196 <?php 197 printf( 198 /* translators: 1: Learn WordPress link, 2: Workshops link. */ 199 __( '<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.' ), 200 'https://learn.wordpress.org/', 201 'https://learn.wordpress.org/online-workshops/' 202 ); 203 ?> 204 </p> 205 </div> 206 </div> 207 208 <div class="about__section has-2-columns"> 209 <div class="column"> 210 <div class="about__image"> 211 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 212 <path fill="#1e1e1e" d="M32 15.5H16v3h16v-3ZM16 22h16v3H16v-3ZM28 28.5H16v3h12v-3Z"/> 213 <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"/> 214 </svg> 215 </div> 216 <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);"> 217 <a href="<?php echo esc_url( $release_notes_url ); ?>"> 218 <?php 219 printf( 220 /* translators: %s: WordPress version number. */ 221 __( 'WordPress %s Release Notes' ), 222 '6.7' 223 ); 224 ?> 225 </a> 226 </h4> 227 <p> 228 <?php 229 printf( 230 /* translators: %s: WordPress version number. */ 231 __( 'Read the WordPress %s Release Notes for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ), 232 '6.7' 233 ); 234 ?> 235 </p> 236 </div> 237 <div class="column"> 238 <div class="about__image"> 239 <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> 240 <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"/> 241 </svg> 242 </div> 243 <h4 style="margin-top: calc(var(--gap) / 2); margin-bottom: calc(var(--gap) / 2);"> 244 <a href="<?php echo esc_url( $field_guide_url ); ?>"> 245 <?php 246 printf( 247 /* translators: %s: WordPress version number. */ 248 __( 'WordPress %s Field Guide' ), 249 '6.7' 250 ); 251 ?> 252 </a> 253 </h4> 254 <p> 255 <?php 256 printf( 257 /* translators: %s: WordPress version number. */ 258 __( 'Explore the WordPress %s Field Guide. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ), 259 '6.7' 260 ); 261 ?> 262 </p> 263 </div> 264 </div> 265 266 <hr class="is-large" /> 267 268 <div class="return-to-dashboard"> 269 <?php 270 if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) { 271 printf( 272 '<a href="%1$s">%2$s</a> | ', 273 esc_url( self_admin_url( 'update-core.php' ) ), 274 is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard → Updates' ) 275 ); 276 } 277 278 printf( 279 '<a href="%1$s">%2$s</a>', 280 esc_url( self_admin_url() ), 281 is_blog_admin() ? __( 'Go to Dashboard → Home' ) : __( 'Go to Dashboard' ) 282 ); 283 ?> 284 </div> 285 </div> 286 287 <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?> 288 289 <?php 290 291 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. 292 return; 293 294 __( 'Maintenance Release' ); 295 __( 'Maintenance Releases' ); 296 297 __( 'Security Release' ); 298 __( 'Security Releases' ); 299 300 __( 'Maintenance and Security Release' ); 301 __( 'Maintenance and Security Releases' ); 302 303 /* translators: %s: WordPress version number. */ 304 __( '<strong>Version %s</strong> addressed one security issue.' ); 305 /* translators: %s: WordPress version number. */ 306 __( '<strong>Version %s</strong> addressed some security issues.' ); 307 308 /* translators: 1: WordPress version number, 2: Plural number of bugs. */ 309 _n_noop( 310 '<strong>Version %1$s</strong> addressed %2$s bug.', 311 '<strong>Version %1$s</strong> addressed %2$s bugs.' 312 ); 313 314 /* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */ 315 _n_noop( 316 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', 317 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' 318 ); 319 320 /* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */ 321 _n_noop( 322 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', 323 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' 324 ); 325 326 /* translators: %s: Documentation URL. */ 327 __( 'For more information, see <a href="%s">the release notes</a>.' ); 328 329 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 330 __( '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>.' ); 331 332 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 333 __( '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>.' ); 334 335 /* translators: %s: The major version of WordPress for this branch. */ 336 __( 'This is the final release of WordPress %s' ); 337 338 /* translators: The localized WordPress download URL. */ 339 __( 'https://wordpress.org/download/' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |