|
@@ 367-369 (lines=3) @@
|
| 364 |
|
|
| 365 |
|
// Only include title if not empty. |
| 366 |
|
/** This filter is documented in wp-includes/feed.php */ |
| 367 |
|
if ( $attachment_title = apply_filters( 'the_title_rss', $attachment->post_title ) ) { |
| 368 |
|
$url['image:image']['title'] = html_entity_decode( esc_html( $attachment_title ), ENT_XML1 ); |
| 369 |
|
} |
| 370 |
|
|
| 371 |
|
// Only include caption if not empty. |
| 372 |
|
/** This filter is documented in wp-includes/feed.php */ |
|
@@ 373-375 (lines=3) @@
|
| 370 |
|
|
| 371 |
|
// Only include caption if not empty. |
| 372 |
|
/** This filter is documented in wp-includes/feed.php */ |
| 373 |
|
if ( $attachment_caption = apply_filters( 'the_excerpt_rss', $attachment->post_excerpt ) ) { |
| 374 |
|
$url['image:image']['caption'] = html_entity_decode( esc_html( $attachment_caption ), ENT_XML1 ); |
| 375 |
|
} |
| 376 |
|
} |
| 377 |
|
} |
| 378 |
|
|