Repository navigation
A security, bug fix and translation release. It tightens how Edit Flow checks capabilities and reads its stored settings, fixes a long list of bugs found in a pre-release audit, and makes the plugin work properly in other languages, including right-to-left ones. All users are encouraged to update.
A few changes may need a site owner or developer to act:
- Edit Flow's internal taxonomies (
post_status,ef_editorial_meta,ef_usergroupandfollowing_users) now need Edit Flow's own capabilities when they're managed or assigned through WordPress's term screens, REST, XML-RPC ortax_input. Followers can no longer be set throughtax_input; use the notifications module'sfollow_post_user()orwp_set_object_terms(). A non-public taxonomy added as an editable calendar field no longer saves. Edit Flow's own screens and meta boxes work as before. - Notification emails identify people by display name, without their email address.
- A user's calendar feed URL changes when their password changes, so they'll need to subscribe again with the new URL from Screen Options.
- The Dashboard Notepad only shows a note written by someone who can edit it, so a note by a user who has since left or changed role is hidden until an editor saves a new one.
- Editorial metadata values saved through REST, XML-RPC or
update_post_meta()are now stored the way the meta box stores them: dates as timestamps, numbers as integers and users as existing user IDs. Fields without a supported type are no longer shown. - Several strings were reworded so they can be translated properly, so some existing translations will need updating.
Security
- Custom status terms can no longer replace or hide WordPress's own post statuses, and managing or assigning terms in the
post_statustaxonomy needsmanage_optionsby @GaryJones in #1125 - Custom status names are always shown as text, and a status reads only its description and position from its stored data by @GaryJones in #1129
- Editorial metadata fields read only their known properties from stored data, fields without a supported type are skipped, and field names and types are escaped wherever they're printed by @GaryJones in #1124
- Managing or assigning editorial metadata field terms in the
ef_editorial_metataxonomy needsmanage_optionsby @GaryJones in #1131 - Editorial metadata values are sanitized by field type on every save path, and a date that can't be formatted shows as blank instead of causing an error by @GaryJones in #1128
- The Posts list only sorts by the editorial metadata columns it offers as sortable by @GaryJones in #1126
- User groups read only their description and member IDs from stored data by @GaryJones in #1122
- Managing or assigning user groups through WordPress's term handling needs the user group capability (
edit_usergroupsby default, filtered byef_manage_usergroups_cap) by @GaryJones in #1133 - The calendar only changes terms in public taxonomies the user can assign, and followers can't be assigned through WordPress's term handling by @GaryJones in #1123
- Calendar users can regenerate their feed URL from Screen Options, a password change renews it, and administrators can regenerate every user's feed URL from the Calendar settings by @GaryJones in #1134
- The Story Budget's Undo link is built only from numeric post IDs by @GaryJones in #1127
- Status change and editorial comment emails identify people by display name, without their email address by @GaryJones in #1130
- Dashboard notes use the notepad capability for every action, and the widget only shows a note by someone who holds it by @GaryJones in #1132
- The calendar escapes the URLs and text of each item's action links by @thisismyurl in #1016
Changed
- The calendar, Story Budget and Posts list run far fewer database queries, especially on sites with many posts or users by @GaryJones in #1140
Fixed
- Followers are notified again when WP-Cron publishes a scheduled post, and when a status changes with no user logged in by @GaryJones in #1141
- Deleting, renaming or migrating a custom status clears the moved posts' caches, instead of none or the whole object cache by @GaryJones in #1146
- The iCal feed respects its post type filter, an invalid
ef_calendar_create_post_capvalue no longer causes a fatal error, andef_notification_webhook_failedfires for webhook HTTP errors by @GaryJones in #1145 - The Story Budget shows Draft when custom statuses are off, covers the right number of days, shows the real Last Modified time, and filters correctly by a taxonomy other than categories by @GaryJones in #1144
- The
ef_editorial_comment_show_email_linkfilter links the author's name as intended, and editorial comments store the correct GMT date by @GaryJones in #1142 - The calendar keeps Draft in its status list when custom statuses are off by @GaryJones in #1111
- Calendar weeks no longer overlap, so the iCal feed doesn't repeat events by @GaryJones in #1076
- Calendar statuses such as "Pending Review" stay on one line inside their item, and opening an item no longer moves the calendar rows below it by @GaryJones in #1152
- The calendar header and block editor status panel load their translations, more strings can be translated, dates and numbers follow the site's language, and the calendar's checkbox fields keep their value on translated sites by @GaryJones in #1139
- Notification emails are sent in each recipient's language, custom statuses with non-Latin names work, and ambiguous strings have translator context by @GaryJones in #1148
- Edit Flow's admin screens are mirrored in right-to-left languages by @GaryJones in #1147
- The list of people notified of an editorial comment is worked out on the server and shown in each reader's language by @GaryJones in #1150
- The "Posts I'm Following" widget shows the last updated date, the custom status edit form and Story Budget show their notices, and the block editor shows "Save" for posts in a custom status by @GaryJones in #1149
Documentation
- Add developer documentation for hooks, capabilities and WP-CLI, and correct the README and contributing guide by @GaryJones in #1138
- Add DocBlocks to every hook by @GaryJones in #1143
- Standardize the security policy and move it to
.githubby @GaryJones in #1061 - Tell contributors that commits must be signed by @GaryJones in #1060
- Correct and update the agent instructions by @GaryJones in #1107 and #1110
Maintenance
- Upgrade
@wordpress/scriptsto 36 and move the JavaScript tests to Vitest by @GaryJones in #1067 - Update
@automattic/eslint-plugin-wpvipto 2.0 by @GaryJones in #1082 - Refresh vulnerable development dependencies in the lockfile by @GaryJones in #1069
- Test WordPress 7.1, trunk on PHP 8.6, and each job on the PHP version it names in CI by @GaryJones in #1106, #1113, and #1105
- Run wp-env as one environment on WordPress master by @GaryJones in #1109 and #1112
- Fix tests that failed against WordPress trunk, depended on test order, or broke when the E2E suite ran twice by @GaryJones in #1108, #1075, and #1137
- Routine dependency updates for npm packages and GitHub Actions by @dependabot