WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-admin/admin-ajax.php

    r10150 r10491  
    431431    if ( empty( $tags ) )
    432432        die( __('No tags found!') );
     433
     434    if ( is_wp_error($tags) )
     435        die($tags->get_error_message());
    433436
    434437    foreach ( $tags as $key => $tag ) {
     
    721724
    722725    $data = '';
    723     $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) );
     726    $message = sprintf( __('Draft Saved at %s.'), date_i18n( __('g:i:s a') ) );
    724727
    725728    $supplemental = array();
Note: See TracChangeset for help on using the changeset viewer.