Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53308


Ignore:
Timestamp:
05/31/2021 11:20:35 PM (5 years ago)
Author:
peterwilsoncc
Comment:

Hi @webtemyk and welcome to trac!

Prior to running the code to define WP_CONTENT_URL WordPress adds a filter to override the siteurl and homeurl option if the constants are set, the filters are added in the wp-includes/default-filters.php file, and the for the filters check if the constants are defined.

However, if you have set your site up in multisite mode these filters do not run. Is your site running as a multisite install?

Thanks, Peter

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53308

    • Property Component GeneralBootstrap/Load
    • Property Keywords reporter-feedback added
  • Ticket #53308 – Description

    initial v1  
    1414}}}
    1515
    16 The problem occurs when the site administrator moves the site to another domain or switches to HTTPS, but does not change the URL in the database. At the same time, Wordpress continues to work, even with the wrong address in the option in the database, but the old site address turns out to be in the constant
     16The problem occurs when the site administrator moves the site to another domain or switches to HTTPS, but does not change the URL in the database. At the same time, WordPress continues to work, even with the wrong address in the option in the database, but the old site address turns out to be in the constant