Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Autocomplete shows both names

@aaronthomas1979

Participant

Thanks! That worked.

One small problem that remains, is that I still have parenthesis wrapped around $user->name

Here’s a chunk of the code:

printf( '<span id="%s" href="#"></span><img src="%s" style="width: 15px">   %s (%s)' . "\n",  
                esc_attr( 'link-' . $user->ID ),  
                esc_url( $user->image ),  
                esc_html(  ),  
                esc_html( $user->ID )

I deleted $user->name from the 3rd line, but if I delete the parenthesis, or the entire line, then the function stops working.

Do you know how I can get the parenthesis out of there?

Skip to toolbar