Home > CMS Tutorial > WordPress > WordPress5.6 'Insert from URL' image BUG problem solved

WordPress5.6 'Insert from URL' image BUG problem solved

藏色散人
Release: 2020-12-16 16:13:20
forward
3670 people have browsed it

The following column WordPress Tutorial will introduce to you how to solve the "Insert from URL" image bug in WordPress 5.6. I hope it will be helpful to friends in need!

WordPress5.6 'Insert from URL' image BUG problem solved

The only gratifying thing about WordPress 5.6 is that the Chinese version was released at the same time, because the developers have been working hard to optimize the enhanced block editor, and I have been using the classic editor I don't feel any change.

However, I quickly discovered a bug. When using the classic editor to add a picture and insert it from the URL, the "Align" and "Link to" options below were displayed incorrectly and ran into the textarea of ​​the picture description, which could not be used normally. , as shown in the figure:

WordPress5.6 Insert from URL image BUG problem solved

Solution:

Open the media-template.php file in the wordpress\wp-includes directory and change 1023 OK:

<textarea id="embed-image-settings-caption" data-setting="caption" />
Copy after login

was changed to:

<textarea id="embed-image-settings-caption" data-setting="caption" />
Copy after login

Just added a closing tag at the end, which should be less writing, but the same thing happened after looking at the previous version of WP. Close this label.

WordPress5.6 Insert from URL image BUG problem solved

#WordPress program developers should have paid little attention to classic editor issues, and it is estimated that there will be more problems in the future.

The above is the detailed content of WordPress5.6 'Insert from URL' image BUG problem solved. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:zmingcx.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template