Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable loading of Custom CSS for atomic sites in jetpack-mu-wpcom #38118

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: fixed

Disable loading of Custom CSS for atomic sites
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Jetpack_Mu_Wpcom main class.
*/
class Jetpack_Mu_Wpcom {
const PACKAGE_VERSION = '5.41.1-alpha';

Check failure on line 16 in projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php

View workflow job for this annotation

GitHub Actions / Changelogger validity

Version mismatch, expected 5.42.0-alpha but found 5.41.1-alpha! You might use `tools/project-version.sh -f -u 5.42.0-alpha packages/jetpack-mu-wpcom` or `tools/fixup-project-versions.sh` to fix this.
const PKG_DIR = __DIR__ . '/../';
const BASE_DIR = __DIR__ . '/';
const BASE_FILE = __FILE__;
Expand Down Expand Up @@ -52,11 +52,6 @@
add_action( 'admin_menu', array( __CLASS__, 'load_wpcom_simple_odyssey_stats' ) );
}

// These features run only on atomic sites.
if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) {
add_action( 'plugins_loaded', array( __CLASS__, 'load_custom_css' ) );
}

// Unified navigation fix for changes in WordPress 6.2.
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'unbind_focusout_on_wp_admin_bar_menu_toggle' ) );

Expand Down
Loading