Skip to content

Commit

Permalink
Merge pull request #21613 from Yoast/21610-deprecate-and-remove-jetpa…
Browse files Browse the repository at this point in the history
…ck-boost-ad-code

21610 deprecate and remove jetpack boost ad code
  • Loading branch information
igorschoester authored Sep 11, 2024
2 parents 6fc3222 + daa350e commit 9ef5595
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 451 deletions.
4 changes: 0 additions & 4 deletions admin/metabox/class-metabox.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* @package WPSEO\Admin
*/

use Yoast\WP\SEO\Conditionals\Third_Party\Jetpack_Boost_Active_Conditional;
use Yoast\WP\SEO\Conditionals\Third_Party\Jetpack_Boost_Not_Premium_Conditional;
use Yoast\WP\SEO\Editors\Application\Site\Website_Information_Repository;
use Yoast\WP\SEO\Presenters\Admin\Alert_Presenter;
use Yoast\WP\SEO\Presenters\Admin\Meta_Fields_Presenter;
Expand Down Expand Up @@ -897,8 +895,6 @@ public function enqueue() {
'plugins' => $plugins_script_data,
'worker' => $worker_script_data,
],
'isJetpackBoostActive' => ( $is_block_editor ) ? YoastSEO()->classes->get( Jetpack_Boost_Active_Conditional::class )->is_met() : false,
'isJetpackBoostNotPremium' => ( $is_block_editor ) ? YoastSEO()->classes->get( Jetpack_Boost_Not_Premium_Conditional::class )->is_met() : false,
'isWooCommerceSeoActive' => $woocommerce_seo_active,
];

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"Yoast\\WP\\SEO\\Composer\\Actions::check_coding_standards"
],
"check-cs-thresholds": [
"@putenv YOASTCS_THRESHOLD_ERRORS=2482",
"@putenv YOASTCS_THRESHOLD_ERRORS=2481",
"@putenv YOASTCS_THRESHOLD_WARNINGS=252",
"Yoast\\WP\\SEO\\Composer\\Actions::check_cs_thresholds"
],
Expand Down
27 changes: 0 additions & 27 deletions packages/js/images/jetpack-boost-integration-logo.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/js/images/jetpack-boost-logo.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/js/images/yoast-seo-simple-logo.svg

This file was deleted.

123 changes: 0 additions & 123 deletions packages/js/src/components/JetpackBoost.js

This file was deleted.

173 changes: 0 additions & 173 deletions packages/js/src/integrations-page/jetpack-boost-integration.js

This file was deleted.

20 changes: 0 additions & 20 deletions src/conditionals/third-party/jetpack-boost-active-conditional.php

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9ef5595

Please sign in to comment.