Merged in feature/314-dev-dev01 (pull request #24)

auto-patch  314-dev-dev01-2024-01-25T04_09_02

* auto-patch  314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -59,6 +59,8 @@ class WPSEO_Tracking implements WPSEO_WordPress_Integration {
/**
* Registers all hooks to WordPress.
*
* @return void
*/
public function register_hooks() {
if ( ! $this->tracking_enabled() ) {
@@ -110,6 +112,8 @@ class WPSEO_Tracking implements WPSEO_WordPress_Integration {
*
* @param bool $force Whether to send the tracking data ignoring the two
* weeks time threshold. Default false.
*
* @return void
*/
public function send( $force = false ) {
if ( ! $this->should_send_tracking( $force ) ) {
@@ -216,7 +220,7 @@ class WPSEO_Tracking implements WPSEO_WordPress_Integration {
/**
* Filter: 'wpseo_enable_tracking' - Enables the data tracking of Yoast SEO Premium and add-ons.
*
* @api string $is_enabled The enabled state. Default is false.
* @param string $is_enabled The enabled state. Default is false.
*/
$tracking = apply_filters( 'wpseo_enable_tracking', false );