Skip to content

Commit

Permalink
update review link in admin footer
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Oct 29, 2023
1 parent df2e237 commit bdcb5ed
Show file tree
Hide file tree
Showing 79 changed files with 2 additions and 2 deletions.
Empty file modified .browserslistrc
100644 → 100755
Empty file.
Empty file modified assets/src/css/admin.css
100644 → 100755
Empty file.
Empty file modified assets/src/css/form-basic.css
100644 → 100755
Empty file.
Empty file modified assets/src/css/form-themes.css
100644 → 100755
Empty file.
Empty file modified assets/src/js/events.js
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions includes/admin/class-admin-texts.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public function add_hooks() {
/**
* Ask for a plugin review in the WP Admin footer, if this is one of the plugin pages.
*
* @param $text
* @param string $text
*
* @return string
*/
public function footer_text( $text ) {
if ( ! empty( $_GET['page'] ) && strpos( $_GET['page'], 'mailchimp-for-wp' ) === 0 ) {
$text = sprintf( 'If you enjoy using <strong>Mailchimp for WordPress</strong>, please <a href="%s" target="_blank">leave us a ★★★★★ rating</a>.', 'https://wordpress.org/support/view/plugin-reviews/mailchimp-for-wp?rate=5#postform' );
$text = sprintf( 'If you enjoy using <strong>Mailchimp for WordPress</strong>, please <a href="%s" target="_blank">leave us a ★★★★★ plugin review on WordPress.org</a>.', 'https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/#new-post' );
}

return $text;
Expand Down
Empty file modified includes/views/parts/lists-overview-details.php
100644 → 100755
Empty file.
Empty file modified package-lock.json
100644 → 100755
Empty file.
Empty file modified readme.txt
100644 → 100755
Empty file.
Empty file.
Empty file modified sample-code-snippets/add-ons/top-bar/add-consent-checkbox.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/add-ons/top-bar/add-subscriber-tag.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/forms/disable-html5-form-validation.md
100644 → 100755
Empty file.
Empty file.
Empty file modified sample-code-snippets/forms/gdpr-consent-checkbox.html
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/forms/gdpr-marketing-permissions.md
100644 → 100755
Empty file.
Empty file.
Empty file modified sample-code-snippets/forms/js-events.html
100644 → 100755
Empty file.
Empty file.
Empty file modified sample-code-snippets/forms/replace-string-in-form-content.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/forms/require-interest-choice.html
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/forms/set-language.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/forms/subscriber-tags.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/integrations/membermouse.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/integrations/set-lists.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/integrations/subscriber-tags.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/integrations/wp-forms-field-mapping.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/misc/custom-subscriber-count.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/misc/increase-mailchimp-list-limit.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/misc/increase-request-timeout.php
100644 → 100755
Empty file.
Empty file.
Empty file modified sample-code-snippets/misc/use-wp-proxy-for-api-requests.php
100644 → 100755
Empty file.
Empty file modified sample-code-snippets/premium/disable-log-reports.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/premium/ecommerce/skip-old-orders.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified sample-code-snippets/premium/overwrite_domain_suggestions.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified webpack.config.js
100644 → 100755
Empty file.

0 comments on commit bdcb5ed

Please sign in to comment.