• Resolved ghinamt

    (@ghinamt)


    Hello,

    After Updating the Plugin to the Lattes Version (6.2.5) I got this notification on the admin dashbored!:

    ACF PRO —?ACF will soon escape unsafe HTML that is rendered by?the_field(). We’ve detected the output of some of your fields will be modified by this change.?Learn how to fix.?Hide details

    • welcome_block_title (welcome_block_title) – rendered via the_field
    • location_link (locations_0_location_link) – rendered via the_sub_field
    • title_style_two_short_description (title_style_two_short_description) – rendered via the_field

    Please Advise how to fix it, The “Learn How to fix Link” is too complicated for non-developers persons…. so please can you explain what is this and how to fix it ASAP please!!!!

    The main purpose of using the plugins is to avoid any code developing Process and this plugin is go beyond this! most people do not have experience in coding or amending the theme Code, so could you please advise how to fix this !!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there,
    That notification just says that those listed fields contain HTML in them and in a future update, the HTML will be stripped before the field values are rendered on your template files.

    What you can do is remove the HTML from the fields and add it to your template files or allow those HTML tags in use using this method shown here https://www.advancedcustomfields.com/resources/html-escaping/#customization

    Alternatively you can use the get_field method if you trust the HTML in those fields instead of using get_field method – https://www.advancedcustomfields.com/resources/get_field/

    Hope this clears things up but if not you can open up a ticket with us from here https://www.advancedcustomfields.com/support/

    Regards.

    Thread Starter ghinamt

    (@ghinamt)

    Hi,

    No unfourtunatly this is not clear, please provide me with a direct steps or a certine code snippet and which file should I deal with?!

    Please when you are planing to do any new releases to take into your consideration that most website adminstrator have non-coding background and will not understand your shared documentations!

    I am using the paid version of the plugin and there is no support for it, I have emaild the support team and same gereic guides files are shared with me.

    Please share a clear steps in how we could solve this.

    Thank you.

    I’d like to bump this thread and note that I agree with @ghinamt – your warning message is really unclear and your help page even less so.

    Your message above indicates HTML is not to be used in ACF anymore? Am I understanding this correctly? Am using the “WYSIWYG” ACF field type.

    Thread Starter ghinamt

    (@ghinamt)

    @tictubso, and till this moment I did not get any clear response from them!
    they keep sharing their documents in a generic way!

    ACF Support

    (@acfsupport)

    Hi there!

    ACF Support Team here. This forum is generally used by ACF users to help each other out.

    However, we would love to continue investigating the issue, please can you create a ticket using our ?support form and we can look into it further.

    Thread Starter ghinamt

    (@ghinamt)

    @acfsupport, I have already opened a ticket with this more than month a go, and there is no clear way to fix the notifications from your plugins!!!
    the new major update of you plugin is released yesterday (V.6.2.7)..what we should do?!!!!
    here is the support ticket reply:

    Hi Ghina,
    ?
    Thanks for getting back to me,
    ?
    Regarding your query, the error notice is appearing because you’re using the_field() and the_sub_field(). To resolve this could you try and change to get_field() and get_sub_field() respectively then let me know if the notices disappear. However, for an extra layer of security, I’d recommend using echo acf_esc_html( get_field() ) or echo acf_esc_html( get_sub_field() ) if your field content won’t include HTML. This ensures safety against any potential malicious attempts with field values.
    ?
    I hope this sheds some light and if I may be missing something, please elaborate further so that I can advise accordingly.”

    ————————————————————

    and I have already changed”the_field()” and “the_sub_field() To
    get_field() and get_sub_field() in all the Theme files but the notification and warning are still displayed in the admin dashboard!!!!

    could anyone from the plugin teams support fixing this with clear steps!!

    please reply promptly to this as it takes ages to get your reply!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unclear notifications after the latest Update!’ is closed to new replies.