Update KB links to new URL

[PREMIUM-127]
This commit is contained in:
Ján Mikláš
2019-07-29 13:12:29 +02:00
committed by M. Shull
parent 9ddc737b79
commit 8c26e2852b
26 changed files with 44 additions and 44 deletions

View File

@ -11,16 +11,16 @@ function KnowledgeBase() {
<p>{MailPoet.I18n.t('knowledgeBaseIntro')}</p>
<ul>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/116-common-problems">Common Problems</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/165-newsletters">Newsletters</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/156-migration-questions">Migration Questions</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/149-sending-methods">Sending Methods</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/139-subscription-forms">Subscription Forms</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/114-getting-started">Getting Started</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/123-newsletter-designer">Newsletter Designer</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/category/121-subscribers-and-lists">Subscribers and Lists</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/116-common-problems">Common Problems</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/165-newsletters">Newsletters</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/156-migration-questions">Migration Questions</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/149-sending-methods">Sending Methods</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/139-subscription-forms">Subscription Forms</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/114-getting-started">Getting Started</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/123-newsletter-designer">Newsletter Designer</a></li>
<li><a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/category/121-subscribers-and-lists">Subscribers and Lists</a></li>
</ul>
<a target="_blank" rel="noreferrer noopener" href="http://beta.docs.mailpoet.com/" className="button button-primary">{MailPoet.I18n.t('knowledgeBaseButton')}</a>
<a target="_blank" rel="noreferrer noopener" href="https://kb.mailpoet.com/" className="button button-primary">{MailPoet.I18n.t('knowledgeBaseButton')}</a>
</div>
);
}

View File

@ -38,7 +38,7 @@ function renderCronSection(data) {
<p>
<a href={url} target="_blank" rel="noopener noreferrer">{url}</a>
</p>
{renderStatusMessage(status, MailPoet.I18n.t('systemStatusCronConnectionUnsuccessfulInfo'), '//beta.docs.mailpoet.com/article/231-sending-does-not-work')}
{renderStatusMessage(status, MailPoet.I18n.t('systemStatusCronConnectionUnsuccessfulInfo'), 'https://kb.mailpoet.com/article/231-sending-does-not-work')}
</div>
);
}

View File

