feat(cms): Add a plugin to disable WordPress admin view transitions - #656
Merged
jpmckinney merged 2 commits intoSep 1, 2026
Merged
Conversation
WordPress 7.0 animates navigation in the admin dashboard, with no built-in option to disable it. Enable the plugin on the coalition (open-spending.eu) site. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X5B29jwK5j6MaxBxQMYAs7
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X5B29jwK5j6MaxBxQMYAs7
jpmckinney
deleted the
claude/wordpress-admin-transitions-plugin-2t6v1w
branch
September 1, 2026 23:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WordPress 7.0 animates navigation in the admin dashboard (view transitions), with no built-in option to disable it.
disable-admin-view-transitionsmu-plugin that unhookswp_enqueue_view_transitions_admin_css()fromadmin_enqueue_scripts— the core callback that enqueues the transitions CSS. Equivalent to the dequeue/deregister snippet in the linked article, but simpler and self-documenting. Verified against core:default-filters.phpregisters the action before mu-plugins load, so a top-levelremove_action()catches it; on WordPress < 7.0 it's a harmless no-op.The feature is purely cosmetic (the stylesheet only sets
@view-transitionandview-transition-namerules for the admin menu), so removing it affects no functionality. Trac #64529 proposes making core respect the per-user "animation effects" setting, at which point this plugin degrades to a no-op and can be removed.vendor/bin/phpcspasses.🤖 Generated with Claude Code
https://claude.ai/code/session_01X5B29jwK5j6MaxBxQMYAs7
Generated by Claude Code