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 non-donation / ecommerce terminology in actions and filters #896
Comments
As for the purchase, it is deeply embedded in the code. We have function names using this word, class properties and methods, and maybe even options (not sure about the last one - I need to check that). It's a backwards-compatibility nightmare. |
Yeah I know, that's why I've been resisting it. This is an ongoing gradual task. |
Link for reference to |
@DevinWalker Translations strings updates are simpler and faster. I can do it in 1.7 , I just need know which word is preferred? |
"Transactions" -> "Donations" "Payment" -> "Donation" @mathetos thoughts? |
* release/1.7: (765 commits) Change log added for #922 Change log item for #896 added Change log for #712 added a11y: add H1 heading to admin "Donor" screen Document filter hooks Fix issues #712 a11y: progress bar accessibility a11y: table accessibility in about page a11y: table accessibility in export page a11y: table accessibility in reports page, and remove un-needed labels and classes a11y: table accessibility in donor profile page a11y: table accessibility for [give_receipt] shortcode a11y: table accessibility for [donation_history] shortcode a11y: fix label `for` attribute to focus on the texarea `id` a11y: replace `title` attributes with `aria-label` Improved Add-on banner style Docs: update functions phpDocs Docs: document template action hooks Fixed variable name Fix failing test for file that we removed ... # Conflicts: # assets/css/give-admin.min.css # assets/js/admin/admin-forms.js # assets/js/admin/admin-forms.min.js # assets/js/frontend/give.js # assets/js/frontend/give.min.js # assets/sourcemaps/give-admin.css.map # assets/sourcemaps/give.css.map # includes/admin/forms/metabox.php # includes/admin/payments/actions.php # includes/admin/payments/view-order-details.php # includes/admin/upgrades/upgrade-functions.php # includes/admin/upgrades/upgrades.php # includes/class-give-customer.php # includes/class-give-db.php # includes/class-give-donate-form.php # includes/class-give-stats.php # includes/emails/class-give-email-tags.php # includes/forms/functions.php # includes/forms/template.php # includes/payments/actions.php # includes/payments/class-give-payment.php # includes/payments/class-payments-query.php # includes/payments/functions.php # includes/price-functions.php # includes/scripts.php # includes/user-functions.php # readme.txt # templates/give.min.css # templates/shortcode-receipt.php # tests/framework/helpers/class-helper-form.php # tests/framework/helpers/class-helper-payment.php # tests/unit-tests/tests-payment-class.php
* release/1.7: (929 commits) Change log added for #922 Change log item for #896 added Change log for #712 added a11y: add H1 heading to admin "Donor" screen Document filter hooks Fix issues #712 a11y: progress bar accessibility a11y: table accessibility in about page a11y: table accessibility in export page a11y: table accessibility in reports page, and remove un-needed labels and classes a11y: table accessibility in donor profile page a11y: table accessibility for [give_receipt] shortcode a11y: table accessibility for [donation_history] shortcode a11y: fix label `for` attribute to focus on the texarea `id` a11y: replace `title` attributes with `aria-label` Improved Add-on banner style Docs: update functions phpDocs Docs: document template action hooks Fixed variable name Fix failing test for file that we removed ...
* release/1.7: (66 commits) Change log added for #922 Change log item for #896 added Change log for #712 added a11y: add H1 heading to admin "Donor" screen Document filter hooks Fix issues #712 a11y: progress bar accessibility a11y: table accessibility in about page a11y: table accessibility in export page a11y: table accessibility in reports page, and remove un-needed labels and classes a11y: table accessibility in donor profile page a11y: table accessibility for [give_receipt] shortcode a11y: table accessibility for [donation_history] shortcode a11y: fix label `for` attribute to focus on the texarea `id` a11y: replace `title` attributes with `aria-label` Improved Add-on banner style Docs: update functions phpDocs Docs: document template action hooks Fixed variable name Fix failing test for file that we removed ... # Conflicts: # includes/forms/template.php
* release/1.7: (316 commits) Change log added for #922 Change log item for #896 added Change log for #712 added a11y: add H1 heading to admin "Donor" screen Document filter hooks Fix issues #712 a11y: progress bar accessibility a11y: table accessibility in about page a11y: table accessibility in export page a11y: table accessibility in reports page, and remove un-needed labels and classes a11y: table accessibility in donor profile page a11y: table accessibility for [give_receipt] shortcode a11y: table accessibility for [donation_history] shortcode a11y: fix label `for` attribute to focus on the texarea `id` a11y: replace `title` attributes with `aria-label` Improved Add-on banner style Docs: update functions phpDocs Docs: document template action hooks Fixed variable name Fix failing test for file that we removed ...
* release/1.7: (177 commits) Added change log for #964 Make exception message translatable Update give_do_automatic_upgrades function Move upgades to 1.7 Update function version from 1.6 to 1.7 add missing `echo` after 9a2f35d Set gulp textdomain task autocorretion to true Update more action names #957 Update actions to use newly termed ones rather than now deprecated ones #957 Version bump for release/1.7 branch Change log added for #687 Readme logs added for #896 and #773 replace `edd` text-domain with `give` replace esc_attr_e() with esc_attr() add misisng text-domain gulp task Update doc block in formatting.php Refresh current month transient when payment update Add function to get stat transient key Update description in Give Settings Screen ...
One more terminology suggestion: Donators > Donors Ref: https://github.com/WordImpress/Give/blob/master/includes/class-give-gravatars.php Do you agree? |
@ramiy yes definitely, that class isn't being used yet though :( |
Renamed a bunch of $customer vars to $donor
This bulk of this task is done. As we continue to refactor we can take care of the remaining hooks and variables. |
There are many actions and filters throughout the plugin which use ecommmerce terminology such as
give_purchase_form
,give_purchase_form_wrap_bottom
,give_purchase_form_before_submit
, etc.We should deprecate them and replace with donation based terminology.
give_purchase_form
-->give_donation_form
,give_purchase_form_wrap_bottom
->give_donation_form_wrap_bottom
Task list:
All items above with backwards compatibility
The text was updated successfully, but these errors were encountered: