Compare commits
8 Commits
8fc987f29e
...
20b0630b90
Author | SHA1 | Date | |
---|---|---|---|
20b0630b90 | |||
9c2aca9c52 | |||
749f4dea4f | |||
6a4919fbc1 | |||
c424fe4b7a | |||
bf3bc6d8cb | |||
afc27fabd6 | |||
c57844cb05 |
@ -1222,7 +1222,7 @@ workflows:
|
||||
- acceptance_tests:
|
||||
<<: *slack-fail-post-step
|
||||
name: acceptance_oldest
|
||||
woo_core_version: 9.5.2
|
||||
woo_core_version: 9.6.2
|
||||
woo_subscriptions_version: 7.1.0
|
||||
woo_memberships_version: 1.25.2
|
||||
automate_woo_version: 6.0.33
|
||||
@ -1263,7 +1263,7 @@ workflows:
|
||||
- integration_tests:
|
||||
<<: *slack-fail-post-step
|
||||
name: integration_oldest
|
||||
woo_core_version: 9.5.2
|
||||
woo_core_version: 9.6.2
|
||||
woo_subscriptions_version: 7.1.0
|
||||
woo_memberships_version: 1.25.2
|
||||
automate_woo_version: 6.0.33
|
||||
@ -1326,7 +1326,7 @@ workflows:
|
||||
- acceptance_tests:
|
||||
<<: *slack-fail-post-step
|
||||
name: acceptance_with_premium_oldest
|
||||
woo_core_version: 9.5.2
|
||||
woo_core_version: 9.6.2
|
||||
woo_subscriptions_version: 7.1.0
|
||||
woo_memberships_version: 1.25.2
|
||||
automate_woo_version: 6.0.33
|
||||
@ -1338,7 +1338,7 @@ workflows:
|
||||
- integration_tests:
|
||||
<<: *slack-fail-post-step
|
||||
name: integration_with_premium_oldest
|
||||
woo_core_version: 9.5.2
|
||||
woo_core_version: 9.6.2
|
||||
woo_subscriptions_version: 7.1.0
|
||||
woo_memberships_version: 1.25.2
|
||||
automate_woo_version: 6.0.33
|
||||
|
@ -34,7 +34,10 @@ class ListingComponent extends Component {
|
||||
|
||||
if (autoRefresh) {
|
||||
jQuery(document).on('heartbeat-tick.mailpoet', () => {
|
||||
this.getItems();
|
||||
// Skip auto-refresh if any items are selected for bulk editing
|
||||
if (this.state.selected_ids.length === 0) {
|
||||
this.getItems();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,8 @@ mkdir $plugin_name
|
||||
# Production assets.
|
||||
echo '[BUILD] Generating production CSS and JS assets'
|
||||
rm -rf node_modules
|
||||
pnpm install --frozen-lockfile --prefer-offline
|
||||
#pnpm install --frozen-lockfile --prefer-offline
|
||||
pnpm install
|
||||
./do compile:all --env production --skip-tests
|
||||
|
||||
# Extract translations.
|
||||
@ -57,17 +58,17 @@ echo '[BUILD] Fetching prefixed production libraries'
|
||||
|
||||
# Remove Doctrinne Annotations (no need since generated metadata are packed)
|
||||
# Should be removed before `dump-autoload` to not include the annotations classes on the autoloader.
|
||||
#rm -rf vendor-prefixed/doctrine/annotations
|
||||
rm -rf vendor-prefixed/doctrine/annotations
|
||||
|
||||
# Remove DI Container files used for container dump (no need since generated metadata are packed)
|
||||
# Should be removed before `dump-autoload` to not include these classes in the autoloader.
|
||||
echo '[BUILD] Removing DI Container development dependencies'
|
||||
#rm -rf vendor-prefixed/symfony/dependency-injection/Compiler
|
||||
#rm -rf vendor-prefixed/symfony/dependency-injection/Config
|
||||
#rm -rf vendor-prefixed/symfony/dependency-injection/Dumper
|
||||
#rm -rf vendor-prefixed/symfony/dependency-injection/Loader
|
||||
#rm -rf vendor-prefixed/symfony/dependency-injection/LazyProxy
|
||||
#rm -rf vendor-prefixed/symfony/dependency-injection/Extension
|
||||
rm -rf vendor-prefixed/symfony/dependency-injection/Compiler
|
||||
rm -rf vendor-prefixed/symfony/dependency-injection/Config
|
||||
rm -rf vendor-prefixed/symfony/dependency-injection/Dumper
|
||||
rm -rf vendor-prefixed/symfony/dependency-injection/Loader
|
||||
rm -rf vendor-prefixed/symfony/dependency-injection/LazyProxy
|
||||
rm -rf vendor-prefixed/symfony/dependency-injection/Extension
|
||||
|
||||
./tools/vendor/composer.phar dump-autoload
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
== Changelog ==
|
||||
|
||||
= 5.8.1 - 2025-03-03 =
|
||||
* Changed: minimum required WooCommerce is 9.6.
|
||||
|
||||
= 5.8.0 - 2025-02-24 =
|
||||
* Added: allow generating coupon code in automations for a subscriber the email is sent to;
|
||||
* Changed: default MailPoet pages capability changed from post to page (one of improvements is hidden previous/next post links);
|
||||
|
@ -28,6 +28,7 @@ class PageRenderer {
|
||||
$this->wp->removeAction('wp_head', 'noindex', 1);
|
||||
$this->wp->addAction('wp_head', [$this, 'setMetaRobots'], 1);
|
||||
$this->wp->addFilter('the_title', [$this, 'setPageTitle']);
|
||||
$this->wp->addFilter('single_post_title', [$this, 'setPageTitle']);
|
||||
$this->wp->addFilter('the_content', [$this, 'setPageContent']);
|
||||
}
|
||||
|
||||
@ -39,18 +40,18 @@ class PageRenderer {
|
||||
|
||||
if ($separatorLocation === 'right') {
|
||||
// first part
|
||||
$titleParts[0] = $this->setPageTitle();
|
||||
$titleParts[0] = $this->getPageTitle();
|
||||
} else {
|
||||
// last part
|
||||
$lastIndex = count($titleParts) - 1;
|
||||
$titleParts[$lastIndex] = $this->setPageTitle();
|
||||
$titleParts[$lastIndex] = $this->getPageTitle();
|
||||
}
|
||||
|
||||
return implode(" $separator ", $titleParts);
|
||||
}
|
||||
|
||||
public function setWindowTitleParts($meta = []) {
|
||||
$meta['title'] = $this->setPageTitle();
|
||||
$meta['title'] = $this->getPageTitle();
|
||||
return $meta;
|
||||
}
|
||||
|
||||
@ -58,8 +59,11 @@ class PageRenderer {
|
||||
echo '<meta name="robots" content="noindex,nofollow">';
|
||||
}
|
||||
|
||||
public function setPageTitle() {
|
||||
return __("Confirm you’re not a robot", 'mailpoet');
|
||||
public function setPageTitle($title = '') {
|
||||
if ($title === __('MailPoet Page', 'mailpoet')) {
|
||||
return $this->getPageTitle();
|
||||
}
|
||||
return $title;
|
||||
}
|
||||
|
||||
public function setPageContent($pageContent) {
|
||||
@ -72,4 +76,8 @@ class PageRenderer {
|
||||
|
||||
return str_replace('[mailpoet_page]', trim($content), $pageContent);
|
||||
}
|
||||
|
||||
private function getPageTitle() {
|
||||
return __('Confirm you’re not a robot', 'mailpoet');
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/*
|
||||
* Plugin Name: MailPoet
|
||||
* Version: 5.8.0
|
||||
* Version: 5.8.1
|
||||
* Plugin URI: https://www.mailpoet.com
|
||||
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
|
||||
* Author: MailPoet
|
||||
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
$mailpoetPlugin = [
|
||||
'version' => '5.8.0',
|
||||
'version' => '5.8.1',
|
||||
'filename' => __FILE__,
|
||||
'path' => dirname(__FILE__),
|
||||
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
||||
|
@ -3,7 +3,7 @@ Contributors: mailpoet, woocommerce, automattic
|
||||
Tags: email marketing, post notification, woocommerce emails, email automation, newsletter
|
||||
Requires at least: 6.6
|
||||
Tested up to: 6.7
|
||||
Stable tag: 5.8.0
|
||||
Stable tag: 5.8.1
|
||||
Requires PHP: 7.4
|
||||
License: GPLv3
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
@ -222,9 +222,7 @@ Check our [Knowledge Base](https://kb.mailpoet.com) or contact us through our [s
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 5.8.0 - 2025-02-24 =
|
||||
* Added: allow generating coupon code in automations for a subscriber the email is sent to;
|
||||
* Changed: default MailPoet pages capability changed from post to page (one of improvements is hidden previous/next post links);
|
||||
* Fixed: Prevent removing the content block from the Newsletter template in the new editor.
|
||||
= 5.8.1 - 2025-03-03 =
|
||||
* Changed: minimum required WooCommerce is 9.6.
|
||||
|
||||
[See the changelog for all versions.](https://github.com/mailpoet/mailpoet/blob/trunk/mailpoet/changelog.txt)
|
||||
|
Reference in New Issue
Block a user