Skip to content

Commit

Permalink
Merge branch 'release/3.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
benhuson committed Jan 29, 2020
2 parents 74b0721 + 1f323f1 commit c8aec83
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.3.1] - 2020-01-29

### Fixed
- Fixed broken closing H2 tag for WooCommerce subtitle. Props @faktorvier.

## [3.3] - 2019-09-04

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

[Unreleased]: https://github.com/benhuson/wp-subtitle/compare/3.3...HEAD
[Unreleased]: https://github.com/benhuson/wp-subtitle/compare/3.3.1...HEAD
[3.3.1]: https://github.com/benhuson/wp-subtitle/compare/3.3...3.3.1
[3.3]: https://github.com/benhuson/wp-subtitle/compare/3.2...3.3
[3.2]: https://github.com/benhuson/wp-subtitle/compare/3.1...3.2
[3.1]: https://github.com/benhuson/wp-subtitle/compare/3.0...3.1
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu
Upgrade Notice
--------------

### 3.3.1
Fixed broken closing H2 tag for WooCommerce subtitle.

### 3.3
New API for getting and displaying the subtitle using `do_action( 'plugins/wp_subtitle/the_subtitle' )` and `apply_filters( 'plugins/wp_subtitle/get_subtitle', '' )`. Please see the documentation.

Expand Down
2 changes: 1 addition & 1 deletion plugin/includes/compat/woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function single_product_summary() {

do_action( 'plugins/wp_subtitle/the_subtitle', array(
'before' => '<h2 class="product_subtitle entry-subtitle wp-subtitle">',
'after' => '</p>'
'after' => '</h2>'
) );

}
Expand Down
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: husobj, husani
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SLZUF4XJTS4E6
Tags: subtitle, content, title, subheading, subhead, alternate title
Requires at least: 3.7
Tested up to: 5.2
Stable tag: 3.3
Tested up to: 5.3.2
Stable tag: 3.3.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

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

== Changelog ==

= 3.3.1 =
* Fixed broken closing H2 tag for WooCommerce subtitle. Props @faktorvier.

= 3.3 =
* New API for displaying the subtitle using `do_action( 'plugins/wp_subtitle/the_subtitle' )`.
* New API for getting the subtitle using `apply_filters( 'plugins/wp_subtitle/get_subtitle', '' )`.
Expand Down Expand Up @@ -247,6 +250,9 @@ The plugin is [hosted on GitHub](https://github.com/benhuson/wp-subtitle) and pu

== Upgrade Notice ==

= 3.3.1 =
Fixed broken closing H2 tag for WooCommerce subtitle.

= 3.3 =
New API for getting and displaying the subtitle using `do_action( 'plugins/wp_subtitle/the_subtitle' )` and `apply_filters( 'plugins/wp_subtitle/get_subtitle', '' )`. Please see the documentation.

Expand Down
2 changes: 1 addition & 1 deletion wp-subtitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: WP Subtitle
Plugin URI: http://wordpress.org/plugins/wp-subtitle/
Description: Adds a subtitle field to pages and posts. Possible to add support for custom post types.
Version: 3.3
Version: 3.3.1
Author: Ben Huson, Husani Oakley
Author URI: https://github.com/benhuson/wp-subtitle
License: GPLv2
Expand Down

0 comments on commit c8aec83

Please sign in to comment.