Version Description
- 12th April 2015 =
- Fixes incomptability with PHP 5.3 and older.
Download this release
Release Info
Developer | stephenharris |
Plugin | Post Type Archive Link |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- metabox.min.js +1 -1
- post-type-archive-links.php +3 -3
- readme.md +5 -2
- readme.txt +5 -2
metabox.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! post-type-archive-links 1.3.
|
2 |
jQuery(document).ready(function(a){a("#submit-post-type-archives").click(function(b){b.preventDefault();var c=a("#"+hptal_obj.metabox_list_id+" li :checked"),d=a("input#submit-post-type-archives"),e=[];c.each(function(){e.push(a(this).val())}),a("#"+hptal_obj.metabox_id).find(".spinner").show(),d.prop("disabled",!0),a.post(hptal_obj.ajaxurl,{action:hptal_obj.action,posttypearchive_nonce:hptal_obj.nonce,post_types:e,nonce:hptal_obj.nonce},function(b){a("#menu-to-edit").append(b),a("#"+hptal_obj.metabox_id).find(".spinner").hide(),c.prop("checked",!1),d.prop("disabled",!1)})})});
|
1 |
+
/*! post-type-archive-links 1.3.1 2015-04-12 00:57 */
|
2 |
jQuery(document).ready(function(a){a("#submit-post-type-archives").click(function(b){b.preventDefault();var c=a("#"+hptal_obj.metabox_list_id+" li :checked"),d=a("input#submit-post-type-archives"),e=[];c.each(function(){e.push(a(this).val())}),a("#"+hptal_obj.metabox_id).find(".spinner").show(),d.prop("disabled",!0),a.post(hptal_obj.ajaxurl,{action:hptal_obj.action,posttypearchive_nonce:hptal_obj.nonce,post_types:e,nonce:hptal_obj.nonce},function(b){a("#menu-to-edit").append(b),a("#"+hptal_obj.metabox_id).find(".spinner").hide(),c.prop("checked",!1),d.prop("disabled",!1)})})});
|
post-type-archive-links.php
CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) OR exit;
|
|
4 |
Plugin Name: WordPress Post Type Archive Links
|
5 |
Plugin URI: https://github.com/stephenharris/WordPress-Post-Type-Archive-Links
|
6 |
Description: Adds a MetaBox to the Appearance > Menu page to add post type archive links
|
7 |
-
Version: 1.3.
|
8 |
Author: Stephen Harris
|
9 |
Author URI: https://github.com/stephenharris/
|
10 |
Author Email: contact@stephenharris.info
|
@@ -358,9 +358,9 @@ class Post_Type_Archive_Links {
|
|
358 |
'filter' => FILTER_SANITIZE_STRING,
|
359 |
'flags' => FILTER_REQUIRE_ARRAY
|
360 |
)
|
361 |
-
)
|
362 |
-
true
|
363 |
);
|
|
|
364 |
empty( $post_types['post_types'] ) AND exit;
|
365 |
// return post types if chosen
|
366 |
return array_values( $post_types['post_types'] );
|
4 |
Plugin Name: WordPress Post Type Archive Links
|
5 |
Plugin URI: https://github.com/stephenharris/WordPress-Post-Type-Archive-Links
|
6 |
Description: Adds a MetaBox to the Appearance > Menu page to add post type archive links
|
7 |
+
Version: 1.3.1
|
8 |
Author: Stephen Harris
|
9 |
Author URI: https://github.com/stephenharris/
|
10 |
Author Email: contact@stephenharris.info
|
358 |
'filter' => FILTER_SANITIZE_STRING,
|
359 |
'flags' => FILTER_REQUIRE_ARRAY
|
360 |
)
|
361 |
+
)
|
|
|
362 |
);
|
363 |
+
|
364 |
empty( $post_types['post_types'] ) AND exit;
|
365 |
// return post types if chosen
|
366 |
return array_values( $post_types['post_types'] );
|
readme.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
**Contributors:** stephenharris, F J Kaiser, ryancurban, giuseppe.mazzapica
|
3 |
**Tags:** post type archives, menu link, archives, navigation, metabox, administration user interface
|
4 |
**Requires at least:** 3.3
|
5 |
-
**Tested up to:** 4.
|
6 |
-
**Stable tag:** 1.3.
|
7 |
**License:** GPLv3 or later
|
8 |
**License URI:** http://www.gnu.org/licenses/gpl.txt
|
9 |
|
@@ -58,6 +58,9 @@ CPTs having true `has_archive' but false `publicly_queryable` and/or `show_in_va
|
|
58 |
|
59 |
## Changelog ##
|
60 |
|
|
|
|
|
|
|
61 |
### 1.3 ###
|
62 |
* Make submit button available for translation. Thanks to [@antwortzeit](https://github.com/antwortzeit).
|
63 |
* Removed hooks from constructor, allowed plugin disabling: removing all hooks and text domain
|
2 |
**Contributors:** stephenharris, F J Kaiser, ryancurban, giuseppe.mazzapica
|
3 |
**Tags:** post type archives, menu link, archives, navigation, metabox, administration user interface
|
4 |
**Requires at least:** 3.3
|
5 |
+
**Tested up to:** 4.1.1
|
6 |
+
**Stable tag:** 1.3.1
|
7 |
**License:** GPLv3 or later
|
8 |
**License URI:** http://www.gnu.org/licenses/gpl.txt
|
9 |
|
58 |
|
59 |
## Changelog ##
|
60 |
|
61 |
+
### 1.3.1 - 12th April 2015 ###
|
62 |
+
* Fixes incomptability with PHP 5.3 and older.
|
63 |
+
|
64 |
### 1.3 ###
|
65 |
* Make submit button available for translation. Thanks to [@antwortzeit](https://github.com/antwortzeit).
|
66 |
* Removed hooks from constructor, allowed plugin disabling: removing all hooks and text domain
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: stephenharris, F J Kaiser, ryancurban, giuseppe.mazzapica
|
3 |
Tags: post type archives, menu link, archives, navigation, metabox, administration user interface
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
9 |
|
@@ -52,6 +52,9 @@ CPTs having true `has_archive' but false `publicly_queryable` and/or `show_in_va
|
|
52 |
|
53 |
== Changelog ==
|
54 |
|
|
|
|
|
|
|
55 |
= 1.3 =
|
56 |
* Make submit button available for translation. Thanks to [@antwortzeit](https://github.com/antwortzeit).
|
57 |
* Removed hooks from constructor, allowed plugin disabling: removing all hooks and text domain
|
2 |
Contributors: stephenharris, F J Kaiser, ryancurban, giuseppe.mazzapica
|
3 |
Tags: post type archives, menu link, archives, navigation, metabox, administration user interface
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 4.1.1
|
6 |
+
Stable tag: 1.3.1
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
9 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 1.3.1 - 12th April 2015 =
|
56 |
+
* Fixes incomptability with PHP 5.3 and older.
|
57 |
+
|
58 |
= 1.3 =
|
59 |
* Make submit button available for translation. Thanks to [@antwortzeit](https://github.com/antwortzeit).
|
60 |
* Removed hooks from constructor, allowed plugin disabling: removing all hooks and text domain
|