public-post-preview
Last commit date
js
4 months ago
CHANGELOG.md
4 weeks ago
public-post-preview.php
4 weeks ago
readme.txt
3 weeks ago
CHANGELOG.md
111 lines
| 1 | # Changelog |
| 2 | |
| 3 | ## 3.1.1 / 3.1.2 (2026-06-16) |
| 4 | * Fix hidden dynamic content added through the Block Bindings API. Props [](https://github.com/krokodok@krokodok](https://github.com/krokodok](https://github.com/krokodok). |
| 5 | |
| 6 | ## 3.1.0 (2026-03-01) |
| 7 | * Requires WordPress 6.6. |
| 8 | * Compatibility with WordPress 7.0. |
| 9 | * Add `ppp_show_public_preview` action for plugin extenders. |
| 10 | |
| 11 | ## 3.0.1 (2024-12-23) |
| 12 | * Fix calculation of expiration time for preview nonce. |
| 13 | |
| 14 | ## 3.0.0 (2024-12-21) |
| 15 | * Requires WordPress 6.5. |
| 16 | * Requires PHP 8.0. |
| 17 | * Add setting to increase the default expiration time (Settings > Reading > Public Post Preview). |
| 18 | * Show icon for preview link in list tables next to the state. |
| 19 | * Change interface in block editor to match latest editor design. |
| 20 | * Update sidebar description to include the preview link. |
| 21 | * Extend Preview dropdown for public preview in WordPress 6.7+. |
| 22 | * Add Public Preview post list view. Props [](https://github.com/rafaucau@rafaucau](https://github.com/rafaucau](https://github.com/rafaucau). |
| 23 | |
| 24 | ## 2.10.0 (2022-11-19) |
| 25 | * Compatibility with WordPress 6.1. |
| 26 | * Integrate with [](https://wordpress.org/plugins/user-switching/User Switching](https://wordpress.org/plugins/user-switching/](https://wordpress.org/plugins/user-switching/): Direct the user to the public preview of a post when they switch off from the post editing screen. Props [](https://github.com/johnbillion@johnbillion](https://github.com/johnbillion](https://github.com/johnbillion). |
| 27 | |
| 28 | ## 2.9.3 (2021-03-12) |
| 29 | * Compatibility with WordPress 5.7. |
| 30 | * Create a fresh preview URL when enabling public preview. |
| 31 | * Add check for possibly undefined PHP "superglobals". Props [](https://github.com/waviaei@waviaei](https://github.com/waviaei](https://github.com/waviaei). |
| 32 | |
| 33 | ## 2.9.2 (2020-10-03): |
| 34 | * Fix saving of preview status without a previous Ajax request. |
| 35 | |
| 36 | ## 2.9.1 (2020-07-25): |
| 37 | * Improve HTTP status codes for expired/invalid preview links. |
| 38 | |
| 39 | ## 2.9.0 (2019-07-20): |
| 40 | * Requires WordPress 5.0 |
| 41 | * Requires PHP 5.6 |
| 42 | * Adds notice (as Snackbar if supported) when changing preview status in block editor. |
| 43 | * Fixes incorrect status message in classic editor. |
| 44 | * Fixes grammar in expired link notice. Props [](https://github.com/garrett-eclipse@garrett-eclipse](https://github.com/garrett-eclipse](https://github.com/garrett-eclipse). |
| 45 | * Improves internal checks to be more strict. Props [](https://github.com/PatelUtkarsh@PatelUtkarsh](https://github.com/PatelUtkarsh](https://github.com/PatelUtkarsh). |
| 46 | * Removes deprecated i18n compatibility layer from Gutenberg plugin. |
| 47 | |
| 48 | ## 2.8.0 (2018-11-27): |
| 49 | * Add support for WordPress 5.0 and the new block editor. |
| 50 | |
| 51 | ## 2.7.0 (2018-09-14): |
| 52 | * Initial support for Gutenberg. |
| 53 | * Block robots for public post previews. Props [](https://github.com/westonruter@westonruter](https://github.com/westonruter](https://github.com/westonruter). |
| 54 | |
| 55 | ## 2.6.0 (2017-04-27): |
| 56 | * Make `DS_Public_Post_Preview::get_preview_link()` public. Props [](https://github.com/rcstr@rcstr](https://github.com/rcstr](https://github.com/rcstr). |
| 57 | * Send no-cache headers for public post previews. |
| 58 | |
| 59 | ## 2.5.0 (2016-04-05): |
| 60 | * Auto select preview link on focus. Props [](https://github.com/JeroenSormani@JeroenSormani](https://github.com/JeroenSormani](https://github.com/JeroenSormani). |
| 61 | * Remove preview status from posts which are trashed or after scheduled posts are published. |
| 62 | * Add support for paged posts. |
| 63 | |
| 64 | ## 2.4.1 (2015-10-13): |
| 65 | * Update text domain to support language packs. Translations are now managed via http://translate.wordpress.org/projects/wp-plugins/public-post-preview. |
| 66 | |
| 67 | ## 2.4 (2014-08-21): |
| 68 | * Supports EditFlow and custom statuses |
| 69 | * Disables comments and pings during public post preview |
| 70 | * Adds __Public Preview__ to the list of display states used in the Posts list table |
| 71 | * Prevents flickering of link box on Post edit while loading |
| 72 | |
| 73 | ## 2.3 (2013-11-18): |
| 74 | * Introduces a filter `ppp_preview_link`. With the filter you can adjust the preview link. |
| 75 | * If a post has gone live, redirect to it's proper permalink. |
| 76 | * Adds the query var `_ppp` to WordPress SEO by Yoast whitelist. |
| 77 | |
| 78 | ## 2.2 (2013-03-15): |
| 79 | * Based on user feedback: Removed the extra meta box and added preview link to the main Publish meta box. |
| 80 | * Only show the checkbox if the post status/post type is good. |
| 81 | * Requires WordPress 3.5 |
| 82 | |
| 83 | ## 2.1.1 (2012-09-19): |
| 84 | * Sorry for the new update. Through a change in 2.1 a filter was applied to each query. The misplaced "The link has been expired!" message is now gone. Props Aki Björklund and Jonathan Channon. |
| 85 | |
| 86 | ## 2.1 (2012-09-16): |
| 87 | * Introduces a filter `ppp_nonce_life`. With the filter you can adjust the expiration of a link. By default a link has a lifetime of 48 hours. |
| 88 | * In some situations (still not sure when) the preview link is rewritten as a permalink which results in an error. The plugin now works in this situations too. |
| 89 | |
| 90 | ## 2.0.1 (2012-07-25): |
| 91 | * Makes the preview link copyable again |
| 92 | |
| 93 | ## 2.0 (2012-07-23): |
| 94 | * Support for all public post types |
| 95 | * Saves public preview status via an AJAX request |
| 96 | * I18n |
| 97 | * Requires at least WordPress 3.3 |
| 98 | |
| 99 | ## 1.3 (2009-06-30): |
| 100 | * Hook in earlier in the post selection process to fix PHP notices |
| 101 | * Add uninstall functionality to remove options from the options table |
| 102 | |
| 103 | ## 1.2 (2009-03-30): |
| 104 | * Fix preview URL for scheduled posts on sites with a permalink other than default activated. |
| 105 | |
| 106 | ## 1.1 (2009-03-11): |
| 107 | * Don't limit public previews to posts in draft or pending status. Just exclude posts in publish status. |
| 108 | |
| 109 | ## 1.0 (2009-02-20): |
| 110 | * Initial Public Release |
| 111 |