Title: Problem with button code
Last modified: August 21, 2016

---

# Problem with button code

 *  [Deyneko](https://wordpress.org/support/users/deyneko/)
 * (@deyneko)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-button-code/)
 * Hi,
    I found inappropriate code in button code (when I see source of a page in
   browser): `<input type="hidden" name="return" value="http://mysite.com/ru/?s2member_paypal_return
   =1&s2member` After paypal_return=1 immiadetly should be quotes but instead there
   is code `& amp ;` **all other quotes in button code are OK!**
 * **Code could be changed by WP but it can be an error in s2member because other
   quotes in code are OK.**
 * P.S. Multisite 3.8, TwentyTen
 * [http://wordpress.org/plugins/s2member/](http://wordpress.org/plugins/s2member/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [WebSharks](https://wordpress.org/support/users/websharks/)
 * (@websharks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-button-code/#post-4504746)
 * Are you running any other plugins besides s2Member on this installation? I was
   unable to reproduce this on a clean install. It seems like there could be some
   corruption taking place somewhere.
 * If you can, please file a bug report about this here with a full set of instructions(
   step-by-step; including the clean environment) so that we may reproduce the issue
   and get it fixed. Thanks!
 * See: [https://github.com/WebSharks/s2Member/issues?state=open](https://github.com/WebSharks/s2Member/issues?state=open)
 *  Thread Starter [Deyneko](https://wordpress.org/support/users/deyneko/)
 * (@deyneko)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-button-code/#post-4504825)
 * Thank you for your answer.
    Frankly speaking I didn’t understand – Did you mean
   bug report “here” on the wordpress.org or on link which you gave me?
 * Yes, of course there are other plugins on my site:
    Aksimet Auto ThickBox Plus
   Broken Link Checker Contact Form 7 Growmap Anti Spambot Plugin JW Player 6 Plugin
   for WordPress mTouch Quiz Revision Control s2Member Buttons Subscribe To Comments
   WordPress SEO Yet Another Related Posts Plugin
 * Actually I have a subsite for testing plugins before installing etc. It is multisite
   too. Today I checked button code there. **I disabled ALL plugins, tried different
   themes. The result absolutely same**: after <input type=”hidden” name=”return”
   value=”[http://mysite.com/ru/?s2member_paypal_return=1](http://mysite.com/ru/?s2member_paypal_return=1)
   not quotes but **& amp ;** (without spaces). All other quotes are OK too!
 * I really interested in the solution the bug because payment and registration 
   with the s2Member just doesn’t work on my site. All other functions work ok. 
   So I receive claims from clients and register them manually.
    So I will help 
   you. If you need I can give you access to that my site for tests if it can help.
 *  Plugin Contributor [WebSharks](https://wordpress.org/support/users/websharks/)
 * (@websharks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-button-code/#post-4504847)
 * > Actually I have a subsite for testing plugins before installing etc. It is 
   > multisite too. Today I checked button code there. I disabled ALL plugins, tried
   > different themes. The result absolutely same: after <input type=”hidden” name
   > =”return” value=”[http://mysite.com/ru/?s2member_paypal_return=1](http://mysite.com/ru/?s2member_paypal_return=1)
   > not quotes but & amp ; (without spaces). All other quotes are OK too!
 * I see. Well, unless I am missing something; that is valid HTML that is to be 
   expected. Please see the attached screenshot for clarity. [http://imagizer.imageshack.us/v2/800x600q90/69/h6oz.png](http://imagizer.imageshack.us/v2/800x600q90/69/h6oz.png)
 * See also: [http://mrcoles.com/blog/how-use-amersands-html-encode/](http://mrcoles.com/blog/how-use-amersands-html-encode/)
 * —-
 * Sorry for any confusion. I meant for you to file a bug report at GitHub. See:
   [https://github.com/WebSharks/s2Member/issues?state=open](https://github.com/WebSharks/s2Member/issues?state=open)
 * Bug reports need to include the steps to reproduce against a default/clean installation
   of WordPress (no other plugins; and with a default theme) so that we can isolate
   the issue to the s2Member plugin itself.
 * TIP: I would suggest that you follow our wizard [here](https://www.websharks-inc.com/support/?product=s2member&request_type=bug_report)
   and submit your bug with the help it provides. This walks you through the process.
   You will still end up at GitHub in the end, but the details provided by our support
   wizard may help you out.
 * Here is the link to our support wizard.
    [https://www.websharks-inc.com/support/?product=s2member&request_type=bug_report](https://www.websharks-inc.com/support/?product=s2member&request_type=bug_report)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with button code’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 3 replies
 * 2 participants
 * Last reply from: [WebSharks](https://wordpress.org/support/users/websharks/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-button-code/#post-4504847)
 * Status: not resolved