Make WordPress Core


Ignore:
Timestamp:
02/21/2006 06:11:46 AM (19 years ago)
Author:
ryan
Message:

Breakup post.php into post.php, comment.php, page.php, post-new.php

File:
1 edited

Legend:

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

    r3562 r3563  
    2121?>
    2222
    23 <form name="post" action="post.php" method="post" id="post">
     23<form name="post" action="page.php" method="post" id="post">
    2424
    2525<?php
     
    227227</div>
    228228
    229 <?php if ('edit' == $action) : ?>
     229<?php if ('edit' == $action) :
     230    if ( current_user_can('delete_page', $post->ID) ) ?>
    230231        <input name="deletepost" class="delete" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"return confirm('" . sprintf(__("You are about to delete this page \'%s\'\\n  \'Cancel\' to stop, \'OK\' to delete."), $wpdb->escape($post->post_title) ) . "')\""; ?> />
    231232<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.