Admin Columns - Version 3.1.2

Version Description

Release Date: January 30th, 2018

  • [Fixed] Added AC_ListScreen::get_object_by_id with deprecated message
Download this release

Release Info

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

Code changes from version 3.1.1 to 3.1.2

classes/ListScreenWP.php CHANGED
@@ -33,25 +33,6 @@ abstract class AC_ListScreenWP extends AC_ListScreen {
33
  */
34
  abstract protected function get_object( $id );
35
 
36
- /**
37
- * @deprecated 3.1
38
- * @return string
39
- */
40
- public function get_list_table_class() {
41
- return $this->list_table_class;
42
- }
43
-
44
- /**
45
- * @deprecated 3.1
46
- *
47
- * @param string $list_table_class
48
- */
49
- public function set_list_table_class( $list_table_class ) {
50
- _deprecated_function( __METHOD__, '3.1', 'AC_ListScreenWP::get_list_table()' );
51
-
52
- $this->list_table_class = (string) $list_table_class;
53
- }
54
-
55
  /**
56
  * @param int $id
57
  *
@@ -96,4 +77,37 @@ abstract class AC_ListScreenWP extends AC_ListScreen {
96
  return (array) get_column_headers( $this->get_screen_id() );
97
  }
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  }
33
  */
34
  abstract protected function get_object( $id );
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  /**
37
  * @param int $id
38
  *
77
  return (array) get_column_headers( $this->get_screen_id() );
78
  }
79
 
80
+ /**
81
+ * @deprecated 3.1
82
+ *
83
+ * @return string
84
+ */
85
+ public function get_list_table_class() {
86
+ return $this->list_table_class;
87
+ }
88
+
89
+ /**
90
+ * @deprecated 3.1
91
+ *
92
+ * @param string $list_table_class
93
+ */
94
+ public function set_list_table_class( $list_table_class ) {
95
+ _deprecated_function( __METHOD__, '3.1', 'AC_ListScreenWP::get_list_table()' );
96
+
97
+ $this->list_table_class = (string) $list_table_class;
98
+ }
99
+
100
+ /**
101
+ * @deprecated 3.1.2
102
+ *
103
+ * @param int $id
104
+ *
105
+ * @return object
106
+ */
107
+ protected function get_object_by_id( $id ) {
108
+ _deprecated_function( __METHOD__, 'NEWVERSION', 'AC_ListScreenWP::get_object()' );
109
+
110
+ return $this->get_object( $id );
111
+ }
112
+
113
  }
codepress-admin-columns.php CHANGED
@@ -1,7 +1,7 @@
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,7 +175,7 @@ class CPAC extends AC_Plugin {
175
  * @return string
176
  */
177
  public function get_version() {
178
- return '3.1.1';
179
  }
180
 
181
  public function get_prefix() {
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
+ Version: 3.1.2
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.2';
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.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.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.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
 
218
 
219
  == Changelog ==
220
 
221
+ = 3.1.2 =
222
+
223
+ Release Date: January 30th, 2018
224
+
225
+ * [Fixed] Added AC_ListScreen::get_object_by_id with deprecated message
226
+
227
  = 3.1.1 =
228
 
229
  Release Date: January 29th, 2018