Skip to content

Commit

Permalink
Merge branch 'release/2.7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
benhuson committed Aug 5, 2016
2 parents b5be36f + 3aa7efb commit ddd0be2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [2.7.1] - 2016-08-05

### Fixed
- Fix incorrect post ID reference preventing subtitle from saving.

## [2.7] - 2016-08-04

### Changed
Expand Down Expand Up @@ -105,7 +110,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added
- First version.

[Unreleased]: https://github.com/benhuson/wp-subtitle/compare/2.6...HEAD
[Unreleased]: https://github.com/benhuson/wp-subtitle/compare/2.7.1...HEAD
[2.7.1]: https://github.com/benhuson/wp-subtitle/compare/2.7...2.7.1
[2.7]: https://github.com/benhuson/wp-subtitle/compare/2.6...2.7
[2.6]: https://github.com/benhuson/wp-subtitle/compare/2.5...2.6
[2.5]: https://github.com/benhuson/wp-subtitle/compare/2.4.1...2.5
[2.4.1]: https://github.com/benhuson/wp-subtitle/compare/2.4...2.4.1
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu
Upgrade Notice
--------------

### 2.7.1
Fix incorrect post ID reference preventing subtitle from saving.

### 2.7
Trim subtitle and wptexturize() by default.

Expand Down
2 changes: 1 addition & 1 deletion admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public static function _save_post( $post_id ) {
// Save data
if ( isset( $_POST['wps_subtitle'] ) ) {

$subtitle = new WP_Subtitle( $post );
$subtitle = new WP_Subtitle( $post_id );
$subtitle->update_subtitle( $_POST['wps_subtitle'] );

}
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: husobj, husani
Tags: subtitle, content, title, subheading, subhead, alternate title
Requires at least: 3.7
Tested up to: 4.6
Stable tag: 2.7
Stable tag: 2.7.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Expand Down Expand Up @@ -99,6 +99,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu

== Changelog ==

= 2.7.1 =
* Fix incorrect post ID reference preventing subtitle from saving.

= 2.7 =
* Trim subtitle by default.
* Apply wptexturize() on subtitle.
Expand Down Expand Up @@ -158,6 +161,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu

== Upgrade Notice ==

= 2.7.1 =
Fix incorrect post ID reference preventing subtitle from saving.

= 2.7 =
Trim subtitle and wptexturize() by default.

Expand Down

0 comments on commit ddd0be2

Please sign in to comment.