Content Views – Post Grid & List for WordPress - Version 1.6.2.1

Version Description

  • Bug fixed: Redirect to new View page when click "Save" button
Download this release

Release Info

Developer PT Guy
Plugin Icon 128x128 Content Views – Post Grid & List for WordPress
Version 1.6.2.1
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.2.1

.htaccess DELETED
File without changes
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: post, posts, page, pages, query, queries, search, display, show, grid, column, layout, author, blog, categories, category, comment, content, custom, editor, filter, Formatting, image, list, meta, plugin, responsive, shortcode, excerpt, title, tag, term, Taxonomy, thumbnail, pagination, date, scrollable, slider, collapsible
5
  Requires at least: 3.3
6
  Tested up to: 4.2.2
7
- Stable tag: 1.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -165,6 +165,9 @@ function my_move_bootstrap( $args ) {
165
 
166
  == Changelog ==
167
 
 
 
 
168
  = 1.6.2 =
169
  * Security: Fix XSS Vulnerability problem
170
  * Bug fixed: Plugin does not rendering anything sometimes
4
  Tags: post, posts, page, pages, query, queries, search, display, show, grid, column, layout, author, blog, categories, category, comment, content, custom, editor, filter, Formatting, image, list, meta, plugin, responsive, shortcode, excerpt, title, tag, term, Taxonomy, thumbnail, pagination, date, scrollable, slider, collapsible
5
  Requires at least: 3.3
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.6.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
165
 
166
  == Changelog ==
167
 
168
+ = 1.6.2.1 =
169
+ * Bug fixed: Redirect to new View page when click "Save" button
170
+
171
  = 1.6.2 =
172
  * Security: Fix XSS Vulnerability problem
173
  * Bug fixed: Plugin does not rendering anything sometimes
content-views.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin Name: Content Views
12
  * Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
13
  * Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
14
- * Version: 1.6.2
15
  * Author: PT Guy
16
  * Author URI: http://profiles.wordpress.org/pt-guy
17
  * Text Domain: content-views
@@ -27,7 +27,7 @@ if ( !defined( 'WPINC' ) ) {
27
  /*
28
  * Define Constant
29
  */
30
- define( 'PT_CV_VERSION', '1.6.2' );
31
  define( 'PT_CV_FILE', __FILE__ );
32
  $pt_cv_path = plugin_dir_path( __FILE__ );
33
  include_once( $pt_cv_path . 'includes/defines.php' );
11
  * Plugin Name: Content Views
12
  * Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
13
  * Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
14
+ * Version: 1.6.2.1
15
  * Author: PT Guy
16
  * Author URI: http://profiles.wordpress.org/pt-guy
17
  * Text Domain: content-views
27
  /*
28
  * Define Constant
29
  */
30
+ define( 'PT_CV_VERSION', '1.6.2.1' );
31
  define( 'PT_CV_FILE', __FILE__ );
32
  $pt_cv_path = plugin_dir_path( __FILE__ );
33
  include_once( $pt_cv_path . 'includes/defines.php' );
includes/functions.php CHANGED
@@ -1254,11 +1254,10 @@ if ( !class_exists( 'PT_CV_Functions' ) ) {
1254
  * @return string
1255
  */
1256
  public static function view_link( $view_id, $action = array() ) {
1257
-
1258
  $edit_link = admin_url( 'admin.php?page=' . PT_CV_DOMAIN . '-add' );
1259
  if ( !empty( $view_id ) ) {
1260
  $query_args = array( 'id' => $view_id ) + $action;
1261
- $edit_link = esc_url( add_query_arg( $query_args, $edit_link ) );
1262
  }
1263
 
1264
  return $edit_link;
1254
  * @return string
1255
  */
1256
  public static function view_link( $view_id, $action = array() ) {
 
1257
  $edit_link = admin_url( 'admin.php?page=' . PT_CV_DOMAIN . '-add' );
1258
  if ( !empty( $view_id ) ) {
1259
  $query_args = array( 'id' => $view_id ) + $action;
1260
+ $edit_link = add_query_arg( $query_args, $edit_link );
1261
  }
1262
 
1263
  return $edit_link;
public/assets/css/public.css CHANGED
@@ -276,7 +276,7 @@
276
  }
277
 
278
  /* Layout */
279
- .pt-cv-2-col .pt-cv-title {
280
  clear: none !important;
281
  display: flex;
282
  }
276
  }
277
 
278
  /* Layout */
279
+ .pt-cv-view .pt-cv-2-col .pt-cv-title {
280
  clear: none !important;
281
  display: flex;
282
  }