Make WordPress Core

Changeset 1836


Ignore:
Timestamp:
10/28/2004 04:01:51 AM (21 years ago)
Author:
rboren
Message:

Make button save "Save Page" instead of "Create New Page" when editing an existing page.

File:
1 edited

Legend:

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

    r1753 r1836  
    7777
    7878<p class="submit">
    79   <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page') ?> &raquo;" />
     79  <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Edit Page') :_e('Create New Page') ?> &raquo;" />
    8080  <input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
    8181</p>
Note: See TracChangeset for help on using the changeset viewer.