Support » Plugin: Cimy User Extra Fields » [Plugin: Cimy User Extra Fields] line breaks p/br not working with latest version 2.3.6

  • Resolved snurk

    (@snurk)


    Dear all,

    Just upgraded to the latest version of Cimy User Extra Fields, and it seems you can no longer have line breaks in the text fields??

    I’ve previously been using the below code as explained on the official website but it no longer makes any difference..

    global $allowedtags;
    
    // copy the array to not modify the original one
    $my_tags = $allowedtags;
    
    // add tag to allowed tags list
    $my_tags["p"] = array();
    $my_tags["br"] = array();

    Anyone else who has seen this? Any solution??

    http://wordpress.org/extend/plugins/cimy-user-extra-fields/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marco Cimmino

    (@cimmo)

    I might have regressed it in v2.3.5 due to the fix:
    – Allow ‘target’ attribute for links added in the extra fields’ description

    Can you confirm?

    Plugin Author Marco Cimmino

    (@cimmo)

    But why you do not use instead the code:

    global $allowedtags;
    
    // add tag to allowed tags list
    allowedtags["p"] = array();
    allowedtags["br"] = array();

    Hello,

    I still have this problem, I edit the text manually to make it work, which is time consuming.

    In which file (and where in the file) should the code be entered?

    Best regards,
    SNURK

    Plugin Author Marco Cimmino

    (@cimmo)

    Once again this is for your own blog’s security, you can also consider changing directly this file:
    /wp-includes/kses.php

    but do it if you know what you are doing.

    Hmm.. sorry for my lack of knowledge, I do have no idea what I am doing.. 🙂

    Do you mean to paste this in /wp-includes/kses.php ?

    global $allowedtags;
    
    // add tag to allowed tags list
    allowedtags["p"] = array();
    allowedtags["br"] = array();

    Basically looking at being able to handle the textfield similar to how you edit posts with wysiwyg and insert line breaks.

    Plugin Author Marco Cimmino

    (@cimmo)

    Hmm.. sorry for my lack of knowledge

    Then don’t do these changes. End of story.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Cimy User Extra Fields] line breaks p/br not working with latest version 2.3.6’ is closed to new replies.