|
@@ 256-258 (lines=3) @@
|
| 253 |
|
} |
| 254 |
|
|
| 255 |
|
// Only include title if not empty |
| 256 |
|
if ( $attachment_title = apply_filters( 'the_title_rss', $attachment->post_title ) ) { |
| 257 |
|
$url['image:image']['title'] = html_entity_decode( esc_html( $attachment_title ), ENT_XML1 ); |
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
// Only include caption if not empty |
| 261 |
|
if ( $attachment_caption = apply_filters( 'the_excerpt_rss', $attachment->post_excerpt ) ) { |
|
@@ 261-263 (lines=3) @@
|
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
// Only include caption if not empty |
| 261 |
|
if ( $attachment_caption = apply_filters( 'the_excerpt_rss', $attachment->post_excerpt ) ) { |
| 262 |
|
$url['image:image']['caption'] = html_entity_decode( esc_html( $attachment_caption ), ENT_XML1 ); |
| 263 |
|
} |
| 264 |
|
} |
| 265 |
|
} |
| 266 |
|
|