Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58433, comment 23


Ignore:
Timestamp:
04/05/2024 11:44:39 PM (7 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58433, comment 23

    initial v1  
    77- WP runs from /src.
    88- `SCRIPT_DEBUG` is (manually) set to `false`.
    9 - Editing scripts or freestyles or updating scripts added from the npm packages.
     9- Editing scripts or stylesheets, or updating scripts added from the npm packages.
    1010
    1111Note that if `SCRIPT_DEBUG` is not set, it is set in `wp_scripts_get_suffix()` in Script Loader: https://developer.wordpress.org/reference/functions/wp_scripts_get_suffix/. The default is to have `SCRIPT_DEBUG` set to `true` when running from /src. That disables concatenation of scripts and stylesheets and ensures caches are always busted.