Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2492 closed defect (bug) (fixed)

RTE assumes links are relative to /wp-admin/

Reported by: markjaquith's profile markjaquith Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.1
Component: Administration Keywords:
Focuses: Cc:


If you add links using the RTE, it FORCES them to be relative to /wp-admin/.

If you're adding relative links, you know what you're doing, and you don't want RTE playing babysitter to you and giving you a result that NO ONE ever wants (links prefixed with

Attachments (1)

relative-links.diff (563 bytes) - added by skeltoac 16 years ago.

Download all attachments as: .zip

Change History (5)

#1 @skeltoac
16 years ago

Attached patch allows truly relative links ("images/foo.jpg") to be translated to the blog's home: ""

However, a url of "/images/foo.jpg" will NOT be converted on save, so browsers will interpret it as ""

Note that for any change to your RTE, whether in a patch or a change of your blog home setting, the editor will not reflect the change immediately because the old code and seetings are cached by your browser. You must refresh your editor in order to get the new code/settings.

#2 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3612]) Relative links in RTE. fixes #2492

#3 @ryan
16 years ago

  • Resolution set to fixed

(In [3613]) Relative links in RTE. fixes #2492

#4 @(none)
16 years ago

  • Milestone 2.0.2 deleted

Milestone 2.0.2 deleted

Note: See TracTickets for help on using tickets.