Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#24379 closed defect (bug) (duplicate)

Gallery Short Code doesn't show in Visual content area

Reported by: rdall's profile RDall Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: TinyMCE Keywords:
Focuses: Cc:

Description

When adding a gallery to a standard post (not a gallery PF) the gallery is not displayed in the content area of the post when viewing in visual. It is only when you click on the text view that you can see the gallery short code.

When I viewed the HTML source code of the page I saw the code below.

<p><img data-mce-src="http://test.robertdall.com/wp-includes/js/tinymce/plugins/wpgallery/img/t.gif" src="http://test.robertdall.com/wp-includes/js/tinymce/plugins/wpgallery/img/t.gif" alt="" title="gallery columns=&quot;2&quot; ids=&quot;1042,1041,1040&quot;" class="wpGallery mceItem"></p>

See below screenshot for to show the firebug hover view Showing Gallery code being called in visual view.
http://cl.ly/image/132x321a3T1z

Code View showing the short code:
http://cl.ly/image/3j191g280O0t

But when you click to view the post. http://test.robertdall.com/?p=1176 It shows the gallery fine.

I have replicated this on two external builds and my locally hosted one with exactly the same results.

Change History (2)

#1 @SergeyBiryukov
11 years ago

  • Component changed from General to TinyMCE
  • Keywords needs-testing needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Same issue as in #24344. Should be fixed once wp-tinymce.js.gz is updated.

#2 @RDall
11 years ago

Great glad this getting fixed and that it is a duplicate… 

Note: See TracTickets for help on using tickets.