WordPress.org

Make WordPress Core

Changeset 19324


Ignore:
Timestamp:
11/17/2011 07:50:14 PM (8 years ago)
Author:
nacin
Message:

WP_Screen->post_type is always set. see #19131.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r19284 r19324  
    5454    ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>',
    5555    pagenow = '<?php echo $current_screen->id; ?>',
    56     typenow = '<?php if ( isset($current_screen->post_type) ) echo $current_screen->post_type; ?>',
     56    typenow = '<?php echo $current_screen->post_type; ?>',
    5757    adminpage = '<?php echo $admin_body_class; ?>',
    5858    thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
Note: See TracChangeset for help on using the changeset viewer.