Build/Test Tools: Fix coding standards issues after [44515] and [44514].

See #44494, #43743.


git-svn-id: https://develop.svn.wordpress.org/trunk@44516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler 2019-01-09 12:36:43 +00:00
parent aa3be4873e
commit 1264df85b3
2 changed files with 10 additions and 10 deletions

View File

@ -358,13 +358,13 @@ endif;
$can_edit_terms = current_user_can( $tax->cap->edit_terms );
if ( $can_edit_terms ) {
?>
?>
<div id="col-container" class="wp-clearfix">
<div id="col-left">
<div class="col-wrap">
<?php
<?php
if ( 'category' == $taxonomy ) {
/**
* Fires before the Add Category form.
@ -616,7 +616,7 @@ endif;
do_action( "after-{$taxonomy}-table", $taxonomy );
if ( $can_edit_terms ) {
?>
?>
</div>
</div><!-- /col-right -->

View File

@ -129,13 +129,13 @@ class Tests_L10n extends WP_UnitTestCase {
*/
function test_wp_dropdown_languages_exclude_en_us() {
$args = array(
'id' => 'foo',
'name' => 'bar',
'languages' => array( 'de_DE' ),
'translations' => $this->wp_dropdown_languages_filter(),
'selected' => 'de_DE',
'echo' => false,
'show_option_en_us' => false,
'id' => 'foo',
'name' => 'bar',
'languages' => array( 'de_DE' ),
'translations' => $this->wp_dropdown_languages_filter(),
'selected' => 'de_DE',
'echo' => false,
'show_option_en_us' => false,
);
$actual = wp_dropdown_languages( $args );