text plugin title quotation marks problem
-
hi everybody
i am having a problem with the default text plugin. when ever i have a title containing ” or ‘ it doesnt display correct. for example “title” sometimes it displayes ?title? or other times ?title? or “title?
to sum it up quotation marks dont get saved like they are supposed to. now if i comment $title = apply_filters( ‘widget_title’, empty( $instance[‘title’] ) ? ” : $instance[‘title’], $instance, $this->id_base ); from default-widgets.php on WP_Widget_Text and instead i have $title = $instance[‘title’]; is ok but i miss on security. does anyone have an idea how to fix this ?
thanks
- The topic ‘text plugin title quotation marks problem’ is closed to new replies.