Consolidate some strings. Props SergeyBiryukov. see #21087

git-svn-id: http://core.svn.wordpress.org/trunk@22854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2012-11-26 23:12:11 +00:00
parent b7c0d84c7f
commit eb404cc867
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ $messages['page'] = array(
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) ) ),
10 => sprintf( __('Page draft updated. <a target="_blank" href="%s">Preview page</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
);
$messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated' ) ); // Hack, for now.
$messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated.' ) ); // Hack, for now.
$messages = apply_filters( 'post_updated_messages', $messages );