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:


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="" src="" 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. 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.