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 ); ?> <label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo $title_placeholder; ?></label> <input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off" /> - <a href="#content" class="button-secondary screen-reader-text skiplink" onclick="if (tinymce) { tinymce.execCommand( 'mceFocus', false, 'content' ); }"><?php esc_html_e( 'Skip to Editor' ); ?></a> + <?php + if ( post_type_supports( $post_type, 'editor' ) ) { + ?> + <a href="#content" class="button-secondary screen-reader-text skiplink" onclick="if (tinymce) { tinymce.execCommand( 'mceFocus', false, 'content' ); }"><?php esc_html_e( 'Skip to Editor' ); ?></a> + <?php + } + ?> </div> <?php /** diff --git a/wp-includes/version.php b/wp-includes/version.php index bc1202aa3e..f5b51f82e9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59510'; +$wp_version = '6.8-alpha-59511'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.