Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the BUG problem of WordPress5.6 "inserting pictures from URL"

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to solve the problem of WordPress5.6 "inserting pictures from URL" BUG. I hope you will learn a lot after reading this article. Let's discuss it together.

The only gratifying thing about WordPress 5.6is the release of the Chinese version at the same time, as developers have been trying to optimize and enhance the block editor, while I have been using the classic editor myself, and I don't feel any change.

But soon found that a BUG, that is, use the classic editor to add a picture to insert from the URL, the following "align" and "Link to" options display confusion, run to the textarea of the image description, can not be used properly, as shown in the figure:

Solution:

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

Change to:

I just added a closing tag at the end, which should be less written, but after reading the previous version of WP, I didn't close the tag either.

After reading this article, I believe you have a certain understanding of how to solve the problem of WordPress5.6 "inserting pictures from URL" BUG. If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report