Make WordPress Core

Ticket #2723: 2723.patch

File 2723.patch, 943 bytes (added by ryanscheuermann, 20 years ago)

correct permissions typo in edit_page_form.php

  • wp-admin/edit-page-form.php

     
    6161
    6262<fieldset class="dbx-box">
    6363<h3 class="dbx-handle"><?php _e('Page Status') ?></h3>
    64 <div class="dbx-content"><?php if ( current_user_can('publish_posts') ) : ?>
     64<div class="dbx-content"><?php if ( current_user_can('publish_pages') ) : ?>
    6565<label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'); ?> /> <?php _e('Published') ?></label>
    6666<?php endif; ?>
    6767          <label for="post_status_draft" class="selectit"><input id="post_status_draft" name="post_status" type="radio" value="draft" <?php checked($post->post_status, 'draft'); ?> /> <?php _e('Draft') ?></label>