plugin updates
This commit is contained in:
@@ -434,7 +434,7 @@ echo esc_html( $title );
|
||||
|
||||
<?php
|
||||
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) ) {
|
||||
echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>';
|
||||
echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new_item ) . '</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -546,6 +546,7 @@ 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>
|
||||
</div>
|
||||
<?php
|
||||
/**
|
||||
@@ -621,18 +622,16 @@ if ( post_type_supports( $post_type, 'editor' ) ) {
|
||||
array(
|
||||
'_content_editor_dfw' => $_content_editor_dfw,
|
||||
'drag_drop_upload' => true,
|
||||
'tabfocus_elements' => 'content-html,save-post',
|
||||
'editor_height' => 300,
|
||||
'tinymce' => array(
|
||||
'resize' => false,
|
||||
'wp_autoresize_on' => $_wp_editor_expand,
|
||||
'add_unload_trigger' => false,
|
||||
'wp_keep_scroll_position' => ! $is_IE,
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
<table id="post-status-info"><tbody><tr>
|
||||
<table id="post-status-info" role="presentation"><tbody><tr>
|
||||
<td id="wp-word-count" class="hide-if-no-js">
|
||||
<?php
|
||||
printf(
|
||||
|
||||
Reference in New Issue
Block a user