Opened 6 months ago
Last modified 6 months ago
#22635 new defect (bug)
comments made on iPad get the comment_author_url removed in the pre_comment_author_url filter
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Comments | Version: | 3.4.2 |
| Severity: | major | Keywords: | |
| Cc: | mdhansen@… |
Description (last modified by SergeyBiryukov)
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.
Change History (3)
comment:1
follow-up:
↓ 2
MikeHansenMe — 6 months ago
- Cc mdhansen@… added
comment:2
in reply to:
↑ 1
commentluv — 6 months ago
Replying to MikeHansenMe:
I was able to reproduce this on iPhone 5.1.1 however I tried with iPad 6.0.1 and it worked as expected.
I can't confirm 6.0.1 because I need my iDevices jailbroken so I can edit their hosts file to allow me to browse local network sites for development.
thanks for confirming it is happening with 5.1.1 though
now all we need is a fix :)
comment:3
SergeyBiryukov — 6 months ago
- Component changed from General to Comments
- Description modified (diff)

I was able to reproduce this on iPhone 5.1.1 however I tried with iPad 6.0.1 and it worked as expected.