[wp-trac] [WordPress Trac] #22635: comments made on iPad get the comment_author_url removed in the pre_comment_author_url filter

WordPress Trac noreply at wordpress.org
Thu Nov 29 22:18:49 UTC 2012


#22635: comments made on iPad get the comment_author_url removed in the
pre_comment_author_url filter
--------------------------+------------------------------
 Reporter:  commentluv    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  3.4.2
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Comments


Old description:

> I have tested this on version (3.5-RC1-22909) nightly build too.
>
> if I submit a comment with a valid author url using the iPad then the URL
> gets removed by the pre_comment_author_url filter in wp-
> includes/comment.php
> '''works'''
> windows 7 works fine
> windows xp works fine
> debian box works fine
> macbook pro works fine
>
> '''Not working'''
> iphone ios 5.1.1
> ipad ios 5.1.1
>
> duplicable on local, live and someone elses site.
>
> I can see the POST vars show all the proper data.
>
> in wp-includes/comment.php the wp_filter_comment function the
> `$commentdata['comment_author_url']` exists before
>
> {{{
> $commentdata['comment_author_url']   =
> apply_filters('pre_comment_author_url',
> $commentdata['comment_author_url']);
> }}}
>
> (line 1291 of wp-includes/comment.php (3.4.2)
>
> but is gone after the filter has been applied,
>
> this happens only if using an ipad or iphone.

New description:

 I have tested this on version (3.5-RC1-22909) nightly build too.

 if I submit a comment with a valid author url using the iPad then the URL
 gets removed by the pre_comment_author_url filter in wp-
 includes/comment.php

 '''works'''
 * windows 7 works fine
 * windows xp works fine
 * debian box works fine
 * macbook pro works fine

 '''Not working'''
 * iphone ios 5.1.1
 * ipad ios 5.1.1

 duplicable on local, live and someone elses site.

 I can see the POST vars show all the proper data.

 in wp-includes/comment.php the wp_filter_comment function the
 `$commentdata['comment_author_url']` exists before

 {{{
 $commentdata['comment_author_url']   =
 apply_filters('pre_comment_author_url',
 $commentdata['comment_author_url']);
 }}}

 (line 1291 of wp-includes/comment.php (3.4.2)

 but is gone after the filter has been applied,

 this happens only if using an ipad or iphone.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22635#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list