Version Description
Download this release
Release Info
Developer | Toro_Unit |
Plugin | Custom Post Type Permalinks |
Version | 0.8.7.1 |
Comparing to | |
See all releases |
Code changes from version 0.8.7 to 0.8.7.1
- custom-post-type-permalinks.php +4 -4
- readme.txt +1 -1
custom-post-type-permalinks.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.torounit.com
|
|
5 |
Description: Add post archives of custom post type and customizable permalinks.
|
6 |
Author: Toro_Unit
|
7 |
Author URI: http://www.torounit.com/plugins/custom-post-type-permalinks/
|
8 |
-
Version: 0.8.7
|
9 |
Text Domain: cptp
|
10 |
Domain Path: /
|
11 |
*/
|
@@ -38,7 +38,7 @@ Domain Path: /
|
|
38 |
*/
|
39 |
class Custom_Post_Type_Permalinks {
|
40 |
|
41 |
-
public $version = "0.8.7";
|
42 |
public $default_structure = '/%postname%/';
|
43 |
|
44 |
/**
|
@@ -664,7 +664,7 @@ class Custom_Post_Type_Permalinks {
|
|
664 |
public function pointer_js() {
|
665 |
if(!is_network_admin()) {
|
666 |
$dismissed = explode(',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ));
|
667 |
-
if(array_search('
|
668 |
$content = __("<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink.php'>Permalinks</a>, set a custom permalink for each post type.</p>", "cptp");
|
669 |
?>
|
670 |
<script type="text/javascript">
|
@@ -676,7 +676,7 @@ class Custom_Post_Type_Permalinks {
|
|
676 |
close: function() {
|
677 |
$.post('admin-ajax.php', {
|
678 |
action:'dismiss-wp-pointer',
|
679 |
-
pointer: '
|
680 |
})
|
681 |
|
682 |
}
|
5 |
Description: Add post archives of custom post type and customizable permalinks.
|
6 |
Author: Toro_Unit
|
7 |
Author URI: http://www.torounit.com/plugins/custom-post-type-permalinks/
|
8 |
+
Version: 0.8.7.1
|
9 |
Text Domain: cptp
|
10 |
Domain Path: /
|
11 |
*/
|
38 |
*/
|
39 |
class Custom_Post_Type_Permalinks {
|
40 |
|
41 |
+
public $version = "0.8.7.1";
|
42 |
public $default_structure = '/%postname%/';
|
43 |
|
44 |
/**
|
664 |
public function pointer_js() {
|
665 |
if(!is_network_admin()) {
|
666 |
$dismissed = explode(',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ));
|
667 |
+
if(array_search('cptp_pointer0871', $dismissed) === false){
|
668 |
$content = __("<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink.php'>Permalinks</a>, set a custom permalink for each post type.</p>", "cptp");
|
669 |
?>
|
670 |
<script type="text/javascript">
|
676 |
close: function() {
|
677 |
$.post('admin-ajax.php', {
|
678 |
action:'dismiss-wp-pointer',
|
679 |
+
pointer: 'cptp_pointer0871'
|
680 |
})
|
681 |
|
682 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Toro_Unit
|
|
3 |
Tags: custom post type,permalink
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 3.5
|
6 |
-
Stable tag: 0.8.7
|
7 |
|
8 |
Lets you edit the permalink of custom post type.
|
9 |
|
3 |
Tags: custom post type,permalink
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 0.8.7.1
|
7 |
|
8 |
Lets you edit the permalink of custom post type.
|
9 |
|