Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/ecommerce terminology: Rename give_checkout_button_purchase function #1730

Merged

Conversation

ravinderk
Copy link
Collaborator

Description

Related to #896

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

@ravinderk ravinderk changed the title Fix/ecommerce terminology Fix/ecommerce terminology: Rename change give_checkout_button_purchase function May 25, 2017
@ravinderk ravinderk changed the title Fix/ecommerce terminology: Rename change give_checkout_button_purchase function Fix/ecommerce terminology: Rename give_checkout_button_purchase function May 25, 2017

_give_deprecated_function( __FUNCTION__, '1.8.8', null, $backtrace );

$display_label_field = give_get_meta( $form_id, '_give_checkout_label', true );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravinderk why don't you just call the renamed function give_get_donation_form_submit_button() within here without repeating the code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DevinWalker Good catch. Thank you for handling this

@DevinWalker DevinWalker merged commit a8ca306 into impress-org:release/1.8.8 May 25, 2017
DevinWalker pushed a commit that referenced this pull request May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants