WordPress.org

Make WordPress Core

Changeset 9221


Ignore:
Timestamp:
10/17/2008 12:36:18 AM (10 years ago)
Author:
ryan
Message:

Bring back h2 for add/edit post

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r9171 r9221  
    466466
    467467<div class="wrap">
    468 
     468<h2><?php echo $title ?></h2>
    469469<form name="post" action="post.php" method="post" id="post">
    470470<?php
  • trunk/wp-admin/post-new.php

    r8995 r9221  
    99/** Load WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 $title = __('Write Post');
     11$title = __('Add New Post');
    1212$parent_file = 'edit.php';
    1313$editing = true;
  • trunk/wp-admin/post.php

    r9217 r9221  
    117117
    118118case 'edit':
    119     $title = __('Edit Post');
    120119    $editing = true;
    121120
     
    156155    }
    157156
     157    $title = sprintf(__('Edit "%s"'), wp_html_excerpt(_draft_or_post_title($post->ID), 50));
     158
    158159    require_once('admin-header.php');
    159160
Note: See TracChangeset for help on using the changeset viewer.