Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions includes/class-wpcp-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class WPCP_Admin_Notices {
private static $predefined_notices = array(
'upgrade_notice' => 'upgrade_notice',
//'spinner_notice' => 'spinner_notice',
'article_notice' => 'article_notice'
'article_notice' => 'article_notice',
);

/**
Expand Down Expand Up @@ -273,7 +273,7 @@ public static function spinner_notice() {
* @since 1.3.2
*/
public static function article_notice() {
$notice = __( 'Article search options will be changed in the next version of WP Content Pilot. Bing search will be replaced with Google Custom Search.', 'wp-content-pilot' );
$notice = sprintf( __( 'Article bing search has been replaced with custom Google Search. Please create %scustom search api key%s and %ssearch engine id%s to run article campaigns.', 'wp-content-pilot' ), '<a href="https://pluginever.com/docs/wp-content-pilot/how-to-create-google-custom-search-api/" target="_blank">', '</a>', '<a href="https://pluginever.com/docs/wp-content-pilot/how-to-create-google-search-engine-id/" target="_blank">', '</a>' );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bing has been replaced with Custom Google Search. Please create %scustom search api key%s and %ssearch engine id%s to run article campaigns.

self::add_dismissible_notice( $notice, array( 'type' => 'native notice-info', 'dismiss_class' => 'article_notice' ) );
}

Expand Down
Loading