General: Linter cleanup
`phpcbf` was able to clean up a few files. Tests were breaking as a result of code formatting. Fixes #48142 Props whyisjake Built from https://develop.svn.wordpress.org/trunk@46312 git-svn-id: http://core.svn.wordpress.org/trunk@46111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
22cba90dea
commit
38dc032e66
|
@ -98,10 +98,10 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
|
||||||
|
|
||||||
$output .= isset( $title ) ? esc_html( $title ) : esc_html( $item->title );
|
$output .= isset( $title ) ? esc_html( $title ) : esc_html( $item->title );
|
||||||
|
|
||||||
if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) {
|
if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) {
|
||||||
// Append post states.
|
// Append post states.
|
||||||
$output .= _post_states( $item, false );
|
$output .= _post_states( $item, false );
|
||||||
}
|
}
|
||||||
|
|
||||||
$output .= '</label>';
|
$output .= '</label>';
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||||
echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
|
echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
|
||||||
wp_dropdown_categories( $dropdown_options );
|
wp_dropdown_categories( $dropdown_options );
|
||||||
submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
|
submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-beta1-46311';
|
$wp_version = '5.3-beta1-46312';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue