| | 731 | if ( $theme->parent() ) { |
| | 732 | if ( $theme->parent()->get ( 'ThemeURI' ) ) { |
| | 733 | /* translators: %2$s: theme name */ |
| | 734 | $child_theme_meta = sprintf ( 'Child theme of <a href="%1$s">%2$s</a>', esc_url ( $theme->parent ()->get ( 'ThemeURI' ) ), esc_attr ( $theme->parent ()->get ( 'Name' ) ) ); |
| | 735 | } else { |
| | 736 | /* translators: %s: theme name */ |
| | 737 | $child_theme_meta = sprintf ( 'Child theme of %s.', esc_attr ( $theme->parent ()->get ( 'Name' ) ) ); |
| | 738 | } |
| | 739 | /* translators: %s: theme name */ |
| | 740 | $theme_meta[] = sprintf ( __ ( '%s' ), $child_theme_meta ); |
| | 741 | } |
| | 742 | |