Make WordPress Core

Ticket #48096: 48096.1.diff

File 48096.1.diff, 570 bytes (added by itowhid06, 5 years ago)
  • src/wp-includes/class-wp-theme.php

    diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php
    index 77cd807cee..bfb9cc543e 100644
    a b final class WP_Theme implements ArrayAccess { 
    678678         * @since 3.4.0
    679679         *
    680680         * @param string $key Type of data to store (theme, screenshot, headers, post_templates)
    681          * @param string $data Data to store
     681         * @param string|array $data Data to store
    682682         * @return bool Return value from wp_cache_add()
    683683         */
    684684        private function cache_add( $key, $data ) {