Changeset 3367726
- Timestamp:
- 09/25/2025 10:03:52 AM (6 months ago)
- Location:
- disable-welcome-messages-and-tips/trunk
- Files:
-
- 2 edited
-
disable-welcome-messages-and-tips.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disable-welcome-messages-and-tips/trunk/disable-welcome-messages-and-tips.php
r2954056 r3367726 3 3 Plugin Name: Disable Welcome Messages and Tips 4 4 Description: Hide Welcome Messages and Tips in the Gutenberg Block Editor 5 Version: 1. 15 Version: 1.2 6 6 Author: Jules Colle 7 7 Author URI: https://bdwm.be … … 22 22 <script> 23 23 jQuery(window).on('load', function(){ 24 wp.data && wp.data.select( 'core/edit-post' ).isFeatureActive( 'welcomeGuide' ) && wp.data.dispatch( 'core/edit-post' ).toggleFeature( 'welcomeGuide' );25 wp.data && wp.data.select( 'core/edit-post' ).isFeatureActive( 'fullscreenMode' ) && wp.data.dispatch( 'core/edit-post' ).toggleFeature( 'fullscreenMode' );24 wp.data?.select( 'core/edit-post' )?.isFeatureActive?.( 'welcomeGuide' ) && wp.data.dispatch( 'core/edit-post' ).toggleFeature( 'welcomeGuide' ); 25 wp.data?.select( 'core/edit-post' )?.isFeatureActive?.( 'fullscreenMode' ) && wp.data.dispatch( 'core/edit-post' ).toggleFeature( 'fullscreenMode' ); 26 26 }); 27 27 </script> -
disable-welcome-messages-and-tips/trunk/readme.txt
r2954056 r3367726 5 5 Tags: gutenberg, block-editor, notifications 6 6 Requires at least: 5.0 7 Tested up to: 5.98 Stable tag: 1. 17 Tested up to: 6.3 8 Stable tag: 1.2 9 9 Requires PHP: 5.7 10 10 License: GPLv2 or later … … 33 33 34 34 == Changelog == 35 36 = 1.2 (2025-09-25) = 37 * Prevent JS error when wp.data is defined but wp.data.select('...') is not 35 38 36 39 = 1.1 (2023-08-16) =
Note: See TracChangeset
for help on using the changeset viewer.