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

Yoast / wordpress-seo / 3209e85c9df308a2653f9e35788020dfea4d0d81

01 Apr 2026 07:09AM UTC coverage: 53.511% (-3.2%) from 56.662%
3209e85c9df308a2653f9e35788020dfea4d0d81

push

github

leonidasmi
Merge trunk

9081 of 16722 branches covered (54.31%)

Branch coverage included in aggregate %.

188 of 271 new or added lines in 30 files covered. (69.37%)

3 existing lines in 2 files now uncovered.

34583 of 64876 relevant lines covered (53.31%)

46367.1 hits per line

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

0.0
/src/task-list/application/tasks/recent-content-task-trait.php
1
<?php
2

3
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
4
// phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded
5
namespace Yoast\WP\SEO\Task_List\Application\Tasks;
6

7
/**
8
 * Trait for tasks that are about recent content.
9
 */
10
trait Recent_Content_Task_Trait {
11

12
        /**
13
         * Returns the recency timestamp.
14
         *
15
         * @return string
16
         */
NEW
17
        public function get_recency_timestamp(): string {
×
NEW
18
                return \gmdate( 'Y-m-d H:i:s', \strtotime( '-2 months' ) );
×
19
        }
20
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc