[wp-trac] [WordPress Trac] #48096: Fixed docblock in `cache_add` method in `WP_Theme` class

WordPress Trac noreply at wordpress.org
Sat Sep 21 12:10:12 UTC 2019


#48096: Fixed docblock in `cache_add` method in `WP_Theme` class
--------------------------+------------------------------
 Reporter:  itowhid06     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------

Comment (by williampatton):

 Hey @itowhid06, thank you for the patch!

 If you have looked to see that sometimes array is passed to this did you
 consider if it would be more useful to use `string|array` instead of
 `mixed`?

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


More information about the wp-trac mailing list