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

Yoast / wordpress-seo / 4a962925ccf3afcacd7832c839e073c27ff32d8f

28 Apr 2026 01:26PM UTC coverage: 56.588%. First build
4a962925ccf3afcacd7832c839e073c27ff32d8f

Pull #23205

github

web-flow
Merge pull request #23197 from Yoast/1173-add-learn-more-link-to-approve-modal

1173 add learn more link to approve modal
Pull Request #23205: Feature/content planner

9192 of 16934 branches covered (54.28%)

Branch coverage included in aggregate %.

344 of 607 new or added lines in 53 files covered. (56.67%)

15583 of 26847 relevant lines covered (58.04%)

112041.06 hits per line

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

0.0
/packages/js/src/components/EditorIntro.js
1
import { ReactComponent as Yoast } from "../../images/yoast.svg";
2
import { __ } from "@wordpress/i18n";
3

4
/**
5
 * The introduction component for the editor.
6
 *
7
 * @param {Object} props The component props.
8
 * @param {boolean} props.withPromptForContentSuggestions Whether to show the prompt for content suggestions.
9
 * @param {string} props.children The children to render inside the component.
10
 * @returns {JSX.Element} The editor introduction component.
11
 */
NEW
12
export const EditorIntro = ( { withPromptForContentSuggestions, children } ) => {
×
NEW
13
        return <div className="yst-px-4 yst-pt-4">
×
14
                <Yoast className="yst-w-14" />
15
                { children }
16
                <p className="yst-text-slate-600 yst-mb-0 yst-mt-3">
17
                        { withPromptForContentSuggestions ? __( "Optimize your content for discovery or get new content suggestions.", "wordpress-seo" )
×
18
                                : __( "Optimize your content for discovery.", "wordpress-seo" ) }
19
                </p>
20
        </div>;
21
};
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