mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
Twenty Twenty: Add missing documentation for some global variables.
Props sabernhardt, upadalavipul, shailu25, rajinsharwar, audrasjb, viralsampat, noruzzaman, huzaifaalmesbah, SergeyBiryukov. See #58715. Built from https://develop.svn.wordpress.org/trunk@62479 git-svn-id: http://core.svn.wordpress.org/trunk@61760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
* as indicating support for post thumbnails.
|
||||
*
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @global int $content_width Content width.
|
||||
* @global string $wp_version The WordPress version string.
|
||||
*/
|
||||
function twentytwenty_theme_support() {
|
||||
|
||||
@@ -461,6 +464,9 @@ function twentytwenty_block_editor_styles() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @global string $wp_version The WordPress version string.
|
||||
*/
|
||||
if ( is_admin() && version_compare( $GLOBALS['wp_version'], '6.3', '>=' ) ) {
|
||||
add_action( 'enqueue_block_assets', 'twentytwenty_block_editor_styles', 1, 1 );
|
||||
} else {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.1-alpha-62478';
|
||||
$wp_version = '7.1-alpha-62479';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user