[wp-trac] Re: [WordPress Trac] #8838: relative (image) links not showing properly in edit post/page

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 10 23:13:12 GMT 2009


#8838: relative  (image) links not showing properly in edit post/page
-----------------------------------------+----------------------------------
 Reporter:  ollivdl                      |        Owner:  anonymous
     Type:  feature request              |       Status:  new      
 Priority:  normal                       |    Milestone:  2.9      
Component:  Administration               |      Version:  2.7      
 Severity:  normal                       |   Resolution:           
 Keywords:  relative links - subroot WP  |  
-----------------------------------------+----------------------------------
Changes (by DD32):

  * type:  defect (bug) => feature request
  * component:  Optimization => Administration
  * milestone:  2.8 => 2.9

Comment:

 I have a feeling this will be a wontfix.

 relative url's do not play nice with WordPress and permalinks in the first
 place, (which you might not be using), and while it would only be a 1 line
 change, to me, it really seems like its setting someone up for a disaster
 down the line related to url's changing, or pretty permalinks being
 enabled

 for reference, adding
 {{{
 <base href="<?php bloginfo('url'); ?>" />
 }}}
 to admin-header.php would be the way to enable that, but the problem is
 that it'd affect a lot of WP links in core and plugin(mainly menu's
 linking to the wrong location, and links on pages refering to other admin
 pages linking to the wrong location, etc.), and be absolutely useless to
 the majority of people(because of permalink structures including slashes)

 You're better off using the builtin media library, or using the "Insert
 from URL" function if you dont want to type that much..

 I dont see why !wordpress.org should tell you the difference between
 absolute and relative links though, if you're in advanced mode and typing
 the html yourself, you should understand what you put in the href/src
 tags, !WordPress.org is not a site to teach you HTML (and !WordPess asks
 for full absolute urls everywhere)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8838#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list