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

Yoast / wordpress-seo / 3a2176a06ffbb5a6df5ac2c72b3eb7f1b8cf58b0

26 Jun 2025 10:00AM UTC coverage: 53.878% (+0.2%) from 53.652%
3a2176a06ffbb5a6df5ac2c72b3eb7f1b8cf58b0

push

github

leonidasmi
Merge branch 'trunk' into feature/llms-txt-phase-2

8246 of 14334 branches covered (57.53%)

Branch coverage included in aggregate %.

148 of 222 new or added lines in 28 files covered. (66.67%)

7 existing lines in 3 files now uncovered.

30480 of 57543 relevant lines covered (52.97%)

41493.52 hits per line

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

0.0
/src/conditionals/admin/licenses-page-conditional.php
1
<?php
2

3
namespace Yoast\WP\SEO\Conditionals\Admin;
4

5
use Yoast\WP\SEO\Conditionals\Conditional;
6
use Yoast\WP\SEO\Plans\User_Interface\Plans_Page_Integration;
7

8
/**
9
 * Conditional that is only met when current page is the tools page.
10
 */
11
class Licenses_Page_Conditional implements Conditional {
12

13
        /**
14
         * Returns whether or not this conditional is met.
15
         *
16
         * @return bool Whether or not the conditional is met.
17
         */
18
        public function is_met() {
×
19
                global $pagenow;
×
20

21
                if ( $pagenow !== 'admin.php' ) {
×
22
                        return false;
×
23
                }
24

25
                // phpcs:ignore WordPress.Security.NonceVerification -- This is not a form.
NEW
26
                if ( isset( $_GET['page'] ) && $_GET['page'] === Plans_Page_Integration::PAGE ) {
×
27
                        return true;
×
28
                }
29

30
                return false;
×
31
        }
32
}
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