Make WordPress Core

Ticket #44397: 44397.3.diff

File 44397.3.diff, 1.2 KB (added by garrett-eclipse, 5 years ago)

Minor Refresh to update verbiage to "Default value false, to use the main theme root." and fix indent on following lines of docblock

  • src/wp-includes/theme.php

     
    608608 *
    609609 * @global array $wp_theme_directories
    610610 *
    611  * @param string $stylesheet_or_template Optional. The stylesheet or template name of the theme.
    612  *                                       Default is to leverage the main theme root.
    613  * @param string $theme_root             Optional. The theme root for which calculations will be based, preventing
    614  *                                       the need for a get_raw_theme_root() call.
     611 * @param bool|string $stylesheet_or_template Optional. The stylesheet or template name of the theme.
     612 *                                            Default value false, to use the main theme root.
     613 * @param bool|string $theme_root             Optional. The theme root for which calculations will be based, preventing
     614 *                                            the need for a get_raw_theme_root() call. Default value false.
    615615 * @return string Themes URI.
    616616 */
    617617function get_theme_root_uri( $stylesheet_or_template = false, $theme_root = false ) {