[wp-trac] [WordPress Trac] #30309: Paypal button code jumbled

WordPress Trac noreply at wordpress.org
Thu Mar 12 14:20:39 UTC 2015


#30309: Paypal button code jumbled
--------------------------+------------------------------
 Reporter:  jsruby22      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by iseulde):

 * keywords:  reporter-feedback =>
 * status:  closed => reopened
 * resolution:  invalid =>
 * milestone:   => Awaiting Review


Comment:

 Actually I just tried this. Although it's not broken, we can probably make
 this a bit better, not just for PayPal forms, but for any form. Maybe we
 can protect it? Or wrap it in a view? Not sure if we want people to type
 inside forms.

 {{{
 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"
 target="_top">
 <input type="hidden" name="cmd" value="_s-xclick">
 <input type="hidden" name="hosted_button_id" value="x">
 <input type="image"
 src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif"
 border="0" name="submit" alt="PayPal – The safer, easier way to pay
 online.">
 <img alt="" border="0"
 src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"
 height="1">
 </form>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30309#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list