WordPress.org

Make WordPress Core

Ticket #30240: 30240.2.patch

File 30240.2.patch, 1.3 KB (added by Mista-Flo, 3 years ago)

Update patch : Follow WP Coding standards

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

    diff --git wp-admin/includes/class-wp-ms-themes-list-table.php wp-admin/includes/class-wp-ms-themes-list-table.php
    index 0f3865a..ad1fea1 100644
    class WP_MS_Themes_List_Table extends WP_List_Table { 
    573573                                __( 'Visit Theme Site' )
    574574                        );
    575575                }
     576
     577                if ( $theme->parent() ) {
     578                        $theme_meta[] = sprintf( __( 'Child theme of %s' ), '<strong>' . $theme->parent()->display( 'Name' ) . '</strong>' );
     579                }
     580
    576581                /**
    577582                 * Filters the array of row meta for each theme in the Multisite themes
    578583                 * list table.