diff --git a/bin/generate-gutenberg-php.php b/bin/generate-gutenberg-php.php index 4ed6b661a21c23..1dc2cf6db4ef59 100755 --- a/bin/generate-gutenberg-php.php +++ b/bin/generate-gutenberg-php.php @@ -15,6 +15,8 @@ /** * Prints `define` statements for the production version of `gutenberg.php` * (the plugin entry point). + * + * @global string $plugin_version The version number of the plugin. */ function print_production_defines() { global $plugin_version; diff --git a/lib/demo.php b/lib/demo.php index 11272050bf4c2e..0e7ad5c2c8cc78 100644 --- a/lib/demo.php +++ b/lib/demo.php @@ -11,6 +11,8 @@ /** * Redirects the demo page to edit a new post. + * + * @global string $pagenow The name of the current admin page being viewed. */ function gutenberg_redirect_demo() { global $pagenow; diff --git a/packages/block-directory/src/components/downloadable-block-list-item/style.scss b/packages/block-directory/src/components/downloadable-block-list-item/style.scss index e13e46ef8d8786..e30722c88ee791 100644 --- a/packages/block-directory/src/components/downloadable-block-list-item/style.scss +++ b/packages/block-directory/src/components/downloadable-block-list-item/style.scss @@ -15,7 +15,10 @@ background: none; border: 0; text-align: left; - transition: box-shadow 0.1s linear; + + @media not (prefers-reduced-motion) { + transition: box-shadow 0.1s linear; + } // The item contains absolutely positioned items. // Set `position: relative` on the parent to prevent overflow issues diff --git a/packages/block-editor/src/components/background-image-control/index.js b/packages/block-editor/src/components/background-image-control/index.js index 6c703ad2eadb4d..3411d7d3ee8a96 100644 --- a/packages/block-editor/src/components/background-image-control/index.js +++ b/packages/block-editor/src/components/background-image-control/index.js @@ -378,7 +378,6 @@ function BackgroundImageControls( { label={ imgLabel } /> } - variant="secondary" renderToggle={ ( props ) => (