Skip to content

Latest commit

 

History

History
206 lines (143 loc) · 6.38 KB

CHANGELOG.md

File metadata and controls

206 lines (143 loc) · 6.38 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Unreleased

[3.4] - 2020-01-31

Changed

  • Pass the current post object to the wps_subtitle_field_placeholder filter. Props Dominik Schilling.

Added

  • Added support for the SEOPress plugin. Props @chriselkins.
  • You can now update the subtitle via the REST API. Props @chriselkins.

3.3.1 - 2020-01-29

Fixed

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

3.3 - 2019-09-04

Changed

  • 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', '' ).

Fixed

  • Admin column title now matches the meta box title if altered using the wps_meta_box_title filter.

3.2 - 2018-12-10

Changed

  • Fix WordPress 5.0 compatibility - check use_block_editor_for_post_type.

3.1 - 2018-09-04

Added

  • %%wps_subtitle%% placeholders for Yoast SEO compatibility.
  • WooCommerce compatibility. Go to WooCommerce > Settings > Products > Display for settings.
  • wps_subtitle_field_position filter to position admin field after_title, before_title or otherwise in a meta box.
  • Use metabox UI if editing in Gutenberg.

3.0 - 2017-09-05

Added

  • Make wps_subtitle available via WordPress REST API.
  • Added wps_subtitle_field_position filter to show subtitle admin field before_title, after_title or in meta box.

2.9.1 - 2017-06-01

Fixed

  • Fix preview not rendering correct template and other post meta.

2.9 - 2017-05-03

Added

Fixed

  • As of WordPress 4.3 no need to esc_attr() AND htmlentities() - can mess up special characters.

2.8.1 - 2016-09-14

Fixed

  • Fix PHP warning - get_admin_subtitle_value() should be declared static.

2.8 - 2016-09-07

Added

  • Add wps_default_subtitle filter.

Changed

  • Allow subtitle to contain HTML (same as main post title ).
  • Use WP_Subtitle class to validate saving of subtitle in the admin.

2.7.1 - 2016-08-05

Fixed

  • Fix incorrect post ID reference preventing subtitle from saving.

2.7 - 2016-08-04

Changed

  • Trim subtitle by default.
  • Apply wptexturize() on subtitle.
  • Use WP_Subtitle class to manage post subtitle.

2.6 - 2015-12-08

Security

  • Sanitize $_REQUEST and $_GET when establishing post type in the admin.

Added

  • Added quick edit support for subtitle. Props Fabian Marz and sun.
  • Allow subtitle post meta key to be filtered using wps_subtitle_key.
  • Add German translation. Props hatsumatsu.

2.5 - 2015-08-19

Added

  • Add [wp_subtitle] shortcode.

Fixed

  • Do not use variable for textdomain - causes issues for parsers.

Changed

  • Declare methods as public or private.

2.4.1 - 2015-06-09

Fixed

  • Fix PHP notice warning on 404 error page. Props Jay Williams.

Changed

  • Add a little space above subtitle field when below title field in admin.

2.4 - 2015-04-28

Added

  • Add subtitle admin column.

2.3.2 - 2015-02-10

Fixed

  • Show subtitle admin field when adding new post. Props Gabriel Doty.

2.3.1 - 2014-10-03

Security

  • Ensure subtitles are sanitized when saving.

2.3 - 2014-09-05

Fixed

  • Prevent subtitle fields from displaying on post types for which support has not been added using add_post_type_support(). Previously the fields were displayed but the subtitle would not be saved.
  • Escape subtitle admin field value - fixes issues with subtitles with quotes.

2.2 - 2014-07-02

Added

  • Added 'wps_subtitle_use_meta_box' filter to allow the edit field to be displayed in a meta box (the old way).

Changed

  • Moved subtitle field from meta box to below title field in WordPress 3.5+ (props Tor Morten)

2.1 - 2014-03-12

Added

  • Ready for translation - .pot file added.
  • Added deprecated function warnings if WP_DEBUG enabled.

Fixed

  • Fix static method warnings.

Changed

  • Only include admin functionality when needed.

2.0.1 - 2013-09-18

Fixed

  • Use <?php instead of just <?.

Changed

  • Break out some of the code into separate functions.

2.0 - 2013-07-29

Added

  • Added custom post type support - use add_post_type_support( '{post_type}', 'wps_subtitle' ).
  • Added 'wps_meta_box_title' filter.
  • Added 'wps_subtitle' filter.
  • Added 'wps_subtitle_field_description' filter.

Fixed

  • Fixed bug in more recent versions of WordPress.

1.0 - 2013-07-27

Added

  • First version.