+ <hr />
+
+ <div class="changelog">
+ <h3><?php _e( 'Under the Hood' ); ?></h3>
+
+ <div class="feature-section under-the-hood one-col">
+ <div class="col">
+ <h4><?php _e( 'REST API infrastructure' ); ?></h4>
+ <div class="two-col-text">
+ <p><?php _e( 'Infrastructure for the REST API has been integrated into core, marking a new era in developing with WordPress. The REST API serves to provide developers with a path forward for building and extending RESTful APIs on top of WordPress.' ); ?></p>
+ <p><?php
+ if ( current_user_can( 'install_plugins' ) ) {
+ $url_args = array(
+ 'tab' => 'plugin-information',
+ 'plugin' => 'rest-api',
+ 'TB_iframe' => true,
+ 'width' => 600,
+ 'height' => 550
+ );
+
+ $plugin_link = '<a href="' . esc_url( add_query_arg( $url_args, network_admin_url( 'plugin-install.php' ) ) ) . '" class="thickbox">WordPress REST API</a>';
+ } else {
+ $plugin_link = '<a href="https://wordpress.org/plugins/rest-api">WordPress REST API</a>';
+ }
+
+ /* translators: WordPress REST API plugin link */
+ printf( __( 'Infrastructure is the first part of a multi-stage rollout for the REST API. Inclusion of core endpoints is targeted for an upcoming release. To get a sneak peek of the core endpoints, and for more information on extending the REST API, check out the official %s plugin.' ), $plugin_link );
+ ?></p>
+ </div>
+ </div>
+ </div>
+
+ <div class="feature-section under-the-hood three-col">
+ <div class="col">
+ <h4><?php _e( 'Term meta' ); ?></h4>
+ <p><?php
+ /* translators: 1: add_term_meta() docs link, 2: get_term_meta() docs link, 3: update_term_meta() docs link */
+ printf( __( 'Terms now support metadata, just like posts. See %1$s, %2$s, and %3$s for more information.' ),
+ '<a href="https://developer.wordpress.org/reference/functions/add_term_meta"><code>add_term_meta()</code></a>',
+ '<a href="https://developer.wordpress.org/reference/functions/get_term_meta"><code>get_term_meta()</code></a>',
+ '<a href="https://developer.wordpress.org/reference/functions/update_term_meta"><code>update_term_meta()</code></a>'
+ );
+ ?></p>
+ </div>
+ <div class="col">
+ <h4><?php _e( 'Comment query improvements' ); ?></h4>
+ <p><?php
+ /* translators: WP_Comment_Query class name */
+ printf( __( 'Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.' ), '<code>WP_Comment_Query</code>' );
+ ?></p>
+ </div>
+ <div class="col">
+ <h4><?php _e( 'Term, comment, and network objects' ); ?></h4>
+ <p><?php
+ /* translators: 1: WP_Term class name, WP_Comment class name, WP_Network class name */
+ printf( __( 'New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code.' ),
+ '<code>WP_Term</code>',
+ '<code>WP_Comment</code>',
+ '<code>WP_Network</code>'
+ );
+ ?></p>
+ </div>
+ </div>
+
+ <div class="return-to-dashboard">
+ <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
+ <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
+ <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?>
+ </a> |
+ <?php endif; ?>
+ <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a>
+ </div>