the_editor decode content from database
-
In a custom page i’m using the_editor function to edit database elements. First i get the content from the database with $wpdb->get_results. This content is put into the editor like this: the_editor($content). The problem is that urls and html elements are escaped by $wpdb->update. If i place for example an image and try to load the content and edit it again it isn’t readable anymore.
So i need to de-escape the content before place it into the_editor. Anyone knows a function for this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘the_editor decode content from database’ is closed to new replies.