[wp-trac] [WordPress Trac] #28436: allowed_themes filter does not pass blog_id

WordPress Trac noreply at wordpress.org
Sun Dec 27 21:52:09 UTC 2015


#28436: allowed_themes filter does not pass blog_id
-------------------------------------------------+-------------------------
 Reporter:  rmccue                               |       Owner:  lamosty 7
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.5
Component:  Themes                               |     Version:  3.4
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:  multisite
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch needs-
     refresh
 * milestone:  Future Release => 4.5


Comment:

 Current patch looks good, just needs a small update:

 * Needs to use `@since 4.5.0` in the DocBlock (trailing zero)
 * `'allowed_themes'` filter is `@since MU`
 * `setUp()` / `tearDown()` in the test class are not needed when they just
 call the parent's method

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


More information about the wp-trac mailing list