Paid Memberships Pro - Version 1.9.2.1

Version Description

  • BUG FIX: Fixed issues with activation on single sites.
  • BUG FIX: Starting PHP sessions earlier to fix issues with PayPal/PayPal Express checkouts.
Download this release

Release Info

Developer strangerstudios
Plugin Icon 128x128 Paid Memberships Pro
Version 1.9.2.1
Comparing to
See all releases

Code changes from version 1.9.1 to 1.9.2.1

CONTRIBUTE.md ADDED
@@ -0,0 +1,40 @@
1
+ #Contribute to Paid Memberships Pro
2
+
3
+ Paid Memberships Pro is the "community solution" for membership sites on WordPress, and so contributions of all kinds are appreciated.
4
+
5
+ When contributing, please follow these guidelines to ensure things work as smoothly as possible.
6
+
7
+ __Please Note:__ GitHub is for bug reports and contributions only. If you have a support or customization question, go to our [Member Support Page](http://www.paidmembershipspro.com/support/) instead.
8
+
9
+ ## Getting Started
10
+
11
+ * __Do not report potential security vulnerabilities here. Email them privately to [info@paidmembershipspro.com](mailto:info@paidmembershipspro.com) with the words "Security Vulnerability" in the subject.__
12
+ * Submit a ticket for your issue, assuming one does not already exist.
13
+ * Raise it on our [Issue Tracker](https://github.com/strangerstudios/paid-memberships-pro//issues)
14
+ * Clearly describe the issue including steps to reproduce the bug.
15
+ * Make sure you fill in the earliest version that you know has the issue as well as the version of WordPress you're using.
16
+
17
+ ## Making Changes
18
+
19
+ * Fork the repository on GitHub
20
+ * For bug fixes, checkout the latest versioned branch of the PMPro repository (e.g. 1.8.9.3).
21
+ * For new features and enhancements, checkout the DEV branch of the PMPro respository.
22
+ * Make the changes to your forked repository
23
+ * Ensure you stick to the [WordPress Coding Standards](https://codex.wordpress.org/WordPress_Coding_Standards) (even though much of the PMPro code does not currently)
24
+ * When committing, reference your issue (if present) and include a note about the fix
25
+ * Push the changes to your fork
26
+ * For bug fixes, submit a pull request to the latest versioned branch of the PMPro repository (e.g. 1.8.9.3).
27
+ * For new features and enhancements, submit a pull request to the DEV branch of the PMPro repository.
28
+ * We will process all pull requests and make suggestions or changes as soon as possible. Feel free to ping us politely via email or social networks to take a look at your pulls.
29
+
30
+ ## Code Documentation
31
+
32
+ * We would like for every function, filter, class, and class method to be documented using phpDoc standards.
33
+ * An example of [how PMPro uses phpDoc blocks can be found here](https://gist.github.com/sunnyratilal/5308969).
34
+ * Please make sure that every function is documented so that when we update our API Documentation things don't go awry!
35
+ * If you're adding/editing a function in a class, make sure to add `@access {private|public|protected}`
36
+ * Finally, please use tabs and not spaces. The tab indent size should be 4 for all Paid Memberships Pro code.
37
+
38
+ # Additional Resources
39
+ * [General GitHub Documentation](https://help.github.com/)
40
+ * [GitHub Pull Request documentation](https://help.github.com/send-pull-requests/)
adminpages/memberslist-csv.php CHANGED
@@ -161,8 +161,13 @@
161
$sqlQuery .= "WHERE mu.membership_id > 0 ";
162
163
// looking for a specific user
164
if($s)
165
- $sqlQuery .= "AND (u.user_login LIKE '%". esc_sql($s) ."%' OR u.user_email LIKE '%". esc_sql($s) ."%' OR um.meta_value LIKE '%". esc_sql($s) ."%') ";
166
167
// if ($former_members)
168
// $sqlQuery .= "AND mu2.status = 'active' ";
@@ -295,6 +300,10 @@
295
{
296
$i_start += $max_users_per_loop;
297
}
298
299
$userSql = $wpdb->prepare("
300
SELECT
@@ -319,7 +328,7 @@
319
LEFT JOIN {$wpdb->pmpro_memberships_users} mu ON u.ID = mu.user_id
320
LEFT JOIN {$wpdb->pmpro_membership_levels} m ON mu.membership_id = m.id
321
{$former_member_join}
322
- WHERE u.ID BETWEEN %d AND %d AND mu.membership_id > 0 {$filter}
323
-- GROUP BY u.ID
324
ORDER BY u.ID",
325
$first_uid,
161
$sqlQuery .= "WHERE mu.membership_id > 0 ";
162
163
// looking for a specific user
164
+ $search = "";
165
+
166
if($s)
167
+ {
168
+ $search = "AND (u.user_login LIKE '%". esc_sql($s) ."%' OR u.user_email LIKE '%". esc_sql($s) ."%' OR um.meta_value LIKE '%". esc_sql($s) ."%') ";
169
+ $sqlQuery .= $search;
170
+ }
171
172
// if ($former_members)
173
// $sqlQuery .= "AND mu2.status = 'active' ";
300
{
301
$i_start += $max_users_per_loop;
302
}
303
+
304
+ //escape the % for LIKE comparison with $wpdb
305
+ if(!empty($search))
306
+ $search = str_replace('%', '%%', $search);
307
308
$userSql = $wpdb->prepare("
309
SELECT
328
LEFT JOIN {$wpdb->pmpro_memberships_users} mu ON u.ID = mu.user_id
329
LEFT JOIN {$wpdb->pmpro_membership_levels} m ON mu.membership_id = m.id
330
{$former_member_join}
331
+ WHERE u.ID BETWEEN %d AND %d AND mu.membership_id > 0 {$filter} {$search}
332
-- GROUP BY u.ID
333
ORDER BY u.ID",
334
$first_uid,
classes/class-deny-network-activation.php ADDED
@@ -0,0 +1,70 @@
1
+ <?php
2
+
3
+ defined( 'ABSPATH' ) || die( 'File cannot be accessed directly' );
4
+
5
+ class PMPro_Deny_Network_Activation {
6
+
7
+ public function init() {
8
+ register_activation_hook( PMPRO_BASE_FILE, array( $this, 'pmpro_check_network_activation' ) );
9
+ add_action( 'wp_print_footer_scripts', array( $this, 'wp_admin_style' ) );
10
+ add_action( 'network_admin_notices', array( $this, 'display_message_after_network_activation_attempt' ) );
11
+
12
+ // On the blog list page, show the plugins and theme active on each blog
13
+ add_filter( 'manage_sites-network_columns', array( $this, 'add_sites_column' ), 10, 1 );
14
+ add_action( 'manage_sites_custom_column', array( $this, 'manage_sites_custom_column' ), 10, 3 );
15
+ }
16
+
17
+ public function wp_admin_style() {
18
+ global $current_screen;
19
+ if ( is_admin() && ( 'sites-network' === $current_screen->id || 'plugins-network' === $current_screen->id ) ) {
20
+ ?>
21
+ <style type="text/css">
22
+ .notice.notice-info {
23
+ background-color: #ffd;
24
+ }
25
+ </style>
26
+ <?php
27
+ }
28
+ }
29
+
30
+ public function display_message_after_network_activation_attempt() {
31
+ global $current_screen;
32
+ if ( !empty($_REQUEST['pmpro_deny_network_activation']) && ( 'sites-network' === $current_screen->id || 'plugins-network' === $current_screen->id ) ) {
33
+ //get plugin data
34
+ $plugin = isset($_REQUEST['pmpro_deny_network_activation']) ? $_REQUEST['pmpro_deny_network_activation'] : '';
35
+ $plugin_path = WP_PLUGIN_DIR . '/' . urldecode($plugin);
36
+ $plugin_data = get_plugin_data($plugin_path);
37
+
38
+ if(!empty($plugin_data))
39
+ $plugin_name = $plugin_data['Name'];
40
+ else
41
+ $plugin_name = '';
42
+
43
+ //show notice
44
+ echo '<div class="notice notice-info is-dismissible"><p>';
45
+ $text = sprintf( __("The %s plugin should not be network activated. Activate on each individual site's plugin page.", 'paid-memberships-pro'), $plugin_name);
46
+ echo $text;
47
+ echo '</p></div>';
48
+ }
49
+ }
50
+
51
+ public function pmpro_check_network_activation( $network_wide ) {
52
+ if ( !is_multisite() || !$network_wide ) {
53
+ return;
54
+ }
55
+
56
+ $plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : '';
57
+
58
+ deactivate_plugins( $plugin, true, true );
59
+ if ( ! isset( $_REQUEST['pmpro_deny_network_activation']) ) {
60
+ wp_redirect( add_query_arg( 'pmpro_deny_network_activation', $plugin, network_admin_url( 'plugins.php' ) ) );
61
+ exit;
62
+ }
63
+ }
64
+ }
65
+
66
+ // Init the check if the plugin is active.
67
+ if ( class_exists( '\PMPro_Deny_Network_Activation' ) ) {
68
+ $pmp_wpmu_deny = new PMPro_Deny_Network_Activation();
69
+ $pmp_wpmu_deny->init();
70
+ }
classes/gateways/class.pmprogateway_braintree.php CHANGED
@@ -661,6 +661,7 @@
661
'creditCard' => array(
662
'number' => $order->braintree->number,
663
'expirationDate' => $order->braintree->expiration_date,
664
'cardholderName' => trim($order->FirstName . " " . $order->LastName),
665
'options' => array(
666
'updateExistingToken' => $this->customer->creditCards[0]->token
@@ -715,7 +716,7 @@
715
716
//no customer id, create one
717
if(!empty($order->accountnumber))
718
- {
719
try
720
{
721
$result = Braintree_Customer::create(array(
661
'creditCard' => array(
662
'number' => $order->braintree->number,
663
'expirationDate' => $order->braintree->expiration_date,
664
+ 'cvv' => $order->braintree->cvv,
665
'cardholderName' => trim($order->FirstName . " " . $order->LastName),
666
'options' => array(
667
'updateExistingToken' => $this->customer->creditCards[0]->token
716
717
//no customer id, create one
718
if(!empty($order->accountnumber))
719
+ {
720
try
721
{
722
$result = Braintree_Customer::create(array(
classes/gateways/class.pmprogateway_cybersource.php CHANGED
@@ -254,6 +254,7 @@
254
$card_types = array(
255
'Visa' => '001',
256
'MasterCard' => '002',
257
'Master Card' => '002',
258
'AMEX' => '003',
259
'American Express' => '003',
254
$card_types = array(
255
'Visa' => '001',
256
'MasterCard' => '002',
257
+ 'Mastercard' => '002',
258
'Master Card' => '002',
259
'AMEX' => '003',
260
'American Express' => '003',
includes/content.php CHANGED
@@ -140,26 +140,29 @@ function pmpro_has_membership_access($post_id = NULL, $user_id = NULL, $return_m
140
function pmpro_search_filter($query)
141
{
142
global $current_user, $wpdb, $pmpro_pages;
143
-
144
//hide pmpro pages from search results
145
if(!$query->is_admin && $query->is_search && empty($query->query['post_parent']))
146
{
147
- if(empty($query->query_vars['post_parent'])) //avoiding post_parent queries for now
148
$query->set('post__not_in', $pmpro_pages );
149
150
- $query->set('post__not_in', $pmpro_pages ); // id of page or post
151
}
152
153
- //hide member pages from non-members (make sure they aren't hidden from members)
154
if(!$query->is_admin &&
155
- !$query->is_singular &&
156
empty($query->query['post_parent']) &&
157
(
158
- empty($query->query_vars['post_type']) ||
159
in_array($query->query_vars['post_type'], apply_filters('pmpro_search_filter_post_types', array("page", "post")))
160
- )
161
)
162
- {
163
//get page ids that are in my levels
164
if(!empty($current_user->ID))
165
$levels = pmpro_getMembershipLevelsForUser($current_user->ID);
@@ -193,11 +196,11 @@ function pmpro_search_filter($query)
193
$sql = "SELECT page_id FROM $wpdb->pmpro_memberships_pages WHERE page_id NOT IN(" . implode(',', $my_pages) . ")";
194
else
195
$sql = "SELECT page_id FROM $wpdb->pmpro_memberships_pages";
196
- $hidden_page_ids = array_values(array_unique($wpdb->get_col($sql)));
197
198
if($hidden_page_ids)
199
{
200
- if(empty($query->query_vars['post_parent'])) //avoiding post_parent queries for now
201
$query->set('post__not_in', $hidden_page_ids);
202
}
203
@@ -222,7 +225,7 @@ function pmpro_search_filter($query)
222
223
//make this work
224
if($hidden_cat_ids)
225
- {
226
$query->set('category__not_in', $hidden_cat_ids);
227
228
//filter so posts in this member's categories are allowed
@@ -243,7 +246,7 @@ if(!empty($filterqueries))
243
function pmpro_posts_where_unhide_cats($where)
244
{
245
global $pmpro_my_cats, $wpdb;
246
-
247
//if we have member cats, make sure they are allowed in taxonomy queries
248
if(!empty($where) && !empty($pmpro_my_cats))
249
{
@@ -251,21 +254,21 @@ function pmpro_posts_where_unhide_cats($where)
251
$replacement = $wpdb->posts . '.ID NOT IN (
252
SELECT tr1.object_id
253
FROM ' . $wpdb->term_relationships . ' tr1
254
- LEFT JOIN ' . $wpdb->term_relationships . ' tr2 ON tr1.object_id = tr2.object_id AND tr2.term_taxonomy_id IN(' . implode($pmpro_my_cats) . ')
255
- WHERE tr1.term_taxonomy_id IN(${1}) AND tr2.term_taxonomy_id IS NULL ) ';
256
$where = preg_replace($pattern, $replacement, $where);
257
}
258
-
259
//remove filter for next query
260
remove_action('posts_where', 'pmpro_posts_where_unhide_cats');
261
-
262
return $where;
263
}
264
-
265
function pmpro_membership_content_filter($content, $skipcheck = false)
266
- {
267
global $post, $current_user;
268
-
269
if(!$skipcheck)
270
{
271
$hasaccess = pmpro_has_membership_access(NULL, NULL, true);
@@ -287,16 +290,16 @@ function pmpro_membership_content_filter($content, $skipcheck = false)
287
{
288
//if show excerpts is set, return just the excerpt
289
if(pmpro_getOption("showexcerpts"))
290
- {
291
//show excerpt
292
global $post;
293
if($post->post_excerpt)
294
- {
295
//defined exerpt
296
$content = wpautop($post->post_excerpt);
297
}
298
elseif(strpos($content, "<span id=\"more-" . $post->ID . "\"></span>") !== false)
299
- {
300
//more tag
301
$pos = strpos($content, "<span id=\"more-" . $post->ID . "\"></span>");
302
$content = wpautop(substr($content, 0, $pos));
@@ -327,6 +330,7 @@ function pmpro_membership_content_filter($content, $skipcheck = false)
327
}
328
else
329
{
330
//else hide everything
331
$content = "";
332
}
140
function pmpro_search_filter($query)
141
{
142
global $current_user, $wpdb, $pmpro_pages;
143
+
144
//hide pmpro pages from search results
145
if(!$query->is_admin && $query->is_search && empty($query->query['post_parent']))
146
{
147
+ if(empty($query->query_vars['post_parent'])) //avoiding post_parent queries for now
148
$query->set('post__not_in', $pmpro_pages );
149
150
+ $query->set('post__not_in', $pmpro_pages ); // id of page or post
151
}
152
153
+ //hide member pages from non-members (make sure they aren't hidden from members)
154
if(!$query->is_admin &&
155
+ !$query->is_singular &&
156
empty($query->query['post_parent']) &&
157
(
158
+ empty($query->query_vars['post_type']) ||
159
in_array($query->query_vars['post_type'], apply_filters('pmpro_search_filter_post_types', array("page", "post")))
160
+ ) && (
161
+ ( ! defined('REST_REQUEST') || ( defined( 'REST_REQUEST' ) && false === REST_REQUEST ) )
162
+ )
163
)
164
+ {
165
+
166
//get page ids that are in my levels
167
if(!empty($current_user->ID))
168
$levels = pmpro_getMembershipLevelsForUser($current_user->ID);
196
$sql = "SELECT page_id FROM $wpdb->pmpro_memberships_pages WHERE page_id NOT IN(" . implode(',', $my_pages) . ")";
197
else
198
$sql = "SELECT page_id FROM $wpdb->pmpro_memberships_pages";
199
+ $hidden_page_ids = array_values(array_unique($wpdb->get_col($sql)));
200
201
if($hidden_page_ids)
202
{
203
+ if(empty($query->query_vars['post_parent'])) //avoiding post_parent queries for now
204
$query->set('post__not_in', $hidden_page_ids);
205
}
206
225
226
//make this work
227
if($hidden_cat_ids)
228
+ {
229
$query->set('category__not_in', $hidden_cat_ids);
230
231
//filter so posts in this member's categories are allowed
246
function pmpro_posts_where_unhide_cats($where)
247
{
248
global $pmpro_my_cats, $wpdb;
249
+
250
//if we have member cats, make sure they are allowed in taxonomy queries
251
if(!empty($where) && !empty($pmpro_my_cats))
252
{
254
$replacement = $wpdb->posts . '.ID NOT IN (
255
SELECT tr1.object_id
256
FROM ' . $wpdb->term_relationships . ' tr1
257
+ LEFT JOIN ' . $wpdb->term_relationships . ' tr2 ON tr1.object_id = tr2.object_id AND tr2.term_taxonomy_id IN(' . implode($pmpro_my_cats) . ')
258
+ WHERE tr1.term_taxonomy_id IN(${1}) AND tr2.term_taxonomy_id IS NULL ) ';
259
$where = preg_replace($pattern, $replacement, $where);
260
}
261
+
262
//remove filter for next query
263
remove_action('posts_where', 'pmpro_posts_where_unhide_cats');
264
+
265
return $where;
266
}
267
+
268
function pmpro_membership_content_filter($content, $skipcheck = false)
269
+ {
270
global $post, $current_user;
271
+
272
if(!$skipcheck)
273
{
274
$hasaccess = pmpro_has_membership_access(NULL, NULL, true);
290
{
291
//if show excerpts is set, return just the excerpt
292
if(pmpro_getOption("showexcerpts"))
293
+ {
294
//show excerpt
295
global $post;
296
if($post->post_excerpt)
297
+ {
298
//defined exerpt
299
$content = wpautop($post->post_excerpt);
300
}
301
elseif(strpos($content, "<span id=\"more-" . $post->ID . "\"></span>") !== false)
302
+ {
303
//more tag
304
$pos = strpos($content, "<span id=\"more-" . $post->ID . "\"></span>");
305
$content = wpautop(substr($content, 0, $pos));
330
}
331
else
332
{
333
+
334
//else hide everything
335
$content = "";
336
}
includes/countries.php CHANGED
@@ -4,254 +4,254 @@
4
$pmpro_default_country = apply_filters("pmpro_default_country", "US");
5
6
$pmpro_countries = array(
7
- 'AD' => 'Andorra',
8
- 'AE' => 'United Arab Emirates',
9
- 'AF' => 'Afghanistan',
10
- 'AG' => 'Antigua and Barbuda',
11
- 'AI' => 'Anguilla',
12
- 'AL' => 'Albania',
13
- 'AM' => 'Armenia',
14
- 'AN' => 'Netherlands Antilles',
15
- 'AO' => 'Angola',
16
- 'AQ' => 'Antarctica',
17
- 'AR' => 'Argentina',
18
- 'AS' => 'American Samoa',
19
- 'AT' => 'Austria',
20
- 'AU' => 'Australia',
21
- 'AW' => 'Aruba',
22
- 'AX' => 'Aland Islands',
23
- 'AZ' => 'Azerbaijan',
24
- 'BA' => 'Bosnia and Herzegovina',
25
- 'BB' => 'Barbados',
26
- 'BD' => 'Bangladesh',
27
- 'BE' => 'Belgium',
28
- 'BF' => 'Burkina Faso',
29
- 'BG' => 'Bulgaria',
30
- 'BH' => 'Bahrain',
31
- 'BI' => 'Burundi',
32
- 'BJ' => 'Benin',
33
- 'BL' => 'Saint Barthelemy',
34
- 'BM' => 'Bermuda',
35
- 'BN' => 'Brunei',
36
- 'BO' => 'Bolivia',
37
- 'BR' => 'Brazil',
38
- 'BS' => 'Bahamas',
39
- 'BT' => 'Bhutan',
40
- 'BV' => 'Bouvet Island',
41
- 'BW' => 'Botswana',
42
- 'BY' => 'Belarus',
43
- 'BZ' => 'Belize',
44
- 'CA' => 'Canada',
45
- 'CC' => 'Cocos (Keeling) Islands',
46
- 'CD' => 'Congo (Kinshasa)',
47
- 'CF' => 'Central African Republic',
48
- 'CG' => 'Congo (Brazzaville)',
49
- 'CH' => 'Switzerland',
50
- 'CI' => 'Ivory Coast',
51
- 'CK' => 'Cook Islands',
52
- 'CL' => 'Chile',
53
- 'CM' => 'Cameroon',
54
- 'CN' => 'China',
55
- 'CO' => 'Colombia',
56
- 'CR' => 'Costa Rica',
57
- 'CU' => 'Cuba',
58
- 'CV' => 'Cape Verde',
59
- 'CX' => 'Christmas Island',
60
- 'CY' => 'Cyprus',
61
- 'CZ' => 'Czech Republic',
62
- 'DE' => 'Germany',
63
- 'DJ' => 'Djibouti',
64
- 'DK' => 'Denmark',
65
- 'DM' => 'Dominica',
66
- 'DO' => 'Dominican Republic',
67
- 'DZ' => 'Algeria',
68
- 'EC' => 'Ecuador',
69
- 'EE' => 'Estonia',
70
- 'EG' => 'Egypt',
71
- 'EH' => 'Western Sahara',
72
- 'ER' => 'Eritrea',
73
- 'ES' => 'Spain',
74
- 'ET' => 'Ethiopia',
75
- 'FI' => 'Finland',
76
- 'FJ' => 'Fiji',
77
- 'FK' => 'Falkland Islands',
78
- 'FM' => 'Micronesia',
79
- 'FO' => 'Faroe Islands',
80
- 'FR' => 'France',
81
- 'GA' => 'Gabon',
82
- 'GB' => 'United Kingdom',
83
- 'GD' => 'Grenada',
84
- 'GE' => 'Georgia',
85
- 'GF' => 'French Guiana',
86
- 'GG' => 'Guernsey',
87
- 'GH' => 'Ghana',
88
- 'GI' => 'Gibraltar',
89
- 'GL' => 'Greenland',
90
- 'GM' => 'Gambia',
91
- 'GN' => 'Guinea',
92
- 'GP' => 'Guadeloupe',
93
- 'GQ' => 'Equatorial Guinea',
94
- 'GR' => 'Greece',
95
- 'GS' => 'South Georgia and the South Sandwich Islands',
96
- 'GT' => 'Guatemala',
97
- 'GU' => 'Guam',
98
- 'GW' => 'Guinea-Bissau',
99
- 'GY' => 'Guyana',
100
- 'HK' => 'Hong Kong S.A.R., China',
101
- 'HM' => 'Heard Island and McDonald Islands',
102
- 'HN' => 'Honduras',
103
- 'HR' => 'Croatia',
104
- 'HT' => 'Haiti',
105
- 'HU' => 'Hungary',
106
- 'ID' => 'Indonesia',
107
- 'IE' => 'Ireland',
108
- 'IL' => 'Israel',
109
- 'IM' => 'Isle of Man',
110
- 'IN' => 'India',
111
- 'IO' => 'British Indian Ocean Territory',
112
- 'IQ' => 'Iraq',
113
- 'IR' => 'Iran',
114
- 'IS' => 'Iceland',
115
- 'IT' => 'Italy',
116
- 'JE' => 'Jersey',
117
- 'JM' => 'Jamaica',
118
- 'JO' => 'Jordan',
119
- 'JP' => 'Japan',
120
- 'KE' => 'Kenya',
121
- 'KG' => 'Kyrgyzstan',
122
- 'KH' => 'Cambodia',
123
- 'KI' => 'Kiribati',
124
- 'KM' => 'Comoros',
125
- 'KN' => 'Saint Kitts and Nevis',
126
- 'KP' => 'North Korea',
127
- 'KR' => 'South Korea',
128
- 'KW' => 'Kuwait',
129
- 'KY' => 'Cayman Islands',
130
- 'KZ' => 'Kazakhstan',
131
- 'LA' => 'Laos',
132
- 'LB' => 'Lebanon',
133
- 'LC' => 'Saint Lucia',
134
- 'LI' => 'Liechtenstein',
135
- 'LK' => 'Sri Lanka',
136
- 'LR' => 'Liberia',
137
- 'LS' => 'Lesotho',
138
- 'LT' => 'Lithuania',
139
- 'LU' => 'Luxembourg',
140
- 'LV' => 'Latvia',
141
- 'LY' => 'Libya',
142
- 'MA' => 'Morocco',
143
- 'MC' => 'Monaco',
144
- 'MD' => 'Moldova',
145
- 'ME' => 'Montenegro',
146
- 'MF' => 'Saint Martin (French part)',
147
- 'MG' => 'Madagascar',
148
- 'MH' => 'Marshall Islands',
149
- 'MK' => 'Macedonia',
150
- 'ML' => 'Mali',
151
- 'MM' => 'Myanmar',
152
- 'MN' => 'Mongolia',
153
- 'MO' => 'Macao S.A.R., China',
154
- 'MP' => 'Northern Mariana Islands',
155
- 'MQ' => 'Martinique',
156
- 'MR' => 'Mauritania',
157
- 'MS' => 'Montserrat',
158
- 'MT' => 'Malta',
159
- 'MU' => 'Mauritius',
160
- 'MV' => 'Maldives',
161
- 'MW' => 'Malawi',
162
- 'MX' => 'Mexico',
163
- 'MY' => 'Malaysia',
164
- 'MZ' => 'Mozambique',
165
- 'NA' => 'Namibia',
166
- 'NC' => 'New Caledonia',
167
- 'NE' => 'Niger',
168
- 'NF' => 'Norfolk Island',
169
- 'NG' => 'Nigeria',
170
- 'NI' => 'Nicaragua',
171
- 'NL' => 'Netherlands',
172
- 'NO' => 'Norway',
173
- 'NP' => 'Nepal',
174
- 'NR' => 'Nauru',
175
- 'NU' => 'Niue',
176
- 'NZ' => 'New Zealand',
177
- 'OM' => 'Oman',
178
- 'PA' => 'Panama',
179
- 'PE' => 'Peru',
180
- 'PF' => 'French Polynesia',
181
- 'PG' => 'Papua New Guinea',
182
- 'PH' => 'Philippines',
183
- 'PK' => 'Pakistan',
184
- 'PL' => 'Poland',
185
- 'PM' => 'Saint Pierre and Miquelon',
186
- 'PN' => 'Pitcairn',
187
- 'PR' => 'Puerto Rico',
188
- 'PS' => 'Palestinian Territory',
189
- 'PT' => 'Portugal',
190
- 'PW' => 'Palau',
191
- 'PY' => 'Paraguay',
192
- 'QA' => 'Qatar',
193
- 'RE' => 'Reunion',
194
- 'RO' => 'Romania',
195
- 'RS' => 'Serbia',
196
- 'RU' => 'Russia',
197
- 'RW' => 'Rwanda',
198
- 'SA' => 'Saudi Arabia',
199
- 'SB' => 'Solomon Islands',
200
- 'SC' => 'Seychelles',
201
- 'SD' => 'Sudan',
202
- 'SE' => 'Sweden',
203
- 'SG' => 'Singapore',
204
- 'SH' => 'Saint Helena',
205
- 'SI' => 'Slovenia',
206
- 'SJ' => 'Svalbard and Jan Mayen',
207
- 'SK' => 'Slovakia',
208
- 'SL' => 'Sierra Leone',
209
- 'SM' => 'San Marino',
210
- 'SN' => 'Senegal',
211
- 'SO' => 'Somalia',
212
- 'SR' => 'Suriname',
213
- 'ST' => 'Sao Tome and Principe',
214
- 'SV' => 'El Salvador',
215
- 'SY' => 'Syria',
216
- 'SZ' => 'Swaziland',
217
- 'TC' => 'Turks and Caicos Islands',
218
- 'TD' => 'Chad',
219
- 'TF' => 'French Southern Territories',
220
- 'TG' => 'Togo',
221
- 'TH' => 'Thailand',
222
- 'TJ' => 'Tajikistan',
223
- 'TK' => 'Tokelau',
224
- 'TL' => 'Timor-Leste',
225
- 'TM' => 'Turkmenistan',
226
- 'TN' => 'Tunisia',
227
- 'TO' => 'Tonga',
228
- 'TR' => 'Turkey',
229
- 'TT' => 'Trinidad and Tobago',
230
- 'TV' => 'Tuvalu',
231
- 'TW' => 'Taiwan',
232
- 'TZ' => 'Tanzania',
233
- 'UA' => 'Ukraine',
234
- 'UG' => 'Uganda',
235
- 'UM' => 'United States Minor Outlying Islands',
236
- 'US' => 'United States',
237
- 'UY' => 'Uruguay',
238
- 'UZ' => 'Uzbekistan',
239
- 'VA' => 'Vatican',
240
- 'VC' => 'Saint Vincent and the Grenadines',
241
- 'VE' => 'Venezuela',
242
- 'VG' => 'British Virgin Islands',
243
- 'VI' => 'U.S. Virgin Islands',
244
- 'VN' => 'Vietnam',
245
- 'VU' => 'Vanuatu',
246
- 'WF' => 'Wallis and Futuna',
247
- 'WS' => 'Samoa',
248
- 'YE' => 'Yemen',
249
- 'YT' => 'Mayotte',
250
- 'ZA' => 'South Africa',
251
- 'ZM' => 'Zambia',
252
- 'ZW' => 'Zimbabwe',
253
- 'USAF' => 'US Armed Forces' ,
254
- 'VE' => 'Venezuela',
255
);
256
257
asort($pmpro_countries);
4
$pmpro_default_country = apply_filters("pmpro_default_country", "US");
5
6
$pmpro_countries = array(
7
+ 'AD' => __( 'Andorra', 'paid-memberships-pro' ),
8
+ 'AE' => __( 'United Arab Emirates', 'paid-memberships-pro' ),
9
+ 'AF' => __( 'Afghanistan', 'paid-memberships-pro' ),
10
+ 'AG' => __( 'Antigua and Barbuda', 'paid-memberships-pro' ),
11
+ 'AI' => __( 'Anguilla', 'paid-memberships-pro' ),
12
+ 'AL' => __( 'Albania', 'paid-memberships-pro' ),
13
+ 'AM' => __( 'Armenia', 'paid-memberships-pro' ),
14
+ 'AN' => __( 'Netherlands Antilles', 'paid-memberships-pro' ),
15
+ 'AO' => __( 'Angola', 'paid-memberships-pro' ),
16
+ 'AQ' => __( 'Antarctica', 'paid-memberships-pro' ),
17
+ 'AR' => __( 'Argentina', 'paid-memberships-pro' ),
18
+ 'AS' => __( 'American Samoa', 'paid-memberships-pro' ),
19
+ 'AT' => __( 'Austria', 'paid-memberships-pro' ),
20
+ 'AU' => __( 'Australia', 'paid-memberships-pro' ),
21
+ 'AW' => __( 'Aruba', 'paid-memberships-pro' ),
22
+ 'AX' => __( 'Aland Islands', 'paid-memberships-pro' ),
23
+ 'AZ' => __( 'Azerbaijan', 'paid-memberships-pro' ),
24
+ 'BA' => __( 'Bosnia and Herzegovina', 'paid-memberships-pro' ),
25
+ 'BB' => __( 'Barbados', 'paid-memberships-pro' ),
26
+ 'BD' => __( 'Bangladesh', 'paid-memberships-pro' ),
27
+ 'BE' => __( 'Belgium', 'paid-memberships-pro' ),
28
+ 'BF' => __( 'Burkina Faso', 'paid-memberships-pro' ),
29
+ 'BG' => __( 'Bulgaria', 'paid-memberships-pro' ),
30
+ 'BH' => __( 'Bahrain', 'paid-memberships-pro' ),
31
+ 'BI' => __( 'Burundi', 'paid-memberships-pro' ),
32
+ 'BJ' => __( 'Benin', 'paid-memberships-pro' ),
33
+ 'BL' => __( 'Saint Barthelemy', 'paid-memberships-pro' ),
34
+ 'BM' => __( 'Bermuda', 'paid-memberships-pro' ),
35
+ 'BN' => __( 'Brunei', 'paid-memberships-pro' ),
36
+ 'BO' => __( 'Bolivia', 'paid-memberships-pro' ),
37
+ 'BR' => __( 'Brazil', 'paid-memberships-pro' ),
38
+ 'BS' => __( 'Bahamas', 'paid-memberships-pro' ),
39
+ 'BT' => __( 'Bhutan', 'paid-memberships-pro' ),
40
+ 'BV' => __( 'Bouvet Island', 'paid-memberships-pro' ),
41
+ 'BW' => __( 'Botswana', 'paid-memberships-pro' ),
42
+ 'BY' => __( 'Belarus', 'paid-memberships-pro' ),
43
+ 'BZ' => __( 'Belize', 'paid-memberships-pro' ),
44
+ 'CA' => __( 'Canada', 'paid-memberships-pro' ),
45
+ 'CC' => __( 'Cocos (Keeling) Islands', 'paid-memberships-pro' ),
46
+ 'CD' => __( 'Congo (Kinshasa)', 'paid-memberships-pro' ),
47
+ 'CF' => __( 'Central African Republic', 'paid-memberships-pro' ),
48
+ 'CG' => __( 'Congo (Brazzaville)', 'paid-memberships-pro' ),
49
+ 'CH' => __( 'Switzerland', 'paid-memberships-pro' ),
50
+ 'CI' => __( 'Ivory Coast', 'paid-memberships-pro' ),
51
+ 'CK' => __( 'Cook Islands', 'paid-memberships-pro' ),
52
+ 'CL' => __( 'Chile', 'paid-memberships-pro' ),
53
+ 'CM' => __( 'Cameroon', 'paid-memberships-pro' ),
54
+ 'CN' => __( 'China', 'paid-memberships-pro' ),
55
+ 'CO' => __( 'Colombia', 'paid-memberships-pro' ),
56
+ 'CR' => __( 'Costa Rica', 'paid-memberships-pro' ),
57
+ 'CU' => __( 'Cuba', 'paid-memberships-pro' ),
58
+ 'CV' => __( 'Cape Verde', 'paid-memberships-pro' ),
59
+ 'CX' => __( 'Christmas Island', 'paid-memberships-pro' ),
60
+ 'CY' => __( 'Cyprus', 'paid-memberships-pro' ),
61
+ 'CZ' => __( 'Czech Republic', 'paid-memberships-pro' ),
62
+ 'DE' => __( 'Germany', 'paid-memberships-pro' ),
63
+ 'DJ' => __( 'Djibouti', 'paid-memberships-pro' ),
64
+ 'DK' => __( 'Denmark', 'paid-memberships-pro' ),
65
+ 'DM' => __( 'Dominica', 'paid-memberships-pro' ),
66
+ 'DO' => __( 'Dominican Republic', 'paid-memberships-pro' ),
67
+ 'DZ' => __( 'Algeria', 'paid-memberships-pro' ),
68
+ 'EC' => __( 'Ecuador', 'paid-memberships-pro' ),
69
+ 'EE' => __( 'Estonia', 'paid-memberships-pro' ),
70
+ 'EG' => __( 'Egypt', 'paid-memberships-pro' ),
71
+ 'EH' => __( 'Western Sahara', 'paid-memberships-pro' ),
72
+ 'ER' => __( 'Eritrea', 'paid-memberships-pro' ),
73
+ 'ES' => __( 'Spain', 'paid-memberships-pro' ),
74
+ 'ET' => __( 'Ethiopia', 'paid-memberships-pro' ),
75
+ 'FI' => __( 'Finland', 'paid-memberships-pro' ),
76
+ 'FJ' => __( 'Fiji', 'paid-memberships-pro' ),
77
+ 'FK' => __( 'Falkland Islands', 'paid-memberships-pro' ),
78
+ 'FM' => __( 'Micronesia', 'paid-memberships-pro' ),
79
+ 'FO' => __( 'Faroe Islands', 'paid-memberships-pro' ),
80
+ 'FR' => __( 'France', 'paid-memberships-pro' ),
81
+ 'GA' => __( 'Gabon', 'paid-memberships-pro' ),
82
+ 'GB' => __( 'United Kingdom', 'paid-memberships-pro' ),
83
+ 'GD' => __( 'Grenada', 'paid-memberships-pro' ),
84
+ 'GE' => __( 'Georgia', 'paid-memberships-pro' ),
85
+ 'GF' => __( 'French Guiana', 'paid-memberships-pro' ),
86
+ 'GG' => __( 'Guernsey', 'paid-memberships-pro' ),
87
+ 'GH' => __( 'Ghana', 'paid-memberships-pro' ),
88
+ 'GI' => __( 'Gibraltar', 'paid-memberships-pro' ),
89
+ 'GL' => __( 'Greenland', 'paid-memberships-pro' ),
90
+ 'GM' => __( 'Gambia', 'paid-memberships-pro' ),
91
+ 'GN' => __( 'Guinea', 'paid-memberships-pro' ),
92
+ 'GP' => __( 'Guadeloupe', 'paid-memberships-pro' ),
93
+ 'GQ' => __( 'Equatorial Guinea', 'paid-memberships-pro' ),
94
+ 'GR' => __( 'Greece', 'paid-memberships-pro' ),
95
+ 'GS' => __( 'South Georgia and the South Sandwich Islands', 'paid-memberships-pro' ),
96
+ 'GT' => __( 'Guatemala', 'paid-memberships-pro' ),
97
+ 'GU' => __( 'Guam', 'paid-memberships-pro' ),
98
+ 'GW' => __( 'Guinea-Bissau', 'paid-memberships-pro' ),
99
+ 'GY' => __( 'Guyana', 'paid-memberships-pro' ),
100
+ 'HK' => __( 'Hong Kong S.A.R., China', 'paid-memberships-pro' ),
101
+ 'HM' => __( 'Heard Island and McDonald Islands', 'paid-memberships-pro' ),
102
+ 'HN' => __( 'Honduras', 'paid-memberships-pro' ),
103
+ 'HR' => __( 'Croatia', 'paid-memberships-pro' ),
104
+ 'HT' => __( 'Haiti', 'paid-memberships-pro' ),
105
+ 'HU' => __( 'Hungary', 'paid-memberships-pro' ),
106
+ 'ID' => __( 'Indonesia', 'paid-memberships-pro' ),
107
+ 'IE' => __( 'Ireland', 'paid-memberships-pro' ),
108
+ 'IL' => __( 'Israel', 'paid-memberships-pro' ),
109
+ 'IM' => __( 'Isle of Man', 'paid-memberships-pro' ),
110
+ 'IN' => __( 'India', 'paid-memberships-pro' ),
111
+ 'IO' => __( 'British Indian Ocean Territory', 'paid-memberships-pro' ),
112
+ 'IQ' => __( 'Iraq', 'paid-memberships-pro' ),
113
+ 'IR' => __( 'Iran', 'paid-memberships-pro' ),
114
+ 'IS' => __( 'Iceland', 'paid-memberships-pro' ),
115
+ 'IT' => __( 'Italy', 'paid-memberships-pro' ),
116
+ 'JE' => __( 'Jersey', 'paid-memberships-pro' ),
117
+ 'JM' => __( 'Jamaica', 'paid-memberships-pro' ),
118
+ 'JO' => __( 'Jordan', 'paid-memberships-pro' ),
119
+ 'JP' => __( 'Japan', 'paid-memberships-pro' ),
120
+ 'KE' => __( 'Kenya', 'paid-memberships-pro' ),
121
+ 'KG' => __( 'Kyrgyzstan', 'paid-memberships-pro' ),
122
+ 'KH' => __( 'Cambodia', 'paid-memberships-pro' ),
123
+ 'KI' => __( 'Kiribati', 'paid-memberships-pro' ),
124
+ 'KM' => __( 'Comoros', 'paid-memberships-pro' ),
125
+ 'KN' => __( 'Saint Kitts and Nevis', 'paid-memberships-pro' ),
126
+ 'KP' => __( 'North Korea', 'paid-memberships-pro' ),
127
+ 'KR' => __( 'South Korea', 'paid-memberships-pro' ),
128
+ 'KW' => __( 'Kuwait', 'paid-memberships-pro' ),
129
+ 'KY' => __( 'Cayman Islands', 'paid-memberships-pro' ),
130
+ 'KZ' => __( 'Kazakhstan', 'paid-memberships-pro' ),
131
+ 'LA' => __( 'Laos', 'paid-memberships-pro' ),
132
+ 'LB' => __( 'Lebanon', 'paid-memberships-pro' ),
133
+ 'LC' => __( 'Saint Lucia', 'paid-memberships-pro' ),
134
+ 'LI' => __( 'Liechtenstein', 'paid-memberships-pro' ),
135
+ 'LK' => __( 'Sri Lanka', 'paid-memberships-pro' ),
136
+ 'LR' => __( 'Liberia', 'paid-memberships-pro' ),
137
+ 'LS' => __( 'Lesotho', 'paid-memberships-pro' ),
138
+ 'LT' => __( 'Lithuania', 'paid-memberships-pro' ),
139
+ 'LU' => __( 'Luxembourg', 'paid-memberships-pro' ),
140
+ 'LV' => __( 'Latvia', 'paid-memberships-pro' ),
141
+ 'LY' => __( 'Libya', 'paid-memberships-pro' ),
142
+ 'MA' => __( 'Morocco', 'paid-memberships-pro' ),
143
+ 'MC' => __( 'Monaco', 'paid-memberships-pro' ),
144
+ 'MD' => __( 'Moldova', 'paid-memberships-pro' ),
145
+ 'ME' => __( 'Montenegro', 'paid-memberships-pro' ),
146
+ 'MF' => __( 'Saint Martin (French part)', 'paid-memberships-pro' ),
147
+ 'MG' => __( 'Madagascar', 'paid-memberships-pro' ),
148
+ 'MH' => __( 'Marshall Islands', 'paid-memberships-pro' ),
149
+ 'MK' => __( 'Macedonia', 'paid-memberships-pro' ),
150
+ 'ML' => __( 'Mali', 'paid-memberships-pro' ),
151
+ 'MM' => __( 'Myanmar', 'paid-memberships-pro' ),
152
+ 'MN' => __( 'Mongolia', 'paid-memberships-pro' ),
153
+ 'MO' => __( 'Macao S.A.R., China', 'paid-memberships-pro' ),
154
+ 'MP' => __( 'Northern Mariana Islands', 'paid-memberships-pro' ),
155
+ 'MQ' => __( 'Martinique', 'paid-memberships-pro' ),
156
+ 'MR' => __( 'Mauritania', 'paid-memberships-pro' ),
157
+ 'MS' => __( 'Montserrat', 'paid-memberships-pro' ),
158
+ 'MT' => __( 'Malta', 'paid-memberships-pro' ),
159
+ 'MU' => __( 'Mauritius', 'paid-memberships-pro' ),
160
+ 'MV' => __( 'Maldives', 'paid-memberships-pro' ),
161
+ 'MW' => __( 'Malawi', 'paid-memberships-pro' ),
162
+ 'MX' => __( 'Mexico', 'paid-memberships-pro' ),
163
+ 'MY' => __( 'Malaysia', 'paid-memberships-pro' ),
164
+ 'MZ' => __( 'Mozambique', 'paid-memberships-pro' ),
165
+ 'NA' => __( 'Namibia', 'paid-memberships-pro' ),
166
+ 'NC' => __( 'New Caledonia', 'paid-memberships-pro' ),
167
+ 'NE' => __( 'Niger', 'paid-memberships-pro' ),
168
+ 'NF' => __( 'Norfolk Island', 'paid-memberships-pro' ),
169
+ 'NG' => __( 'Nigeria', 'paid-memberships-pro' ),
170
+ 'NI' => __( 'Nicaragua', 'paid-memberships-pro' ),
171
+ 'NL' => __( 'Netherlands', 'paid-memberships-pro' ),
172
+ 'NO' => __( 'Norway', 'paid-memberships-pro' ),
173
+ 'NP' => __( 'Nepal', 'paid-memberships-pro' ),
174
+ 'NR' => __( 'Nauru', 'paid-memberships-pro' ),
175
+ 'NU' => __( 'Niue', 'paid-memberships-pro' ),
176
+ 'NZ' => __( 'New Zealand', 'paid-memberships-pro' ),
177
+ 'OM' => __( 'Oman', 'paid-memberships-pro' ),
178
+ 'PA' => __( 'Panama', 'paid-memberships-pro' ),
179
+ 'PE' => __( 'Peru', 'paid-memberships-pro' ),
180
+ 'PF' => __( 'French Polynesia', 'paid-memberships-pro' ),
181
+ 'PG' => __( 'Papua New Guinea', 'paid-memberships-pro' ),
182
+ 'PH' => __( 'Philippines', 'paid-memberships-pro' ),
183
+ 'PK' => __( 'Pakistan', 'paid-memberships-pro' ),
184
+ 'PL' => __( 'Poland', 'paid-memberships-pro' ),
185
+ 'PM' => __( 'Saint Pierre and Miquelon', 'paid-memberships-pro' ),
186
+ 'PN' => __( 'Pitcairn', 'paid-memberships-pro' ),
187
+ 'PR' => __( 'Puerto Rico', 'paid-memberships-pro' ),
188
+ 'PS' => __( 'Palestinian Territory', 'paid-memberships-pro' ),
189
+ 'PT' => __( 'Portugal', 'paid-memberships-pro' ),
190
+ 'PW' => __( 'Palau', 'paid-memberships-pro' ),
191
+ 'PY' => __( 'Paraguay', 'paid-memberships-pro' ),
192
+ 'QA' => __( 'Qatar', 'paid-memberships-pro' ),
193
+ 'RE' => __( 'Reunion', 'paid-memberships-pro' ),
194
+ 'RO' => __( 'Romania', 'paid-memberships-pro' ),
195
+ 'RS' => __( 'Serbia', 'paid-memberships-pro' ),
196
+ 'RU' => __( 'Russia', 'paid-memberships-pro' ),
197
+ 'RW' => __( 'Rwanda', 'paid-memberships-pro' ),
198
+ 'SA' => __( 'Saudi Arabia', 'paid-memberships-pro' ),
199
+ 'SB' => __( 'Solomon Islands', 'paid-memberships-pro' ),
200
+ 'SC' => __( 'Seychelles', 'paid-memberships-pro' ),
201
+ 'SD' => __( 'Sudan', 'paid-memberships-pro' ),
202
+ 'SE' => __( 'Sweden', 'paid-memberships-pro' ),
203
+ 'SG' => __( 'Singapore', 'paid-memberships-pro' ),
204
+ 'SH' => __( 'Saint Helena', 'paid-memberships-pro' ),
205
+ 'SI' => __( 'Slovenia', 'paid-memberships-pro' ),
206
+ 'SJ' => __( 'Svalbard and Jan Mayen', 'paid-memberships-pro' ),
207
+ 'SK' => __( 'Slovakia', 'paid-memberships-pro' ),
208
+ 'SL' => __( 'Sierra Leone', 'paid-memberships-pro' ),
209
+ 'SM' => __( 'San Marino', 'paid-memberships-pro' ),
210
+ 'SN' => __( 'Senegal', 'paid-memberships-pro' ),
211
+ 'SO' => __( 'Somalia', 'paid-memberships-pro' ),
212
+ 'SR' => __( 'Suriname', 'paid-memberships-pro' ),
213
+ 'ST' => __( 'Sao Tome and Principe', 'paid-memberships-pro' ),
214
+ 'SV' => __( 'El Salvador', 'paid-memberships-pro' ),
215
+ 'SY' => __( 'Syria', 'paid-memberships-pro' ),
216
+ 'SZ' => __( 'Swaziland', 'paid-memberships-pro' ),
217
+ 'TC' => __( 'Turks and Caicos Islands', 'paid-memberships-pro' ),
218
+ 'TD' => __( 'Chad', 'paid-memberships-pro' ),
219
+ 'TF' => __( 'French Southern Territories', 'paid-memberships-pro' ),
220
+ 'TG' => __( 'Togo', 'paid-memberships-pro' ),
221
+ 'TH' => __( 'Thailand', 'paid-memberships-pro' ),
222
+ 'TJ' => __( 'Tajikistan', 'paid-memberships-pro' ),
223
+ 'TK' => __( 'Tokelau', 'paid-memberships-pro' ),
224
+ 'TL' => __( 'Timor-Leste', 'paid-memberships-pro' ),
225
+ 'TM' => __( 'Turkmenistan', 'paid-memberships-pro' ),
226
+ 'TN' => __( 'Tunisia', 'paid-memberships-pro' ),
227
+ 'TO' => __( 'Tonga', 'paid-memberships-pro' ),
228
+ 'TR' => __( 'Turkey', 'paid-memberships-pro' ),
229
+ 'TT' => __( 'Trinidad and Tobago', 'paid-memberships-pro' ),
230
+ 'TV' => __( 'Tuvalu', 'paid-memberships-pro' ),
231
+ 'TW' => __( 'Taiwan', 'paid-memberships-pro' ),
232
+ 'TZ' => __( 'Tanzania', 'paid-memberships-pro' ),
233
+ 'UA' => __( 'Ukraine', 'paid-memberships-pro' ),
234
+ 'UG' => __( 'Uganda', 'paid-memberships-pro' ),
235
+ 'UM' => __( 'United States Minor Outlying Islands', 'paid-memberships-pro' ),
236
+ 'US' => __( 'United States', 'paid-memberships-pro' ),
237
+ 'UY' => __( 'Uruguay', 'paid-memberships-pro' ),
238
+ 'UZ' => __( 'Uzbekistan', 'paid-memberships-pro' ),
239
+ 'VA' => __( 'Vatican', 'paid-memberships-pro' ),
240
+ 'VC' => __( 'Saint Vincent and the Grenadines', 'paid-memberships-pro' ),
241
+ 'VE' => __( 'Venezuela', 'paid-memberships-pro' ),
242
+ 'VG' => __( 'British Virgin Islands', 'paid-memberships-pro' ),
243
+ 'VI' => __( 'U.S. Virgin Islands', 'paid-memberships-pro' ),
244
+ 'VN' => __( 'Vietnam', 'paid-memberships-pro' ),
245
+ 'VU' => __( 'Vanuatu', 'paid-memberships-pro' ),
246
+ 'WF' => __( 'Wallis and Futuna', 'paid-memberships-pro' ),
247
+ 'WS' => __( 'Samoa', 'paid-memberships-pro' ),
248
+ 'YE' => __( 'Yemen', 'paid-memberships-pro' ),
249
+ 'YT' => __( 'Mayotte', 'paid-memberships-pro' ),
250
+ 'ZA' => __( 'South Africa', 'paid-memberships-pro' ),
251
+ 'ZM' => __( 'Zambia', 'paid-memberships-pro' ),
252
+ 'ZW' => __( 'Zimbabwe', 'paid-memberships-pro' ),
253
+ 'USAF' => __( 'US Armed Forces', 'paid-memberships-pro' ),
254
+ 'VE' => __( 'Venezuela', 'paid-memberships-pro' ),
255
);
256
257
asort($pmpro_countries);
includes/filters.php CHANGED
@@ -168,3 +168,63 @@ function pmpro_pmpro_level_description($description) {
168
return apply_filters('the_content', $description);
169
}
170
add_filter('pmpro_level_description', 'pmpro_pmpro_level_description');
168
return apply_filters('the_content', $description);
169
}
170
add_filter('pmpro_level_description', 'pmpro_pmpro_level_description');
171
+
172
+ /*
173
+ PayPal doesn't allow start dates > 1 year out.
174
+ So if we detect that, let's try to squeeze some of
175
+ that time into a trial.
176
+
177
+ Otherwise, let's cap at 1 year out.
178
+
179
+ Note that this affects PayPal Standard as well, but the fix
180
+ for that flavor of PayPal is different and may be included in future
181
+ updates.
182
+ */
183
+ function pmpro_pmpro_subscribe_order_startdate_limit($order, $gateway) {
184
+ $affected_gateways = array('paypalexpress', 'paypal');
185
+
186
+ if(in_array($gateway->gateway, $affected_gateways)) {
187
+ $original_start_date = strtotime($order->ProfileStartDate, current_time('timestamp'));
188
+ $one_year_out = strtotime('+1 Year', current_time('timestamp'));
189
+ $two_years_out = strtotime('+2 Year', current_time('timestamp'));
190
+ $one_year_out_date = date_i18n('Y-m-d', $one_year_out) . 'T0:0:0';
191
+ if(!empty($order->ProfileStartDate) && $order->ProfileStartDate > $one_year_out_date) {
192
+ //try to squeeze into the trial
193
+ if(empty($order->TrialBillingPeriod)) {
194
+ //update the order
195
+ $order->TrialAmount = 0;
196
+ $order->TrialBillingPeriod = 'Day';
197
+ $order->TrialBillingFrequency = min(365, strtotime($order->ProfileStartDate, current_time('timestamp')));
198
+ $order->TrialBillingCycles = 1;
199
+ }
200
+
201
+ //max out at 1 year out no matter what
202
+ $order->ProfileStartDate = $one_year_out_date;
203
+
204
+ //if we were going to try to push it more than 2 years out, let's notify the admin
205
+ if(!empty($order->TrialBillilngPeriod) || $original_start_date > $two_years_out) {
206
+ //setup user data
207
+ global $current_user;
208
+ if(empty($order->user_id))
209
+ $order->user_id = $current_user->ID;
210
+ $order->getUser();
211
+
212
+ //get level data
213
+ $level = pmpro_getLevel($order->membership_id);
214
+
215
+ //create email
216
+ $pmproemail = new PMProEmail();
217
+ $body = '<p>' . __("There was a potential issue while setting the 'Profile Start Date' for a user's subscription at checkout. PayPal does not allow one to set a Profile Start Date further than 1 year out. Typically, this is not an issue, but sometimes a combination of custom code or add ons for PMPro (e.g. the Prorating or Auto-renewal Checkbox add ons) will try to set a Profile Start Date out past 1 year in order to respect an existing user's original expiration date before they checked out. The user's information is below. PMPro has allowed the checkout and simply restricted the Profile Start Date to 1 year out with a possible additional free Trial of up to 1 year. You should double check this information to determine if maybe the user has overpaid or otherwise needs to be addressed. If you get many of these emails, you should consider adjusting your custom code to avoid these situations.", 'paid-memberships-pro') . '</p>';
218
+ $body .= '<p>' . sprintf(__("User: %s<br />Email: %s<br />Membership Level: %s<br />Order #: %s<br />Original Profile Start Date: %s<br />Adjusted Profile Start Date: %s<br />Trial Period: %s<br />Trial Frequency: %s<br />", 'paid-memberships-pro'), $order->user->user_nicename, $order->user->user_email, $level->name, $order->code, date('c', $original_start_date), $one_year_out_date, $order->TrialBillingPeriod, $order->TrialBillingFrequency) . '</p>';
219
+ $pmproemail->template = 'profile_start_date_limit_check';
220
+ $pmproemail->subject = sprintf(__('Profile Start Date Issue Detected and Fixed at %s', 'paid-memberships-pro'), get_bloginfo('name'));
221
+ $pmproemail->data = array('body'=>$body);
222
+ $pmproemail->sendEmail(get_bloginfo("admin_email"));
223
+ }
224
+ }
225
+ }
226
+
227
+ return $order;
228
+ }
229
+ add_filter('pmpro_subscribe_order', 'pmpro_pmpro_subscribe_order_startdate_limit', 99, 2);
230
+
includes/sessions.php ADDED
@@ -0,0 +1,52 @@
1
+ <?php
2
+ /*
3
+ Copyright 2011 Stranger Studios (email : jason@strangerstudios.com)
4
+ GPLv2 Full license details in license.txt
5
+ */
6
+
7
+ function pmpro_start_session() {
8
+
9
+ //if the session has been started yet, start it (ignore if running from command line)
10
+ if ( ! defined( 'PMPRO_USE_SESSIONS' ) || PMPRO_USE_SESSIONS == true ) {
11
+ if ( defined( 'STDIN' ) ) {
12
+ //command line
13
+ } else {
14
+ if ( version_compare( phpversion(), '5.4.0', '>=' ) ) {
15
+ if ( session_status() == PHP_SESSION_NONE ) {
16
+ session_start();
17
+ }
18
+ } else {
19
+ if ( ! session_id() ) {
20
+ session_start();
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+
27
+ add_action( 'pmpro_checkout_preheader', 'pmpro_start_session', -1 );
28
+
29
+ /**
30
+ * Close the session object for new updates
31
+ * @return MemberOrder
32
+ */
33
+ function pmpro_close_session() {
34
+
35
+ if ( ! defined( 'PMPRO_USE_SESSIONS' ) || PMPRO_USE_SESSIONS == true ) {
36
+ if ( defined( 'STDIN' ) ) {
37
+ //command line
38
+ } else {
39
+ if ( version_compare( phpversion(), '5.4.0', '>=' ) ) {
40
+ if ( session_status() == PHP_SESSION_ACTIVE ) {
41
+ session_write_close();
42
+ }
43
+ } else {
44
+ if ( session_id() ) {
45
+ session_write_close();
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ add_action( 'pmpro_after_checkout', 'pmpro_close_session', 32768 );
includes/updates/upgrade_1_8_9_1.php CHANGED
@@ -1,4 +1,5 @@
1
<?php
2
/*
3
Upgrade to 1.8.9.1
4
* Fixing Stripe orders where user_id/membership_id = 0
1
<?php
2
+ use Stripe\Customer as Stripe_Customer;
3
/*
4
Upgrade to 1.8.9.1
5
* Fixing Stripe orders where user_id/membership_id = 0
languages/paid-memberships-pro.mo CHANGED
Binary file
languages/paid-memberships-pro.po CHANGED
@@ -1,17 +1,15 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
#
6
- #, fuzzy
7
msgid ""
8
msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
"Report-Msgid-Bugs-To: jason@strangerstudios.com\n"
11
- "POT-Creation-Date: 2017-05-10 14:14-0400\n"
12
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
"MIME-Version: 1.0\n"
16
"Content-Type: text/plain; charset=UTF-8\n"
17
"Content-Transfer-Encoding: 8bit\n"
@@ -846,8 +844,8 @@ msgstr ""
846
847
#: adminpages/discountcodes.php:442
848
#: classes/gateways/class.pmprogateway_braintree.php:423
849
- #: classes/gateways/class.pmprogateway_stripe.php:597 pages/billing.php:316
850
- #: pages/checkout.php:582 adminpages/discountcodes.php:367
851
#: adminpages/discountcodes.php:370 adminpages/discountcodes.php:371
852
#: adminpages/discountcodes.php:372 adminpages/discountcodes.php:377
853
#: adminpages/discountcodes.php:442
@@ -1713,7 +1711,7 @@ msgid "Save Level"
1713
msgstr ""
1714
1715
#: adminpages/membershiplevels.php:530 adminpages/orders.php:796
1716
- #: pages/billing.php:371 pages/cancel.php:84 shortcodes/pmpro_account.php:72
1717
#: adminpages/membershiplevels.php:506 adminpages/membershiplevels.php:508
1718
#: adminpages/membershiplevels.php:517 adminpages/membershiplevels.php:518
1719
#: adminpages/membershiplevels.php:530 adminpages/orders.php:511
@@ -1912,7 +1910,7 @@ msgstr ""
1912
msgid "%d members found."
1913
msgstr ""
1914
1915
- #: adminpages/memberslist.php:165 pages/checkout.php:191
1916
#: shortcodes/pmpro_account.php:110 adminpages/memberslist.php:112
1917
#: adminpages/memberslist.php:145 adminpages/memberslist.php:155
1918
#: adminpages/memberslist.php:165 pages/account.php:51 pages/account.php:55
@@ -1936,7 +1934,7 @@ msgstr ""
1936
msgid "Last&nbsp;Name"
1937
msgstr ""
1938
1939
- #: adminpages/memberslist.php:170 pages/billing.php:77 pages/checkout.php:326
1940
#: pages/confirmation.php:67 pages/invoice.php:48
1941
#: adminpages/memberslist.php:117 adminpages/memberslist.php:150
1942
#: adminpages/memberslist.php:160 adminpages/memberslist.php:170
@@ -2182,8 +2180,8 @@ msgstr ""
2182
2183
#: adminpages/orders.php:563
2184
#: classes/gateways/class.pmprogateway_braintree.php:406
2185
- #: classes/gateways/class.pmprogateway_stripe.php:549 pages/billing.php:268
2186
- #: pages/checkout.php:534 adminpages/orders.php:339 adminpages/orders.php:389
2187
#: adminpages/orders.php:461 adminpages/orders.php:490
2188
#: adminpages/orders.php:532 adminpages/orders.php:563
2189
#: classes/gateways/class.pmprogateway_braintree.php:291
@@ -2494,7 +2492,7 @@ msgid "User"
2494
msgstr ""
2495
2496
#: adminpages/orders.php:1138 includes/init.php:244 includes/profile.php:36
2497
- #: pages/checkout.php:42 pages/confirmation.php:53 pages/confirmation.php:70
2498
#: pages/confirmation.php:116 pages/invoice.php:28 pages/invoice.php:51
2499
#: adminpages/orders.php:601 adminpages/orders.php:904
2500
#: adminpages/orders.php:914 adminpages/orders.php:941
@@ -2856,7 +2854,7 @@ msgstr ""
2856
msgid "Sales Tax"
2857
msgstr ""
2858
2859
- #: adminpages/paymentsettings.php:188 pages/billing.php:97
2860
#: adminpages/paymentsettings.php:188 adminpages/paymentsettings.php:398
2861
#: adminpages/paymentsettings.php:438 adminpages/paymentsettings.php:443
2862
#: adminpages/paymentsettings.php:445 pages/billing.php:78
@@ -3253,6 +3251,13 @@ msgstr ""
3253
msgid "Update complete."
3254
msgstr ""
3255
3256
#: classes/class.memberorder.php:729 classes/class.memberorder.php:553
3257
#: classes/class.memberorder.php:561 classes/class.memberorder.php:564
3258
#: classes/class.memberorder.php:573 classes/class.memberorder.php:644
@@ -3300,8 +3305,8 @@ msgstr ""
3300
#: classes/class.pmproemail.php:378 classes/class.pmproemail.php:696
3301
#: classes/class.pmproemail.php:698
3302
#: classes/gateways/class.pmprogateway_braintree.php:464
3303
- #: classes/gateways/class.pmprogateway_stripe.php:638 pages/checkout.php:83
3304
- #: pages/checkout.php:93 pages/checkout.php:619 pages/confirmation.php:58
3305
#: pages/invoice.php:33 classes/class.pmproemail.php:216
3306
#: classes/class.pmproemail.php:218 classes/class.pmproemail.php:225
3307
#: classes/class.pmproemail.php:227 classes/class.pmproemail.php:228
@@ -3634,7 +3639,7 @@ msgid ""
3634
msgstr ""
3635
3636
#: classes/gateways/class.pmprogateway_authorizenet.php:39
3637
- #: paid-memberships-pro.php:142
3638
#: classes/gateways/class.pmprogateway_authorizenet.php:39
3639
#: paid-memberships-pro.php:122 paid-memberships-pro.php:123
3640
#: paid-memberships-pro.php:130 paid-memberships-pro.php:131
@@ -3703,7 +3708,7 @@ msgid ""
3703
msgstr ""
3704
3705
#: classes/gateways/class.pmprogateway_braintree.php:172
3706
- #: paid-memberships-pro.php:143
3707
#: classes/gateways/class.pmprogateway_braintree.php:63
3708
#: classes/gateways/class.pmprogateway_braintree.php:76
3709
#: classes/gateways/class.pmprogateway_braintree.php:77
@@ -3815,7 +3820,7 @@ msgid "To fully integrate with Braintree, be sure to set your Web Hook URL to"
3815
msgstr ""
3816
3817
#: classes/gateways/class.pmprogateway_braintree.php:383
3818
- #: classes/gateways/class.pmprogateway_stripe.php:526 pages/checkout.php:510
3819
#: classes/gateways/class.pmprogateway_braintree.php:270
3820
#: classes/gateways/class.pmprogateway_braintree.php:283
3821
#: classes/gateways/class.pmprogateway_braintree.php:285
@@ -3843,7 +3848,7 @@ msgid "Payment Information"
3843
msgstr ""
3844
3845
#: classes/gateways/class.pmprogateway_braintree.php:384
3846
- #: classes/gateways/class.pmprogateway_stripe.php:527 pages/checkout.php:511
3847
#: classes/gateways/class.pmprogateway_braintree.php:270
3848
#: classes/gateways/class.pmprogateway_braintree.php:283
3849
#: classes/gateways/class.pmprogateway_braintree.php:285
@@ -3872,8 +3877,8 @@ msgid "We Accept %s"
3872
msgstr ""
3873
3874
#: classes/gateways/class.pmprogateway_braintree.php:418
3875
- #: classes/gateways/class.pmprogateway_stripe.php:592 pages/billing.php:311
3876
- #: pages/checkout.php:577
3877
#: classes/gateways/class.pmprogateway_braintree.php:303
3878
#: classes/gateways/class.pmprogateway_braintree.php:316
3879
#: classes/gateways/class.pmprogateway_braintree.php:318
@@ -3904,8 +3909,8 @@ msgid "Card Number"
3904
msgstr ""
3905
3906
#: classes/gateways/class.pmprogateway_braintree.php:455
3907
- #: classes/gateways/class.pmprogateway_stripe.php:629 pages/billing.php:354
3908
- #: pages/checkout.php:612
3909
#: classes/gateways/class.pmprogateway_braintree.php:340
3910
#: classes/gateways/class.pmprogateway_braintree.php:353
3911
#: classes/gateways/class.pmprogateway_braintree.php:355
@@ -3937,8 +3942,8 @@ msgid "CVV"
3937
msgstr ""
3938
3939
#: classes/gateways/class.pmprogateway_braintree.php:456
3940
- #: classes/gateways/class.pmprogateway_stripe.php:630 pages/billing.php:355
3941
- #: pages/checkout.php:613
3942
#: classes/gateways/class.pmprogateway_braintree.php:341
3943
#: classes/gateways/class.pmprogateway_braintree.php:354
3944
#: classes/gateways/class.pmprogateway_braintree.php:356
@@ -3970,8 +3975,8 @@ msgid "what's this?"
3970
msgstr ""
3971
3972
#: classes/gateways/class.pmprogateway_braintree.php:466
3973
- #: classes/gateways/class.pmprogateway_stripe.php:640 pages/checkout.php:95
3974
- #: pages/checkout.php:621
3975
#: classes/gateways/class.pmprogateway_braintree.php:351
3976
#: classes/gateways/class.pmprogateway_braintree.php:364
3977
#: classes/gateways/class.pmprogateway_braintree.php:366
@@ -4003,9 +4008,9 @@ msgstr ""
4003
#: classes/gateways/class.pmprogateway_braintree.php:524
4004
#: classes/gateways/class.pmprogateway_braintree.php:541
4005
#: classes/gateways/class.pmprogateway_braintree.php:623
4006
- #: classes/gateways/class.pmprogateway_braintree.php:781
4007
- #: classes/gateways/class.pmprogateway_braintree.php:886
4008
- #: classes/gateways/class.pmprogateway_braintree.php:906
4009
#: classes/gateways/class.pmprogateway_braintree.php:524
4010
#: classes/gateways/class.pmprogateway_braintree.php:541
4011
#: classes/gateways/class.pmprogateway_braintree.php:623
@@ -4069,7 +4074,7 @@ msgstr ""
4069
msgid "Error during charge:"
4070
msgstr ""
4071
4072
- #: classes/gateways/class.pmprogateway_braintree.php:702
4073
#: classes/gateways/class.pmprogateway_braintree.php:198
4074
#: classes/gateways/class.pmprogateway_braintree.php:221
4075
#: classes/gateways/class.pmprogateway_braintree.php:566
@@ -4083,7 +4088,7 @@ msgstr ""
4083
msgid "Failed to update customer."
4084
msgstr ""
4085
4086
- #: classes/gateways/class.pmprogateway_braintree.php:750
4087
#: classes/gateways/class.pmprogateway_braintree.php:246
4088
#: classes/gateways/class.pmprogateway_braintree.php:269
4089
#: classes/gateways/class.pmprogateway_braintree.php:614
@@ -4097,7 +4102,7 @@ msgstr ""
4097
msgid "Failed to create customer."
4098
msgstr ""
4099
4100
- #: classes/gateways/class.pmprogateway_braintree.php:757
4101
#: classes/gateways/class.pmprogateway_braintree.php:253
4102
#: classes/gateways/class.pmprogateway_braintree.php:276
4103
#: classes/gateways/class.pmprogateway_braintree.php:621
@@ -4111,7 +4116,7 @@ msgstr ""
4111
msgid "Error creating customer record with Braintree:"
4112
msgstr ""
4113
4114
- #: classes/gateways/class.pmprogateway_braintree.php:862
4115
#: classes/gateways/class.pmprogateway_braintree.php:344
4116
#: classes/gateways/class.pmprogateway_braintree.php:345
4117
#: classes/gateways/class.pmprogateway_braintree.php:376
@@ -4126,7 +4131,7 @@ msgstr ""
4126
msgid "Error subscribing customer to plan with Braintree:"
4127
msgstr ""
4128
4129
- #: classes/gateways/class.pmprogateway_braintree.php:877
4130
#: classes/gateways/class.pmprogateway_braintree.php:359
4131
#: classes/gateways/class.pmprogateway_braintree.php:360
4132
#: classes/gateways/class.pmprogateway_braintree.php:391
@@ -4141,9 +4146,9 @@ msgstr ""
4141
msgid "Failed to subscribe with Braintree:"
4142
msgstr ""
4143
4144
- #: classes/gateways/class.pmprogateway_braintree.php:925
4145
- #: classes/gateways/class.pmprogateway_braintree.php:938
4146
- #: classes/gateways/class.pmprogateway_braintree.php:945
4147
#: classes/gateways/class.pmprogateway_braintree.php:397
4148
#: classes/gateways/class.pmprogateway_braintree.php:398
4149
#: classes/gateways/class.pmprogateway_braintree.php:410
@@ -4189,7 +4194,7 @@ msgid "Could not find the subscription."
4189
msgstr ""
4190
4191
#: classes/gateways/class.pmprogateway_check.php:49
4192
- #: paid-memberships-pro.php:136 adminpages/orders.php:399
4193
#: adminpages/orders.php:449 adminpages/paymentsettings.php:157
4194
#: adminpages/paymentsettings.php:159
4195
#: classes/gateways/class.pmprogateway_check.php:48
@@ -4276,7 +4281,7 @@ msgid "Vendor"
4276
msgstr ""
4277
4278
#: classes/gateways/class.pmprogateway_payflowpro.php:124
4279
- #: pages/checkout.php:200 adminpages/paymentsettings.php:219
4280
#: adminpages/paymentsettings.php:223 adminpages/paymentsettings.php:228
4281
#: classes/gateways/class.pmprogateway_payflowpro.php:124
4282
#: pages/checkout.php:177 pages/checkout.php:180 pages/checkout.php:182
@@ -4312,7 +4317,7 @@ msgid ""
4312
msgstr ""
4313
4314
#: classes/gateways/class.pmprogateway_paypal.php:68
4315
- #: paid-memberships-pro.php:139
4316
#: classes/gateways/class.pmprogateway_paypal.php:57
4317
#: classes/gateways/class.pmprogateway_paypal.php:68
4318
#: paid-memberships-pro.php:119 paid-memberships-pro.php:120
@@ -4450,7 +4455,7 @@ msgstr ""
4450
#: classes/gateways/class.pmprogateway_paypal.php:201
4451
#: classes/gateways/class.pmprogateway_paypalexpress.php:438
4452
#: classes/gateways/class.pmprogateway_paypalstandard.php:201
4453
- #: pages/checkout.php:309 classes/gateways/class.pmprogateway_paypal.php:178
4454
#: classes/gateways/class.pmprogateway_paypal.php:201
4455
#: classes/gateways/class.pmprogateway_paypalexpress.php:402
4456
#: classes/gateways/class.pmprogateway_paypalexpress.php:412
@@ -4467,7 +4472,7 @@ msgstr ""
4467
#: classes/gateways/class.pmprogateway_paypal.php:207
4468
#: classes/gateways/class.pmprogateway_paypalexpress.php:443
4469
#: classes/gateways/class.pmprogateway_paypalstandard.php:206
4470
- #: pages/checkout.php:725 classes/gateways/class.pmprogateway_paypal.php:184
4471
#: classes/gateways/class.pmprogateway_paypal.php:207
4472
#: classes/gateways/class.pmprogateway_paypalexpress.php:408
4473
#: classes/gateways/class.pmprogateway_paypalexpress.php:418
@@ -4485,7 +4490,7 @@ msgstr ""
4485
#: classes/gateways/class.pmprogateway_paypalexpress.php:443
4486
#: classes/gateways/class.pmprogateway_paypalstandard.php:206
4487
#: classes/gateways/class.pmprogateway_twocheckout.php:203
4488
- #: pages/checkout.php:725 classes/gateways/class.pmprogateway_paypal.php:184
4489
#: classes/gateways/class.pmprogateway_paypal.php:207
4490
#: classes/gateways/class.pmprogateway_paypalexpress.php:408
4491
#: classes/gateways/class.pmprogateway_paypalexpress.php:418
@@ -4530,7 +4535,7 @@ msgid ""
4530
msgstr ""
4531
4532
#: classes/gateways/class.pmprogateway_paypalexpress.php:84
4533
- #: paid-memberships-pro.php:138
4534
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
4535
#: classes/gateways/class.pmprogateway_paypalexpress.php:73
4536
#: classes/gateways/class.pmprogateway_paypalexpress.php:84
@@ -4568,7 +4573,7 @@ msgid "The PayPal Token was lost."
4568
msgstr ""
4569
4570
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
4571
- #: paid-memberships-pro.php:141
4572
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
4573
#: paid-memberships-pro.php:121 paid-memberships-pro.php:122
4574
#: paid-memberships-pro.php:129 paid-memberships-pro.php:130
@@ -4585,7 +4590,7 @@ msgid ""
4585
msgstr ""
4586
4587
#: classes/gateways/class.pmprogateway_stripe.php:169
4588
- #: paid-memberships-pro.php:137
4589
#: classes/gateways/class.pmprogateway_stripe.php:93
4590
#: classes/gateways/class.pmprogateway_stripe.php:94
4591
#: classes/gateways/class.pmprogateway_stripe.php:104
@@ -4752,7 +4757,7 @@ msgid ""
4752
"at predefined times. Be sure to click Update User after making changes."
4753
msgstr ""
4754
4755
- #: classes/gateways/class.pmprogateway_stripe.php:721 pages/billing.php:370
4756
#: classes/gateways/class.pmprogateway_stripe.php:578
4757
#: classes/gateways/class.pmprogateway_stripe.php:579
4758
#: classes/gateways/class.pmprogateway_stripe.php:589
@@ -4961,7 +4966,7 @@ msgid "Error: Unkown error while refunding charge #%s"
4961
msgstr ""
4962
4963
#: classes/gateways/class.pmprogateway_twocheckout.php:59
4964
- #: paid-memberships-pro.php:144
4965
#: classes/gateways/class.pmprogateway_twocheckout.php:53
4966
#: classes/gateways/class.pmprogateway_twocheckout.php:59
4967
#: classes/gateways/class.pmprogateway_twocheckout.php:60
@@ -5141,231 +5146,1249 @@ msgstr ""
5141
msgid "Visit Customer Support Forum"
5142
msgstr ""
5143
5144
- #: includes/currencies.php:17 includes/currencies.php:94
5145
- #: includes/currencies.php:7 includes/currencies.php:17
5146
- #: includes/currencies.php:37 includes/currencies.php:44
5147
- #: includes/currencies.php:64 includes/currencies.php:68
5148
- #: includes/currencies.php:75 includes/currencies.php:85
5149
- #: includes/currencies.php:87 includes/currencies.php:94
5150
- msgid "US Dollars (&#36;)"
5151
msgstr ""
5152
5153
- #: includes/currencies.php:19 includes/currencies.php:97
5154
- #: includes/currencies.php:8 includes/currencies.php:9
5155
- #: includes/currencies.php:19 includes/currencies.php:40
5156
- #: includes/currencies.php:47 includes/currencies.php:67
5157
- #: includes/currencies.php:71 includes/currencies.php:78
5158
- #: includes/currencies.php:88 includes/currencies.php:90
5159
- #: includes/currencies.php:97
5160
- msgid "Euros (&euro;)"
5161
msgstr ""
5162
5163
- #: includes/currencies.php:24 includes/currencies.php:96
5164
- #: includes/currencies.php:9 includes/currencies.php:14
5165
- #: includes/currencies.php:24 includes/currencies.php:39
5166
- #: includes/currencies.php:46 includes/currencies.php:66
5167
- #: includes/currencies.php:70 includes/currencies.php:77
5168
- #: includes/currencies.php:87 includes/currencies.php:89
5169
- #: includes/currencies.php:96
5170
- msgid "Pounds Sterling (&pound;)"
5171
msgstr ""
5172
5173
- #: includes/currencies.php:28 includes/currencies.php:28
5174
- msgid "Argentine Peso (&#36;)"
5175
msgstr ""
5176
5177
- #: includes/currencies.php:29 includes/currencies.php:10
5178
- #: includes/currencies.php:18 includes/currencies.php:28
5179
- #: includes/currencies.php:29
5180
- msgid "Australian Dollars (&#36;)"
5181
msgstr ""
5182
5183
- #: includes/currencies.php:31 includes/currencies.php:20
5184
- #: includes/currencies.php:30 includes/currencies.php:31
5185
- msgid "Brazilian Real (R&#36;)"
5186
msgstr ""
5187
5188
- #: includes/currencies.php:35 includes/currencies.php:95
5189
- #: includes/currencies.php:12 includes/currencies.php:24
5190
- #: includes/currencies.php:34 includes/currencies.php:35
5191
- #: includes/currencies.php:38 includes/currencies.php:45
5192
- #: includes/currencies.php:65 includes/currencies.php:69
5193
- #: includes/currencies.php:76 includes/currencies.php:86
5194
- #: includes/currencies.php:88 includes/currencies.php:95
5195
- msgid "Canadian Dollars (&#36;)"
5196
msgstr ""
5197
5198
- #: includes/currencies.php:36 includes/currencies.php:13
5199
- #: includes/currencies.php:25 includes/currencies.php:35
5200
- #: includes/currencies.php:36
5201
- msgid "Chinese Yuan"
5202
msgstr ""
5203
5204
- #: includes/currencies.php:38 includes/currencies.php:13
5205
- #: includes/currencies.php:14 includes/currencies.php:26
5206
- #: includes/currencies.php:27 includes/currencies.php:37
5207
- #: includes/currencies.php:38
5208
- msgid "Czech Koruna"
5209
msgstr ""
5210
5211
- #: includes/currencies.php:45 includes/currencies.php:14
5212
- #: includes/currencies.php:15 includes/currencies.php:27
5213
- #: includes/currencies.php:34 includes/currencies.php:44
5214
- #: includes/currencies.php:45
5215
- msgid "Danish Krone"
5216
msgstr ""
5217
5218
- #: includes/currencies.php:46 includes/currencies.php:15
5219
- #: includes/currencies.php:16 includes/currencies.php:28
5220
- #: includes/currencies.php:35 includes/currencies.php:45
5221
- #: includes/currencies.php:46
5222
- msgid "Hong Kong Dollar (&#36;)"
5223
msgstr ""
5224
5225
- #: includes/currencies.php:47 includes/currencies.php:16
5226
- #: includes/currencies.php:17 includes/currencies.php:29
5227
- #: includes/currencies.php:36 includes/currencies.php:46
5228
- #: includes/currencies.php:47
5229
- msgid "Hungarian Forint"
5230
msgstr ""
5231
5232
- #: includes/currencies.php:48 includes/currencies.php:18
5233
- #: includes/currencies.php:30 includes/currencies.php:37
5234
- #: includes/currencies.php:47 includes/currencies.php:48
5235
- msgid "Indian Rupee"
5236
msgstr ""
5237
5238
- #: includes/currencies.php:49 includes/currencies.php:19
5239
- #: includes/currencies.php:31 includes/currencies.php:38
5240
- #: includes/currencies.php:48 includes/currencies.php:49
5241
- msgid "Indonesia Rupiah"
5242
msgstr ""
5243
5244
- #: includes/currencies.php:50 includes/currencies.php:17
5245
- #: includes/currencies.php:20 includes/currencies.php:32
5246
- #: includes/currencies.php:39 includes/currencies.php:49
5247
- #: includes/currencies.php:50
5248
- msgid "Israeli Shekel"
5249
msgstr ""
5250
5251
- #: includes/currencies.php:52 includes/currencies.php:18
5252
- #: includes/currencies.php:21 includes/currencies.php:34
5253
- #: includes/currencies.php:41 includes/currencies.php:51
5254
- #: includes/currencies.php:52
5255
- msgid "Japanese Yen (&yen;)"
5256
msgstr ""
5257
5258
- #: includes/currencies.php:57 includes/currencies.php:19
5259
- #: includes/currencies.php:22 includes/currencies.php:38
5260
- #: includes/currencies.php:45 includes/currencies.php:55
5261
- #: includes/currencies.php:56 includes/currencies.php:57
5262
- msgid "Malaysian Ringgits"
5263
msgstr ""
5264
5265
- #: includes/currencies.php:58 includes/currencies.php:20
5266
- #: includes/currencies.php:23 includes/currencies.php:39
5267
- #: includes/currencies.php:46 includes/currencies.php:56
5268
- #: includes/currencies.php:57 includes/currencies.php:58
5269
- msgid "Mexican Peso (&#36;)"
5270
msgstr ""
5271
5272
- #: includes/currencies.php:59 includes/currencies.php:58
5273
- #: includes/currencies.php:59
5274
- msgid "Nigerian Naira (&#8358;)"
5275
msgstr ""
5276
5277
- #: includes/currencies.php:60 includes/currencies.php:21
5278
- #: includes/currencies.php:24 includes/currencies.php:40
5279
- #: includes/currencies.php:47 includes/currencies.php:57
5280
- #: includes/currencies.php:59 includes/currencies.php:60
5281
- msgid "New Zealand Dollar (&#36;)"
5282
msgstr ""
5283
5284
- #: includes/currencies.php:61 includes/currencies.php:22
5285
- #: includes/currencies.php:25 includes/currencies.php:41
5286
- #: includes/currencies.php:48 includes/currencies.php:58
5287
- #: includes/currencies.php:60 includes/currencies.php:61
5288
- msgid "Norwegian Krone"
5289
msgstr ""
5290
5291
- #: includes/currencies.php:62 includes/currencies.php:23
5292
- #: includes/currencies.php:26 includes/currencies.php:42
5293
- #: includes/currencies.php:49 includes/currencies.php:59
5294
- #: includes/currencies.php:61 includes/currencies.php:62
5295
- msgid "Philippine Pesos"
5296
msgstr ""
5297
5298
- #: includes/currencies.php:63 includes/currencies.php:24
5299
- #: includes/currencies.php:27 includes/currencies.php:43
5300
- #: includes/currencies.php:50 includes/currencies.php:60
5301
- #: includes/currencies.php:62 includes/currencies.php:63
5302
- msgid "Polish Zloty"
5303
msgstr ""
5304
5305
- #: includes/currencies.php:65 includes/currencies.php:25
5306
- #: includes/currencies.php:28 includes/currencies.php:45
5307
- #: includes/currencies.php:52 includes/currencies.php:62
5308
- #: includes/currencies.php:64 includes/currencies.php:65
5309
- msgid "Singapore Dollar (&#36;)"
5310
msgstr ""
5311
5312
- #: includes/currencies.php:70 includes/currencies.php:50
5313
- #: includes/currencies.php:57 includes/currencies.php:67
5314
- #: includes/currencies.php:69 includes/currencies.php:70
5315
- msgid "South African Rand (R)"
5316
msgstr ""
5317
5318
- #: includes/currencies.php:75 includes/currencies.php:30
5319
- #: includes/currencies.php:50 includes/currencies.php:54
5320
- #: includes/currencies.php:61 includes/currencies.php:71
5321
- #: includes/currencies.php:73 includes/currencies.php:75
5322
- msgid "South Korean Won"
5323
msgstr ""
5324
5325
- #: includes/currencies.php:78 includes/currencies.php:26
5326
- #: includes/currencies.php:31 includes/currencies.php:51
5327
- #: includes/currencies.php:55 includes/currencies.php:62
5328
- #: includes/currencies.php:72 includes/currencies.php:74
5329
- #: includes/currencies.php:78
5330
- msgid "Swedish Krona"
5331
msgstr ""
5332
5333
- #: includes/currencies.php:79 includes/currencies.php:27
5334
- #: includes/currencies.php:32 includes/currencies.php:52
5335
- #: includes/currencies.php:56 includes/currencies.php:63
5336
- #: includes/currencies.php:73 includes/currencies.php:75
5337
- #: includes/currencies.php:79
5338
- msgid "Swiss Franc"
5339
msgstr ""
5340
5341
- #: includes/currencies.php:80 includes/currencies.php:28
5342
- #: includes/currencies.php:33 includes/currencies.php:53
5343
- #: includes/currencies.php:57 includes/currencies.php:64
5344
- #: includes/currencies.php:74 includes/currencies.php:76
5345
- #: includes/currencies.php:80
5346
- msgid "Taiwan New Dollars"
5347
msgstr ""
5348
5349
- #: includes/currencies.php:81 includes/currencies.php:29
5350
- #: includes/currencies.php:34 includes/currencies.php:54
5351
- #: includes/currencies.php:58 includes/currencies.php:65
5352
- #: includes/currencies.php:75 includes/currencies.php:77
5353
- #: includes/currencies.php:81
5354
- msgid "Thai Baht"
5355
msgstr ""
5356
5357
- #: includes/currencies.php:82 includes/currencies.php:35
5358
- #: includes/currencies.php:55 includes/currencies.php:59
5359
- #: includes/currencies.php:66 includes/currencies.php:76
5360
- #: includes/currencies.php:78 includes/currencies.php:82
5361
- msgid "Turkish Lira"
5362
msgstr ""
5363
5364
- #: includes/currencies.php:84 includes/currencies.php:36
5365
- #: includes/currencies.php:56 includes/currencies.php:60
5366
- #: includes/currencies.php:67 includes/currencies.php:77
5367
- #: includes/currencies.php:79 includes/currencies.php:84
5368
- msgid "Vietnamese Dong"
5369
msgstr ""
5370
5371
#: includes/functions.php:320 includes/functions.php:455
@@ -5645,6 +6668,7 @@ msgstr ""
5645
5646
#: includes/functions.php:1129 includes/functions.php:907
5647
#: includes/functions.php:1123 includes/functions.php:1127
5648
#, php-format
5649
msgid "Error interacting with database: %s"
5650
msgstr ""
@@ -5668,8 +6692,9 @@ msgstr ""
5668
#: includes/functions.php:948 includes/functions.php:953
5669
#: includes/functions.php:986 includes/functions.php:987
5670
#: includes/functions.php:992 includes/functions.php:1198
5671
- #: includes/functions.php:1202 includes/functions.php:1237
5672
- #: includes/functions.php:1241
5673
msgid "Membership level not found."
5674
msgstr ""
5675
@@ -5681,6 +6706,7 @@ msgstr ""
5681
#: includes/functions.php:1290 includes/functions.php:1356
5682
#: includes/functions.php:1357 includes/functions.php:1362
5683
#: includes/functions.php:1605 includes/functions.php:1609
5684
msgid "No code was given to check."
5685
msgstr ""
5686
@@ -5695,7 +6721,7 @@ msgstr ""
5695
#: includes/functions.php:1205 includes/functions.php:1299
5696
#: includes/functions.php:1365 includes/functions.php:1366
5697
#: includes/functions.php:1371 includes/functions.php:1614
5698
- #: includes/functions.php:1618
5699
msgid "The discount code could not be found."
5700
msgstr ""
5701
@@ -5710,7 +6736,7 @@ msgstr ""
5710
#: includes/functions.php:1220 includes/functions.php:1314
5711
#: includes/functions.php:1380 includes/functions.php:1381
5712
#: includes/functions.php:1386 includes/functions.php:1629
5713
- #: includes/functions.php:1633
5714
#, php-format
5715
msgid "This discount code goes into effect on %s."
5716
msgstr ""
@@ -5726,7 +6752,7 @@ msgstr ""
5726
#: includes/functions.php:1227 includes/functions.php:1321
5727
#: includes/functions.php:1387 includes/functions.php:1388
5728
#: includes/functions.php:1393 includes/functions.php:1636
5729
- #: includes/functions.php:1640
5730
#, php-format
5731
msgid "This discount code expired on %s."
5732
msgstr ""
@@ -5742,7 +6768,7 @@ msgstr ""
5742
#: includes/functions.php:1237 includes/functions.php:1331
5743
#: includes/functions.php:1397 includes/functions.php:1398
5744
#: includes/functions.php:1403 includes/functions.php:1646
5745
- #: includes/functions.php:1650
5746
msgid "This discount code is no longer valid."
5747
msgstr ""
5748
@@ -5757,6 +6783,7 @@ msgstr ""
5757
#: includes/functions.php:1344 includes/functions.php:1410
5758
#: includes/functions.php:1411 includes/functions.php:1416
5759
#: includes/functions.php:1666 includes/functions.php:1670
5760
msgid "This discount code does not apply to this membership level."
5761
msgstr ""
5762
@@ -5771,7 +6798,7 @@ msgstr ""
5771
#: includes/functions.php:1276 includes/functions.php:1370
5772
#: includes/functions.php:1436 includes/functions.php:1442
5773
#: includes/functions.php:1448 includes/functions.php:1703
5774
- #: includes/functions.php:1707
5775
msgid "This discount code is okay."
5776
msgstr ""
5777
@@ -5786,7 +6813,7 @@ msgstr ""
5786
#: includes/functions.php:1395 includes/functions.php:1397
5787
#: includes/functions.php:1463 includes/functions.php:1469
5788
#: includes/functions.php:1475 includes/functions.php:1730
5789
- #: includes/functions.php:1734
5790
msgid "and"
5791
msgstr ""
5792
@@ -5802,7 +6829,7 @@ msgstr ""
5802
#: includes/functions.php:1624 includes/functions.php:1691
5803
#: includes/functions.php:1697 includes/functions.php:1703
5804
#: includes/functions.php:2015 includes/functions.php:2019
5805
- #: includes/functions.php:2022
5806
msgid "Sign Up for !!name!! Now"
5807
msgstr ""
5808
@@ -5818,7 +6845,7 @@ msgstr ""
5818
#: includes/functions.php:1630 includes/functions.php:1697
5819
#: includes/functions.php:1703 includes/functions.php:1709
5820
#: includes/functions.php:2021 includes/functions.php:2025
5821
- #: includes/functions.php:2028
5822
msgid "Please specify a level id."
5823
msgstr ""
5824
@@ -5877,60 +6904,64 @@ msgid "Verify Key"
5877
msgstr ""
5878
5879
#: includes/license.php:298 includes/license.php:273 includes/license.php:278
5880
- #: includes/license.php:288 includes/license.php:291
5881
msgid "Invalid PMPro License Key."
5882
msgstr ""
5883
5884
#: includes/license.php:301 includes/license.php:273 includes/license.php:278
5885
- #: includes/license.php:288 includes/license.php:291
5886
msgid ""
5887
"If you're running Paid Memberships Pro on a production website, we recommend "
5888
"an annual support license."
5889
msgstr ""
5890
5891
#: includes/license.php:302 includes/license.php:274 includes/license.php:279
5892
- #: includes/license.php:289 includes/license.php:292
5893
msgid "Dismiss"
5894
msgstr ""
5895
5896
#: includes/license.php:302 includes/license.php:274 includes/license.php:279
5897
- #: includes/license.php:289 includes/license.php:292
5898
msgid "More Info"
5899
msgstr ""
5900
5901
#: includes/localization.php:33 includes/localization.php:23
5902
- #: includes/localization.php:26
5903
msgid "Day"
5904
msgstr ""
5905
5906
#: includes/localization.php:35 includes/localization.php:25
5907
- #: includes/localization.php:28
5908
msgid "Week"
5909
msgstr ""
5910
5911
#: includes/localization.php:37 includes/localization.php:27
5912
- #: includes/localization.php:30
5913
msgid "Month"
5914
msgstr ""
5915
5916
#: includes/localization.php:39 includes/localization.php:29
5917
- #: includes/localization.php:32
5918
msgid "Year"
5919
msgstr ""
5920
5921
#: includes/localization.php:44 includes/localization.php:37
5922
msgid "Days"
5923
msgstr ""
5924
5925
#: includes/localization.php:46 includes/localization.php:39
5926
msgid "Weeks"
5927
msgstr ""
5928
5929
#: includes/localization.php:48 includes/localization.php:41
5930
msgid "Months"
5931
msgstr ""
5932
5933
#: includes/localization.php:50 includes/localization.php:43
5934
msgid "Years"
5935
msgstr ""
5936
@@ -6017,18 +7048,18 @@ msgid ""
6017
"register to read."
6018
msgstr ""
6019
6020
- #: pages/billing.php:25 pages/billing.php:14 pages/billing.php:23
6021
#: pages/billing.php:25 pages/billing.php:26 pages/billing.php:28
6022
#, php-format
6023
msgid "Logged in as <strong>%s</strong>."
6024
msgstr ""
6025
6026
- #: pages/billing.php:25 pages/billing.php:14 pages/billing.php:23
6027
#: pages/billing.php:25 pages/billing.php:26 pages/billing.php:28
6028
msgid "logout"
6029
msgstr ""
6030
6031
- #: pages/billing.php:27 pages/cancel.php:61 pages/invoice.php:109
6032
#: pages/levels.php:35 shortcodes/pmpro_account.php:44
6033
#: shortcodes/pmpro_account.php:128 pages/account.php:12 pages/account.php:18
6034
#: pages/account.php:92 pages/billing.php:16 pages/billing.php:25
@@ -6041,33 +7072,33 @@ msgstr ""
6041
msgid "Level"
6042
msgstr ""
6043
6044
- #: pages/billing.php:29 pages/account.php:14 pages/billing.php:18
6045
#: pages/billing.php:27 pages/billing.php:29 pages/billing.php:30
6046
#: pages/billing.php:32
6047
msgid "Membership Fee"
6048
msgstr ""
6049
6050
- #: pages/billing.php:33 pages/account.php:18 pages/billing.php:22
6051
#: pages/billing.php:31 pages/billing.php:33 pages/billing.php:34
6052
#: pages/billing.php:36 pages/levels.php:70
6053
#, php-format
6054
msgid "%s every %d %s."
6055
msgstr ""
6056
6057
- #: pages/billing.php:35 pages/account.php:20 pages/billing.php:24
6058
#: pages/billing.php:33 pages/billing.php:35 pages/billing.php:36
6059
#: pages/billing.php:38 pages/levels.php:66
6060
#, php-format
6061
msgid "%s per %s."
6062
msgstr ""
6063
6064
- #: pages/billing.php:44 pages/account.php:25 pages/account.php:29
6065
#: pages/billing.php:29 pages/billing.php:33 pages/billing.php:42
6066
#: pages/billing.php:44 pages/billing.php:45 pages/billing.php:47
6067
msgid "Duration"
6068
msgstr ""
6069
6070
- #: pages/billing.php:54 pages/billing.php:39 pages/billing.php:43
6071
#: pages/billing.php:52 pages/billing.php:54 pages/billing.php:55
6072
#: pages/billing.php:57
6073
msgid ""
@@ -6075,7 +7106,7 @@ msgid ""
6075
"paypal.com\">login to PayPal here</a> to update your billing information."
6076
msgstr ""
6077
6078
- #: pages/billing.php:84 pages/checkout.php:333 pages/billing.php:65
6079
#: pages/billing.php:69 pages/billing.php:78 pages/billing.php:81
6080
#: pages/billing.php:83 pages/billing.php:84 pages/billing.php:87
6081
#: pages/checkout.php:305 pages/checkout.php:307 pages/checkout.php:309
@@ -6084,7 +7115,7 @@ msgstr ""
6084
msgid "First Name"
6085
msgstr ""
6086
6087
- #: pages/billing.php:88 pages/checkout.php:337 pages/billing.php:69
6088
#: pages/billing.php:73 pages/billing.php:82 pages/billing.php:85
6089
#: pages/billing.php:87 pages/billing.php:88 pages/billing.php:91
6090
#: pages/checkout.php:309 pages/checkout.php:311 pages/checkout.php:313
@@ -6093,7 +7124,7 @@ msgstr ""
6093
msgid "Last Name"
6094
msgstr ""
6095
6096
- #: pages/billing.php:92 pages/checkout.php:341 pages/billing.php:73
6097
#: pages/billing.php:77 pages/billing.php:86 pages/billing.php:89
6098
#: pages/billing.php:91 pages/billing.php:92 pages/billing.php:95
6099
#: pages/checkout.php:313 pages/checkout.php:315 pages/checkout.php:317
@@ -6102,7 +7133,7 @@ msgstr ""
6102
msgid "Address 1"
6103
msgstr ""
6104
6105
- #: pages/billing.php:96 pages/checkout.php:345 pages/billing.php:77
6106
#: pages/billing.php:81 pages/billing.php:90 pages/billing.php:93
6107
#: pages/billing.php:95 pages/billing.php:96 pages/billing.php:99
6108
#: pages/checkout.php:317 pages/checkout.php:319 pages/checkout.php:321
@@ -6111,7 +7142,7 @@ msgstr ""
6111
msgid "Address 2"
6112
msgstr ""
6113
6114
- #: pages/billing.php:106 pages/checkout.php:355 pages/billing.php:87
6115
#: pages/billing.php:91 pages/billing.php:100 pages/billing.php:103
6116
#: pages/billing.php:105 pages/billing.php:106 pages/billing.php:109
6117
#: pages/checkout.php:327 pages/checkout.php:329 pages/checkout.php:331
@@ -6120,7 +7151,7 @@ msgstr ""
6120
msgid "City"
6121
msgstr ""
6122
6123
- #: pages/billing.php:110 pages/checkout.php:359 pages/billing.php:91
6124
#: pages/billing.php:95 pages/billing.php:104 pages/billing.php:107
6125
#: pages/billing.php:109 pages/billing.php:110 pages/billing.php:113
6126
#: pages/checkout.php:331 pages/checkout.php:333 pages/checkout.php:335
@@ -6129,7 +7160,7 @@ msgstr ""
6129
msgid "State"
6130
msgstr ""
6131
6132
- #: pages/billing.php:114 pages/checkout.php:363 pages/billing.php:95
6133
#: pages/billing.php:99 pages/billing.php:108 pages/billing.php:111
6134
#: pages/billing.php:113 pages/billing.php:114 pages/billing.php:117
6135
#: pages/checkout.php:335 pages/checkout.php:337 pages/checkout.php:339
@@ -6138,7 +7169,7 @@ msgstr ""
6138
msgid "Postal Code"
6139
msgstr ""
6140
6141
- #: pages/billing.php:123 pages/checkout.php:372 pages/billing.php:104
6142
#: pages/billing.php:108 pages/billing.php:117 pages/billing.php:120
6143
#: pages/billing.php:122 pages/billing.php:123 pages/billing.php:126
6144
#: pages/checkout.php:344 pages/checkout.php:346 pages/checkout.php:348
@@ -6147,7 +7178,7 @@ msgstr ""
6147
msgid "City, State Zip"
6148
msgstr ""
6149
6150
- #: pages/billing.php:176 pages/checkout.php:425 pages/billing.php:157
6151
#: pages/billing.php:161 pages/billing.php:170 pages/billing.php:173
6152
#: pages/billing.php:175 pages/billing.php:176 pages/billing.php:179
6153
#: pages/checkout.php:397 pages/checkout.php:399 pages/checkout.php:401
@@ -6156,7 +7187,7 @@ msgstr ""
6156
msgid "Country"
6157
msgstr ""
6158
6159
- #: pages/billing.php:201 pages/checkout.php:450 pages/billing.php:182
6160
#: pages/billing.php:186 pages/billing.php:195 pages/billing.php:198
6161
#: pages/billing.php:200 pages/billing.php:201 pages/billing.php:204
6162
#: pages/checkout.php:422 pages/checkout.php:424 pages/checkout.php:426
@@ -6165,7 +7196,7 @@ msgstr ""
6165
msgid "Phone"
6166
msgstr ""
6167
6168
- #: pages/billing.php:212 pages/checkout.php:227 pages/checkout.php:464
6169
#: pages/billing.php:193 pages/billing.php:197 pages/billing.php:206
6170
#: pages/billing.php:209 pages/billing.php:211 pages/billing.php:212
6171
#: pages/billing.php:215 pages/checkout.php:204 pages/checkout.php:207
@@ -6177,7 +7208,7 @@ msgstr ""
6177
msgid "E-mail Address"
6178
msgstr ""
6179
6180
- #: pages/billing.php:216 pages/checkout.php:473 pages/billing.php:197
6181
#: pages/billing.php:201 pages/billing.php:210 pages/billing.php:213
6182
#: pages/billing.php:215 pages/billing.php:216 pages/billing.php:219
6183
#: pages/checkout.php:445 pages/checkout.php:447 pages/checkout.php:449
@@ -6186,20 +7217,20 @@ msgstr ""
6186
msgid "Confirm E-mail"
6187
msgstr ""
6188
6189
- #: pages/billing.php:244 pages/billing.php:217 pages/billing.php:221
6190
#: pages/billing.php:230 pages/billing.php:231 pages/billing.php:234
6191
#: pages/billing.php:238 pages/billing.php:244 pages/billing.php:247
6192
msgid "Credit Card Information"
6193
msgstr ""
6194
6195
- #: pages/billing.php:245 pages/billing.php:217 pages/billing.php:221
6196
#: pages/billing.php:230 pages/billing.php:232 pages/billing.php:235
6197
#: pages/billing.php:239 pages/billing.php:245 pages/billing.php:248
6198
#, php-format
6199
msgid "We accept %s"
6200
msgstr ""
6201
6202
- #: pages/billing.php:387 pages/billing.php:309 pages/billing.php:313
6203
#: pages/billing.php:344 pages/billing.php:353 pages/billing.php:356
6204
#: pages/billing.php:360 pages/billing.php:364 pages/billing.php:387
6205
#: pages/billing.php:408 pages/billing.php:417 pages/billing.php:422
@@ -6243,25 +7274,25 @@ msgstr ""
6243
msgid "Click here to go to the home page."
6244
msgstr ""
6245
6246
- #: pages/checkout.php:35 pages/checkout.php:26 pages/checkout.php:27
6247
#: pages/checkout.php:28 pages/checkout.php:35
6248
msgid ""
6249
"Almost done. Review the membership information and pricing below then "
6250
"<strong>click the \"Complete Payment\" button</strong> to finish your order."
6251
msgstr ""
6252
6253
- #: pages/checkout.php:43 pages/checkout.php:33 pages/checkout.php:34
6254
#: pages/checkout.php:35 pages/checkout.php:42 pages/checkout.php:43
6255
msgid "change"
6256
msgstr ""
6257
6258
- #: pages/checkout.php:51 pages/checkout.php:41 pages/checkout.php:42
6259
#: pages/checkout.php:43 pages/checkout.php:50 pages/checkout.php:51
6260
#, php-format
6261
msgid "You have selected the <strong>%s</strong> membership level."
6262
msgstr ""
6263
6264
- #: pages/checkout.php:68 pages/checkout.php:51 pages/checkout.php:53
6265
#: pages/checkout.php:60 pages/checkout.php:61 pages/checkout.php:68
6266
#, php-format
6267
msgid ""
@@ -6269,7 +7300,7 @@ msgid ""
6269
"been applied to your order.</p>"
6270
msgstr ""
6271
6272
- #: pages/checkout.php:79 services/applydiscountcode.php:92
6273
#: pages/checkout.php:62 pages/checkout.php:63 pages/checkout.php:64
6274
#: pages/checkout.php:71 pages/checkout.php:72 pages/checkout.php:79
6275
#: services/applydiscountcode.php:74 services/applydiscountcode.php:75
@@ -6278,61 +7309,61 @@ msgstr ""
6278
msgid "Click here to change your discount code"
6279
msgstr ""
6280
6281
- #: pages/checkout.php:81 pages/checkout.php:64 pages/checkout.php:65
6282
#: pages/checkout.php:66 pages/checkout.php:73 pages/checkout.php:74
6283
#: pages/checkout.php:81
6284
msgid "Click here to enter your discount code"
6285
msgstr ""
6286
6287
- #: pages/checkout.php:81 pages/checkout.php:64 pages/checkout.php:65
6288
#: pages/checkout.php:66 pages/checkout.php:73 pages/checkout.php:74
6289
#: pages/checkout.php:81
6290
msgid "Do you have a discount code?"
6291
msgstr ""
6292
6293
- #: pages/checkout.php:182 pages/checkout.php:160 pages/checkout.php:163
6294
#: pages/checkout.php:165 pages/checkout.php:172 pages/checkout.php:173
6295
#: pages/checkout.php:175 pages/checkout.php:182
6296
msgid "Account Information"
6297
msgstr ""
6298
6299
- #: pages/checkout.php:183 pages/checkout.php:160 pages/checkout.php:163
6300
#: pages/checkout.php:165 pages/checkout.php:172 pages/checkout.php:174
6301
#: pages/checkout.php:176 pages/checkout.php:183
6302
msgid "Already have an account?"
6303
msgstr ""
6304
6305
- #: pages/checkout.php:183 pages/checkout.php:160 pages/checkout.php:163
6306
#: pages/checkout.php:165 pages/checkout.php:172 pages/checkout.php:174
6307
#: pages/checkout.php:176 pages/checkout.php:183
6308
msgid "Log in here"
6309
msgstr ""
6310
6311
- #: pages/checkout.php:209 pages/checkout.php:186 pages/checkout.php:189
6312
#: pages/checkout.php:191 pages/checkout.php:198 pages/checkout.php:200
6313
#: pages/checkout.php:202 pages/checkout.php:209
6314
msgid "Confirm Password"
6315
msgstr ""
6316
6317
- #: pages/checkout.php:236 pages/checkout.php:213 pages/checkout.php:216
6318
#: pages/checkout.php:218 pages/checkout.php:225 pages/checkout.php:227
6319
#: pages/checkout.php:229 pages/checkout.php:236
6320
msgid "Confirm E-mail Address"
6321
msgstr ""
6322
6323
- #: pages/checkout.php:255 pages/checkout.php:232 pages/checkout.php:235
6324
#: pages/checkout.php:237 pages/checkout.php:244 pages/checkout.php:246
6325
#: pages/checkout.php:248 pages/checkout.php:255
6326
msgid "Full Name"
6327
msgstr ""
6328
6329
- #: pages/checkout.php:256 pages/checkout.php:233 pages/checkout.php:236
6330
#: pages/checkout.php:238 pages/checkout.php:245 pages/checkout.php:247
6331
#: pages/checkout.php:249 pages/checkout.php:256
6332
msgid "LEAVE THIS BLANK"
6333
msgstr ""
6334
6335
- #: pages/checkout.php:280 pages/checkout.php:257 pages/checkout.php:260
6336
#: pages/checkout.php:262 pages/checkout.php:269 pages/checkout.php:271
6337
#: pages/checkout.php:273 pages/checkout.php:280
6338
#, php-format
@@ -6341,19 +7372,19 @@ msgid ""
6341
"different account for this membership, <a href=\"%s\">log out now</a>."
6342
msgstr ""
6343
6344
- #: pages/checkout.php:296 pages/checkout.php:276 pages/checkout.php:278
6345
#: pages/checkout.php:285 pages/checkout.php:287 pages/checkout.php:289
6346
#: pages/checkout.php:292 pages/checkout.php:296 pages/checkout.php:299
6347
msgid "Choose your Payment Method"
6348
msgstr ""
6349
6350
- #: pages/checkout.php:305 pages/checkout.php:284 pages/checkout.php:286
6351
#: pages/checkout.php:293 pages/checkout.php:296 pages/checkout.php:298
6352
#: pages/checkout.php:300 pages/checkout.php:305 pages/checkout.php:307
6353
msgid "Check Out with a Credit Card Here"
6354
msgstr ""
6355
6356
- #: pages/checkout.php:693 pages/checkout.php:277 pages/checkout.php:284
6357
#: pages/checkout.php:657 pages/checkout.php:672 pages/checkout.php:673
6358
#: pages/checkout.php:681 pages/checkout.php:686 pages/checkout.php:690
6359
#: pages/checkout.php:692 pages/checkout.php:693 pages/checkout.php:696
@@ -6362,7 +7393,7 @@ msgstr ""
6362
msgid "I agree to the %s"
6363
msgstr ""
6364
6365
- #: pages/checkout.php:713 pages/checkout.php:667 pages/checkout.php:674
6366
#: pages/checkout.php:677 pages/checkout.php:692 pages/checkout.php:693
6367
#: pages/checkout.php:701 pages/checkout.php:706 pages/checkout.php:710
6368
#: pages/checkout.php:712 pages/checkout.php:713 pages/checkout.php:716
@@ -6370,7 +7401,7 @@ msgstr ""
6370
msgid "Complete Payment"
6371
msgstr ""
6372
6373
- #: pages/checkout.php:735 pages/checkout.php:687 pages/checkout.php:694
6374
#: pages/checkout.php:697 pages/checkout.php:713 pages/checkout.php:714
6375
#: pages/checkout.php:723 pages/checkout.php:728 pages/checkout.php:732
6376
#: pages/checkout.php:734 pages/checkout.php:735 pages/checkout.php:738
@@ -6515,7 +7546,7 @@ msgstr ""
6515
msgid "&larr; Return to Home"
6516
msgstr ""
6517
6518
- #: paid-memberships-pro.php:135 adminpages/orders.php:398
6519
#: adminpages/orders.php:448 paid-memberships-pro.php:115
6520
#: paid-memberships-pro.php:116 paid-memberships-pro.php:123
6521
#: paid-memberships-pro.php:124 paid-memberships-pro.php:125
@@ -6524,7 +7555,7 @@ msgstr ""
6524
msgid "Testing Only"
6525
msgstr ""
6526
6527
- #: paid-memberships-pro.php:140 paid-memberships-pro.php:120
6528
#: paid-memberships-pro.php:121 paid-memberships-pro.php:128
6529
#: paid-memberships-pro.php:129 paid-memberships-pro.php:130
6530
#: paid-memberships-pro.php:131 paid-memberships-pro.php:133
@@ -6532,7 +7563,7 @@ msgstr ""
6532
msgid "PayPal Payflow Pro/PayPal Pro"
6533
msgstr ""
6534
6535
- #: paid-memberships-pro.php:145 paid-memberships-pro.php:125
6536
#: paid-memberships-pro.php:126 paid-memberships-pro.php:133
6537
#: paid-memberships-pro.php:134 paid-memberships-pro.php:135
6538
#: paid-memberships-pro.php:136 paid-memberships-pro.php:138
@@ -6540,7 +7571,7 @@ msgstr ""
6540
msgid "Cybersource"
6541
msgstr ""
6542
6543
- #: paid-memberships-pro.php:166 paid-memberships-pro.php:156
6544
#: paid-memberships-pro.php:157 paid-memberships-pro.php:159
6545
#: paid-memberships-pro.php:166
6546
msgid "Once a month"
@@ -6623,7 +7654,7 @@ msgid "Error updating billing information."
6623
msgstr ""
6624
6625
#: preheaders/cancel.php:60 preheaders/cancel.php:24 preheaders/cancel.php:25
6626
- #: preheaders/cancel.php:28 preheaders/cancel.php:59
6627
msgid "Your membership has been cancelled."
6628
msgstr ""
6629
1
#
2
+ # Hi there! Details on how to help out translating Paid Memberships Pro can be found at:
3
+ # http://www.paidmembershipspro.com/documentation/languages/
4
+ #
5
msgid ""
6
msgstr ""
7
+ "Project-Id-Version: paid-memberships-pro\n"
8
"Report-Msgid-Bugs-To: jason@strangerstudios.com\n"
9
+ "POT-Creation-Date: 2017-06-03 09:18-0400\n"
10
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
+ "Last-Translator: \n"
12
+ "Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
13
"MIME-Version: 1.0\n"
14
"Content-Type: text/plain; charset=UTF-8\n"
15
"Content-Transfer-Encoding: 8bit\n"
844
845
#: adminpages/discountcodes.php:442
846
#: classes/gateways/class.pmprogateway_braintree.php:423
847
+ #: classes/gateways/class.pmprogateway_stripe.php:597 pages/billing.php:342
848
+ #: pages/checkout.php:585 adminpages/discountcodes.php:367
849
#: adminpages/discountcodes.php:370 adminpages/discountcodes.php:371
850
#: adminpages/discountcodes.php:372 adminpages/discountcodes.php:377
851
#: adminpages/discountcodes.php:442
1711
msgstr ""
1712
1713
#: adminpages/membershiplevels.php:530 adminpages/orders.php:796
1714
+ #: pages/billing.php:397 pages/cancel.php:84 shortcodes/pmpro_account.php:72
1715
#: adminpages/membershiplevels.php:506 adminpages/membershiplevels.php:508
1716
#: adminpages/membershiplevels.php:517 adminpages/membershiplevels.php:518
1717
#: adminpages/membershiplevels.php:530 adminpages/orders.php:511
1910
msgid "%d members found."
1911
msgstr ""
1912
1913
+ #: adminpages/memberslist.php:165 pages/checkout.php:194
1914
#: shortcodes/pmpro_account.php:110 adminpages/memberslist.php:112
1915
#: adminpages/memberslist.php:145 adminpages/memberslist.php:155
1916
#: adminpages/memberslist.php:165 pages/account.php:51 pages/account.php:55
1934
msgid "Last&nbsp;Name"
1935
msgstr ""
1936
1937
+ #: adminpages/memberslist.php:170 pages/billing.php:103 pages/checkout.php:329
1938
#: pages/confirmation.php:67 pages/invoice.php:48
1939
#: adminpages/memberslist.php:117 adminpages/memberslist.php:150
1940
#: adminpages/memberslist.php:160 adminpages/memberslist.php:170
2180
2181
#: adminpages/orders.php:563
2182
#: classes/gateways/class.pmprogateway_braintree.php:406
2183
+ #: classes/gateways/class.pmprogateway_stripe.php:549 pages/billing.php:294
2184
+ #: pages/checkout.php:537 adminpages/orders.php:339 adminpages/orders.php:389
2185
#: adminpages/orders.php:461 adminpages/orders.php:490
2186
#: adminpages/orders.php:532 adminpages/orders.php:563
2187
#: classes/gateways/class.pmprogateway_braintree.php:291
2492
msgstr ""
2493
2494
#: adminpages/orders.php:1138 includes/init.php:244 includes/profile.php:36
2495
+ #: pages/checkout.php:45 pages/confirmation.php:53 pages/confirmation.php:70
2496
#: pages/confirmation.php:116 pages/invoice.php:28 pages/invoice.php:51
2497
#: adminpages/orders.php:601 adminpages/orders.php:904
2498
#: adminpages/orders.php:914 adminpages/orders.php:941
2854
msgid "Sales Tax"
2855
msgstr ""
2856
2857
+ #: adminpages/paymentsettings.php:188 pages/billing.php:123
2858
#: adminpages/paymentsettings.php:188 adminpages/paymentsettings.php:398
2859
#: adminpages/paymentsettings.php:438 adminpages/paymentsettings.php:443
2860
#: adminpages/paymentsettings.php:445 pages/billing.php:78
3251
msgid "Update complete."
3252
msgstr ""
3253
3254
+ #: classes/class-deny-network-activation.php:45
3255
+ #, php-format
3256
+ msgid ""
3257
+ "The %s plugin should not be network activated. Activate on each individual "
3258
+ "site's plugin page."
3259
+ msgstr ""
3260
+
3261
#: classes/class.memberorder.php:729 classes/class.memberorder.php:553
3262
#: classes/class.memberorder.php:561 classes/class.memberorder.php:564
3263
#: classes/class.memberorder.php:573 classes/class.memberorder.php:644
3305
#: classes/class.pmproemail.php:378 classes/class.pmproemail.php:696
3306
#: classes/class.pmproemail.php:698
3307
#: classes/gateways/class.pmprogateway_braintree.php:464
3308
+ #: classes/gateways/class.pmprogateway_stripe.php:638 pages/checkout.php:86
3309
+ #: pages/checkout.php:96 pages/checkout.php:622 pages/confirmation.php:58
3310
#: pages/invoice.php:33 classes/class.pmproemail.php:216
3311
#: classes/class.pmproemail.php:218 classes/class.pmproemail.php:225
3312
#: classes/class.pmproemail.php:227 classes/class.pmproemail.php:228
3639
msgstr ""
3640
3641
#: classes/gateways/class.pmprogateway_authorizenet.php:39
3642
+ #: paid-memberships-pro.php:134
3643
#: classes/gateways/class.pmprogateway_authorizenet.php:39
3644
#: paid-memberships-pro.php:122 paid-memberships-pro.php:12