How would I see which wordpress posts have a revision history without opening each one?

From the Revisions documentation page: Revisions are stored in the posts table. Revisions are stored as children of their associated post (the same thing we do for attachments). They are given a post_status of inherit, a post_type of revision, and a post_name of {parent ID}- revision(-#) for regular revisions and {parent ID}-autosave for autosaves. So … Read more

How to get the revisions feature back on the classic editor?

I used to disable the Gutenberg with this: //disable gutenburg add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10); This filter disables the Gutenberg sitewide but it doesn’t work smoothly in other custom-post-types. Not only the revisions but other features are also hidden on the post edit screen of custom-post-types. Changing this to the post type filter works smoothly across all … Read more

How can I change the date format of the revision list?

You can filter the output like bellow: <?php /** * @param $revision_date_author * @param $revision * @param $link * @return mixed */ function filter_wp_post_revision_title_expanded( $revision_date_author, $revision, $link ) { $revision = get_post( $revision ); if ( ! $revision ) { return $revision; } if ( ! in_array( $revision->post_type, array( ‘post’, ‘page’, ‘revision’ ), true ) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)