Broken plugin
-
This code
xprofile_get_field_data(get_option('fbcj_member_label'))
returns the field with p and a tags. The code below fixes these:`$fbcj_username = str_replace(“<p>”, “”, $fbcj_username);
$fbcj_username = str_replace(“</p>”, “”, $fbcj_username);
$fbcj_username = trim(strip_tags($fbcj_username));`
- The topic ‘Broken plugin’ is closed to new replies.