Skip to content

Commit

Permalink
Updates to 23.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoast committed Nov 5, 2024
1 parent 03478bc commit 18db195
Show file tree
Hide file tree
Showing 77 changed files with 53 additions and 55 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
*/
(0,A.__)("Due to %5$s's strict ethical guidelines and %1$susage policies%2$s, we cannot generate suggestions for the content on this page. If you intend to use AI, kindly avoid the use of explicit, violent, copyrighted, or sexually explicit content. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo-premium"),"<a1>","</a1>","<a2>","</a2>","OpenAI"),{a1:(0,I.createElement)(_,{variant:"error",href:"https://openai.com/policies/usage-policies"}),a2:(0,I.createElement)(_,{variant:"error",href:l})})))},NI=({errorMessage:l})=>{const Z=(0,G.useSelect)((I=>I(y).selectLink("https://yoa.st/ai-generator-support")),[]);return(0,I.createElement)(N.Alert,{variant:"error"},(0,I.createElement)("span",{className:"yst-block yst-font-medium"},(0,A.__)("Something went wrong","wordpress-seo-premium")),(0,I.createElement)("p",{className:"yst-mt-2"},(0,A.sprintf)(/* translators: %s is the error response of the request. */ /* translators: %s is the error response of the request. */
(0,A.__)("The request came back with the following error: '%s'.","wordpress-seo-premium"),l)),(0,I.createElement)("p",{className:"yst-mt-2"},(0,W.createInterpolateElement)((0,A.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
(0,A.__)("Please try again later. If the issue persists, please %1$scontact our support team%2$s.","wordpress-seo-premium"),"<a>","</a>"),{a:(0,I.createElement)(_,{variant:"error",href:Z})})))};NI.propTypes={errorMessage:g().string},NI.defaultProps={errorMessage:""};const dI=()=>{const l=(0,G.useSelect)((I=>I(Y).selectAdminLink("plugins.php")),[]);return(0,I.createElement)(N.Alert,{variant:"error"},(0,I.createElement)("span",{className:"yst-block yst-font-medium"},(0,A.__)("Something went wrong","wordpress-seo-premium")),(0,I.createElement)("p",{className:"yst-mt-2"},(0,W.createInterpolateElement)((0,A.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
(0,A.__)("Please try again later. If the issue persists, please %1$scontact our support team%2$s.","wordpress-seo-premium"),"<a>","</a>"),{a:(0,I.createElement)(_,{variant:"error",href:Z})})))};NI.propTypes={errorMessage:g().string},NI.defaultProps={errorMessage:""};const dI=()=>{const l=(0,G.useSelect)((I=>I(Y).selectAdminLink("plugins.php")),[]);return(0,I.createElement)(N.Alert,{variant:"error"},(0,I.createElement)("span",{className:"yst-block yst-font-medium"},(0,A.__)("Something went wrong","wordpress-seo-premium")),(0,I.createElement)("p",{className:"yst-mt-2"},(0,W.createInterpolateElement)((0,A.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. %2$s expands to an opening link tag. %3$s expands to a closing link tag. */ /* translators: %1$s expands to Yoast SEO Premium. %2$s expands to an opening link tag. %3$s expands to a closing link tag. */
(0,A.__)("The version of %1$s is outdated. Please upgrade %1$s %2$shere%3$s!","wordpress-seo-premium"),"Yoast SEO Premium","<a>","</a>"),{a:(0,I.createElement)(_,{variant:"error",href:l})})))},YI=(I,G)=>I&&[h.product,h.productTag,h.productCategory].includes(G),mI=({currentSubscriptions:l,isSeoAnalysisActive:Z})=>{const{postType:b}=j(),c=(0,G.useSelect)((I=>I(y).getIsWooCommerceActive()),[]),d=(0,W.useMemo)((()=>!l.wooCommerceSubscription&&YI(c,b)),[c,b,l.wooCommerceSubscription]),Y=[];return l.premiumSubscription||Y.push("Yoast SEO Premium"),d&&Y.push("Yoast WooCommerce SEO"),Y.length>0?(0,I.createElement)(N.Modal.Container.Content,{className:"yst-pt-6"},(0,I.createElement)(bI,{invalidSubscriptions:Y})):Z?void 0:(0,I.createElement)(lI,null)};mI.propTypes={currentSubscriptions:g().object,isSeoAnalysisActive:g().bool};const VI=({onStartGenerating:l})=>{const Z=(0,G.useSelect)((I=>I(y).selectLink("https://yoa.st/ai-generator-terms-of-service")),[]),b=(0,G.useSelect)((I=>I(y).selectLink("https://yoa.st/ai-generator-privacy-policy")),[]),c=(0,G.useSelect)((I=>I(y).selectLink("https://yoa.st/ai-generator-learn-more")),[]),N=(0,G.useSelect)((I=>I(C).selectImageLink("ai-consent.png")),[]),{storeAiGeneratorConsent:d}=(0,G.useDispatch)(Y),m={learnMoreLink:c,termsOfServiceLink:Z,privacyPolicyLink:b,imageLink:N,onGiveConsent:(0,W.useCallback)((async()=>{await d(!0),l()}),[d,l])};return(0,I.createElement)($,{...m})};VI.propTypes={onStartGenerating:g().func.isRequired};const RI=I.forwardRef((function(G,l){return I.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:l},G),I.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),XI=I.forwardRef((function(G,l){return I.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:l},G),I.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}))})),FI=/(?<start><\/badge>|^(?!<badge>))(?<wrap>[\s\S]+?)(?<end><badge>|$)/g,hI=({height:l})=>{const[Z,b]=(0,W.useState)(""),{onClose:c}=(0,N.useModalContext)(),{editType:w,previewType:C,contentType:n}=j(),L=(()=>{const{editType:I,previewType:G}=j();let l="SEO";switch(G){case V:l="social";break;case R:l="X"}switch(I){case X:return(0,A.sprintf)(/* translators: %s is the type of title. */ /* translators: %s is the type of title. */
(0,A.__)("Generated %s titles","wordpress-seo-premium"),l);case F:return G===m&&(l="meta"),(0,A.sprintf)(/* translators: %s is the type of description. */ /* translators: %s is the type of description. */
(0,A.__)("Generated %s descriptions","wordpress-seo-premium"),l)}})(),g=(()=>{const{editType:I,previewType:G}=j();let l="SEO";switch(G){case V:l="social";break;case R:l="X"}switch(I){case X:return(0,A.sprintf)(/* translators: %s is the type of title. */ /* translators: %s is the type of title. */
Expand Down

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
*** Yoast SEO premium Changelog ***


2024-10-22 - version 23.7
* add - Introducing a new feature: AI SEO title and meta description generation for WooCommerce product categories and tags! To unlock this SEO magic, make sure you have both Yoast SEO Premium and Yoast WooCommerce SEO installed.
* fix - Fixes a bug where the _Table of Contents_ block title would not be translated when it was added to a page.
* update - Bumbs the minimum required version of Yoast SEO to 23.7
2024-11-05 - version 23.8
* update - Bumps the minimum required version of Yoast SEO to 23.8.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-ar.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-cs_CZ.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-da_DK.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-de_DE.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-el.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-en_AU.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-en_GB.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-es_ES.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-fr_FR.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-hi_IN.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-id_ID.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-it_IT.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-nl_NL.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-pl_PL.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-pt_BR.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-pt_PT.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-ro_RO.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-ru_RU.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-sv_SE.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-tr_TR.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wordpress-seo-premiumjs-uk.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion premium.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class WPSEO_Premium {
*
* @var string
*/
public const PLUGIN_VERSION_NAME = '23.7';
public const PLUGIN_VERSION_NAME = '23.8';

/**
* Machine readable version for determining whether an upgrade is needed.
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
=== Yoast SEO Premium ===
Stable tag: 23.7
Stable tag: 23.8
2 changes: 1 addition & 1 deletion src/addon-installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Addon_Installer {
/**
* The minimum Yoast SEO version required.
*/
public const MINIMUM_YOAST_SEO_VERSION = '23.7';
public const MINIMUM_YOAST_SEO_VERSION = '23.8';

/**
* The base directory for the installer.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/assets/externals.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('social-metadata-previews-2370.min.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '1c09414490cdc1f8c9ba'));
<?php return array('social-metadata-previews-2380.min.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '1c09414490cdc1f8c9ba'));
Loading

0 comments on commit 18db195

Please sign in to comment.