Ticket #49934: 49934.patch
File 49934.patch, 1.2 KB (added by , 5 years ago) |
---|
-
wp-admin/includes/class-wp-site-health.php
613 613 /* translators: 1: The currently active theme. 2: The active theme's parent theme. */ 614 614 __( 'To enhance your site’s security, we recommend you remove any themes you’re not using. You should keep your current theme, %1$s, and %2$s, its parent theme.' ), 615 615 $active_theme->name, 616 $active_theme->parent()->name616 ( $active_theme->parent_theme ) ? $active_theme->parent_theme : $active_theme->template 617 617 ) 618 618 ); 619 619 } else { … … 633 633 __( 'To enhance your site’s security, we recommend you remove any themes you’re not using. You should keep %1$s, the default WordPress theme, %2$s, your current theme, and %3$s, its parent theme.' ), 634 634 $default_theme ? $default_theme->name : WP_DEFAULT_THEME, 635 635 $active_theme->name, 636 $active_theme->parent()->name636 ( $active_theme->parent_theme ) ? $active_theme->parent_theme : $active_theme->template 637 637 ) 638 638 ); 639 639 }