• Skip to main content
  • Skip to primary sidebar
  • Business
  • WordPress
  • Security
  • Marketing
  • Publicity
  • Computing
  • Resources
  • Whatevs

Purely Wordpress

Just The Tech, News, and Info We Deem To Post

  • Home
  • About
  • Contact
  • Contribute
You are here: Home / WordPress Core / WordPress 4.8 Text Widget Strips Code

WordPress 4.8 Text Widget Strips Code

Plugin to fix WordPress 4.8 Text Widget

WordPress 4.8 comes with some interesting new features and Widgets but also with a major bug that will frustrate webmasters. While the new Image, video, and audio widgets work fine, the new Text Widget has a knack for ruining some types of code – like stripping JScript from newsletter subscription forms.

Already Upgraded to WordPress 4.8?

If you have already upgraded to WordPress 4.8, DO NOT OPEN THE TEXT WIDGET! If your text widget contains any custom code, simply opening the widget in visual mode will strip it even if you don’t save the widget. And therein lies the rub – you can’t open the widget in text view due to the default behavior of the text widget opening in visual mode.

If you upgraded your best option is to not open the text widget but if you already did you will need to rebuild it. You can use one of the widgets mentioned below and restore your code from a backup or in some cases (if you haven’t opened the widget) you might be able to copy the HTML you need from your browsers inspect function.

Haven’t Upgraded to WordPress 4.8 Yet?

If you haven’t upgraded to WordPress 4.8 yet, you may want to wait for a little while as the bug is being addressed by the WordPress development team. Or, if you want to keep your WordPress install up to date, you could utilize one of these plugins to restore the classic text widget functionality.

If you upgraded your best option is to not open the text widget but if you already did you will need to rebuild it. You can use oneĀ of the widgets mentioned below and restore your code from a backup or in some cases (if you haven’t opened the widget) you might be able to copy the HTML you need from your browsers inspect function.

But what to do if you need to update a lot of widgets before upgrading to WordPress 4.8?

Check Out This Article on how to bulk update your text widgets.

by Jack Alltrade on June 18, 2017

Filed Under: WordPress Core Tagged With: Text Widget, WordPress 4.8, WP Bugs & Glitches

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Categories

  • Code Snippets
  • Development
  • File Management
  • Genesis Framework
  • Hosting
  • Legacy
  • Plugins
  • SEO
  • Tech Terms
  • Themes
  • User Experience
  • User Interface
  • WordPress Core
  • WordPress Functionality

© Copyright Jack Alltrade & Associates 2025 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates