[wp-trac] [WordPress Trac] #49721: Links of Installed Themes Not Re-written to New Port after WP-Config Port Change

WordPress Trac noreply at wordpress.org
Sat Mar 28 17:12:53 UTC 2020


#49721: Links of Installed Themes Not Re-written to New Port after WP-Config Port
Change
--------------------------+-----------------------------
 Reporter:  jack12221     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.3.2
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When the wordpress server port is changed in the Wp-config.php file (home
 and site_url) inside of the wordpress root directory the installed theme
 links are not overwritten, resulting in no visible themes on the wordpress
 site.  This can be reproduced by changing the port and/or changing the
 site to run https.  When wordpress is reloaded, all links function
 normally (redirected to the new port number) except that of themes.  The
 problem can be fixed by removing the wp-config.php
 {{{
 site_url
 }}}
 and

 {{{
 home
 }}}
 definitions than putting them into Settings>General of the wordpress admin
 and saving the changes.  In this case the theme links are rewritten.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49721>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list