src/wp-includes/class-wp-admin-bar.php 1 location
|
@@ 458-461 (lines=4) @@
|
| 455 |
|
if ( $node->type != 'group' || empty( $node->children ) ) |
| 456 |
|
return; |
| 457 |
|
|
| 458 |
|
if ( ! empty( $node->meta['class'] ) ) |
| 459 |
|
$class = ' class="' . esc_attr( trim( $node->meta['class'] ) ) . '"'; |
| 460 |
|
else |
| 461 |
|
$class = ''; |
| 462 |
|
|
| 463 |
|
?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $class; ?>><?php |
| 464 |
|
foreach ( $node->children as $item ) { |
src/wp-includes/author-template.php 1 location
|
@@ 438-441 (lines=4) @@
|
| 435 |
|
$link .= '<a href="' . get_author_feed_link( $author->ID, $args['feed_type'] ) . '"'; |
| 436 |
|
|
| 437 |
|
$alt = ''; |
| 438 |
|
if ( ! empty( $args['feed'] ) ) { |
| 439 |
|
$alt = ' alt="' . esc_attr( $args['feed'] ) . '"'; |
| 440 |
|
$name = $args['feed']; |
| 441 |
|
} |
| 442 |
|
|
| 443 |
|
$link .= '>'; |
| 444 |
|
|
src/wp-includes/media.php 1 location
|
@@ 1555-1556 (lines=2) @@
|
| 1552 |
|
if ( $atts['width'] < 1 || empty( $atts['caption'] ) ) |
| 1553 |
|
return $content; |
| 1554 |
|
|
| 1555 |
|
if ( ! empty( $atts['id'] ) ) |
| 1556 |
|
$atts['id'] = 'id="' . esc_attr( sanitize_html_class( $atts['id'] ) ) . '" '; |
| 1557 |
|
|
| 1558 |
|
$class = trim( 'wp-caption ' . $atts['align'] . ' ' . $atts['class'] ); |
| 1559 |
|
|