[wp-trac] [WordPress Trac] #46900: Site Health: count of inactive themes counts default and active themes separately, even when identical

WordPress Trac noreply at wordpress.org
Tue Apr 16 13:12:38 UTC 2019


#46900: Site Health: count of inactive themes counts default and active themes
separately, even when identical
-------------------------------------------------+-------------------------
 Reporter:  johnpgreen                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.2
Component:  Administration                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  site-health good-first-bug has-      |     Focuses:
  patch needs-testing 2nd-opinion                |
-------------------------------------------------+-------------------------
Changes (by mukesh27):

 * keywords:  site-health good-first-bug has-patch needs-testing => site-
     health good-first-bug has-patch needs-testing 2nd-opinion


Comment:

 Both patch works fine for me but i think we have to go with @ianbelanger
 solution/patch as it will remove the code which we do not needed if we set
 {{{ $allowed_theme_count = 1; }}} and it was already define in file so
 remove condition code is good solution for this ticket

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46900#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list