WordPress.org

Make WordPress Core

Ticket #21087: 21087.patch

File 21087.patch, 892 bytes (added by SergeyBiryukov, 17 months ago)
  • wp-admin/edit-form-advanced.php

     
    5959         9 => sprintf( __('Page scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ), 
    6060        10 => sprintf( __('Page draft updated. <a target="_blank" href="%s">Preview page</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), 
    6161); 
    62 $messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated' ) ); // Hack, for now. 
     62$messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated.' ) ); // Hack, for now. 
    6363 
    6464$messages = apply_filters( 'post_updated_messages', $messages ); 
    6565