Version Description
- [Fixed] Quick Edit will display columns correctly after saving
Download this release
Release Info
Developer | engelen |
Plugin | Admin Columns |
Version | 2.2.8.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.8 to 2.2.8.1
- README.md +0 -0
- classes/storage_model.php +2 -1
- codepress-admin-columns.php +7 -3
- readme.txt +7 -1
README.md
ADDED
File without changes
|
classes/storage_model.php
CHANGED
@@ -429,8 +429,9 @@ abstract class CPAC_Storage_Model {
|
|
429 |
*/
|
430 |
public function get_default_stored_columns() {
|
431 |
|
432 |
-
if ( ! $columns = get_option( "cpac_options_{$this->key}_default" ) )
|
433 |
return array();
|
|
|
434 |
|
435 |
return $columns;
|
436 |
}
|
429 |
*/
|
430 |
public function get_default_stored_columns() {
|
431 |
|
432 |
+
if ( ! $columns = get_option( "cpac_options_{$this->key}_default" ) ) {
|
433 |
return array();
|
434 |
+
}
|
435 |
|
436 |
return $columns;
|
437 |
}
|
codepress-admin-columns.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Admin Columns
|
4 |
-
Version: 2.2.8
|
5 |
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.
|
6 |
Author: AdminColumns.com
|
7 |
Author URI: http://www.admincolumns.com
|
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
29 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
30 |
|
31 |
// Plugin information
|
32 |
-
define( 'CPAC_VERSION', '2.2.8' ); // Current plugin version
|
33 |
define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
|
34 |
define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
|
35 |
define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
|
@@ -407,7 +407,7 @@ class CPAC {
|
|
407 |
}
|
408 |
|
409 |
/**
|
410 |
-
* Whether this request is an AJAX request and marked as admin-column-ajax request.
|
411 |
*
|
412 |
* @since 2.2
|
413 |
* @return bool Returns true if in an AJAX request, false otherwise
|
@@ -418,6 +418,10 @@ class CPAC {
|
|
418 |
return false;
|
419 |
}
|
420 |
|
|
|
|
|
|
|
|
|
421 |
if ( ( isset( $_POST['plugin_id'] ) && 'cpac' == $_POST['plugin_id'] ) || ( isset( $_GET['plugin_id'] ) && 'cpac' == $_GET['plugin_id'] ) ) {
|
422 |
return true;
|
423 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Admin Columns
|
4 |
+
Version: 2.2.8.1
|
5 |
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.
|
6 |
Author: AdminColumns.com
|
7 |
Author URI: http://www.admincolumns.com
|
29 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
30 |
|
31 |
// Plugin information
|
32 |
+
define( 'CPAC_VERSION', '2.2.8.1' ); // Current plugin version
|
33 |
define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
|
34 |
define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
|
35 |
define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
|
407 |
}
|
408 |
|
409 |
/**
|
410 |
+
* Whether this request is an AJAX request and marked as admin-column-ajax or inline-save request.
|
411 |
*
|
412 |
* @since 2.2
|
413 |
* @return bool Returns true if in an AJAX request, false otherwise
|
418 |
return false;
|
419 |
}
|
420 |
|
421 |
+
if ( ( isset( $_POST['action'] ) && 'inline-save' === $_POST['action'] ) ) {
|
422 |
+
return true;
|
423 |
+
}
|
424 |
+
|
425 |
if ( ( isset( $_POST['plugin_id'] ) && 'cpac' == $_POST['plugin_id'] ) || ( isset( $_GET['plugin_id'] ) && 'cpac' == $_GET['plugin_id'] ) ) {
|
426 |
return true;
|
427 |
}
|
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: 4.0
|
7 |
-
Stable tag: 2.2.8
|
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 |
|
@@ -12,10 +12,13 @@ Customise columns on the administration screens for post(types), pages, media, c
|
|
12 |
|
13 |
Manage and organize columns in the posts, users, comments and media lists in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.
|
14 |
|
|
|
15 |
> The free version of Admin Columns does not support sorting, filtering and inline editing and has no priority support. [Admin Columns Pro](http://admincolumns.com/?utm_source=wordpressorg&utm_medium=readme&utm_content=blockquote&utm_campaign=cpac-pluginpage) offers these features, direct e-mail support and several add-ons.
|
16 |
|
|
|
17 |
[vimeo http://vimeo.com/96885841]
|
18 |
|
|
|
19 |
= Enhanced list tables =
|
20 |
By default, WordPress provides list tables, giving you an overview of your content in the admin panel. These list tables are quite limited, however. For posts and custom post types, for example, not much more than the date and title of the post is displayed. Admin Columns allows you to take control over these list tables, managing the columns dislpayed in these overviews. Supporting custom fields, featured images, custom taxonomies, EXIF data for media and much, much more (Admin Columns features over 90 columns), you can create overviews that are perfectly suited for your content.
|
21 |
|
@@ -248,6 +251,9 @@ You can find a list of the available actions and filters (and examples on how to
|
|
248 |
|
249 |
== Changelog ==
|
250 |
|
|
|
|
|
|
|
251 |
= 2.2.8 =
|
252 |
* [Fixed] support for WPML columns
|
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: 4.0
|
7 |
+
Stable tag: 2.2.8.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 |
|
12 |
|
13 |
Manage and organize columns in the posts, users, comments and media lists in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.
|
14 |
|
15 |
+
> #### Admin Columns Pro
|
16 |
> The free version of Admin Columns does not support sorting, filtering and inline editing and has no priority support. [Admin Columns Pro](http://admincolumns.com/?utm_source=wordpressorg&utm_medium=readme&utm_content=blockquote&utm_campaign=cpac-pluginpage) offers these features, direct e-mail support and several add-ons.
|
17 |
|
18 |
+
|
19 |
[vimeo http://vimeo.com/96885841]
|
20 |
|
21 |
+
|
22 |
= Enhanced list tables =
|
23 |
By default, WordPress provides list tables, giving you an overview of your content in the admin panel. These list tables are quite limited, however. For posts and custom post types, for example, not much more than the date and title of the post is displayed. Admin Columns allows you to take control over these list tables, managing the columns dislpayed in these overviews. Supporting custom fields, featured images, custom taxonomies, EXIF data for media and much, much more (Admin Columns features over 90 columns), you can create overviews that are perfectly suited for your content.
|
24 |
|
251 |
|
252 |
== Changelog ==
|
253 |
|
254 |
+
= 2.2.8.1 =
|
255 |
+
* [Fixed] Quick Edit will display columns correctly after saving
|
256 |
+
|
257 |
= 2.2.8 =
|
258 |
* [Fixed] support for WPML columns
|
259 |
|