diff --git a/packages/js/src/components/WincherPerformanceReport.js b/packages/js/src/components/WincherPerformanceReport.js index a5e1e5b7afa..8f10ee73041 100644 --- a/packages/js/src/components/WincherPerformanceReport.js +++ b/packages/js/src/components/WincherPerformanceReport.js @@ -354,15 +354,7 @@ const TableExplanation = ( { isLoggedIn } ) => { ) } , - wincherLink: - { - sprintf( - /* translators: %s : Expands to "Wincher". */ - __( "%s", "wordpress-seo" ), - "Wincher" - ) - } - , + wincherLink: Wincher, }, } ) } diff --git a/packages/js/src/redux/reducers/editorContext.js b/packages/js/src/redux/reducers/editorContext.js index aeffcd66f55..eafd032df40 100644 --- a/packages/js/src/redux/reducers/editorContext.js +++ b/packages/js/src/redux/reducers/editorContext.js @@ -18,6 +18,7 @@ function getDefaultState() { termType: get( window, "wpseoScriptData.termType", "" ), postStatus: get( window, "wpseoScriptData.postStatus", "" ), isFrontPage: get( window, "wpseoScriptData.isFrontPage", "0" ) === "1", + postType: get( window, "wpseoScriptData.postType", "" ), }; } diff --git a/packages/js/src/redux/selectors/editorContext.js b/packages/js/src/redux/selectors/editorContext.js index bd046d01c51..262359321d1 100644 --- a/packages/js/src/redux/selectors/editorContext.js +++ b/packages/js/src/redux/selectors/editorContext.js @@ -30,7 +30,7 @@ export function getPostOrPageString( state ) { * @returns {boolean} Whether you're editing a product. */ export function getIsProduct( state ) { - return get( state, "editorContext.postTypeNameSingular" ) === "Product"; + return get( state, "editorContext.postType" ) === "product"; } /** diff --git a/src/integrations/admin/link-count-columns-integration.php b/src/integrations/admin/link-count-columns-integration.php index 3f2d2a8b3cc..c9f72bc7ab9 100644 --- a/src/integrations/admin/link-count-columns-integration.php +++ b/src/integrations/admin/link-count-columns-integration.php @@ -136,7 +136,7 @@ public function add_post_columns( $columns ) { $columns[ 'wpseo-' . self::COLUMN_LINKS ] = \sprintf( '%2$s', - \esc_attr__( 'Number of outgoing internal links in this post. See "Yoast Columns" text in the help tab for more info.', 'wordpress-seo' ), + \esc_attr__( 'Number of outgoing internal links in this post.', 'wordpress-seo' ), /* translators: Hidden accessibility text. */ \esc_html__( 'Outgoing internal links', 'wordpress-seo' ) ); @@ -144,7 +144,7 @@ public function add_post_columns( $columns ) { if ( $this->post_link_indexing_action->get_total_unindexed() === 0 ) { $columns[ 'wpseo-' . self::COLUMN_LINKED ] = \sprintf( '%2$s', - \esc_attr__( 'Number of internal links linking to this post. See "Yoast Columns" text in the help tab for more info.', 'wordpress-seo' ), + \esc_attr__( 'Number of internal links linking to this post.', 'wordpress-seo' ), /* translators: Hidden accessibility text. */ \esc_html__( 'Received internal links', 'wordpress-seo' ) );