Actualizacion 7.1.2

This commit is contained in:
2026-09-25 12:02:42 -06:00
parent fa60d1f364
commit 32351c9497
221 changed files with 19735 additions and 6951 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -35,8 +35,8 @@ const getErrorMessage = () => {
if ( ! rankMath.contentAI.plan ) {
return (
<>
{ __( 'You do not have a Content AI plan.', 'seo-by-rank-math' ) }
<a href="https://rankmath.com/kb/how-to-use-content-ai/?play-video=ioPeVIntJWw&utm_source=Plugin&utm_medium=Buy+Plan+Button&utm_campaign=WP">
{ __( 'You do not have a Rank Math AI plan.', 'seo-by-rank-math' ) }
<a href="https://rankmath.com/ai/pricing/?utm_source=Plugin&utm_medium=Buy+Plan+Button&utm_campaign=WP">
{ __( 'Choose your plan', 'seo-by-rank-math' ) }
</a>
</>
@@ -45,8 +45,8 @@ const getErrorMessage = () => {
return (
<>
{ __( 'You have exhausted your Content AI Credits.', 'seo-by-rank-math' ) }
<a href="https://rankmath.com/kb/how-to-use-content-ai/?play-video=ioPeVIntJWw&utm_source=Plugin&utm_medium=Buy+Credits+Button&utm_campaign=WP" target="_blank" rel="noreferrer">
{ __( 'You have exhausted your Rank Math AI Usage.', 'seo-by-rank-math' ) }
<a href="https://rankmath.com/ai/pricing/?utm_source=Plugin&utm_medium=Buy+Credits+Button&utm_campaign=WP" target="_blank" rel="noreferrer">
{ __( 'Get more', 'seo-by-rank-math' ) }
</a>
</>
@@ -142,7 +142,7 @@ class Admin {
$refresh_date = Helper::get_content_ai_refresh_date();
$content_ai = [
'ca_plan' => [
'label' => esc_html__( 'Content AI Plan', 'seo-by-rank-math' ),
'label' => esc_html__( 'Rank Math AI Plan', 'seo-by-rank-math' ),
'value' => \ucwords( Helper::get_content_ai_plan() ),
],
'ca_credits' => [
@@ -69,6 +69,7 @@ class Content_AI {
'audience' => (array) Helper::get_settings( 'general.content_ai_audience', 'General Audience' ),
'tone' => (array) Helper::get_settings( 'general.content_ai_tone', 'Formal' ),
'language' => Helper::get_settings( 'general.content_ai_language', Helper::content_ai_default_language() ),
'languages' => Helper::get_content_ai_languages(),
'history' => Helper::get_outputs(),
'chats' => Helper::get_chats(),
'recentPrompts' => Helper::get_recent_prompts(),
@@ -212,7 +212,7 @@ class Rest extends WP_REST_Controller {
'permission_callback' => [ $this, 'has_ping_permission' ],
'args' => [
'plan' => [
'description' => esc_html__( 'Content AI plan to update in the Database.', 'seo-by-rank-math' ),
'description' => esc_html__( 'Rank Math AI plan to update in the Database.', 'seo-by-rank-math' ),
'type' => 'string',
'required' => true,
],
@@ -675,7 +675,7 @@ class Rest extends WP_REST_Controller {
return wp_kses_post(
sprintf(
// Translators: link to the update page.
__( 'There is a new version of Content AI available! %s the Rank Math SEO plugin to use this feature.', 'seo-by-rank-math' ),
__( 'There is a new version of Rank Math AI available! %s the Rank Math SEO plugin to use this feature.', 'seo-by-rank-math' ),
'<a href="' . esc_url( self_admin_url( 'update-core.php' ) ) . '">' . __( 'Please update', 'seo-by-rank-math' ) . '</a>'
)
);