Make WordPress Core

Ticket #44397: 44397.diff

File 44397.diff, 1.2 KB (added by subrataemfluence, 6 years ago)
  • theme.php

    diff --git src/wp-includes/theme.php b/theme.php
    index 4e4edd8..9e7db19 100755
    old new function get_theme_root( $stylesheet_or_template = false ) { 
    599599 *
    600600 * @global array $wp_theme_directories
    601601 *
    602  * @param string $stylesheet_or_template Optional. The stylesheet or template name of the theme.
    603  *                                       Default is to leverage the main theme root.
    604  * @param string $theme_root             Optional. The theme root for which calculations will be based, preventing
    605  *                                       the need for a get_raw_theme_root() call.
     602 * @param string | bool $stylesheet_or_template Optional. The stylesheet or template name of the theme.
     603 *                                       Default is to leverage the main theme root. Default value false.
     604 * @param string | bool $theme_root             Optional. The theme root for which calculations will be based, preventing
     605 *                                       the need for a get_raw_theme_root() call. Default value false.
    606606 * @return string Themes URI.
    607607 */
    608608function get_theme_root_uri( $stylesheet_or_template = false, $theme_root = false ) {