Skip to content

Commit

Permalink
Bumped version and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yadenis committed Nov 29, 2021
1 parent edbeaf2 commit ec1df8f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ You can also:

Attachments are uploaded to the WordPress Media Library and deleted along with the comment (if this is set in the settings).

REST API is supported.

DCO Comment Attachment is also available on [WordPress.org](https://wordpress.org/plugins/dco-comment-attachment/).

# Version
2.2.0
2.3.0

[![Build Status](https://travis-ci.org/yadenis/DCO-Comment-Attachment.svg?branch=master)](https://travis-ci.org/yadenis/DCO-Comment-Attachment)

Expand All @@ -45,6 +47,13 @@ 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.3.0
- Added allowed file types to the file input dialog box.
- Added REST API support (thank you [@daohoangson](https://github.com/daohoangson))
- Added `dco_ca_force_download_misc_attachments` filter for force download files instead of open.
- Improved check/uncheck allowed file types on Settings page. (thank you [@DuckDivers](https://github.com/DuckDivers))
- Fixed "Trying to get property ‘comment_ID’ of non-object" bug.

## 2.2.0
- Added drag and drop support for attachment input field.
- Improved "Link thumbnail?" option. Link to a new tab (thank you [@graylaurenm](https://github.com/graylaurenm)) and an attachment page is now supported.
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.2.0
* Version: 2.3.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.2.0' );
define( 'DCO_CA_VERSION', '2.3.0' );

require_once DCO_CA_PATH . 'includes/functions.php';

Expand Down
14 changes: 12 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.8
Requires PHP: 5.6
Stable tag: 2.2.0
Stable tag: 2.3.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 @@ -38,6 +38,8 @@ You can also:

Attachments are uploaded to the WordPress Media Library and deleted along with the comment (if this is set in the settings).

REST API is supported.

DCO Comment Attachment is also available on [GitHub](https://github.com/yadenis/DCO-Comment-Attachment).

== Installation ==
Expand All @@ -59,6 +61,13 @@ Feel free to create [a new topic](https://wordpress.org/support/plugin/dco-comme

== Changelog ==

= 2.3.0 =
* Added allowed file types to the file input dialog box. (thank you [@pranciskus](https://profiles.wordpress.org/pranciskus/))
* Added REST API support (thank you [@daohoangson](https://profiles.wordpress.org/daohoangson/))
* Added `dco_ca_force_download_misc_attachments` filter for force download files instead of open.
* Improved check/uncheck allowed file types on Settings page.
* Fixed "Trying to get property ‘comment_ID’ of non-object" bug. (thank you [@pranciskus](https://profiles.wordpress.org/pranciskus/))

= 2.2.0 =
* Added drag and drop support for attachment input field.
* Improved "Link thumbnail?" option. Link to a new tab and an attachment page (thank you [@nourijp](https://profiles.wordpress.org/nourijp/)) is now supported.
Expand Down Expand Up @@ -122,4 +131,5 @@ Feel free to create [a new topic](https://wordpress.org/support/plugin/dco-comme
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.
7. An example of a drag and drop support.
7. An example of a drag and drop support.
8. An example of REST API support.

0 comments on commit ec1df8f

Please sign in to comment.