Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wpcom_ai_site_prompt option to the site settings endpoint #34709

Merged
merged 2 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: added

Add wpcom_ai_site_prompt option to the site settings endpoint
1 change: 1 addition & 0 deletions projects/packages/sync/src/class-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ class Defaults {
'wp_mobile_excerpt',
'wp_mobile_featured_images',
'wp_page_for_privacy_policy',
'wpcom_ai_site_prompt',
'wpcom_featured_image_in_email',
'wpcom_gifting_subscription',
'wpcom_is_fse_activated',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: other

Add wpcom_ai_site_prompt option to the site settings endpoint
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
'rss_use_excerpt' => '(bool) Whether the RSS feed will use post excerpts',
'launchpad_screen' => '(string) Whether or not launchpad is presented and what size it will be',
'sm_enabled' => '(bool) Whether the newsletter subscribe modal is enabled',
'wpcom_ai_site_prompt' => '(string) User input in the AI site prompt',
),

'response_format' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
'page_for_posts' => '(string) The page ID of the page to use as the site\'s posts page. It will apply only if \'show_on_front\' is set to \'page\'.',
'subscription_options' => '(array) Array of three options used in subscription email templates: \'invitation\', \'welcome\' and \'comment_follow\' strings.',
'jetpack_verbum_subscription_modal' => '(bool) Whether Subscription modal is enabled in Verbum comments',
'wpcom_ai_site_prompt' => '(string) User input in the AI site prompt',
),

'response_format' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ public function test_sync_default_options() {
'wpcom_reader_views_enabled' => true,
'wpcom_site_setup' => '',
'jetpack_verbum_subscription_modal' => true,
'wpcom_ai_site_prompt' => '',
);

$theme_mod_key = 'theme_mods_' . get_option( 'stylesheet' );
Expand Down
Loading