Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#24379 closed defect (bug) (duplicate)

Gallery Short Code doesn't show in Visual content area

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


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.

Code View showing the short code:

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
7 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
7 years ago

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

Note: See TracTickets for help on using tickets.