Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25650, comment 19


Ignore:
Timestamp:
06/15/2022 07:36:05 PM (22 months ago)
Author:
ideag
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25650, comment 19

    initial v1  
    44  a. `upload_path` option is not set;
    55  b. `upload_path` option is set to `'wp-content/uploads'` (the default for that option);
    6   c. `upload_path` option value is equal to `ABSPATH`
     6  c. `upload_path` option value is equal to `ABSPATH` (which I don't think is really feasible ?)
    77
    88In that specific case I'm replacing `WP_CONTENT_URL` constant with a call to `content_url()`, which (before patching) always resolves back to the `WP_CONTENT_URL` constant, but additionally sets the url scheme with `set_url_scheme()` and is filterable via the `content_url` filter hook.