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

Yoast / wordpress-seo / 56eda0a1c3f5ab3e6afd7e172e853e1b86af652b

19 Mar 2026 11:30AM UTC coverage: 52.9% (-0.5%) from 53.449%
56eda0a1c3f5ab3e6afd7e172e853e1b86af652b

push

github

web-flow
Merge pull request #23064 from Yoast/1083-task-list-task-for-default-meta-descriptions

Add task for improving default meta descriptions

8568 of 16091 branches covered (53.25%)

Branch coverage included in aggregate %.

102 of 122 new or added lines in 11 files covered. (83.61%)

2 existing lines in 1 file now uncovered.

33719 of 63847 relevant lines covered (52.81%)

47113.73 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 · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc