Admin Columns - Version 3.1.1

Version Description

Release Date: January 29th, 2018

  • [Fixed] Fixed fatal error for custom taxonomy columns
Download this release

Release Info

Developer tschutter
Plugin Icon 128x128 Admin Columns
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1 to 3.1.1

classes/ListScreenPost.php CHANGED
@@ -60,33 +60,6 @@ abstract class AC_ListScreenPost extends AC_ListScreenWP {
60
  return array( 'date', true );
61
  }
62
 
63
- /**
64
- * Register Taxonomy columns that are set by WordPress. These native columns are registered
65
- * by setting 'show_admin_column' to 'true' as an argument in register_taxonomy();
66
- * Only supports Post Types.
67
- *
68
- * @see register_taxonomy
69
- */
70
- private function register_column_native_taxonomies() {
71
- $taxonomies = get_taxonomies(
72
- array(
73
- 'show_ui' => 1,
74
- 'show_admin_column' => 1,
75
- '_builtin' => 0,
76
- ),
77
- 'object'
78
- );
79
-
80
- foreach ( $taxonomies as $taxonomy ) {
81
- if ( in_array( $this->get_post_type(), $taxonomy->object_type ) ) {
82
- $column = new ACP_Column_NativeTaxonomy();
83
- $column->set_type( 'taxonomy-' . $taxonomy->name );
84
-
85
- $this->register_column_type( $column );
86
- }
87
- }
88
- }
89
-
90
  /**
91
  * Register post specific columns
92
  */
@@ -94,8 +67,6 @@ abstract class AC_ListScreenPost extends AC_ListScreenWP {
94
  $this->register_column_type( new AC_Column_CustomField );
95
  $this->register_column_type( new AC_Column_Menu );
96
  $this->register_column_type( new AC_Column_Actions );
97
-
98
- //$this->register_column_native_taxonomies();
99
  }
100
 
101
  }
60
  return array( 'date', true );
61
  }
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  /**
64
  * Register post specific columns
65
  */
67
  $this->register_column_type( new AC_Column_CustomField );
68
  $this->register_column_type( new AC_Column_Menu );
69
  $this->register_column_type( new AC_Column_Actions );
 
 
70
  }
71
 
72
  }
codepress-admin-columns.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
- Version: 3.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: https://www.admincolumns.com
@@ -175,7 +175,7 @@ class CPAC extends AC_Plugin {
175
  * @return string
176
  */
177
  public function get_version() {
178
- return '3.1';
179
  }
180
 
181
  public function get_prefix() {
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
+ Version: 3.1.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: https://www.admincolumns.com
175
  * @return string
176
  */
177
  public function get_version() {
178
+ return '3.1.1';
179
  }
180
 
181
  public function get_prefix() {
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: 4.5
6
  Tested up to: 4.9.2
7
- Stable tag: 3.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
 
@@ -218,6 +218,12 @@ You can find a list of the available actions and filters (and examples on how to
218
 
219
  == Changelog ==
220
 
 
 
 
 
 
 
221
  = 3.1 =
222
 
223
  Release Date: January 29th, 2018
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: 4.5
6
  Tested up to: 4.9.2
7
+ Stable tag: 3.1.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
 
218
 
219
  == Changelog ==
220
 
221
+ = 3.1.1 =
222
+
223
+ Release Date: January 29th, 2018
224
+
225
+ * [Fixed] Fixed fatal error for custom taxonomy columns
226
+
227
  = 3.1 =
228
 
229
  Release Date: January 29th, 2018