BUG/ENHANCEMENT: getMembershipLevel method of MemberOrder can now handle when discount_code property is an object. Also, the IPN Handler will now try to get the discount code for the order to correctly update the users pmpro_memberships_users entry.
Discount code fix for 2checkout handler as well.
Not applying search filters if post_parent is set in search (i.e. bbpress forums/topics).
Merge pull request #144 from messica/dev

Now checking for JS errors before continuing registration. Use pmpro_require_javascript_for_checkout filter to disable.
Setting current users during init to avoid cases where $current_user->membership_level doesn't get setup.
Merge branch 'dev' of github.com:strangerstudios/paid-memberships-pro into dev
Removed extra class attribute in CVV field.
Readme update.
Discount code updates. New filter pmpro_order_discount_code. Added $code parameter to pmpro_check_discount_code filter.
ENHANCEMENT: Added code to redirect to the redirect_url if you pass a redirect_url to the login page and the user is already logged in. Updated the links in email confirmations to use login links with redirects instead of direct links.
EHANCEMENT: Added pmpro_email_attachments filter, which can be used to add attachments to PMPro emails that are sent out.
Version update
.pot, .po, .mo update
BUG: Fixed warnings in PayPal Express class that could break redirects at checkout. (Thanks, Adam Warner)
* BUG: Fixed warnings in PayPal Express class that could break redirects at checkout. (Thanks, Adam Warner)
* BUG: Fixed issue where new users who checked out with Braintree weren't having their customerid's saved, which led to subscription syncronization issues if they checked out again or updated their billing.
* BUG: Fixed warnings in the membership-billing page.
Version update in paid-memberships-pro.php
Update default class of pmpro_button
* BUG: Fixed false positive "There are JavaScript errors on the page. Please contact the webmaster." errors.
* BUG: Fixed issue where users on some sites running 1.7.14 could not logout.
Merge branch 'dev' of github.com:strangerstudios/paid-memberships-pro into dev
* OTHER: Changed the CSS class of the checkout button generated via [checkout_button] shortcode or pmpro_getCheckoutButton() function from "btn btn-primary" to "pmpro_btn" to match other buttons generated with PMPro.