Revisions Update, Jan 22nd

This week the revisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. team had our first in-person meeting and we started by setting out office hours for this cycle which are 4pm UTC on Mondays and Thursdays. We then went through and reviewed a large number of open tracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. tickets related to revisions to get a feel for the existing bugs and enhancementenhancement Enhancements are simple improvements to WordPress, such as the addition of a hook, a new feature, or an improvement to an existing feature. requests as well as to set down a line as to what we feel is and isn’t in scope.

We ended our review with 8 “in-scope” existing tickets:

Bugs:

  • #16215 – Post Revision history displays the incorrect author
  • #20982 – Attribution of changes via edit_last after restore
  • #16847 – Capability check fails for custom post typeCustom Post Type WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Custom Post Types gives your site the ability to have templated posts, to simplify the concept. revision edit (& map_meta_cap no good)
  • #9843 – Duplicate autosave/revisions clutter the database

Enhancements:

  • #/22289 – FilterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. to override WP_POST_REVISIONS (or define it later)
  • #19932 – More context when display revision info for plugins
  • #18733 – Show revision number for post/pages in Revision list
  • #7237 – Multiple clean_post_cache() calls when saving a post due to post revisions

We explicitly left the following out of scope:

  • #9681 – Add hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. to allow a pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party to support the deletion of unneeded revisions
  • #20564 – Post MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. Revisions
  • #20299 – Preview changes on a published post makes all post meta “live”
  • #11049 – Page Preview does not autosave page template

After the trac ticketticket Created for both bug reports and feature development on the bug tracker. discussion we then talked about UIUI User interface ideas and set ourselves some goals for this week:

  • More UI mockups – to come in the comment thread here
  • Start investigating and addressing some of the bugs

Full logs of our IRCIRC Internet Relay Chat, a network where users can have conversations online. IRC channels are used widely by open source projects, and by WordPress. The primary WordPress channels are #wordpress and #wordpress-dev, on irc.freenode.net. Chat are here

#3-6, #revisions