Remove unused variables introduced in [23843]. see #19570.
git-svn-id: https://develop.svn.wordpress.org/trunk@23993 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
95c3de8a9f
commit
744b903ec0
|
@ -179,8 +179,6 @@ if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_po
|
||||||
if ( $post_format == $slug ) {
|
if ( $post_format == $slug ) {
|
||||||
$class = 'class="active"';
|
$class = 'class="active"';
|
||||||
$active_post_type_slug = $slug;
|
$active_post_type_slug = $slug;
|
||||||
$active_post_type_label = ucfirst( $slug );
|
|
||||||
$active_post_format_description = $attr['description'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$post_format_options .= '<a ' . $class . ' href="?format=' . $slug . '" data-description="' . $attr['description'] . '" data-wp-format="' . $slug . '" title="' . ucfirst( sprintf( __( '%s Post' ), $slug ) ) . '"><div class="' . $slug . '"></div></a>';
|
$post_format_options .= '<a ' . $class . ' href="?format=' . $slug . '" data-description="' . $attr['description'] . '" data-wp-format="' . $slug . '" title="' . ucfirst( sprintf( __( '%s Post' ), $slug ) ) . '"><div class="' . $slug . '"></div></a>';
|
||||||
|
|
Loading…
Reference in New Issue