[wp-trac] [WordPress Trac] #42805: Crash customiser if 'theme_mods_themename' table contains wrong url

WordPress Trac noreply at wordpress.org
Tue Dec 5 12:35:46 UTC 2017


#42805: Crash customiser if 'theme_mods_themename' table contains wrong url
--------------------------+-----------------------------
 Reporter:  drivdigital   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.9.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I migrate sites from test environments to live environments a bunch and
 have noticed this with every migration.

 If you add a custom field to the customiser that allows for an image to be
 uploaded, if you move the domain, the customiser will fail, replacing the
 image url wth cannot get ID of said image.

 Only way to fix it is to remove the URL within the database.

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


More information about the wp-trac mailing list