Skip to content

Commit

Permalink
Bumped version and updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
yadenis committed Jan 7, 2021
1 parent cab8c24 commit 60a855b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions dco-comment-attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion includes/class-dco-ca-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-dco-ca.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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.

0 comments on commit 60a855b

Please sign in to comment.