Skip to content

Commit

Permalink
Update tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
hchouhan committed Jul 16, 2024
1 parent 3884ee8 commit 1bdfd26
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "irecommendthis/recommend",
"version": "3.9.1",
"version": "3.10.0",
"title": "I Recommend This",
"category": "widgets",
"icon": "thumbs-up",
Expand Down
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element'), 'version' => 'd33047f5b0a2af10c6f1');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element'), 'version' => '68dbd03c4cc45fbaaaba');
2 changes: 1 addition & 1 deletion build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
== Changelog ==

= 3.10.0 =
* Security update
* Code Refactor
* Added Block

= 3.9.1 =
* Security update

Expand Down
4 changes: 2 additions & 2 deletions i-recommend-this.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: I Recommend This
* Plugin URI: https://themeist.com/plugins/wordpress/i-recommend-this/#utm_source=wp-plugin&utm_medium=i-recommend-this&utm_campaign=plugins-page
* Description: This plugin allows your visitors to recommend or like your posts.
* Version: 3.9.1
* Version: 3.10.0
* Author: Harish Chouhan, Themeist
* Author URI: https://themeist.com/
* Author Email: [email protected]/
Expand All @@ -24,7 +24,7 @@
return;
}

define( 'THEMEIST_IRT_VERSION', '3.9.1' );
define( 'THEMEIST_IRT_VERSION', '3.10.0' );
define( 'THEMEIST_IRT_DB_VERSION', '2.6.2' );

// Require includes.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i-recommend-this",
"version": "3.9.1",
"version": "3.10.0",
"description": "I Recommend This plugin block",
"author": "hchouhan",
"license": "GPL-2.0-or-later",
Expand Down
19 changes: 12 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://themeist.com
Tags: recommend, like, love, post, rate
Requires at least: 6.0
Tested up to: 6.5.5
Stable tag: 3.9.1
Stable tag: 3.10.0
Requires PHP: 7.4
License: GPL-3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Expand Down Expand Up @@ -33,8 +33,8 @@ Enable your visitors to easily like or recommend your posts with a single click,

### Shortcodes:

- `[dot_recommends]` - Add the voting link to any page.
- `[dot_recommended_posts post_type='post' container='div' number='10' year='2023' monthnum='7']` - Display most recommended posts.
- `[irecommendthis]` - Add the voting link to any page.
- `[irecommendthis_top_posts post_type='post' container='div' number='10' year='2023' monthnum='7']` - Display most recommended posts.


This plugin is based exactly on Benoit "LeBen" Burgener's "I Like This" Plugin and has been modified after getting requests for the changes I had made on my website.
Expand Down Expand Up @@ -84,13 +84,13 @@ You can [help translate this plugin into your language](https://translate.wordpr
`<?php if ( function_exists( 'dot_irecommendthis' ) ) dot_irecommendthis(); ?>`

5. **Use Shortcodes**
- To display the recommend/like button on any page or post, use the `[dot_recommends]` shortcode.
- To display the most recommended posts, use the `[dot_recommended_posts]` shortcode with customizable attributes. Example:
`[dot_recommended_posts post_type='post' container='div' number='10' year='2023' monthnum='7']`
- To display the recommend/like button on any page or post, use the `[irecommendthis]` shortcode.
- To display the most recommended posts, use the `[irecommendthis_top_posts]` shortcode with customizable attributes. Example:
`[irecommendthis_top_posts post_type='post' container='div' number='10' year='2023' monthnum='7']`

6. **Display the Most Recommended Posts**
- To display the most recommended posts in your theme templates, use the following code:
```<?php if ( function_exists( 'dot_irecommendthis' ) ) echo do_shortcode( "[dot_recommended_posts container='div' post_type='post' number='10' year='2023' monthnum='7']" ); ?>`
```<?php if ( function_exists( 'dot_irecommendthis' ) ) echo do_shortcode( "[irecommendthis_top_posts container='div' post_type='post' number='10' year='2023' monthnum='7']" ); ?>`

7. **Add the Most Recommended Posts Widget**
- The plugin includes a widget to display the most recommended posts.
Expand Down Expand Up @@ -139,6 +139,11 @@ Please report security bugs found in the source code through the [Patchstack Vul

== Upgrade Notice ==

= 3.10.0 =
* Security update
* Code Refactor
* Added Block

= 3.9.1 =
Fixes multiple security issues

Expand Down
2 changes: 1 addition & 1 deletion src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "irecommendthis/recommend",
"version": "3.9.1",
"version": "3.10.0",
"title": "I Recommend This",
"category": "widgets",
"icon": "thumbs-up",
Expand Down

0 comments on commit 1bdfd26

Please sign in to comment.