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

Performance: remove filter calls that are no longer needed (imploding CSS) #39517

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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,5 @@
Significance: patch
Type: deprecated
Comment: Removed filter call that is no longer needed.


Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ function render_fallback_coming_soon_page() {
add_filter( 'jetpack_disable_eu_cookie_law_widget', '__return_true', 1 );
add_filter( 'wpcom_disable_logged_out_follow', '__return_true', 10, 1 ); // Disable follow actionbar.
add_filter( 'wpl_is_enabled_sitewide', '__return_false', 10, 1 ); // Disable likes.
add_filter( 'jetpack_implode_frontend_css', '__return_false', 99 ); // Jetpack "implodes" all registered CSS files into one file.
add_filter( 'woocommerce_demo_store', '__return_false' ); // Prevent the the wocommerce demo store notice from displaying.
add_filter( 'jetpack_open_graph_image_default', __NAMESPACE__ . '\coming_soon_share_image' ); // Set the default OG image.
add_filter( 'jetpack_twitter_cards_image_default', __NAMESPACE__ . '\coming_soon_share_image' ); // Set the default Twitter Card image.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: deprecated
Comment: Removed filter call that is no longer needed.


Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

namespace Private_Site;

add_filter( 'jetpack_implode_frontend_css', '__return_false', 99 );

nocache_headers();
header( 'Content-Type: ' . get_bloginfo( 'html_type' ) . '; charset=' . get_bloginfo( 'charset' ) );

Expand Down