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

Yoast / wordpress-seo / 56db0408fe2a0dbffe1c2c6cfad9b5c2f6941e34

14 Apr 2025 12:24PM UTC coverage: 52.454% (-2.1%) from 54.594%
56db0408fe2a0dbffe1c2c6cfad9b5c2f6941e34

Pull #22077

github

enricobattocchi
Adjust carryforward in Coveralls action
Pull Request #22077: Drop compatibility with PHP 7.2 and 7.3

7827 of 13877 branches covered (56.4%)

Branch coverage included in aggregate %.

29025 of 56379 relevant lines covered (51.48%)

42277.18 hits per line

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

0.0
/admin/views/user-profile.php
1
<?php
2
/**
3
 * WPSEO plugin file.
4
 *
5
 * @package WPSEO\Admin
6
 *
7
 * @uses object $user
8
 */
9

10
_deprecated_file( __FILE__, 'Yoast SEO 23.4' );
×
11

12
/* translators: %1$s expands to Yoast SEO */
13
$wpseo_up_settings_header    = sprintf( __( '%1$s settings', 'wordpress-seo' ), 'Yoast SEO' );
×
14
$wpseo_no_index_author_label = sprintf(
×
15
        /* translators: %s expands to "this author's archives". */
16
        __( 'Do not allow search engines to show %s in search results.', 'wordpress-seo' ),
×
17
        __( 'this author\'s archives', 'wordpress-seo' )
×
18
);
×
19
?>
20

21
<div class="yoast yoast-settings">
×
22

23
        <h2 id="wordpress-seo"><?php echo esc_html( $wpseo_up_settings_header ); ?></h2>
×
24

25
        <?php if ( ! WPSEO_Options::get( 'disable-author' ) ) : ?>
×
26
        <label for="wpseo_author_title"><?php esc_html_e( 'Title to use for Author page', 'wordpress-seo' ); ?></label>
×
27
        <input class="yoast-settings__text regular-text" type="text" id="wpseo_author_title" name="wpseo_author_title"
28
                value="<?php echo esc_attr( get_the_author_meta( 'wpseo_title', $user->ID ) ); ?>" /><br>
×
29

30
        <label for="wpseo_author_metadesc"><?php esc_html_e( 'Meta description to use for Author page', 'wordpress-seo' ); ?></label>
×
31
        <textarea rows="5" cols="30" id="wpseo_author_metadesc"
32
                class="yoast-settings__textarea yoast-settings__textarea--medium"
33
                name="wpseo_author_metadesc"><?php echo esc_textarea( get_the_author_meta( 'wpseo_metadesc', $user->ID ) ); ?></textarea><br>
×
34

35
        <input class="yoast-settings__checkbox double" type="checkbox" id="wpseo_noindex_author"
36
                name="wpseo_noindex_author"
37
                value="on" <?php echo ( get_the_author_meta( 'wpseo_noindex_author', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
×
38
        <label class="yoast-label-strong"
39
                for="wpseo_noindex_author"><?php echo esc_html( $wpseo_no_index_author_label ); ?></label><br>
×
40
        <?php endif; ?>
41

42
        <?php if ( WPSEO_Options::get( 'keyword_analysis_active', false ) ) : ?>
×
43
                <input class="yoast-settings__checkbox double" type="checkbox" id="wpseo_keyword_analysis_disable"
×
44
                        name="wpseo_keyword_analysis_disable" aria-describedby="wpseo_keyword_analysis_disable_desc"
×
45
                        value="on" <?php echo ( get_the_author_meta( 'wpseo_keyword_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
×
46
                <label class="yoast-label-strong"
47
                        for="wpseo_keyword_analysis_disable"><?php esc_html_e( 'Disable SEO analysis', 'wordpress-seo' ); ?></label>
×
48
                <br>
49
                <p class="description" id="wpseo_keyword_analysis_disable_desc">
50
                        <?php esc_html_e( 'Removes the focus keyphrase section from the metabox and disables all SEO-related suggestions.', 'wordpress-seo' ); ?>
×
51
                </p>
×
52
        <?php endif; ?>
×
53

54
        <?php if ( WPSEO_Options::get( 'content_analysis_active', false ) ) : ?>
×
55
                <input class="yoast-settings__checkbox double" type="checkbox" id="wpseo_content_analysis_disable"
×
56
                        name="wpseo_content_analysis_disable" aria-describedby="wpseo_content_analysis_disable_desc"
×
57
                        value="on" <?php echo ( get_the_author_meta( 'wpseo_content_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
×
58
                <label class="yoast-label-strong"
59
                        for="wpseo_content_analysis_disable"><?php esc_html_e( 'Disable readability analysis', 'wordpress-seo' ); ?></label>
×
60
                <br>
61
                <p class="description" id="wpseo_content_analysis_disable_desc">
62
                        <?php esc_html_e( 'Removes the readability analysis section from the metabox and disables all readability-related suggestions.', 'wordpress-seo' ); ?>
×
63
                </p>
×
64
        <?php endif; ?>
×
65

66
        <?php if ( WPSEO_Options::get( 'inclusive_language_analysis_active', false ) ) : ?>
×
67
                <input class="yoast-settings__checkbox double" type="checkbox" id="wpseo_inclusive_language_analysis_disable"
×
68
                        name="wpseo_inclusive_language_analysis_disable" aria-describedby="wpseo_inclusive_language_analysis_disable_desc"
×
69
                        value="on" <?php echo ( get_the_author_meta( 'wpseo_inclusive_language_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
×
70
                <label class="yoast-label-strong"
71
                        for="wpseo_inclusive_language_analysis_disable"><?php esc_html_e( 'Disable inclusive language analysis', 'wordpress-seo' ); ?></label>
×
72
                <br>
73
                <p class="description" id="wpseo_inclusive_language_analysis_disable_desc">
74
                        <?php esc_html_e( 'Removes the inclusive language analysis section from the metabox and disables all inclusive language-related suggestions.', 'wordpress-seo' ); ?>
×
75
                </p>
×
76
        <?php endif; ?>
×
77

78
        <?php do_action( 'wpseo_render_user_profile', $user ); ?>
×
79
</div>
×
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