adding user_url to header no longer works
-
I am running UM 2.3.2 with the following WordPress version
WordPress 6.0
HP version: 7.4.29.
MySQL version: 10.3.35-MariaDBI was previously successfully using the code snippets here:
https://wordpress.org/support/topic/profile-page-website-url-logo-with-social-links-in-the-header/
specifically this snippet:
add_filter("um_builtin_all_user_fields","um_092221_website_url_social"); function um_092221_website_url_social( $fields ){ foreach ( $fields as $field => $args ) { if ( isset( $field ) && $field == 'user_url' ) { $fields[ $field ]['advanced'] = 'social'; $fields[ $field ]['icon'] = 'um-faicon-globe'; $fields[ $field ]['match'] = 'https://'; $fields[ $field ]['color'] = '#96979a'; } } return $fields; }to display the
user_urlin the header. But after moving from WordPress 5.9 to WordPress 6.0, now all the links include this (preprended before the expecteduser_url:<br /><b>Warning</b>: strstr(): Empty needle in <b>/home/ronininstitute/public_html/wp-content/plugins/ultimate-member/includes/um-short-functions.php</b> on line <b>926</b><br />
The topic ‘adding user_url to header no longer works’ is closed to new replies.