Several Plugin Conflicts with new update
-
I have found a couple issues with two plugins I have installed when updating to the 3.0.x version of LH Archived Status plugin.
1. Missing “Copy to a new draft” link on Classic editor views with the Yoast Duplicate Post plugin. This hooks into the ‘post_submitbox_start’ action and the link displays right above the “Move to Trash” link in #major-publishing-actions div. I found I was able to resolve the issue by editing line 715 of wp-statuses/inc/admin/classes/class-wp-statuses-admin.php changing
do_action( 'post_submitbox_start');todo_action( 'post_submitbox_start', $post );Hoping that this fix can be added to the plugin on future update.2. Missing text and buttons with the PublishPress Revisions plugin. A “New Revision” button is supposed to appear in the #major-publishing-actions div above “Move to Trash” link. When I enable this plugin it doesn’t appear in either Classic or Block view.
2b. Also, a “New Revision” text link should appear under the quick actions on /wp-admin/edit.php?post_type=page pages. The link is there but the text doesn’t appear for some reason. This is resolved when I disable LH Archived Status.
EDIT: I believe the PublishPress Revisions issues seem to be related to the global $wp_post_statuses object changing structure. The $wp_post_statuses->[status]->labels changes from an object in default WordPress to an Array when LH Archived plugin is enabled.
The topic ‘Several Plugin Conflicts with new update’ is closed to new replies.