Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54910, comment 45


Ignore:
Timestamp:
01/30/2022 12:24:05 PM (2 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54910, comment 45

    initial v1  
    66  - If none exists and is readable, we consider it a classic/hybrid theme.
    77  - For the `index.html` files that exist, we scan the directory for files that don't end in `.html` and are not `.htaccess` or `web.config`.
    8     - As soon as a 'disallowed' file is found, we skip to the next iteration/end the loop.
     8    - As soon as a 'disallowed' file is found, we skip to the next iteration/end the loop. If this happens for all possible `index` files, we consider it a classic/hybrid theme.
    99    - Otherwise, if no 'disallowed' files are found, we consider it a block theme.
    1010