WP Subtitle - Version 2.7.1

Version Description

  • Fix incorrect post ID reference preventing subtitle from saving.
Download this release

Release Info

Developer husobj
Plugin Icon 128x128 WP Subtitle
Version 2.7.1
Comparing to
See all releases

Code changes from version 2.7 to 2.7.1

Files changed (5) hide show
  1. CHANGELOG.md +8 -1
  2. README.md +3 -0
  3. admin/admin.php +1 -1
  4. readme.txt +8 -1
  5. wp-subtitle.php +1 -1
CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
 
5
  ## [Unreleased]
6
 
 
 
 
 
 
7
  ## [2.7] - 2016-08-04
8
 
9
  ### Changed
@@ -105,7 +110,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
105
  ### Added
106
  - First version.
107
 
108
- [Unreleased]: https://github.com/benhuson/wp-subtitle/compare/2.6...HEAD
 
 
109
  [2.6]: https://github.com/benhuson/wp-subtitle/compare/2.5...2.6
110
  [2.5]: https://github.com/benhuson/wp-subtitle/compare/2.4.1...2.5
111
  [2.4.1]: https://github.com/benhuson/wp-subtitle/compare/2.4...2.4.1
4
 
5
  ## [Unreleased]
6
 
7
+ ## [2.7.1] - 2016-08-05
8
+
9
+ ### Fixed
10
+ - Fix incorrect post ID reference preventing subtitle from saving.
11
+
12
  ## [2.7] - 2016-08-04
13
 
14
  ### Changed
110
  ### Added
111
  - First version.
112
 
113
+ [Unreleased]: https://github.com/benhuson/wp-subtitle/compare/2.7.1...HEAD
114
+ [2.7.1]: https://github.com/benhuson/wp-subtitle/compare/2.7...2.7.1
115
+ [2.7]: https://github.com/benhuson/wp-subtitle/compare/2.6...2.7
116
  [2.6]: https://github.com/benhuson/wp-subtitle/compare/2.5...2.6
117
  [2.5]: https://github.com/benhuson/wp-subtitle/compare/2.4.1...2.5
118
  [2.4.1]: https://github.com/benhuson/wp-subtitle/compare/2.4...2.4.1
README.md CHANGED
@@ -88,6 +88,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu
88
  Upgrade Notice
89
  --------------
90
 
 
 
 
91
  ### 2.7
92
  Trim subtitle and wptexturize() by default.
93
 
88
  Upgrade Notice
89
  --------------
90
 
91
+ ### 2.7.1
92
+ Fix incorrect post ID reference preventing subtitle from saving.
93
+
94
  ### 2.7
95
  Trim subtitle and wptexturize() by default.
96
 
admin/admin.php CHANGED
@@ -301,7 +301,7 @@ class WPSubtitle_Admin {
301
  // Save data
302
  if ( isset( $_POST['wps_subtitle'] ) ) {
303
 
304
- $subtitle = new WP_Subtitle( $post );
305
  $subtitle->update_subtitle( $_POST['wps_subtitle'] );
306
 
307
  }
301
  // Save data
302
  if ( isset( $_POST['wps_subtitle'] ) ) {
303
 
304
+ $subtitle = new WP_Subtitle( $post_id );
305
  $subtitle->update_subtitle( $_POST['wps_subtitle'] );
306
 
307
  }
readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  === WP Subtitle ===
2
  Contributors: husobj, husani
 
3
  Tags: subtitle, content, title, subheading, subhead, alternate title
4
  Requires at least: 3.7
5
  Tested up to: 4.6
6
- Stable tag: 2.7
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.txt
9
 
@@ -99,6 +100,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu
99
 
100
  == Changelog ==
101
 
 
 
 
102
  = 2.7 =
103
  * Trim subtitle by default.
104
  * Apply wptexturize() on subtitle.
@@ -158,6 +162,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu
158
 
159
  == Upgrade Notice ==
160
 
 
 
 
161
  = 2.7 =
162
  Trim subtitle and wptexturize() by default.
163
 
1
  === WP Subtitle ===
2
  Contributors: husobj, husani
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SLZUF4XJTS4E6
4
  Tags: subtitle, content, title, subheading, subhead, alternate title
5
  Requires at least: 3.7
6
  Tested up to: 4.6
7
+ Stable tag: 2.7.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.txt
10
 
100
 
101
  == Changelog ==
102
 
103
+ = 2.7.1 =
104
+ * Fix incorrect post ID reference preventing subtitle from saving.
105
+
106
  = 2.7 =
107
  * Trim subtitle by default.
108
  * Apply wptexturize() on subtitle.
162
 
163
  == Upgrade Notice ==
164
 
165
+ = 2.7.1 =
166
+ Fix incorrect post ID reference preventing subtitle from saving.
167
+
168
  = 2.7 =
169
  Trim subtitle and wptexturize() by default.
170
 
wp-subtitle.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: WP Subtitle
5
  Plugin URI: http://wordpress.org/plugins/wp-subtitle/
6
  Description: Adds a subtitle field to pages and posts. Possible to add support for custom post types.
7
- Version: 2.7
8
  Author: Ben Huson, Husani Oakley
9
  Author URI: https://github.com/benhuson/wp-subtitle
10
  License: GPLv2
4
  Plugin Name: WP Subtitle
5
  Plugin URI: http://wordpress.org/plugins/wp-subtitle/
6
  Description: Adds a subtitle field to pages and posts. Possible to add support for custom post types.
7
+ Version: 2.7.1
8
  Author: Ben Huson, Husani Oakley
9
  Author URI: https://github.com/benhuson/wp-subtitle
10
  License: GPLv2