Changeset 2712645
- Timestamp:
- 04/21/2022 08:55:15 AM (2 years ago)
- Location:
- wp-subtitle/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-subtitle/trunk/CHANGELOG.md
r2240907 r2712645 3 3 This project adheres to [Semantic Versioning](http://semver.org/). 4 4 5 6 7 8 9 5 10 ## [3.4] - 2020-01-31 11 12 13 6 14 7 15 ### Added -
wp-subtitle/trunk/README.md
r2240907 r2712645 141 141 -------------- 142 142 143 144 145 143 146 ### 3.4 144 147 Added support for the SEOPress plugin and updating the subtitle via the REST API. -
wp-subtitle/trunk/plugin/admin/admin.php
r2240907 r2712645 28 28 add_filter( '_wp_post_revision_fields', array( 'WPSubtitle_Admin', '_wp_post_revision_fields' ), 9 ); 29 29 add_action( 'wp_restore_post_revision', array( 'WPSubtitle_Admin', 'wp_restore_post_revision' ), 10, 2 ); 30 31 30 32 31 33 } … … 315 317 // As of WordPress 4.3 no need to esc_attr() AND htmlentities(). 316 318 // @see https://core.trac.wordpress.org/changeset/33271 317 echo '<input type="text" id="wpsubtitle" name="wps_subtitle" value="' . esc_attr( $value ) . '" autocomplete="off" placeholder="' . esc_attr( apply_filters( 'wps_subtitle_field_placeholder', __( 'Enter subtitle here', 'wp-subtitle' ) ) ) . '" style="width:99%;" />';319 echo '<input type="text" id="wpsubtitle" name="wps_subtitle" value="' . esc_attr( $value ) . '" autocomplete="off" placeholder="' . esc_attr( apply_filters( 'wps_subtitle_field_placeholder', __( 'Enter subtitle here', 'wp-subtitle' ) ) ) . '" style="width:99%;" />'; 318 320 319 321 echo apply_filters( 'wps_subtitle_field_description', '', $post ); … … 342 344 // As of WordPress 4.3 no need to esc_attr() AND htmlentities(). 343 345 // @see https://core.trac.wordpress.org/changeset/33271 344 echo '<input type="text" id="wpsubtitle" name="wps_subtitle" value="' . esc_attr( $value ) . '" autocomplete="off" placeholder="' . esc_attr( apply_filters( 'wps_subtitle_field_placeholder', __( 'Enter subtitle here', 'wp-subtitle' ) ) ) . '" />';346 echo '<input type="text" id="wpsubtitle" name="wps_subtitle" value="' . esc_attr( $value ) . '" autocomplete="off" placeholder="' . esc_attr( apply_filters( 'wps_subtitle_field_placeholder', __( 'Enter subtitle here', 'wp-subtitle' ) ) ) . '" />'; 345 347 346 348 echo '</div>'; … … 520 522 } 521 523 524 525 526 527 528 529 522 530 } -
wp-subtitle/trunk/readme.txt
r2240907 r2712645 4 4 Tags: subtitle, content, title, subheading, subhead, alternate title 5 5 Requires at least: 3.7 6 Tested up to: 5. 3.27 Stable tag: 3.4 6 Tested up to: 5. 7 Stable tag: 3.4 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 154 154 == Changelog == 155 155 156 157 158 159 156 160 = 3.4 = 157 161 * Added support for the SEOPress plugin. Props @chriselkins. … … 255 259 == Upgrade Notice == 256 260 261 262 263 257 264 = 3.4 = 258 265 Added support for the SEOPress plugin and updating the subtitle via the REST API. -
wp-subtitle/trunk/wp-subtitle.php
r2240907 r2712645 5 5 Plugin URI: http://wordpress.org/plugins/wp-subtitle/ 6 6 Description: Adds a subtitle field to pages and posts. Possible to add support for custom post types. 7 Version: 3.4 7 Version: 3.4 8 8 Author: Ben Huson, Husani Oakley 9 9 Author URI: https://github.com/benhuson/wp-subtitle
Note: See TracChangeset
for help on using the changeset viewer.