[wp-trac] [WordPress Trac] #54654: Can flush_rewrite_rules() be called automatically after changing the site URL?

WordPress Trac noreply at wordpress.org
Sat Dec 18 09:09:42 UTC 2021


#54654: Can flush_rewrite_rules() be called automatically after changing the site
URL?
--------------------------+------------------------------
 Reporter:  pikamander2   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by costdev):

 I'm not sure why this issue is still experienced, but here's a couple of
 references:


 See
 [https://developer.wordpress.org/reference/functions/update_home_siteurl/
 update_home_siteurl()].
 See [https://core.trac.wordpress.org/browser/tags/5.8.2/src/wp-
 admin/includes/admin-filters.php#L58 when it's called].

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


More information about the wp-trac mailing list