Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

hgh001 on "[Plugin: Types] Error with settings XML import/export"

$
0
0

I am running the latest version of the plugin (1.8.11).

When exporting and importing the Types settings, the XML that is output cannot be parsed by the importer.

Specifically, it is breaking on special character entities. The exported file contains the following, e.g.

<wpcf-fields-checkboxes-option-Cote_dIvoire>
    <title>C&ocirc;te d'Ivoire</title>
    <set_value>C&ocirc;te d'Ivoire</set_value>
    <display>db</display>
    <display_value_not_selected></display_value_not_selected>
    <display_value_selected></display_value_selected>
</wpcf-fields-checkboxes-option-Cote_dIvoire>

The entity is improperly escaped and has to be changed manually to the character-code version (e.g. Côte d'Ivoire) in order for the file to be parsed.

https://wordpress.org/plugins/types/


Viewing all articles
Browse latest Browse all 3201

Trending Articles