mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Whitespace cleanup for [4656]
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -334,7 +334,7 @@ function get_the_attachment_link($id = 0, $fullsize = false, $max_dims = false)
|
||||
if ( ('attachment' != $_post->post_type) || ('' == $_post->guid) )
|
||||
return __('Missing Attachment');
|
||||
|
||||
$post_title = attribute_escape( $_post->post_title);
|
||||
$post_title = attribute_escape($_post->post_title);
|
||||
|
||||
if (! empty($_post->guid) ) {
|
||||
$innerHTML = get_attachment_innerHTML($_post->ID, $fullsize, $max_dims);
|
||||
@@ -420,7 +420,7 @@ function get_attachment_icon($id = 0, $fullsize = false, $max_dims = false) {
|
||||
}
|
||||
}
|
||||
|
||||
$post_title = attribute_escape( $post->post_title);
|
||||
$post_title = attribute_escape($post->post_title);
|
||||
|
||||
$icon = "<img src='$src' title='$post_title' alt='$post_title' $constraint/>";
|
||||
|
||||
@@ -435,7 +435,7 @@ function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false)
|
||||
|
||||
$post = & get_post($id);
|
||||
|
||||
$innerHTML = attribute_escape( $post->post_title);
|
||||
$innerHTML = attribute_escape($post->post_title);
|
||||
|
||||
return apply_filters('attachment_innerHTML', $innerHTML, $post->ID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user