Skip to content

Commit

Permalink
reame fix. 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
torounit committed Jul 29, 2016
1 parent 6ae509a commit b576b2d
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 101 deletions.
15 changes: 9 additions & 6 deletions bin/readme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
mdpath = File.join(File.dirname(__FILE__), "../readme.md");

badges = <<"EOS"
[![Latest Stable Version](https://poser.pugx.org/torounit/custom-post-type-permalinks/v/stable)](https://packagist.org/packages/torounit/custom-post-type-permalinks)
[![License](https://poser.pugx.org/torounit/custom-post-type-permalinks/license)](https://packagist.org/packages/torounit/custom-post-type-permalinks)
[![Downloads](https://img.shields.io/wordpress/plugin/dt/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![Tested up](https://img.shields.io/wordpress/v/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![wp.org rating](https://img.shields.io/wordpress/plugin/r/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![Build Status](https://travis-ci.org/torounit/custom-post-type-permalinks.svg)](https://travis-ci.org/torounit/custom-post-type-permalinks)
[![](https://img.shields.io/wordpress/plugin/dt/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![](https://img.shields.io/wordpress/v/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![](https://img.shields.io/wordpress/plugin/r/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX)
[![](http://www.torounit.com/wp-content/uploads/2011/11/banner-772x250.png)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![Donation](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX)
[![Gratipay](https://img.shields.io/gratipay/team/custom-post-type-permalinks.svg)](https://gratipay.com/Custom-Post-Type-Permalinks/)
[![](https://torounit.com/wp-content/uploads/2011/11/banner-772x250.png)](https://wordpress.org/plugins/custom-post-type-permalinks/)
EOS

string = File.read(txtpath, :encoding => Encoding::UTF_8);
Expand All @@ -23,6 +25,7 @@
string.gsub!(/Requires at least:.*\r?\n?/, "")
string.gsub!(/Tested up to:.*\r?\n?/, "")
string.gsub!(/Stable tag:.*\r?\n?/, "")
string.gsub!(/License:.*\r?\n?/, "")
string.gsub!(/## Description/, "\n"+badges+"\n"+"## Description")

File.write(mdpath, string);
4 changes: 2 additions & 2 deletions custom-post-type-permalinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Add post archives of custom post type and customizable permalinks.
Author: Toro_Unit
Author URI: https://torounit.com/
Version: 2.0.1
Version: 2.0.2
Text Domain: custom-post-type-permalinks
License: GPL2 or later
Domain Path: /language/
Expand All @@ -17,7 +17,7 @@
* Custom Post Type Permalinks
*
* @package Custom_Post_Type_Permalinks
* @version 2.0.1
* @version 2.0.2
*/

define( 'CPTP_PLUGIN_FILE', __FILE__ );
Expand Down
187 changes: 95 additions & 92 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Custom Post Type Permalinks
Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
License: GPLv2 or Later

Edit the permalink of custom post type.


[![Build Status](https://travis-ci.org/torounit/custom-post-type-permalinks.svg)](https://travis-ci.org/torounit/custom-post-type-permalinks)
[![](https://img.shields.io/wordpress/plugin/dt/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![](https://img.shields.io/wordpress/v/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![](https://img.shields.io/wordpress/plugin/r/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX)
[![](https://img.shields.io/gratipay/team/custom-post-type-permalinks.svg)](https://gratipay.com/Custom-Post-Type-Permalinks/)
[![](http://www.torounit.com/wp-content/uploads/2011/11/banner-772x250.png)](https://wordpress.org/plugins/custom-post-type-permalinks/)




[![Latest Stable Version](https://poser.pugx.org/torounit/custom-post-type-permalinks/v/stable)](https://packagist.org/packages/torounit/custom-post-type-permalinks)
[![License](https://poser.pugx.org/torounit/custom-post-type-permalinks/license)](https://packagist.org/packages/torounit/custom-post-type-permalinks)
[![Downloads](https://img.shields.io/wordpress/plugin/dt/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![Tested up](https://img.shields.io/wordpress/v/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![wp.org rating](https://img.shields.io/wordpress/plugin/r/custom-post-type-permalinks.svg)](https://wordpress.org/plugins/custom-post-type-permalinks/)
[![Build Status](https://travis-ci.org/torounit/custom-post-type-permalinks.svg)](https://travis-ci.org/torounit/custom-post-type-permalinks)
[![Donation](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX)
[![Gratipay](https://img.shields.io/gratipay/team/custom-post-type-permalinks.svg)](https://gratipay.com/Custom-Post-Type-Permalinks/)
[![](https://torounit.com/wp-content/uploads/2011/11/banner-772x250.png)](https://wordpress.org/plugins/custom-post-type-permalinks/)

## Description

Custom Post Type Permalinks allow you edit the permalink structure of custom post type.
Expand All @@ -28,8 +27,8 @@ And support wp_get_archives( "post_type=foo" ).
Donation: Please send [bitcoin](https://blockchain.info/ja/address/3HwkojX2pd9wc5kPFdXnDXMTNbgBmPRygX) or amazon.co.jp Gift to donate[at]torounit.com.


### Translators

### Translators

* Japanese(ja) - [Toro_Unit](http://www.torounit.com/)
* French(fr_FR) - [Geoffrey Crofte](http://geoffrey.crofte.fr/)
* Russian(ru_RU) - [Olart](http://olart.ru), [Natali_Z](https://profiles.wordpress.org/natali_z)
Expand Down Expand Up @@ -74,6 +73,10 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal

## Changelog

### 2.0.2

* pointer html bug fix.

### 2.0.0

* `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)
Expand All @@ -95,47 +98,47 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
* Add filter CPTP_set_{$module_name}_module.


### 1.4.0

### 1.4.0

* Fix Translation Problem.


### 1.3.1

### 1.3.1

* bugfix `wp_get_archives`.

### 1.3.0

### 1.3.0

* bugfix for polylang.

### 1.2.0

### 1.2.0

* Add filter `cptp_post_type_link_priority`, `cptp_term_link_priority`, `cptp_attachment_link_priority`.
* Add action `CPTP_registered_modules`.

### 1.1.0

### 1.1.0

* WPML Test. thanks [keita_kobayashi](https://profiles.wordpress.org/keita_kobayashi) !

### 1.0.5

### 1.0.5

* admin bug fix. thanks [ixkaito](https://profiles.wordpress.org/ixkaito) !
* Translation Update Thanks [Natali_Z](https://profiles.wordpress.org/natali_z) !

### 1.0.4

### 1.0.4

* option bug fix.

### 1.0.3

### 1.0.3

* add category rule, if only attached category to post type.

### 1.0.2

### 1.0.2

* category slug bug fix.

### 1.0.0

### 1.0.0

* Set Permalink enable register_post_type.
* Enable add post type query to taxonomy archives.
* Use Class Autoloader.
Expand All @@ -147,150 +150,150 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
* Date Structure Fix.
* Use Category Base.

### 0.9.7

### 0.9.7

* Adding date slug only conflicting %post_id%.
* Change taxonomy link rewrite rule. Use post_type.
* Can change template include custom taxonomy.

### 0.9.6

### 0.9.6

* Category and author.
* French Transration. Thanks Geoffrey!
* Hierarchial Term Fix.

### 0.9.5.6

### 0.9.5.6

* Strict Standard Error Fix.

### 0.9.5.4

### 0.9.5.4

* archive link bug fix.
* Tested Up 3.9

### 0.9.5.3

### 0.9.5.3

* “/”bug fix.
* taxonomy tmplate bug fix.

### 0.9.5.2

### 0.9.5.2

* Archives Rewrite Fix.

### 0.9.5.1

### 0.9.5.1

* Admin Bug Fix.

### 0.9.5

### 0.9.5

* Big change plugin architecture.
* Show has_archive, with_front.

### 0.9.4

### 0.9.4

* Internal release.

### 0.9.3.3

### 0.9.3.3

* has_archive Bug Fix.
* Fixed a bug in the link, including the extension.

### 0.9.3.2

### 0.9.3.2

* wp_get_archives Bug Fix.

### 0.9.3.1

### 0.9.3.1

* Tested 3.6
* Bug Fix.


### 0.9.3

### 0.9.3

* Admin page fix.
* slngle pageing link fix.
* Add Russian translation.


### 0.9

### 0.9

* Add custom post type archive only has_archive->true
* Change method name.
* Change hook custom post link.
* Use Slug in wp_get_archive().
* Fix attachment link.


### 0.8.7

### 0.8.7

* Translate Bug Fix.

### 0.8.6

### 0.8.6

* Paging Bug Fix.
* Commnent Paging.
* Show pointer.
*

### 0.8.1

### 0.8.1

* Bug Fix.

### 0.7.9.1

### 0.7.9.1

* Support Comment permalink.
* Small change in setting page.
* Change default value.
* Bug Fix.

### 0.7.8

### 0.7.8

* Bug fix.


### 0.7.7

### 0.7.7

* Bug fix.

### 0.7.6

### 0.7.6

* Add parent's slug to hierarchical post type.


### 0.7.5

### 0.7.5

* Add ability to disable to change custom taxonomy archive's permalink.


### 0.7.4

### 0.7.4

* Bug fix taxonomy rewrite.


### 0.7.3

### 0.7.3

* Changed part for saving the data.

### 0.7.2

### 0.7.2

* Reweite bug fix.
* Prewview bug fix.

### 0.7.1

### 0.7.1

* Bug fix.

### 0.7

### 0.7

* Add %{taxonomy}% tag.
* A large number of Bug Fix.
* Change Setting Page. Use Setting API.


### 0.6.2

### 0.6.2

* Fix %author% tag.

### 0.6

### 0.6

* First release on wordpress.org
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
Tags: permalink,permalinks,custom post type,custom taxonomy,cms
Requires at least: 4.3
Tested up to: 4.6
Stable tag: 2.0.1
Stable tag: 2.0.2
License: GPLv2 or Later

Edit the permalink of custom post type.
Expand Down Expand Up @@ -67,6 +67,10 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal

== Changelog ==

= 2.0.2 =

* pointer html bug fix.

= 2.0.0 =

* `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)
Expand Down

0 comments on commit b576b2d

Please sign in to comment.