mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Remove curly quotes from auto content generation for audio tracks on upload. Texturize should be doing this on display.
props tollmanz. fixes 24810. git-svn-id: http://core.svn.wordpress.org/trunk@24788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
85cf232e23
commit
bc0a60920d
@ -236,15 +236,15 @@ function media_handle_upload($file_id, $post_id, $post_data = array(), $override
|
||||
|
||||
if ( ! empty( $meta['album'] ) && ! empty( $meta['artist'] ) ) {
|
||||
/* translators: 1: audio track title, 2: album title, 3: artist name */
|
||||
$content .= sprintf( __( '“%1$s” from %2$s by %3$s.' ), $title, $meta['album'], $meta['artist'] );
|
||||
$content .= sprintf( __( '"%1$s" from %2$s by %3$s.' ), $title, $meta['album'], $meta['artist'] );
|
||||
} else if ( ! empty( $meta['album'] ) ) {
|
||||
/* translators: 1: audio track title, 2: album title */
|
||||
$content .= sprintf( __( '“%1$s” from %2$s.' ), $title, $meta['album'] );
|
||||
$content .= sprintf( __( '"%1$s" from %2$s.' ), $title, $meta['album'] );
|
||||
} else if ( ! empty( $meta['artist'] ) ) {
|
||||
/* translators: 1: audio track title, 2: artist name */
|
||||
$content .= sprintf( __( '“%1$s” by %2$s.' ), $title, $meta['artist'] );
|
||||
$content .= sprintf( __( '"%1$s" by %2$s.' ), $title, $meta['artist'] );
|
||||
} else {
|
||||
$content .= sprintf( __( '“%s”.' ), $title );
|
||||
$content .= sprintf( __( '"%s".' ), $title );
|
||||
}
|
||||
|
||||
} else if ( ! empty( $meta['album'] ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user