[wp-trac] [WordPress Trac] #12768: Store only relative path in theme_mod() for 'header_image' and 'background_image'
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 30 05:10:24 UTC 2010
#12768: Store only relative path in theme_mod() for 'header_image' and
'background_image'
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Themes | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
In /wp-includes/theme.php it stores full paths for 'header_image' and
'background_image' in the theme mods in wp_options. Is there a reason why
these can't be set to relative paths? Storing absolutely paths results in
yet another path to have to fixup on deploy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12768>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list