Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (7 years ago)
Author:
obenland
Message:

PLugins: Clean up formatting with phpcbf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php

    r6162 r6287  
    11<?php
    22namespace WordPressdotorg\Plugin_Directory\Admin\Metabox;
     3
    34use WordPressdotorg\Plugin_Directory\Admin\Status_Transitions;
    45use WordPressdotorg\Plugin_Directory\Template;
     
    9091        }
    9192
    92         $close_reasons  = Template::get_close_reasons();
    93         $close_reason   = (string) get_post_meta( $post->ID, '_close_reason', true );
     93        $close_reasons = Template::get_close_reasons();
     94        $close_reason  = (string) get_post_meta( $post->ID, '_close_reason', true );
    9495
    9596        $reason_label   = Template::get_close_reason();
     
    110111            <?php endif; ?>
    111112
    112             <?php if (
     113            <?php
     114            if (
    113115                    ( in_array( 'closed', $statuses, true ) || in_array( 'disabled', $statuses, true ) )
    114116                &&
    115117                    ( ! in_array( $post->post_status, array( 'closed', 'disabled' ) ) || $reason_unknown )
    116                 ) : ?>
     118                ) :
     119                ?>
    117120
    118121                <p>
     
    134137
    135138            <?php endforeach; ?>
    136         </div><!-- .misc-pub-section --><?php
     139        </div><!-- .misc-pub-section -->
     140        <?php
    137141    }
    138142
     
    148152            <label for="tested_with"><?php _e( 'Tested With:', 'wporg-plugins' ); ?></label>
    149153            <strong id="tested-with-display"><?php echo ( $tested_up_to ? sprintf( 'WordPress %s', $tested_up_to ) : $unknown_string ); ?></strong>
    150 
    151         </div><!-- .misc-pub-section --><?php
     154        </div><!-- .misc-pub-section -->
     155        <?php
    152156    }
    153157
Note: See TracChangeset for help on using the changeset viewer.