Making WordPress.org


Ignore:
Timestamp:
04/01/2016 09:16:09 PM (10 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Whitespace cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-admin.php

    r171 r2877  
    8585         */
    8686        function admin_head () {
    87 ?>
     87                ?>
     88
    8889                <style type="text/css" media="screen">
    89                 /*<![CDATA[*/
    90 <?php
    91                         // Add extra actions to WordCamp Post Type admin header area
    92                         do_action( 'wcpt_admin_head' );
    93 ?>
     90                        /*<![CDATA[*/
     91                        <?php
     92                                // Add extra actions to WordCamp Post Type admin header area
     93                                do_action( 'wcpt_admin_head' );
     94                        ?>
     95                        /*]]>*/
     96                </style>
    9497
    95                 /*]]>*/
    96                 </style>
    97 <?php
     98                <?php
    9899        }
    99100
     
    125126                        return false;
    126127
    127 ?>
    128                 <h3><?php _e( 'WordCamps', 'wcpt' ); ?></h3>
    129                 <table class="form-table">
    130                         <tr valign="top">
    131                                 <th scope="row"><?php _e( 'WordCamps', 'wcpt' ); ?></th>
    132                                 <td>
     128                ?>
     129                        <h3><?php _e( 'WordCamps', 'wcpt' ); ?></h3>
    133130
    134                                 </td>
    135                         </tr>
    136                 </table>
    137 <?php
     131                        <table class="form-table">
     132                                <tr valign="top">
     133                                        <th scope="row"><?php _e( 'WordCamps', 'wcpt' ); ?></th>
     134                                        <td>
     135
     136                                        </td>
     137                                </tr>
     138                        </table>
     139                <?php
    138140
    139141                // Add extra actions to WordCamp Post Type profile update
     
    171173                // Loop through menu order and do some rearranging
    172174                foreach ( $menu_order as $index => $item ) {
    173 
    174175                        // Current item is our forum CPT, so set our separator here
    175176                        if ( ( ( 'edit.php?post_type=' . WCPT_POST_TYPE_ID ) == $item ) ) {
     
    181182                        if ( !in_array( $item, array( 'separator-wcpt' ) ) )
    182183                                $wcpt_menu_order[] = $item;
    183 
    184184                }
    185185
Note: See TracChangeset for help on using the changeset viewer.