Make WordPress Core


Ignore:
Timestamp:
01/12/2010 12:14:27 AM (16 years ago)
Author:
ryan
Message:

Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674

File:
1 edited

Legend:

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

    r12616 r12702  
    1919
    2020    if ( strpos($sendback, 'page.php') !== false )
    21         $sendback = admin_url('page-new.php');
     21        $sendback = admin_url('post-new.php?post_type=page');
    2222
    2323    if ( isset($_GET['delete_all']) || isset($_GET['delete_all2']) ) {
     
    142142<div class="wrap">
    143143<?php screen_icon(); ?>
    144 <h2><?php echo esc_html( $title ); ?> <a href="page-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'page'); ?></a> <?php
     144<h2><?php echo esc_html( $title ); ?> <a href="post-new.php?post_type=page" class="button add-new-h2"><?php echo esc_html_x('Add New', 'page'); ?></a> <?php
    145145if ( isset($_GET['s']) && $_GET['s'] )
    146146    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( get_search_query() ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.