PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.9.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.9.0
2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 trunk 1.0.0 1.0.1 1.0.2 All 50 releases
← All changes | includes/abilities/settings/class-get-author-archives-settings.php +4 -4 1.28.0 → 2.9.0 View file →
@@ -35,10 +35,10 @@
35 35 /**
36 36 * String settings: API alias => [ storage_key, default ].
37 37 */
38 38 private const STRING_MAP = [
39 - 'title' => [ 'author_archives_title', '%author_name% – %site_title% %page%' ],
40 - 'meta_description' => [ 'author_archives_meta_desc', 'Articles written by %author_name% on %site_title%' ],
39 + 'title' => [ 'author_archives_title', Settings::DEFAULT_AUTHOR_ARCHIVES_TITLE ],
40 + 'meta_description' => [ 'author_archives_meta_desc', Settings::DEFAULT_AUTHOR_ARCHIVES_META_DESC ],
41 41 ];
42 42
43 43 /**
44 44 * Constructor.
@@ -45,9 +45,9 @@
45 45 */
46 46 public function __construct() {
47 47 $this->id = 'thinkrank/get-author-archives-settings';
48 48 $this->label = __( 'Get ThinkRank Author Archives Settings', 'thinkrank' );
49 - $this->description = __( 'Retrieve ThinkRank author archives settings: enable/index toggles, empty-archive visibility, and the SEO title/meta description templates.', 'thinkrank' );
49 + $this->description = __( 'Retrieve ThinkRank author archives settings: enable/index toggles, empty-archive visibility, and the SEO title/meta description templates. Use update-author-archives-settings to change them.', 'thinkrank' );
50 50 }
51 51
52 52 /**
53 53 * {@inheritDoc}
@@ -72,9 +72,9 @@
72 72 public function get_input_schema() {
73 73 return [
74 74 'type' => 'object',
75 75 'additionalProperties' => false,
76 - 'properties' => [],
76 + 'properties' => self::empty_properties(),
77 77 ];
78 78 }
79 79
80 80 /**