WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #43228, comment 2


Ignore:
Timestamp:
02/25/2018 06:20:08 PM (3 years ago)
Author:
soulseekah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43228, comment 2

    v1 v2  
    11Why not use `wp_clean_themes_cache()` instead? It gives us the benefit of regenerating the cache and clearing the theme updates cache in case the newly added directory contains outdated themes.
    22
    3 Both versions make the tests pass. The test fails without the patches.
    4 
    5 Added tests.
     3Both versions make the tests pass. The test fails without @johnbillion's patch or the `wp_clean_themes_cache()` version thereof.