mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
Remove unused variable and CSS class. see #24046.
git-svn-id: http://core.svn.wordpress.org/trunk@24099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b554db95a
commit
6cf5361850
@ -4148,14 +4148,6 @@ body .ui-tooltip {
|
|||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-format-set .post-format-options {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-format-set .post-format-change {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#poststuff .post-format-change {
|
#poststuff .post-format-change {
|
||||||
margin: -7px 0 13px 2px;
|
margin: -7px 0 13px 2px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -129,7 +129,6 @@ foreach ( get_object_taxonomies( $post ) as $tax_name ) {
|
|||||||
// post format
|
// post format
|
||||||
$format_class = '';
|
$format_class = '';
|
||||||
$post_format = '';
|
$post_format = '';
|
||||||
$post_format_set_class = '';
|
|
||||||
$post_format_options = '';
|
$post_format_options = '';
|
||||||
if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) {
|
if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) {
|
||||||
wp_enqueue_script( 'post-formats' );
|
wp_enqueue_script( 'post-formats' );
|
||||||
@ -373,7 +372,7 @@ if ( 'post' == $post_type ) {
|
|||||||
require_once('./admin-header.php');
|
require_once('./admin-header.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap <?php echo $post_format_set_class; ?>">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<h2><?php
|
<h2><?php
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user