diff --git a/README.md b/README.md index c914fd8..4970813 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Attachments are uploaded to the WordPress Media Library and deleted along with t DCO Comment Attachment is also available on [WordPress.org](https://wordpress.org/plugins/dco-comment-attachment/). # Version -2.0.0 +2.1.0 [![Build Status](https://travis-ci.org/yadenis/DCO-Comment-Attachment.svg?branch=master)](https://travis-ci.org/yadenis/DCO-Comment-Attachment) @@ -44,6 +44,11 @@ DCO Comment Attachment tested with: Feel free to create [a new issue](https://github.com/yadenis/DCO-Comment-Attachment/issues) if you need integration with another plugin. # Changelog +## 2.1.0 +- Added links to attached attachments to the new comment notification email. +- Added the feature to force moderation comments with attachments. +- Added compatible with SVG Support plugin. + ## 2.0.0 - Added the feature to upload multiple files. - Added support for some lightbox plugins (see FAQ for details). diff --git a/dco-comment-attachment.php b/dco-comment-attachment.php index 72306d5..77050ad 100644 --- a/dco-comment-attachment.php +++ b/dco-comment-attachment.php @@ -12,7 +12,7 @@ * Plugin Name: DCO Comment Attachment * Plugin URI: https://denisco.pro/dco-comment-attachment/ * Description: Allows your visitors to attach files with their comments - * Version: 2.0.0 + * Version: 2.1.0 * Author: Denis Yanchevskiy * Author URI: https://denisco.pro * License: GPLv2 or later @@ -24,7 +24,7 @@ define( 'DCO_CA_URL', plugin_dir_url( __FILE__ ) ); define( 'DCO_CA_PATH', plugin_dir_path( __FILE__ ) ); define( 'DCO_CA_BASENAME', plugin_basename( __FILE__ ) ); -define( 'DCO_CA_VERSION', '2.0.0' ); +define( 'DCO_CA_VERSION', '2.1.0' ); require_once DCO_CA_PATH . 'includes/functions.php'; diff --git a/includes/class-dco-ca-admin.php b/includes/class-dco-ca-admin.php index 9337c47..c0d35e0 100644 --- a/includes/class-dco-ca-admin.php +++ b/includes/class-dco-ca-admin.php @@ -328,7 +328,7 @@ public function unassign_attachment( $comment_id ) { /** * Adds links to attached attachments to the new comment notification email. * - * @since x.x.x + * @since 2.1.0 * * @param string $notify_message The comment notification email text. * @param int $comment_id Comment ID. diff --git a/includes/class-dco-ca.php b/includes/class-dco-ca.php index cc48294..883e08b 100644 --- a/includes/class-dco-ca.php +++ b/includes/class-dco-ca.php @@ -370,7 +370,7 @@ public function get_upload_error( $error_code ) { /** * Determines if the comment will be automatically approved or manual moderation is required. * - * @since x.x.x + * @since 2.1.0 * * @param int|string|WP_Error $approved The approval status. Accepts 1, 0, 'spam', 'trash', * or WP_Error. diff --git a/readme.txt b/readme.txt index ce27a26..fe2fc03 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: comment, comment attachment, attachment, image, video Requires at least: 4.6 Tested up to: 5.6 Requires PHP: 5.6 -Stable tag: 2.0.0 +Stable tag: 2.1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Donate link: https://www.donationalerts.com/r/denisco @@ -58,6 +58,11 @@ Feel free to create [a new topic](https://wordpress.org/support/plugin/dco-comme == Changelog == += 2.1.0 = +* Added links to attached attachments to the new comment notification email. +* Added the feature to force moderation comments with attachments. +* Added compatible with SVG Support plugin. + = 2.0.0 = * Added the feature to upload multiple files. * Added support for some lightbox plugins (see FAQ for details). @@ -104,6 +109,6 @@ Feel free to create [a new topic](https://wordpress.org/support/plugin/dco-comme 1. Examples of attachment types. 2. A commenting form with an attachment field. 3. List of comments in the admin panel. -4. Screen for editing a comment in the admnin panel. +4. Screen for editing a comment in the admin panel. 5. Plugin settings page. 6. An example of a lightbox with the Simple Lightbox plugin. \ No newline at end of file