WordPress.org

Make WordPress Core

Ticket #30240: 30240.diff

File 30240.diff, 744 bytes (added by dpik, 5 years ago)

Patch to implement #30240 feature request

  • wp-admin/includes/class-wp-ms-themes-list-table.php

     
    388388
    389389                                        if ( $theme->get('ThemeURI') )
    390390                                                $theme_meta[] = '<a href="' . $theme->display('ThemeURI') . '" title="' . esc_attr__( 'Visit theme homepage' ) . '">' . __( 'Visit Theme Site' ) . '</a>';
     391                                       
     392                                        if( $theme->parent() )
     393                                                $theme_meta[] = sprintf( __('Child theme of %s'), '<strong>' . $theme->parent()->display('Name' ) . '</strong>' );
    391394
    392395                                        /**
    393396                                         * Filter the array of row meta for each theme in the Multisite themes