[wp-hackers] Weird behaviour with comment_author_url and input placeholders
otto at ottodestruct.com
Sun Jan 30 15:25:29 UTC 2011
WordPress can't magically discern what the placeholder text is. If
it's being saved, then it's being submitted to the form by the
On Sun, Jan 30, 2011 at 7:21 AM, Lynne Pope <lynne.pope at gmail.com> wrote:
> stage in their development the only scripts being used are WordPress' jQuery
> & comments scripts.
> Opera 11 has native support for placeholders but is still submitting the
> placeholder text to the database. Opera also has support for checking
> against patterns, but this is overridden by WordPress inputting http:// to
> the url field when the form is submitted.
> Other browsers are not recognising the placeholder but its still being sent
> to the database.
> Is there a filter I can use to override the default $linktext behaviour to
> make comment_author_url recognise that if its empty then it really is empty?
More information about the wp-hackers