Opened 5 months ago
Last modified 5 months ago
#22986 new defect (bug)
WP uses header image's GUID as URL
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | info@… |
Description (last modified by SergeyBiryukov)
See summary. If I move my site (old domain becoming inaccessible), I cannot use my header images any more since
a) I am not allowed to change GUIDs.
b) GUIDs are used as URLs for header images:
http://core.trac.wordpress.org/browser/trunk/wp-includes/theme.php
1008 foreach ( (array) $headers as $header ) {
1009 $url = esc_url_raw( $header->guid );
Attachments (1)
Change History (5)
Version 0, edited 5 months ago
by bersbers
(next)
comment:2
SergeyBiryukov — 5 months ago
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.

I am not sure, but it seems that event newly uploaded files receive a GUID that contains the OLD domain. This means I cannot even re-upload header images, I cannot use any header image after moving a WordPress site. Can this be true?