Home>Article>CMS Tutorial> WordPress5.6 "Insert from URL" image BUG problem solved

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

藏色散人
藏色散人 forward
2020-12-16 16:13:20 3546browse

The following columnWordPress Tutorialwill 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

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: