Forums

printf() [function.printf] warning on search (1 post)

  1. frq
    Member
    Posted 2 weeks ago #

    I am getting this error when I search for a string containing the '%' (like in 100%) caracter in the comments page in the admin area:
    Warning: printf() [function.printf]: Too few arguments in (...)/wp-admin/edit-comments.php on line 104

    It doesn't seem to be a plugin problem (I think), but something related to the esc_html or the stripslashes function, that is not properly scaping the %.

    I tried other characters, but the only one that returns this warning is the %, probably because of its use in the sql query. The search returns the comments correctly, though.

    Is there something I can do to fix it?

Reply

You must log in to post.

About this Topic