Version Description
- Bug fix in CPTP_Module_Setting::upgrader_process_complete.
Download this release
Release Info
Developer | Toro_Unit |
Plugin | Custom Post Type Permalinks |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1.0 to 3.1.1
- CPTP/Module/Setting.php +6 -1
- custom-post-type-permalinks.php +2 -2
- readme.txt +4 -1
CPTP/Module/Setting.php
CHANGED
@@ -35,7 +35,12 @@ class CPTP_Module_Setting extends CPTP_Module {
|
|
35 |
* @param array $options Extra information about performed upgrade.
|
36 |
*/
|
37 |
public function upgrader_process_complete( $wp_upgrader, $options ) {
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
39 |
return;
|
40 |
}
|
41 |
|
35 |
* @param array $options Extra information about performed upgrade.
|
36 |
*/
|
37 |
public function upgrader_process_complete( $wp_upgrader, $options ) {
|
38 |
+
|
39 |
+
if ( empty( $options['plugins'] ) ) {
|
40 |
+
return;
|
41 |
+
}
|
42 |
+
|
43 |
+
if ( ! is_array( $options['plugins'] ) ) {
|
44 |
return;
|
45 |
}
|
46 |
|
custom-post-type-permalinks.php
CHANGED
@@ -5,13 +5,13 @@
|
|
5 |
* Description: Add post archives of custom post type and customizable permalinks.
|
6 |
* Author: Toro_Unit
|
7 |
* Author URI: https://torounit.com/
|
8 |
-
* Version: 3.1.
|
9 |
* Text Domain: custom-post-type-permalinks
|
10 |
* License: GPL2 or later
|
11 |
* Domain Path: /language/
|
12 |
*
|
13 |
* @package Custom_Post_Type_Permalinks
|
14 |
-
* @version 3.1.
|
15 |
*/
|
16 |
|
17 |
define( 'CPTP_PLUGIN_FILE', __FILE__ );
|
5 |
* Description: Add post archives of custom post type and customizable permalinks.
|
6 |
* Author: Toro_Unit
|
7 |
* Author URI: https://torounit.com/
|
8 |
+
* Version: 3.1.1
|
9 |
* Text Domain: custom-post-type-permalinks
|
10 |
* License: GPL2 or later
|
11 |
* Domain Path: /language/
|
12 |
*
|
13 |
* @package Custom_Post_Type_Permalinks
|
14 |
+
* @version 3.1.1
|
15 |
*/
|
16 |
|
17 |
define( 'CPTP_PLUGIN_FILE', __FILE__ );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNb
|
|
4 |
Tags: permalink,permalinks,custom post type,custom taxonomy,cms
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or Later
|
9 |
|
10 |
Edit the permalink of custom post type.
|
@@ -67,6 +67,9 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
70 |
= 3.1.0 =
|
71 |
* Add filter 'CPTP_date_front'.
|
72 |
* Fix sort term by `wp_list_sort` .
|
4 |
Tags: permalink,permalinks,custom post type,custom taxonomy,cms
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 3.1.1
|
8 |
License: GPLv2 or Later
|
9 |
|
10 |
Edit the permalink of custom post type.
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 3.1.1 =
|
71 |
+
* Bug fix in CPTP_Module_Setting::upgrader_process_complete.
|
72 |
+
|
73 |
= 3.1.0 =
|
74 |
* Add filter 'CPTP_date_front'.
|
75 |
* Fix sort term by `wp_list_sort` .
|