@ -21,7 +21,7 @@ const NewsletterGeneralStats = ({ newsletter }) => {
const headlineOpened = `${percentageOpenedDisplay}% ${MailPoet.I18n.t('percentageOpened')}`;
const headlineClicked = `${percentageClickedDisplay}% ${MailPoet.I18n.t('percentageClicked')}`;
const headlineUnsubscribed = `${percentageUnsubscribedDisplay}% ${MailPoet.I18n.t('percentageUnsubscribed')}`;
const statsKBLink = 'http://beta.docs.mailpoet.com/article/190-whats-a-good-email-open-rate';
const statsKBLink = 'https://kb.mailpoet.com/article/190-whats-a-good-email-open-rate';
// thresholds to display badges
const minNewslettersSent = 20;
const minNewslettersOpened = 5;

View File

@ -93,7 +93,7 @@ const Statistics = ({ newsletter, isSent, currentTime }) => {
showKbLink = false;
}
const improveStatsKBLink = 'http://beta.docs.mailpoet.com/article/191-how-to-improve-my-open-and-click-rates';
const improveStatsKBLink = 'https://kb.mailpoet.com/article/191-how-to-improve-my-open-and-click-rates';
// thresholds to display badges
const minNewslettersSent = 20;

View File

@ -59,7 +59,7 @@ export const checkCronStatus = (state) => {
/\[link\](.*?)\[\/link\]/g,
match => (
<a
href="https://beta.docs.mailpoet.com/article/231-sending-does-not-work"
href="https://kb.mailpoet.com/article/231-sending-does-not-work"
target="_blank"
rel="noopener noreferrer"
key="check-cron"

View File

@ -115,7 +115,7 @@ class NewsletterTypes extends React.Component {
slug: 'welcome',
title: MailPoet.I18n.t('welcomeNewsletterTypeTitle'),
description: MailPoet.I18n.t('welcomeNewsletterTypeDescription'),
videoGuide: 'https://beta.docs.mailpoet.com/article/254-video-guide-to-welcome-emails',
videoGuide: 'https://kb.mailpoet.com/article/254-video-guide-to-welcome-emails',
action: (function action() {
return (
<a
@ -141,7 +141,7 @@ class NewsletterTypes extends React.Component {
slug: 'notification',
title: MailPoet.I18n.t('postNotificationNewsletterTypeTitle'),
description: MailPoet.I18n.t('postNotificationNewsletterTypeDescription'),
videoGuide: 'https://beta.docs.mailpoet.com/article/210-video-guide-to-post-notifications',
videoGuide: 'https://kb.mailpoet.com/article/210-video-guide-to-post-notifications',
action: (function action() {
return (
<a

View File

@ -145,7 +145,7 @@ const itemActions = [
link: function link() {
return (
<a
href="http://docs.mailpoet.com/article/133-the-wordpress-users-list"
href="https://kb.mailpoet.com/article/133-the-wordpress-users-list"
target="_blank"
rel="noopener noreferrer"
>

View File

@ -109,7 +109,7 @@ class Initializer {
} catch (\Exception $e) {
return WPNotice::displayError(Helpers::replaceLinkTags(
WPFunctions::get()->__('Unable to connect to the database (the database is unable to open a file or folder), the connection is likely not configured correctly. Please read our [link] Knowledge Base article [/link] for steps how to resolve it.', 'mailpoet'),
'//beta.docs.mailpoet.com/article/200-solving-database-connection-issues',
'https://kb.mailpoet.com/article/200-solving-database-connection-issues',
['target' => '_blank']
));
}

View File

@ -63,7 +63,7 @@ class RequirementsChecker {
if (!is_dir($paths['cache_path']) && !wp_mkdir_p($paths['cache_path'])) {
$error = Helpers::replaceLinkTags(
WPFunctions::get()->__('MailPoet requires write permissions inside the /wp-content/uploads folder. Please read our [link]instructions[/link] on how to resolve this issue.', 'mailpoet'),
'//beta.docs.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#folder_permissions',
'https://kb.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#folder_permissions',
['target' => '_blank']
);
return $this->processError($error);
@ -84,7 +84,7 @@ class RequirementsChecker {
if (extension_loaded('pdo') && extension_loaded('pdo_mysql')) return true;
$error = Helpers::replaceLinkTags(
WPFunctions::get()->__('MailPoet requires a PDO_MYSQL PHP extension. Please read our [link]instructions[/link] on how to resolve this issue.', 'mailpoet'),
'//beta.docs.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#php_extension',
'https://kb.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#php_extension',
['target' => '_blank']
);
return $this->processError($error);
@ -101,7 +101,7 @@ class RequirementsChecker {
if (extension_loaded('xml')) return true;
$error = Helpers::replaceLinkTags(
WPFunctions::get()->__('MailPoet requires an XML PHP extension. Please read our [link]instructions[/link] on how to resolve this issue.', 'mailpoet'),
'//beta.docs.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#php_extension',
'https://kb.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#php_extension',
['target' => '_blank']
);
return $this->processError($error);

View File

@ -34,7 +34,7 @@ class AfterMigrationNotice {
private function display() {
$message = Helpers::replaceLinkTags(
WPFunctions::get()->__('Congrats! Youre progressing well so far. Complete your upgrade thanks to this [link]checklist[/link].', 'mailpoet'),
'https://beta.docs.mailpoet.com/article/199-checklist-after-migrating-to-mailpoet3',
'https://kb.mailpoet.com/article/199-checklist-after-migrating-to-mailpoet3',
['target' => '_blank']
);

View File

@ -52,7 +52,7 @@ if (version_compare(phpversion(), '5.6.0', '<')) {
function mailpoet_wp_version_notice() {
$notice = str_replace(
'[link]',
'<a href="//beta.docs.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#wp_version" target="_blank">',
'<a href="https://kb.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#wp_version" target="_blank">',
__('MailPoet plugin requires WordPress version 4.6 or newer. Please read our [link]instructions[/link] on how to resolve this issue.', 'mailpoet')
);
$notice = str_replace('[/link]', '</a>', $notice);
@ -63,7 +63,7 @@ function mailpoet_wp_version_notice() {
function mailpoet_php_version_notice() {
$notice = str_replace(
'[link]',
'<a href="//beta.docs.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#php_version" target="_blank">',
'<a href="https://kb.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3#php_version" target="_blank">',
__('MailPoet requires PHP version 5.6 or newer (version 7.2 recommended). Please read our [link]instructions[/link] on how to upgrade your site.', 'mailpoet')
);
$notice = str_replace('[/link]', '</a>', $notice);

View File

@ -52,7 +52,7 @@ Please note:
* Not optimized for right-to-left (RTL) languages yet
* Multisite is not supported
* Review [our minimum requirements](http://beta.docs.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3)
* Review [our minimum requirements](https://kb.mailpoet.com/article/152-minimum-requirements-for-mailpoet-3)
= WooCommerce emails (Premium) =
@ -79,7 +79,7 @@ The Premium version adds the following features:
* Same day support (Monday to Friday)
* Send to over 2,000 subscribers with your own sending method (host, SendGrid, Amazon SES)
See the [short video summary on the Premium](http://beta.docs.mailpoet.com/article/208-video-overview-of-mailpoet-premium)
See the [short video summary on the Premium](https://kb.mailpoet.com/article/208-video-overview-of-mailpoet-premium)
= MailPoet Sending Service =
**MailPoet Sending Service is free for your first 1,000 subscribers (pay as you go afterwards). [Read More](https://www.mailpoet.com/free-plan/)**

View File

@ -197,7 +197,7 @@
<p class="help">
<%= __('<strong>Tip:</strong> read our [link]GDPR guide[/link] to make sure your form follows the privacy directive of the European Union.')
|replaceLinkTags('https://beta.docs.mailpoet.com/article/246-guide-to-conform-to-gdpr?utm_source=plugin&utm_medium=formeditor&utm_campaign=helpdocs', {'target' : '_blank', id: 'mailpoet_helper_link'})
|replaceLinkTags('https://kb.mailpoet.com/article/246-guide-to-conform-to-gdpr?utm_source=plugin&utm_medium=formeditor&utm_campaign=helpdocs', {'target' : '_blank', id: 'mailpoet_helper_link'})
|raw
%>
</p>

View File

@ -6,14 +6,14 @@
<div>
<p class="mailpoet_sending_methods_help help">
<%= __('<strong>Tip:</strong> we have a [link]list of plugins[/link] that work with MailPoet if you need fancier forms.')
|replaceLinkTags('http://beta.docs.mailpoet.com/article/198-list-of-forms-plugins-that-work-with-mailpoet?utm_source=plugin&utm_medium=settings&utm_campaign=helpdocs', {'target' : '_blank', id: 'mailpoet_helper_link'})
|replaceLinkTags('https://kb.mailpoet.com/article/198-list-of-forms-plugins-that-work-with-mailpoet?utm_source=plugin&utm_medium=settings&utm_campaign=helpdocs', {'target' : '_blank', id: 'mailpoet_helper_link'})
|raw
%>
</p>
</div>
<% set badgeClassName = (is_new_user == true) ? 'mailpoet_badge mailpoet_badge_video' : 'mailpoet_badge mailpoet_badge_video mailpoet_badge_video_grey' %>
<a class="<%= badgeClassName %>" href="https://beta.docs.mailpoet.com/article/236-video-guide-setting-up-forms" target="_blank">
<a class="<%= badgeClassName %>" href="https://kb.mailpoet.com/article/236-video-guide-setting-up-forms" target="_blank">
<span class="dashicons dashicons-format-video"></span><%= __('See video guide') %>
</a>

View File

@ -369,7 +369,7 @@
<% block translations %>
<% set helpTooltipSendPreview = __("Didn't receive the test email? Read our [link]quick guide[/link] to sending issues. <br><br>A MailPoet logo will appear in the footer of all emails sent with the free version of MailPoet.")
|replaceLinkTags('http://beta.docs.mailpoet.com/article/146-my-newsletters-are-not-being-received', {'target' : '_blank'})
|replaceLinkTags('https://kb.mailpoet.com/article/146-my-newsletters-are-not-being-received', {'target' : '_blank'})
|escape('js') %>
<%= localize({
'failedToFetchAvailablePosts': __('Failed to fetch available posts'),

View File

@ -66,7 +66,7 @@
<input type="button" class="button button-primary mailpoet_done_editing" data-automation-id="footer_done_button" value="<%= __('Done') | escape('html_attr') %>" />
</div>
<p class="mailpoet_settings_notice"><%= __('If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead.')|replaceLinkTags('https://beta.docs.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts', {'target' : '_blank'})|raw %></p>
<p class="mailpoet_settings_notice"><%= __('If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead.')|replaceLinkTags('https://kb.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts', {'target' : '_blank'})|raw %></p>
<script type="text/javascript">
fontsSelect('#mailpoet_field_footer_text_font_family');

View File

@ -67,7 +67,7 @@
<input type="button" class="button button-primary mailpoet_done_editing" data-automation-id="header_done_button" value="<%= __('Done') | escape('html_attr') %>" />
</div>
<p class="mailpoet_settings_notice"><%= __('If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead.')|replaceLinkTags('https://beta.docs.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts', {'target' : '_blank'})|raw %></p>
<p class="mailpoet_settings_notice"><%= __('If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead.')|replaceLinkTags('https://kb.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts', {'target' : '_blank'})|raw %></p>
<script type="text/javascript">
fontsSelect('#mailpoet_field_header_text_font_family');

View File

@ -129,7 +129,7 @@
</span><%= __('Global background') %>
</div>
</form>
<p class="mailpoet_settings_notice"><%= __('If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead.')|replaceLinkTags('https://beta.docs.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts', {'target' : '_blank'})|raw %></p>
<p class="mailpoet_settings_notice"><%= __('If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead.')|replaceLinkTags('https://kb.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts', {'target' : '_blank'})|raw %></p>
</div>
<script type="text/javascript">
fontsSelect('.mailpoet_font_family.mailpoet_select');

View File

@ -93,7 +93,7 @@
<td colspan="4">
<div style="text-align: center">
<a
href="http://beta.docs.mailpoet.com/article/181-comparison-table-of-sending-methods?utm_source=plugin&utm_medium=premium&utm_campaign=compare"
href="https://kb.mailpoet.com/article/181-comparison-table-of-sending-methods?utm_source=plugin&utm_medium=premium&utm_campaign=compare"
target="_blank"
>
<%= __("View full comparison table") %>
@ -104,7 +104,7 @@
</tbody>
</table>
<p><%= __("Spammers are ineligible to use the MailPoet Sending Service. We reserve the right to cancel any sending plan if we detect more than 5% hard bounces. [link]Customers are required to clean their lists before joining MailPoet[/link].")
|replaceLinkTags('http://beta.docs.mailpoet.com/article/127-checklist-before-importing-subscribers?utm_source=plugin&utm_medium=premium&utm_campaign=clean-lists', {'target' : '_blank'})
|replaceLinkTags('https://kb.mailpoet.com/article/127-checklist-before-importing-subscribers?utm_source=plugin&utm_medium=premium&utm_campaign=clean-lists', {'target' : '_blank'})
|raw
%></p>
</div>

View File

@ -33,7 +33,7 @@
</label>
<p class="description">
<%= __('Select what will activate your newsletter queue.') %>
<a href="http://docs.mailpoet.com/article/129-what-is-the-newsletter-task-scheduler"
<a href="https://kb.mailpoet.com/article/129-what-is-the-newsletter-task-scheduler"
target="_blank"
><%= _x('Read more.', 'support article link label') %></a>
</p>
@ -63,7 +63,7 @@
checked="checked"
<% endif %>
/><%= __("MailPoet's own script. Doesn't work with [link]these hosts[/link].")
|replaceLinkTags('http://docs.mailpoet.com/article/131-hosts-which-mailpoet-task-scheduler-wont-work', {'target' : '_blank'})
|replaceLinkTags('https://kb.mailpoet.com/article/131-hosts-which-mailpoet-task-scheduler-wont-work', {'target' : '_blank'})
|raw
%>
</label>
@ -235,7 +235,7 @@
<p class="description">
<%= __('Share anonymous data and help us improve the plugin. We appreciate your help!') %>
<a
href="http://docs.mailpoet.com/article/130-sharing-your-data-with-us"
href="https://kb.mailpoet.com/article/130-sharing-your-data-with-us"
target="_blank"
><%= _x('Read more.', 'support article link label') %></a>
</p>

View File

@ -447,7 +447,7 @@
<td>
<p>
<a
href="https://beta.docs.mailpoet.com/article/246-guide-to-conform-to-gdpr"
href="https://kb.mailpoet.com/article/246-guide-to-conform-to-gdpr"
title="<%= __('Read our guide') %>"
target="_blank"
><%= __('Read our guide') %></a>

View File

@ -85,7 +85,7 @@
<% set badgeClassName = (is_new_user == true) ? 'mailpoet_badge mailpoet_badge_video' : 'mailpoet_badge mailpoet_badge_video mailpoet_badge_video_grey' %>
<%= __('[link]%s See video guide[/link]')
|format('<span class="dashicons dashicons-format-video"></span>')
|replaceLinkTags('https://beta.docs.mailpoet.com/article/235-video-guide-sending-options', {'class' : badgeClassName, 'target' : '_blank'}, 'link')
|replaceLinkTags('https://kb.mailpoet.com/article/235-video-guide-sending-options', {'class' : badgeClassName, 'target' : '_blank'}, 'link')
|raw
%>
</p>
@ -663,7 +663,7 @@
<script type="text/javascript">
jQuery(function($) {
var tooltip = '<%= __("Didn't receive the test email? Read our [link]quick guide[/link] to sending issues.")
|replaceLinkTags('http://beta.docs.mailpoet.com/article/146-my-newsletters-are-not-being-received', {'target' : '_blank'})
|replaceLinkTags('https://kb.mailpoet.com/article/146-my-newsletters-are-not-being-received', {'target' : '_blank'})
|escape('js') %>'
MailPoet.helpTooltip.show(document.getElementById("tooltip-test"), {

View File

@ -57,7 +57,7 @@
</a>
<span>
<%= __('[link]Read guide[/link] on how to install Premium.')
|replaceLinkTags('http://beta.docs.mailpoet.com/article/194-instructions-to-install-the-premium-plugin', {'target' : '_blank'})
|replaceLinkTags('https://kb.mailpoet.com/article/194-instructions-to-install-the-premium-plugin', {'target' : '_blank'})
|raw
%>
</span>

View File

@ -8,7 +8,7 @@
</label>
<p class="description">
<%= __("If you enable this option, your subscribers will first receive a confirmation email after they subscribe. Once they confirm their subscription (via this email), they will be marked as 'confirmed' and will begin to receive your email newsletters.") %>
<a href="http://docs.mailpoet.com/article/128-why-you-should-use-signup-confirmation-double-opt-in" target="_blank"><%= __('Read more about Double Opt-in confirmation.') %></a>
<a href="https://kb.mailpoet.com/article/128-why-you-should-use-signup-confirmation-double-opt-in" target="_blank"><%= __('Read more about Double Opt-in confirmation.') %></a>
</p>
</th>
<td>

View File

@ -39,7 +39,7 @@
<%= __('List of fields to export') %>
<p class="description">
<%= __('[link]Read about the Global status.[/link]')
|replaceLinkTags('http://beta.docs.mailpoet.com/article/245-what-is-global-status', {'target' : '_blank'})
|replaceLinkTags('https://kb.mailpoet.com/article/245-what-is-global-status', {'target' : '_blank'})
|raw
%>
</p>

View File

@ -1,5 +1,5 @@
<% set csvDescription = __('This file needs to be formatted in a CSV style (comma-separated-values.) Look at some [link]examples on our support site[/link].') %>
<% set csvKBLink = 'http://docs.mailpoet.com/article/126-importing-subscribers-with-csv-files' %>
<% set csvKBLink = 'https://kb.mailpoet.com/article/126-importing-subscribers-with-csv-files' %>
<% extends 'layout.html' %>
<% block content %>
<div id="mailpoet_subscribers_import" class="wrap">