BuddyDev

Search

[Resolved] BuddyPress Xprofile Custom Field Types – Custom Taxonomy Multiselector issue

  • Participant
    Level: Initiated
    Posts: 1
    Richard on #15565

    Hi,

    Thanks for reviving BuddyPress Xprofile Custom Field Types.

    NB the Custom Taxonomy Multiselector is not rendering the options properly on the frontend – it is showing HTML in with the options. I believe this was also the case with the original plugin.

    Here are two screenshots:
    – Backend: https://snag.gy/SyD6I9.jpg
    – Frontend (BuddyPress profile): https://snag.gy/uv4HGF.jpg

    I am using WP 4.9.6, BuddyPress 3.1.0 and BuddyPress Xprofile Custom Field Types 1.0.2.

    rt.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15566

    Hi Richard,
    Thank you for using the plugin.

    It is a bug with your theme. Here is how it looks on normal themes

    https://i.imgur.com/HleVo24.png

    Your theme is using esc_html() on the field value which it should not. The values are already sanitized(BuddyPress does it and we do it too).

    Please look for the code and you can fix it.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    Richard on #15636

    Brajesh,

    Thanks.

    rt.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15654

    You are welcome.

The topic ‘ [Resolved] BuddyPress Xprofile Custom Field Types – Custom Taxonomy Multiselector issue’ is closed to new replies.

This topic is: resolved