Ampersand char in title encoded for duplicate
-
Hi,
first thank you for this wonderful plugin which makes life lot easier.
until i spotted the following behaviour ??
It could be a misbehaviour in the plugin, maybe some char utf8-ish configuration issue, some security issue thingy or misunderstatement from me.so when duplicating a post which contains the ampersand character
&
in post_title, then in the duplicated post the ampersand character is encoded.
e.g.:
original post title “cool & the gang”
duplicate post title “cool & the gang”
which for me, is not a super exact duplicate.
this is caused by the usage ofwp_kses_post
.
in this line: https://plugins.trac.www.ads-software.com/browser/post-duplicator/tags/2.32/includes/ajax.php#L20
found some similar issue on another topic of WordPress here: https://github.com/WordPress/gutenberg/issues/20490—-
Plugin Version: Version 2.32
WordPress Version 6.4.3
- The topic ‘Ampersand char in title encoded for duplicate’ is closed to new replies.