Make WordPress Core


Ignore:
Timestamp:
08/09/2008 05:36:14 AM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r8589 r8600  
    9191<?php // Show publish in dropdown if user can publish or if they can re-publish this page ('edit_published_pages')
    9292// 'publish' option will be selected for published AND private posts (checkbox overrides dropdown)
    93 if ( current_user_can('publish_pages') OR ( $post->post_status == 'publish' AND current_user_can('edit_page', $post->ID) ) ) : 
     93if ( current_user_can('publish_pages') OR ( $post->post_status == 'publish' AND current_user_can('edit_page', $post->ID) ) ) :
    9494?>
    9595<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
     
    102102</select>
    103103</p>
    104 <?php if ( current_user_can( 'publish_posts' ) ) : ?> 
     104<?php if ( current_user_can( 'publish_posts' ) ) : ?>
    105105<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p>
    106106<?php endif; ?>
     
    210210
    211211
    212 <?php 
     212<?php
    213213function page_custom_meta_box($post){
    214214?>
     
    239239<p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p>
    240240<p><?php _e('These settings apply to this page only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p>
    241 <?php 
     241<?php
    242242}
    243243add_meta_box('pagecommentstatusdiv', __('Comments &amp; Pings'), 'page_comments_status_meta_box', 'page', 'advanced', 'core');
Note: See TracChangeset for help on using the changeset viewer.