Version Description
- Fix HTML linebreaks in emails - thanks @autoschieber
Download this release
Release Info
| Developer | lkoudal |
| Plugin | |
| Version | 4.1.9.2 |
| Comparing to | |
| See all releases | |
Code changes from version 4.1.9 to 4.1.9.2
- delete-duplicate-posts.php +15 -5
- readme.txt +7 -1
delete-duplicate-posts.php
CHANGED
|
@@ -4,7 +4,7 @@ Plugin Name: Delete Duplicate Posts
|
|
| 4 |
Plugin Script: delete-duplicate-posts.php
|
| 5 |
Plugin URI: https://cleverplugins.com
|
| 6 |
Description: Remove duplicate blogposts on your blog! Searches and removes duplicate posts and their post meta tags. You can delete posts, pages and other Custom Post Types enabled on your website.
|
| 7 |
-
Version: 4.1.9
|
| 8 |
Author: cleverplugins.com
|
| 9 |
Author URI: https://cleverplugins.com
|
| 10 |
Min WP Version: 4.3
|
|
@@ -14,6 +14,12 @@ Domain Path: /languages
|
|
| 14 |
|
| 15 |
== Changelog ==
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
= 4.1.9 =
|
| 18 |
* Optimized delete routines - Thank you Claire and Vaclav :-) Up to 20-30% faster deleting.
|
| 19 |
* Added timing functions so you can see how long it takes to delete in the log.
|
|
@@ -268,11 +274,15 @@ if (!class_exists('delete_duplicate_posts')) {
|
|
| 268 |
|
| 269 |
$blogurl = site_url();
|
| 270 |
|
| 271 |
-
$messagebody = sprintf( __( "Hi Admin, I have deleted
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 272 |
|
| 273 |
-
$
|
| 274 |
-
$headers = "From: $blogurl <$adminemail>" . "\r\n";
|
| 275 |
-
$mailstatus = wp_mail($adminemail, __('Deleted Duplicate Posts Status','delete-duplicate-posts'), $messagebody, $headers);
|
| 276 |
|
| 277 |
if ($mailstatus) {
|
| 278 |
$this->log(sprintf( __( "Status email sent to %s.", 'delete-duplicate-posts'), $adminemail));
|
| 4 |
Plugin Script: delete-duplicate-posts.php
|
| 5 |
Plugin URI: https://cleverplugins.com
|
| 6 |
Description: Remove duplicate blogposts on your blog! Searches and removes duplicate posts and their post meta tags. You can delete posts, pages and other Custom Post Types enabled on your website.
|
| 7 |
+
Version: 4.1.9.2
|
| 8 |
Author: cleverplugins.com
|
| 9 |
Author URI: https://cleverplugins.com
|
| 10 |
Min WP Version: 4.3
|
| 14 |
|
| 15 |
== Changelog ==
|
| 16 |
|
| 17 |
+
= 4.1.9.2 =
|
| 18 |
+
* Fix HTML linebreaks in emails - thanks @autoschieber
|
| 19 |
+
|
| 20 |
+
= 4.1.9.1 =
|
| 21 |
+
* Fix missing 3rd party scripts.
|
| 22 |
+
|
| 23 |
= 4.1.9 =
|
| 24 |
* Optimized delete routines - Thank you Claire and Vaclav :-) Up to 20-30% faster deleting.
|
| 25 |
* Added timing functions so you can see how long it takes to delete in the log.
|
| 274 |
|
| 275 |
$blogurl = site_url();
|
| 276 |
|
| 277 |
+
$messagebody = sprintf( __( "Hi Admin, I have deleted %d posts on your blog, %s.",'delete-duplicate-posts'), $dispcount, $blogurl)."\r\n";
|
| 278 |
+
|
| 279 |
+
$messagebody .= __( "You are receiving this e-mail because you have turned on e-mail notifications by the plugin, Delete Duplicate Posts.</em>",'delete-duplicate-posts')."\r\n";
|
| 280 |
+
|
| 281 |
+
$messagebody .= "Made by <a href='https://cleverplugins.com' target='_blank'>cleverplugins.com</a>"."\r\n";
|
| 282 |
+
|
| 283 |
+
$headers = "From: $blogurl <$adminemail>"."\r\n";
|
| 284 |
|
| 285 |
+
$mailstatus = wp_mail($adminemail, __('Deleted Duplicate Posts Update','delete-duplicate-posts').' '.$blogurl, $messagebody, $headers);
|
|
|
|
|
|
|
| 286 |
|
| 287 |
if ($mailstatus) {
|
| 288 |
$this->log(sprintf( __( "Status email sent to %s.", 'delete-duplicate-posts'), $adminemail));
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: delete duplicate posts, delete duplicate,
|
|
| 4 |
Donate link: https://cleverplugins.com
|
| 5 |
Requires at least: 4.3
|
| 6 |
Tested up to: 4.8.2
|
| 7 |
-
Stable tag: 4.1.9
|
| 8 |
Requires PHP: 5.6
|
| 9 |
|
| 10 |
|
|
@@ -38,6 +38,12 @@ You should restore the backup you took of your website before you ran this tool.
|
|
| 38 |
|
| 39 |
== Changelog ==
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
= 4.1.9 =
|
| 42 |
* Optimized delete routines - Thank you Claire and Vaclav :-) Up to 20-30% faster deleting.
|
| 43 |
* Added timing functions so you can see how long it takes to delete in the log.
|
| 4 |
Donate link: https://cleverplugins.com
|
| 5 |
Requires at least: 4.3
|
| 6 |
Tested up to: 4.8.2
|
| 7 |
+
Stable tag: 4.1.9.2
|
| 8 |
Requires PHP: 5.6
|
| 9 |
|
| 10 |
|
| 38 |
|
| 39 |
== Changelog ==
|
| 40 |
|
| 41 |
+
= 4.1.9.2 =
|
| 42 |
+
* Fix HTML linebreaks in emails - thanks @autoschieber
|
| 43 |
+
|
| 44 |
+
= 4.1.9.1 =
|
| 45 |
+
* Fix missing 3rd party scripts.
|
| 46 |
+
|
| 47 |
= 4.1.9 =
|
| 48 |
* Optimized delete routines - Thank you Claire and Vaclav :-) Up to 20-30% faster deleting.
|
| 49 |
* Added timing functions so you can see how long it takes to delete in the log.
|
