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:
parent
aa3be4873e
commit
1264df85b3
@ -358,13 +358,13 @@ endif;
|
|||||||
$can_edit_terms = current_user_can( $tax->cap->edit_terms );
|
$can_edit_terms = current_user_can( $tax->cap->edit_terms );
|
||||||
|
|
||||||
if ( $can_edit_terms ) {
|
if ( $can_edit_terms ) {
|
||||||
?>
|
?>
|
||||||
<div id="col-container" class="wp-clearfix">
|
<div id="col-container" class="wp-clearfix">
|
||||||
|
|
||||||
<div id="col-left">
|
<div id="col-left">
|
||||||
<div class="col-wrap">
|
<div class="col-wrap">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( 'category' == $taxonomy ) {
|
if ( 'category' == $taxonomy ) {
|
||||||
/**
|
/**
|
||||||
* Fires before the Add Category form.
|
* Fires before the Add Category form.
|
||||||
@ -616,7 +616,7 @@ endif;
|
|||||||
do_action( "after-{$taxonomy}-table", $taxonomy );
|
do_action( "after-{$taxonomy}-table", $taxonomy );
|
||||||
|
|
||||||
if ( $can_edit_terms ) {
|
if ( $can_edit_terms ) {
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /col-right -->
|
</div><!-- /col-right -->
|
||||||
|
|
||||||
|
@ -129,13 +129,13 @@ class Tests_L10n extends WP_UnitTestCase {
|
|||||||
*/
|
*/
|
||||||
function test_wp_dropdown_languages_exclude_en_us() {
|
function test_wp_dropdown_languages_exclude_en_us() {
|
||||||
$args = array(
|
$args = array(
|
||||||
'id' => 'foo',
|
'id' => 'foo',
|
||||||
'name' => 'bar',
|
'name' => 'bar',
|
||||||
'languages' => array( 'de_DE' ),
|
'languages' => array( 'de_DE' ),
|
||||||
'translations' => $this->wp_dropdown_languages_filter(),
|
'translations' => $this->wp_dropdown_languages_filter(),
|
||||||
'selected' => 'de_DE',
|
'selected' => 'de_DE',
|
||||||
'echo' => false,
|
'echo' => false,
|
||||||
'show_option_en_us' => false,
|
'show_option_en_us' => false,
|
||||||
);
|
);
|
||||||
$actual = wp_dropdown_languages( $args );
|
$actual = wp_dropdown_languages( $args );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user