[wp-trac] [WordPress Trac] #39765: Siteurl and Home URL Not Updating

WordPress Trac noreply at wordpress.org
Sun Dec 13 15:30:33 UTC 2020


#39765: Siteurl and Home URL Not Updating
-------------------------------------+------------------------------
 Reporter:  dchenko                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Options, Meta APIs       |     Version:  4.7.2
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+------------------------------
Changes (by hellofromTonya):

 * keywords:  reporter-feedback => reporter-feedback close


Comment:

 Helo @dchenko,

 Welcome to WordPress Trac.

 Does this issue persist today? If yes, please provide more details to help
 us investigate:

 - Are these constants defined in your `wp-config.php` (or elsewhere)
 [https://wordpress.org/support/article/changing-the-site-url/#edit-wp-
 config-php per this doc]?

 {{{#!php
 define( 'WP_HOME', 'http://example.com' );
 define( 'WP_SITEURL', 'http://example.com' );
 }}}

 - Are the URL options being updated in the theme or a plugin
 ([https://wordpress.org/support/article/changing-the-site-url/#edit-
 functions-php see this doc])?

 {{{#!php
 update_option( 'siteurl', 'http://example.com' );
 update_option( 'home', 'http://example.com' );
 }}}


 - Does the issue still happen with all plugins are disabled and a default
 theme (such as Twenty Seventeen) is activated?

 - What are the steps to reproduce the issue on a clean install?

 For now, marking as a `close` candidate. Why? Not finding similar reports
 of this issue. I suspect the problem is in the stack coming from
 configuration, plugin, or theme, rather than from WordPress core. However,
 will review when/if more feedback is given.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39765#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list