From e25f6d7e2f7c97940b0bc0cdf1d489f90dee4f87 Mon Sep 17 00:00:00 2001 From: joedolson Date: Fri, 13 Dec 2024 21:53:15 +0000 Subject: [PATCH] Editor: Hide 'Skip to Editor' if editor not supported. Wrap the classic editor 'Skip to Editor' link in a conditional to prevent it from rendering on post types that do not have editor support. Props wildworks, parthvataliya, narenin, sainathpoojary, ankitkumarshah, parthvataliya, im3dabasia1. Fixes #62623. Built from https://develop.svn.wordpress.org/trunk@59511 git-svn-id: http://core.svn.wordpress.org/trunk@58897 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 8 +++++++- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index f20fafb349..b21b50f4ae 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -546,7 +546,13 @@ do_action( 'edit_form_top', $post ); ?> - + + +