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

Yoast / wordpress-seo / 42ac58cfbf18724862036a3b2cb2b547525075c2

12 Mar 2026 09:57AM UTC coverage: 50.9%. First build
42ac58cfbf18724862036a3b2cb2b547525075c2

push

github

web-flow
Merge pull request #23019 from Yoast/917-nice-to-have-add-task-to-remove-sample-page

917 add task to remove sample page

24 of 38 new or added lines in 2 files covered. (63.16%)

19113 of 37550 relevant lines covered (50.9%)

4.1 hits per line

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

0.0
/src/task-list/domain/exceptions/complete-sample-page-task-exception.php
1
<?php
2

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

6
use Exception;
7

8
/**
9
 * Exception for when we can't complete the sample page task.
10
 */
11
class Complete_Sample_Page_Task_Exception extends Exception {
12

13
        /**
14
         * Constructor of the exception.
15
         */
NEW
16
        public function __construct() {
×
NEW
17
                parent::__construct( \esc_html__( 'Failed to delete the Sample Page.', 'wordpress-seo' ), 400 );
×
18
        }
19
}
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