WP-DraftsForFriends changelog

By Lester Chan, on WordPress.org since 2014. 1,000+ active installs.

Browse code

3 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 2.0.2
    • NEW: The post editor’s box creates a share link when you press Create Share Link, without saving the post and without reloading the page. The new link, its countdown and its Copy Link button appear in the box straight away, and pressing the button again gives you another link, so each friend can have one of their own.
    • CHANGED: The create-on-save checkbox is now shown only where it is the control that works: on a post that has never been saved, where WordPress has not yet given the post a status a share link may serve, and with JavaScript turned off. Everywhere else it is the button. A checkbox that defers an action until some later save reads as broken on a post that was saved long ago.
    • CHANGED: The box is split under two headings, Share Links over the links the post already has and New Share Link over the controls that make another, with the duration’s label on its own line so the amount and the unit fit the side column instead of wrapping.
    • CHANGED: The box reports what happened inside itself rather than through an admin notice at the top of the screen. The block editor draws meta boxes on a screen that has no notice area, so a message raised there was never seen.
    Source Diff vs 2.0.1
  2. 2.0.1
    • NEW: A Drafts for Friends box in the post editor: it lists the post’s share links with the time each has left and a Copy Link button for each, and creates a new link when the post is saved with its checkbox ticked. Posts only, because a share link asks for the post as ?p=<id> and WordPress answers that for posts alone.
    • NEW: An Edit Draft row action on each row of the list, which opens the post the share is for.
    • CHANGED: Copy Link is a row action on the Post column rather than a button appended to the URL, where it landed wherever the link happened to stop wrapping. It is still a button rather than a link, so nothing copies by prefetch.
    • CHANGED: The bulk actions read Extend Selected and Revoke Selected, which is the case WordPress uses for a control you act on. They do the same thing they did.
    • CHANGED: The upgrade check runs on init rather than admin_init, so an update applied by cron or WP-CLI is migrated on the site’s next request rather than waiting for somebody to open wp-admin.
    Source Diff vs 2.0.0
  3. 2.0.0
    • BREAKING: Requires WordPress 6.8 and PHP 8.2.
    • BREAKING: The screen has moved from edit.php?page=wp-draftsforfriends/wp-draftsforfriends.php to edit.php?page=wp-draftsforfriends, still under Posts -> WP-DraftsForFriends, and is now one page with two tabs, Shared Drafts and Settings. Links already sent to friends are not affected.
    • BREAKING: Extend and Delete are no longer links on each row. They are bulk actions named Extend selected and Revoke selected, applied to the rows you tick. A row action is a GET and one prefetch away from revoking every share on the page.
    • BREAKING: Removed the WPDraftsForFriends class. The plugin is now WP_DraftsForFriends plus WP_DraftsForFriends_Admin, _Install, _List_Table, _Options, _Preview, _Settings and _Shares under includes/.
    • BREAKING: Removed the wp_ajax_draftsforfriends_admin endpoint. Every write is now an ordinary nonced form post to the screen.
    • BREAKING: Dropped the dff_page, dff_sortby and dff_sortorder query arguments in favour of core’s paged, orderby and order. A bookmarked sorted URL no longer sorts.

    And 28 more notes.

    Source