Post Grid - Version 2.0.23

Version Description

  • 31/01/2018 removed - Removed social share button on help page.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Post Grid
Version 2.0.23
Comparing to
See all releases

Code changes from version 2.0.21 to 2.0.23

assets/admin/js/scripts-new.js CHANGED
@@ -257,32 +257,7 @@ jQuery(document).ready(function($)
257
 
258
  })
259
 
260
- $(document).on('click', '.post-grid-settings .remove_export_content_layout', function()
261
- {
262
 
263
- var file_url = $(this).attr('file-url');
264
-
265
- if(confirm('Do you really want to remove ?')){
266
-
267
-
268
-
269
- jQuery.ajax(
270
- {
271
- type: 'POST',
272
- url: post_grid_ajax.post_grid_ajaxurl,
273
- context:this,
274
- data: {"action": "post_grid_ajax_remove_export_content_layout","file_url":file_url},
275
- success: function(data)
276
- {
277
- //alert('Deleted');
278
- $(this).html('Deleted');
279
-
280
- }
281
- });
282
-
283
- }
284
-
285
- })
286
 
287
 
288
 
257
 
258
  })
259
 
 
 
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
 
262
 
263
 
includes/functions.php CHANGED
@@ -1426,29 +1426,6 @@ add_action('wp_ajax_post_grid_export_content_layouts', 'post_grid_export_content
1426
 
1427
 
1428
 
1429
-
1430
- function post_grid_ajax_remove_export_content_layout(){
1431
-
1432
- if(current_user_can('manage_options')){
1433
-
1434
- $file_url = sanitize_text_field($_POST['file_url']);
1435
-
1436
- unlink($file_url);
1437
-
1438
- }
1439
-
1440
- die();
1441
- }
1442
-
1443
-
1444
- add_action('wp_ajax_post_grid_ajax_remove_export_content_layout', 'post_grid_ajax_remove_export_content_layout');
1445
-
1446
-
1447
-
1448
-
1449
-
1450
-
1451
-
1452
 
1453
  function post_grid_share_plugin(){
1454
 
1426
 
1427
 
1428
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1429
 
1430
  function post_grid_share_plugin(){
1431
 
includes/menu/help.php CHANGED
@@ -138,22 +138,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
138
  </a>
139
 
140
  </div>
141
-
142
-
143
- <div class="option-box">
144
- <p class="option-title"><?php _e('Please Share',post_grid_textdomain ); ?></p>
145
- <p class="option-info"><?php _e('If you like this plugin please share with your social share network.',post_grid_textdomain ); ?></p>
146
- <?php
147
-
148
- echo post_grid_share_plugin();
149
- ?>
150
- </div>
151
-
152
 
153
-
154
-
155
-
156
-
157
  </li>
158
  </ul>
159
 
138
  </a>
139
 
140
  </div>
 
 
 
 
 
 
 
 
 
 
 
141
 
 
 
 
 
142
  </li>
143
  </ul>
144
 
includes/menu/settings.php CHANGED
@@ -75,7 +75,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
75
 
76
  $filelink= $baseurl."/post-grid/".$filename;
77
 
78
- echo ($i+1).'. <a target="_blank" href="'.$filelink.'" >'.$filename.'</a> <span file-url="'.$basedir."/post-grid/".$filename.'" class="remove_export_content_layout">Delete</span><br />';
79
 
80
  $i++;
81
  }
75
 
76
  $filelink= $baseurl."/post-grid/".$filename;
77
 
78
+ echo ($i+1).'. <a target="_blank" href="'.$filelink.'" >'.$filename.'</a> <br />';
79
 
80
  $i++;
81
  }
post-grid.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Post Grid
4
  Plugin URI: http://pickplugins.com
5
  Description: Awesome post grid for query post from any post type and display on grid.
6
- Version: 2.0.21
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: post-grid
@@ -28,7 +28,7 @@ class PostGrid{
28
  define('post_grid_conatct_url', 'http://pickplugins.com/contact/' );
29
  define('post_grid_qa_url', 'http://www.pickplugins.com/questions/' );
30
  define('post_grid_plugin_name', 'Post Grid' );
31
- define('post_grid_version', '2.0.21' );
32
  define('post_grid_customer_type', 'free' );
33
  define('post_grid_share_url', 'https://wordpress.org/plugins/post-grid/' );
34
  define('post_grid_textdomain', 'post-grid' );
3
  Plugin Name: Post Grid
4
  Plugin URI: http://pickplugins.com
5
  Description: Awesome post grid for query post from any post type and display on grid.
6
+ Version: 2.0.23
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: post-grid
28
  define('post_grid_conatct_url', 'http://pickplugins.com/contact/' );
29
  define('post_grid_qa_url', 'http://www.pickplugins.com/questions/' );
30
  define('post_grid_plugin_name', 'Post Grid' );
31
+ define('post_grid_version', '2.0.23' );
32
  define('post_grid_customer_type', 'free' );
33
  define('post_grid_share_url', 'https://wordpress.org/plugins/post-grid/' );
34
  define('post_grid_textdomain', 'post-grid' );
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
- Stable tag: 2.0.21
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -104,6 +104,12 @@ then paste this shortcode anywhere in your page to display grid<br />
104
  == Changelog ==
105
 
106
 
 
 
 
 
 
 
107
 
108
  = 2.0.21 =
109
  * 20/01/2017 add - Croatian translation added.
4
  Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
+ Stable tag: 2.0.23
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
104
  == Changelog ==
105
 
106
 
107
+ = 2.0.23 =
108
+ * 31/01/2018 removed - Removed social share button on help page.
109
+
110
+
111
+ = 2.0.22 =
112
+ * 27/01/2018 fix - security issue fixed.
113
 
114
  = 2.0.21 =
115
  * 20/01/2017 add - Croatian translation added.