Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#48647 closed defect (bug) (invalid)

Gist code format problem after upgrading to 5.3 version

Reported by: johncod's profile johncod Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: Embeds Keywords:
Focuses: Cc:

Description

After upgrading to 5.3 version of WordPress all the gists in my website have a weird code format.

To reproduce it:
Go to Gutenberg editor and paste a gist url (ex. https://gist.github.com/johncodeos/927c2caa0ead9ec8d2fc5c96729055fd#file-linkedinauthvc-swift) without permalink.
And the results in front-end is:
https://i.imgur.com/FrnGO7O.png

Do the same for 5.2.4 and the results are:
https://i.imgur.com/clSOarJ.png

Change History (6)

#1 follow-up: @Otto42
5 years ago

WordPress does not have any embedding of gist's by default. If you're using a plugin to enable this, then you should leave a message on their support forums for the plugin.

Which plugin are you using?

#2 in reply to: ↑ 1 ; follow-up: @johncod
5 years ago

Replying to Otto42:

WordPress does not have any embedding of gist's by default. If you're using a plugin to enable this, then you should leave a message on their support forums for the plugin.

Which plugin are you using?

I'm using GistPress but as I saw there https://en.support.wordpress.com/gist/ (I know, it's wordpress.com and not .org) and did the first method (the one you paste the link on the Gutenberg editor without permalink) it's working and have the same results as the GistPress plugin, that's why I posted as a Wordpress core bug.

Last edited 5 years ago by johncod (previous) (diff)

#3 in reply to: ↑ 2 ; follow-up: @Otto42
5 years ago

Replying to johncod:

I'm using GistPress but as I saw there https://en.support.wordpress.com/gist/ (I know, it's wordpress.com and not .org) and did the first method (the one you paste the link on the Gutenberg editor without permalink) it's working and have the same results as the GistPress plugin, that's why I posted as a WordPress core bug.

Are you using Jetpack? It has some of the same code that WordPress.com routinely runs, and many of those things are enabled by Jetpack.

#4 in reply to: ↑ 3 @johncod
5 years ago

Replying to Otto42:

Replying to johncod:

I'm using GistPress but as I saw there https://en.support.wordpress.com/gist/ (I know, it's wordpress.com and not .org) and did the first method (the one you paste the link on the Gutenberg editor without permalink) it's working and have the same results as the GistPress plugin, that's why I posted as a WordPress core bug.

Are you using Jetpack? It has some of the same code that WordPress.com routinely runs, and many of those things are enabled by Jetpack.

I just found that it's from the GistPress too, I disabled the plugin and the first method from wordpress.com it's not working. So the problem comes from the plugin.

Thanks!

#5 @Otto42
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Cool. You should report the issue to them. It may simply be a styling issue.

#6 @SergeyBiryukov
5 years ago

  • Component changed from General to Embeds
Note: See TracTickets for help on using tickets.