Make WordPress Core


Ignore:
Timestamp:
09/21/2019 01:47:12 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct type for the $data parameter of WP_Theme::cache_add().

Props itowhid06.
Fixes #48096.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r45932 r46226  
    679679         *
    680680         * @param string $key Type of data to store (theme, screenshot, headers, post_templates)
    681          * @param string $data Data to store
     681         * @param array|string $data Data to store
    682682         * @return bool Return value from wp_cache_add()
    683683         */
Note: See TracChangeset for help on using the changeset viewer.