Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57928, comment 4


Ignore:
Timestamp:
03/15/2023 02:08:27 PM (4 years ago)
Author:
hellofromTonya

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57928, comment 4

    initial v1  
    33What if there is a real-world use case for `WP_CONTENT_DIR . '/themes/functions.php'` to exist? If there is, then returning empty strings from `wp_get_active_and_valid_themes()` would break loading that file on those sites.
    44
    5 What are the other impacts of real-world usages of invoking ``wp_get_active_and_valid_themes()` when `get_stylesheet()` and/or `get_template()` return an empty string?
     5What are the other impacts of real-world usages of invoking `wp_get_active_and_valid_themes()` when `get_stylesheet()` and/or `get_template()` return an empty string?
    66
    77Is `wp_get_active_and_valid_themes()` intentionally designed to allow only pointing at the main themes directory (root)? Or is this an oversight? hmm