Custom Post Type Permalinks - Version 2.0.2

Version Description

  • pointer html bug fix.
Download this release

Release Info

Developer Toro_Unit
Plugin Icon 128x128 Custom Post Type Permalinks
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

.svnignore CHANGED
@@ -1,5 +1,6 @@
1
  .DS_Store
2
  .git
 
3
  .gitignore
4
  .travis.yml
5
  .editorconfig
@@ -9,11 +10,9 @@ Makefile
9
  README.md
10
  _site
11
  bin
12
- composer.json
13
  composer.lock
14
  node_modules
15
  npm-debug.log
16
- package.json
17
  phpunit.xml
18
  tests
19
- vendor
1
  .DS_Store
2
  .git
3
+ .github
4
  .gitignore
5
  .travis.yml
6
  .editorconfig
10
  README.md
11
  _site
12
  bin
 
13
  composer.lock
14
  node_modules
15
  npm-debug.log
 
16
  phpunit.xml
17
  tests
18
+ vendor
CONTRIBUTING.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # How to contribute
2
+
3
+ ## Getting Started
4
+
5
+ * Make sure you have a [GitHub account](https://github.com/signup/free)
6
+ * Submit a ticket for your issue, assuming one does not already exist.
7
+ * Clearly describe the issue including steps to reproduce when it is a bug.
8
+ * Make sure you fill in the earliest version that you know has the issue.
9
+ * Fork the repository on GitHub
10
+
11
+ ## Making Changes
12
+
13
+ * Create a topic branch from where you want to base your work.
14
+ * This is usually the master branch.
15
+ * Only target release branches if you are certain your fix must be on that
16
+ branch.
17
+ * To quickly create a topic branch based on master; `git checkout -b
18
+ fix/master/my_contribution master`. Please avoid working directly on the
19
+ `master` branch.
20
+ * Make commits of logical units.
21
+ * Check for unnecessary whitespace with `git diff --check` before committing.
22
+ * Make sure your commit messages are in the proper format.
23
+
24
+ By contributing code, you grant its use under the [GNU General Public License v2 (or later)](http://www.gnu.org/licenses/gpl-2.0.html).
CPTP/Module/Admin.php CHANGED
@@ -162,7 +162,7 @@ class CPTP_Module_Admin extends CPTP_Module {
162
  jQuery(function ($) {
163
 
164
  $("#menu-settings .wp-has-submenu").pointer({
165
- content: "<?php esc_html_e( "<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink.php'>Permalinks</a>, set a custom permalink for each post type.</p>", 'custom-post-type-permalinks' );?>",
166
  position: {"edge": "left", "align": "center"},
167
  close: function () {
168
  $.post('admin-ajax.php', {
162
  jQuery(function ($) {
163
 
164
  $("#menu-settings .wp-has-submenu").pointer({
165
+ content: "<?php _e( "<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink.php'>Permalinks</a>, set a custom permalink for each post type.</p>", 'custom-post-type-permalinks' );?>",
166
  position: {"edge": "left", "align": "center"},
167
  close: function () {
168
  $.post('admin-ajax.php', {
composer.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "torounit/custom-post-type-permalinks",
3
+ "description": "Edit the permalink of custom post type !",
4
+ "type": "wordpress-plugin",
5
+ "license": "GPL-2.0+",
6
+ "authors": [
7
+ {
8
+ "name": "Hiroshi Urabe",
9
+ "email": "mail@torounit.com"
10
+ }
11
+ ],
12
+ "require": {},
13
+ "require-dev": {
14
+ "squizlabs/php_codesniffer": "2.*",
15
+ "wp-coding-standards/wpcs": "0.9.0"
16
+ },
17
+ "scripts": {
18
+ "post-install-cmd": [
19
+ "php vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/"
20
+ ],
21
+ "post-update-cmd": [
22
+ "php vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/"
23
+ ],
24
+ "phpcs": [
25
+ "php vendor/bin/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php"
26
+ ]
27
+ }
28
+ }
custom-post-type-permalinks.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://github.com/torounit/custom-post-type-permalinks
5
  Description: Add post archives of custom post type and customizable permalinks.
6
  Author: Toro_Unit
7
  Author URI: https://torounit.com/
8
- Version: 2.0.1
9
  Text Domain: custom-post-type-permalinks
10
  License: GPL2 or later
11
  Domain Path: /language/
@@ -17,7 +17,7 @@ Domain Path: /language/
17
  * Custom Post Type Permalinks
18
  *
19
  * @package Custom_Post_Type_Permalinks
20
- * @version 2.0.1
21
  */
22
 
23
  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: 2.0.2
9
  Text Domain: custom-post-type-permalinks
10
  License: GPL2 or later
11
  Domain Path: /language/
17
  * Custom Post Type Permalinks
18
  *
19
  * @package Custom_Post_Type_Permalinks
20
+ * @version 2.0.2
21
  */
22
 
23
  define( 'CPTP_PLUGIN_FILE', __FILE__ );
readme.md CHANGED
@@ -1,17 +1,18 @@
1
  # Custom Post Type Permalinks
2
  Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
3
- License: GPLv2 or Later
4
 
5
  Edit the permalink of custom post type.
6
 
7
 
 
 
 
 
 
8
  [![Build Status](https://travis-ci.org/torounit/custom-post-type-permalinks.svg)](https://travis-ci.org/torounit/custom-post-type-permalinks)
9
- [![](https://img.shields.io/wordpress/plugin/dt/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
10
- [![](https://img.shields.io/wordpress/v/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
11
- [![](https://img.shields.io/wordpress/plugin/r/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
12
- [![](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX)
13
-
14
- [![](http://www.torounit.com/wp-content/uploads/2011/11/banner-772x250.png)](https://wordpress.org/plugins/custom-post-type-permalinks/)
15
 
16
  ## Description
17
 
@@ -72,6 +73,10 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
72
 
73
  ## Changelog
74
 
 
 
 
 
75
  ### 2.0.0
76
 
77
  * `add_rewrite_rules` on `wp_loaded` priority is changed 10 from 100. [fix issue #53](https://github.com/torounit/custom-post-type-permalinks/issues/53)
1
  # Custom Post Type Permalinks
2
  Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
 
3
 
4
  Edit the permalink of custom post type.
5
 
6
 
7
+ [![Latest Stable Version](https://poser.pugx.org/torounit/custom-post-type-permalinks/v/stable)](https://packagist.org/packages/torounit/custom-post-type-permalinks)
8
+ [![License](https://poser.pugx.org/torounit/custom-post-type-permalinks/license)](https://packagist.org/packages/torounit/custom-post-type-permalinks)
9
+ [![Downloads](https://img.shields.io/wordpress/plugin/dt/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
10
+ [![Tested up](https://img.shields.io/wordpress/v/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
11
+ [![wp.org rating](https://img.shields.io/wordpress/plugin/r/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
12
  [![Build Status](https://travis-ci.org/torounit/custom-post-type-permalinks.svg)](https://travis-ci.org/torounit/custom-post-type-permalinks)
13
+ [![Donation](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX)
14
+ [![Gratipay](https://img.shields.io/gratipay/team/custom-post-type-permalinks.svg)](https://gratipay.com/Custom-Post-Type-Permalinks/)
15
+ [![](https://torounit.com/wp-content/uploads/2011/11/banner-772x250.png)](https://wordpress.org/plugins/custom-post-type-permalinks/)
 
 
 
16
 
17
  ## Description
18
 
73
 
74
  ## Changelog
75
 
76
+ ### 2.0.2
77
+
78
+ * pointer html bug fix.
79
+
80
  ### 2.0.0
81
 
82
  * `add_rewrite_rules` on `wp_loaded` priority is changed 10 from 100. [fix issue #53](https://github.com/torounit/custom-post-type-permalinks/issues/53)
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
4
  Tags: permalink,permalinks,custom post type,custom taxonomy,cms
5
  Requires at least: 4.3
6
  Tested up to: 4.6
7
- Stable tag: 2.0.1
8
  License: GPLv2 or Later
9
 
10
  Edit the permalink of custom post type.
@@ -67,6 +67,10 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
67
 
68
  == Changelog ==
69
 
 
 
 
 
70
  = 2.0.0 =
71
 
72
  * `add_rewrite_rules` on `wp_loaded` priority is changed 10 from 100. [fix issue #53](https://github.com/torounit/custom-post-type-permalinks/issues/53)
4
  Tags: permalink,permalinks,custom post type,custom taxonomy,cms
5
  Requires at least: 4.3
6
  Tested up to: 4.6
7
+ Stable tag: 2.0.2
8
  License: GPLv2 or Later
9
 
10
  Edit the permalink of custom post type.
67
 
68
  == Changelog ==
69
 
70
+ = 2.0.2 =
71
+
72
+ * pointer html bug fix.
73
+
74
  = 2.0.0 =
75
 
76
  * `add_rewrite_rules` on `wp_loaded` priority is changed 10 from 100. [fix issue #53](https://github.com/torounit/custom-post-type-permalinks/issues/53)