WordPress.org

Make WordPress Core

Opened 17 months ago

Last modified 3 months ago

#22635 new defect (bug)

comments made on iPad get the comment_author_url removed in the pre_comment_author_url filter — at Version 3

Reported by: commentluv Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4.2
Component: Comments Keywords: reporter-feedback
Focuses: Cc:

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: MikeHansenMe17 months ago

  • Cc mdhansen@… added

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

comment:2 in reply to: ↑ 1 commentluv17 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 SergeyBiryukov17 months ago

  • Component changed from General to Comments
  • Description modified (diff)
Note: See TracTickets for help on using tickets.