[wp-trac] [WordPress Trac] #19850: double slash in URL when editing gallery in visual mode

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 18 09:15:07 UTC 2012


#19850: double slash in URL when editing gallery in visual mode
-------------------------+--------------------
 Reporter:  h8every1     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.4
Component:  Gallery      |     Version:  3.3.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 3.4


Comment:

 According to
 [http://www.tinymce.com/wiki.php/Configuration:document_base_url TinyMCE
 documentation], `documentBaseURL` must end with a slash, so the additional
 slash is not needed.

 Seems that the compressed file is always loaded (regardless of
 `SCRIPT_DEBUG`), so in order to test the patch I had to alter
 `wpgallery/editor_plugin.js` as well.

 There's also a [http://wordpress.org/support/topic/upload-works-but-cant-
 edit-gallery-afterwards support forum thread] about this issue.

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


More information about the wp-trac mailing list