-
Notifications
You must be signed in to change notification settings - Fork 192
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
feat(admin-form): copy form shortcode to clipboard via button #2602 #3425
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # includes/admin/upgrades/upgrade-functions.php # includes/install.php
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
fix(donation-form): reduced code redundancy by creating helper function.
…_variable_prices ref #3407
refactor(donor): create singular method to delete donor #2347
fix(admin-tools): export the donation of current year only.
fix(libraries): resolve tcpdf incompatibility with PHP 7.2 #3411
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2602
Description
This PR replaces the old shortcode display with a shortcode button which on clicking will copy the shortcode.
How Has This Been Tested?
By clicking the shortcode button on both the donations listing page and on the form meta page.
Screenshots (jpeg or gifs if applicable):
Shortcode Button
Shortcode button on hover
Shortcode button on click
Checklist: