Admin Columns - Version 2.2.6.2

Version Description

  • [Fixed] Fixed Illegal offset warning for unset option on edit screen
Download this release

Release Info

Developer engelen
Plugin Icon 128x128 Admin Columns
Version 2.2.6.2
Comparing to
See all releases

Code changes from version 2.2.6.1 to 2.2.6.2

Files changed (2) hide show
  1. codepress-admin-columns.php +3 -3
  2. readme.txt +4 -1
codepress-admin-columns.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
 
4
  Plugin Name: Codepress Admin Columns
5
- Version: 2.2.6.1
6
  Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
7
  Author: Codepress
8
  Author URI: http://www.codepresshq.com
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  }
34
 
35
  // Plugin information
36
- define( 'CPAC_VERSION', '2.2.6.1' ); // current plugin version
37
  define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // this is the latest version which requires an upgrade
38
  define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
39
  define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
@@ -457,7 +457,7 @@ class CPAC {
457
 
458
  // JS: edit button
459
  $general_options = get_option( 'cpac_general_options' );
460
- if ( current_user_can( 'manage_admin_columns' ) && ! isset( $general_options['show_edit_button'] ) || ( '1' === $general_options['show_edit_button'] ) ) {
461
  $edit_link = $storage_model->get_edit_link();
462
  }
463
  }
2
  /*
3
 
4
  Plugin Name: Codepress Admin Columns
5
+ Version: 2.2.6.2
6
  Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
7
  Author: Codepress
8
  Author URI: http://www.codepresshq.com
33
  }
34
 
35
  // Plugin information
36
+ define( 'CPAC_VERSION', '2.2.6.2' ); // current plugin version
37
  define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // this is the latest version which requires an upgrade
38
  define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
39
  define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
457
 
458
  // JS: edit button
459
  $general_options = get_option( 'cpac_general_options' );
460
+ if ( current_user_can( 'manage_admin_columns' ) && ( ! isset( $general_options['show_edit_button'] ) || '1' === $general_options['show_edit_button'] ) ) {
461
  $edit_link = $storage_model->get_edit_link();
462
  }
463
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
5
  Requires at least: 3.5
6
  Tested up to: 3.9.2
7
- Stable tag: 2.2.6.1
8
 
9
  Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
10
 
@@ -248,6 +248,9 @@ You can find a list of the available actions and filters (and examples on how to
248
 
249
  == Changelog ==
250
 
 
 
 
251
  = 2.2.6.1 =
252
  * [Fixed] Fixed dependency on PHP 5.3+ in actions column
253
 
4
  Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
5
  Requires at least: 3.5
6
  Tested up to: 3.9.2
7
+ Stable tag: 2.2.6.2
8
 
9
  Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
10
 
248
 
249
  == Changelog ==
250
 
251
+ = 2.2.6.2 =
252
+ * [Fixed] Fixed “Illegal offset” warning for unset option on edit screen
253
+
254
  = 2.2.6.1 =
255
  * [Fixed] Fixed dependency on PHP 5.3+ in actions column
256