mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
No-JS fixes.
* Hide QuickPress. * Hide the gap between the title and content editor. * Hide 'select all' checkboxes in list tables. * Hide a non-functioning link in the custom fields metabox. * Hide non-functioning buttons in the featured image box (same as in 3.4). * RTL and miscellany. props TobiasBg, lessbloat, ocean90. fixes #22456. git-svn-id: https://develop.svn.wordpress.org/trunk@22719 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -322,7 +322,7 @@ if ( !empty($shortlink) )
|
||||
$sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-small" onclick="prompt('URL:', jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';
|
||||
|
||||
if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?>
|
||||
<div id="edit-slug-box">
|
||||
<div id="edit-slug-box" class="hide-if-no-js">
|
||||
<?php
|
||||
if ( $sample_permalink_html && 'auto-draft' != get_post_status( $post ) )
|
||||
echo $sample_permalink_html;
|
||||
|
||||
Reference in New Issue
Block a user