Coding Standards: Correct equals sign alignment in various files.
This resolves a few WPCS warnings:
{{{
Equals sign not aligned with surrounding statements
}}}
so that the output of `composer format` is clean.
Follow-up to [56276], [56302].
Props jrf.
See #59161, #58831.
Built from https://develop.svn.wordpress.org/trunk@56521
git-svn-id: http://core.svn.wordpress.org/trunk@56033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -23,8 +23,8 @@ if ( ! ( current_theme_supports( 'block-template-parts' ) || wp_is_block_theme()
|
||||
wp_die( __( 'The theme you are currently using is not compatible with the Site Editor.' ) );
|
||||
}
|
||||
|
||||
$is_template_part = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] );
|
||||
$is_template_part_path = isset( $_GET['path'] ) && 'wp_template_partall' === sanitize_key( $_GET['path'] );
|
||||
$is_template_part = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] );
|
||||
$is_template_part_path = isset( $_GET['path'] ) && 'wp_template_partall' === sanitize_key( $_GET['path'] );
|
||||
$is_template_part_editor = $is_template_part || $is_template_part_path;
|
||||
|
||||
if ( ! wp_is_block_theme() && ! $is_template_part_editor ) {
|
||||
|
||||
Reference in New Issue
Block a user