• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / 7adc35280975ee18a31269fb7d485dd07fa7c76a

08 Jan 2026 01:45PM UTC coverage: 51.85%. First build
7adc35280975ee18a31269fb7d485dd07fa7c76a

push

github

thijsoo
Merge branch 'trunk' of github.com:Yoast/wordpress-seo into feature/schema_aggregator

# Conflicts:
#	inc/options/class-wpseo-option-wpseo.php
#	packages/js/src/settings/routes/site-features.js

8774 of 16273 branches covered (53.92%)

Branch coverage included in aggregate %.

121 of 477 new or added lines in 60 files covered. (25.37%)

32980 of 64256 relevant lines covered (51.33%)

44874.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/tracking/application/action-tracker.php
1
<?php
2

3
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong
4
namespace Yoast\WP\SEO\Tracking\Application;
5

6
use Yoast\WP\SEO\Helpers\Options_Helper;
7

8
/**
9
 * The tracker of actions.
10
 */
11
class Action_Tracker {
12

13
        /**
14
         * Holds the options helper instance.
15
         *
16
         * @var Options_Helper
17
         */
18
        private $options_helper;
19

20
        /**
21
         * The constructor.
22
         *
23
         * @param Options_Helper $options_helper The options helper.
24
         */
NEW
25
        public function __construct(
×
26
                Options_Helper $options_helper
27
        ) {
NEW
28
                $this->options_helper = $options_helper;
×
29
        }
30

31
        /**
32
         * Stores the version the user was on when an action was first performed.
33
         *
34
         * @param string $action_to_track The action to track.
35
         *
36
         * @return void
37
         */
NEW
38
        public function track_version_for_performed_action( string $action_to_track ): void {
×
NEW
39
                $this->options_helper->set( $action_to_track, \WPSEO_VERSION );
×
40
        }
41
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc