Changeset 3120662
- Timestamp:
- 07/17/2024 05:17:23 PM (17 months ago)
- Location:
- restrict-content/tags/3.2.11
- Files:
-
- 6 added
- 52 edited
- 1 copied
-
. (copied) (copied from restrict-content/trunk)
-
composer.json (modified) (1 diff)
-
core/includes/admin/admin-notices.php (modified) (3 diffs)
-
core/includes/admin/import/import-functions.php (modified) (2 diffs)
-
core/includes/admin/metabox-view.php (modified) (1 diff)
-
core/includes/admin/settings/settings.php (modified) (1 diff)
-
core/includes/admin/subscriptions/edit-subscription.php (modified) (1 diff)
-
core/includes/admin/subscriptions/subscription-levels.php (modified) (1 diff)
-
core/includes/class-restrict-content.php (modified) (1 diff)
-
core/includes/css/fonts (added)
-
core/includes/css/fonts/index.php (added)
-
core/includes/css/fonts/neurial-grotesk-bold.otf (added)
-
core/includes/css/fonts/neurial-grotesk-regular.otf (added)
-
core/includes/css/forms.min.css (modified) (1 diff)
-
core/includes/css/rcp-global-admin.css (modified) (1 diff)
-
core/includes/css/rcp-global-admin.min.css (modified) (1 diff)
-
core/includes/gateways/class-rcp-payment-gateway.php (modified) (2 diffs)
-
core/includes/gateways/stripe/js/profile.min.js (modified) (1 diff)
-
core/includes/images/close.svg (added)
-
core/includes/images/stellar-sale23-in-app-graphic.png (added)
-
core/includes/js/restrict-content-pro-admin-notices.js (modified) (2 diffs)
-
core/includes/js/restrict-content-pro-admin-notices.min.js (modified) (1 diff)
-
core/includes/scripts.php (modified) (3 diffs)
-
core/templates/card-form-full.php (modified) (2 diffs)
-
core/templates/card-form.php (modified) (2 diffs)
-
core/templates/card-update-form-fields.php (modified) (1 diff)
-
core/templates/card-update-form.php (modified) (1 diff)
-
core/templates/change-password.php (modified) (1 diff)
-
core/templates/comments-no-access.php (modified) (1 diff)
-
core/templates/emails/body.php (modified) (2 diffs)
-
core/templates/emails/footer.php (modified) (2 diffs)
-
core/templates/emails/header.php (modified) (2 diffs)
-
core/templates/invoice.php (modified) (1 diff)
-
core/templates/login.php (modified) (1 diff)
-
core/templates/lostpassword.php (modified) (1 diff)
-
core/templates/lostpassword_checkemail.php (modified) (1 diff)
-
core/templates/paypal-express-confirm.php (modified) (1 diff)
-
core/templates/profile-editor.php (modified) (1 diff)
-
core/templates/register-common.php (modified) (3 diffs)
-
core/templates/register-single.php (modified) (1 diff)
-
core/templates/register-total-details.php (modified) (3 diffs)
-
core/templates/register.php (modified) (1 diff)
-
core/templates/subscription.php (modified) (1 diff)
-
core/templates/woocommerce-single-no-access.php (modified) (1 diff)
-
lang/restrict-content.pot (modified) (49 diffs)
-
legacy/restrictcontent.php (modified) (1 diff)
-
package.json (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
restrictcontent.php (modified) (3 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/strauss/lucatume/di52/src/App.php (modified) (18 diffs)
-
vendor/strauss/lucatume/di52/src/Builders/ClassBuilder.php (modified) (9 diffs)
-
vendor/strauss/lucatume/di52/src/Builders/Factory.php (modified) (1 diff)
-
vendor/strauss/lucatume/di52/src/Builders/Parameter.php (modified) (1 diff)
-
vendor/strauss/lucatume/di52/src/Builders/Resolver.php (modified) (13 diffs)
-
vendor/strauss/lucatume/di52/src/Container.php (modified) (24 diffs)
-
vendor/strauss/stellarwp/container-contract/src/ContainerInterface.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
restrict-content/tags/3.2.11/composer.json
r3071905 r3120662 1 1 { 2 2 "name": "restrictcontent/restrict-content", 3 "version": "3.2.1 0",3 "version": "3.2.11", 4 4 "type": "wordpress-plugin", 5 5 "description": "A simple, yet powerful membership solution for WordPress.", -
restrict-content/tags/3.2.11/core/includes/admin/admin-notices.php
r2886519 r3120662 81 81 if ( rcp_is_gateway_enabled( 'authorizenet' ) && ! defined( 'RCP_ANET_VERSION' ) ) { 82 82 echo '<div class="error">'; 83 echo '<p><strong>' . __( 'ACTION REQUIRED: You need to update your Authorize.net payment gateway for Restrict Content Pro' ) . '</strong></p>'; 84 echo '<p>' . sprintf( __( 'The Authorize.net payment gateway has been removed from the main Restrict Content Pro plugin. To continue processing payments with this gateway you need to install the new Authorize.net add-on. Once installed, please follow the instructions to <a href="%s" target="_blank">enter your signature key</a> and <a href="%s" target="_blank">set up a webhook</a>.' ), 'https://docs.restrictcontentpro.com/article/1765-authorize-net#api-credentials', 'https://docs.restrictcontentpro.com/article/1765-authorize-net#webhook' ) . '</p>'; 85 echo '<p><a href="' . esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=rcp-authorize-net' ), 'install-plugin_rcp-authorize-net' ) ) . '" class="button button-primary">' . __( 'Install', 'rcp' ) . '</a></p>'; 83 echo '<p><strong>' . esc_html__( 'ACTION REQUIRED: You need to update your Authorize.net payment gateway for Restrict Content Pro', 'rcp' ) . '</strong></p>'; 84 echo '<p>' . wp_kses( 85 // translators: 1: URL to the Authorize.net documentation. 86 sprintf( __( 'The Authorize.net payment gateway has been removed from the main Restrict Content Pro plugin. To continue processing payments with this gateway you need to install the new Authorize.net add-on. Once installed, please follow the instructions to <a href="%1$s" target="_blank">enter your signature key</a> and <a href="%1$s" target="_blank">set up a webhook</a>.', 'rcp' ), 'https://restrictcontentpro.com/knowledgebase/authorize-net/#webhook' ), 87 [ 88 'a' => [ 89 'href' => [], 90 'target' => [], 91 ], 92 ] 93 ) . '</p>'; 94 echo '<p><a href="' . esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=rcp-authorize-net' ), 'install-plugin_rcp-authorize-net' ) ) . '" class="button button-primary">' . esc_html__( 'Install', 'rcp' ) . '</a></p>'; 86 95 echo '</div>'; 87 96 } … … 90 99 if ( rcp_is_gateway_enabled( 'stripe_checkout' ) ) { 91 100 echo '<div class="error">'; 92 echo '<p><strong>' . __( 'Restrict Content Pro: Support for Stripe Checkout is ending in version 3.2' ) . '</strong></p>'; 93 echo '<p>' . sprintf( __( 'Stripe will not be updating the Stripe Checkout modal to comply with Strong Customer Authentication (SCA) and as a result, the Stripe Checkout gateway will be removed from Restrict Content Pro in version 3.2. You will automatically be switched over to our Stripe Elements gateway instead. This will affect the appearance of your registration form, but will not impact payment processing or renewals. <a href="%s" target="_blank">Click here to learn more.</a>' ), 'https://docs.restrictcontentpro.com/article/1552-stripe-checkout' ) . '</p>'; 101 echo '<p><strong>' . esc_html__( 'Restrict Content Pro: Support for Stripe Checkout is ending in version 3.2', 'rcp' ) . '</strong></p>'; 102 echo '<p>' . wp_kses( 103 sprintf( 104 // translators: %s URL to the Stripe documentation. 105 __( 'Stripe will not be updating the Stripe Checkout modal to comply with Strong Customer Authentication (SCA) and as a result, the Stripe Checkout gateway will be removed from Restrict Content Pro in version 3.2. You will automatically be switched over to our Stripe Elements gateway instead. This will affect the appearance of your registration form, but will not impact payment processing or renewals. <a href="%s" target="_blank">Click here to learn more.</a>', 'rcp' ), 106 'https://restrictcontentpro.com/knowledgebase/stripe/' 107 ), 108 [ 109 'a' => [ 110 'href' => [], 111 'target' => [], 112 ], 113 ] 114 ) . '</p>'; 94 115 echo '</div>'; 95 116 } … … 296 317 case 'invalid_level_trial' : 297 318 298 $text = sprintf( __( 'Invalid trial: a membership level with a trial must have a price and duration greater than zero. Please see <a href="%s">the documentation article on creating trials</a> for further instructions.', 'rcp' ), 'http://docs.restrictcontentpro.com/article/1764-creating-free-trials' ); 319 // translators: %s Link to the documentation. 320 $text = sprintf( __( 'Invalid trial: a membership level with a trial must have a price and duration greater than zero. Please see <a href="%s">the documentation article on creating trials</a> for further instructions.', 'rcp' ), 'https://restrictcontentpro.com/knowledgebase/creating-memberships-with-a-free-trial/' ); 299 321 $class = 'error'; 300 322 break; -
restrict-content/tags/3.2.11/core/includes/admin/import/import-functions.php
r2642097 r3120662 31 31 'key' => 'memberships', 32 32 // Description printed on the import page. 33 'description' => sprintf( __( 'Use this tool to import user memberships into Restrict Content Pro. See <a href="%s">this article</a> for further instructions and a sample CSV file.', 'rcp' ), 'https://docs.restrictcontentpro.com/article/1579-import-members-from-a-csv-file' ), 33 // translators: %s: URL to the documentation. 34 'description' => sprintf( __( 'Use this tool to import user memberships into Restrict Content Pro. See <a href="%s">this article</a> for further instructions and a sample CSV file.', 'rcp' ), 'https://restrictcontentpro.com/knowledgebase/can-i-import-members-from-a-csv-file/' ), 34 35 // Batch processor callback class name. 35 36 'callback' => 'RCP_Batch_Callback_Import_Memberships', … … 65 66 'name' => __( 'Payments', 'rcp' ), 66 67 'key' => 'payments', 67 'description' => sprintf( __( 'Use this tool to import user payments into Restrict Content Pro. See <a href="%s">this article</a> for further instructions and a sample CSV file.', 'rcp' ), 'https://docs.restrictcontentpro.com/article/2265-importing-payments' ), 68 // translators: %s: URL to the documentation. 69 'description' => sprintf( __( 'Use this tool to import user payments into Restrict Content Pro. See <a href="%s">this article</a> for further instructions and a sample CSV file.', 'rcp' ), 'https://restrictcontentpro.com/knowledgebase/exporting-payments/' ), 68 70 'callback' => 'RCP_Batch_Callback_Import_Payments', 69 71 'callback_file' => RCP_PLUGIN_DIR . 'core/includes/batch/csv-imports/class-import-payments.php', -
restrict-content/tags/3.2.11/core/includes/admin/metabox-view.php
r2642097 r3120662 127 127 <?php printf( 128 128 __( 'Optionally use [restrict paid="true"] ... [/restrict] shortcode to restrict partial content. %sView documentation for additional options%s.', 'rcp' ), 129 '<a href="' . esc_url( 'http ://docs.restrictcontentpro.com/article/1593-restricting-post-and-page-content' ) . '" target="_blank">',129 '<a href="' . esc_url( 'https://restrictcontentpro.com/knowledgebase/restricting-post-and-page-content/' ) . '" target="_blank">', 130 130 '</a>' 131 131 ); ?> -
restrict-content/tags/3.2.11/core/includes/admin/settings/settings.php
r3032297 r3120662 487 487 <div class="rcp_stripe_help_box_inner_container"> 488 488 <div class="rcp_stripe_help_box_content"> 489 <p><?php printf( __( 'Have questions about connecting with Stripe? <a href="%s" target="_blank" rel="noopener noreferrer">See the documentation</a>.', 'rcp' ), 'https://docs.restrictcontentpro.com/article/2033-how-does-stripe-connect-affect-me' ); ?></p> 489 <p> 490 <?php 491 echo wp_kses( 492 sprintf( 493 // translators: %s URL to the Stripe documentation. 494 __( 'Have questions about connecting with Stripe? <a href="%s" target="_blank" rel="noopener noreferrer">See the documentation</a>.', 'rcp' ), 495 'https://restrictcontentpro.com/knowledgebase/stripe/' 496 ), 497 [ 498 'a' => [ 499 'href' => [], 500 'target' => [], 501 'rel' => [], 502 ], 503 ] 504 ); 505 ?> 506 </p> 490 507 <p><strong><?php _e('Note', 'rcp'); ?></strong>: <?php _e('in order for membership payments made through Stripe to be tracked, you must enter the following URL to your <a href="https://dashboard.stripe.com/account/webhooks" target="_blank">Stripe Webhooks</a> under Account Settings:', 'rcp'); ?></p> 491 508 <p style="text-decoration: underline; color: #646FDE;"><?php echo esc_url( add_query_arg( 'listener', 'stripe', home_url() . '/' ) ); ?></p> -
restrict-content/tags/3.2.11/core/includes/admin/subscriptions/edit-subscription.php
r2990129 r3120662 145 145 __('Inactive membership levels do not appear on the %s shortcode page. Learn more about membership level statuses in <a href="%s" target="_blank">our documentation article</a>.', 'rcp'), 146 146 '[register_form]', 147 esc_url( 'https:// docs.restrictcontentpro.com/article/2257-active-vs-inactive-membership-levels' )147 esc_url( 'https://restrictcontentpro.com/knowledgebase/active-vs-inactive-membership-levels/' ) 148 148 ); 149 149 ?> -
restrict-content/tags/3.2.11/core/includes/admin/subscriptions/subscription-levels.php
r2990129 r3120662 176 176 __('Inactive membership levels do not appear on the %s shortcode page. Learn more about membership level statuses in <a href="%s" target="_blank">our documentation article</a>.', 'rcp'), 177 177 '[register_form]', 178 esc_url( 'https:// docs.restrictcontentpro.com/article/2257-active-vs-inactive-membership-levels' )178 esc_url( 'https://restrictcontentpro.com/knowledgebase/active-vs-inactive-membership-levels/' ) 179 179 ); 180 180 ?> -
restrict-content/tags/3.2.11/core/includes/class-restrict-content.php
r3071905 r3120662 27 27 */ 28 28 final class Restrict_Content_Pro { 29 const VERSION = '3.5.4 1';29 const VERSION = '3.5.42'; 30 30 31 31 /** -
restrict-content/tags/3.2.11/core/includes/css/forms.min.css
r2990129 r3120662 1 input[type=submit]{cursor:pointer}#rcp_registration_form{padding:5px}.rcp_form fieldset{border:none;margin:0;padding:0}.rcp_form label{display:block;cursor:pointer}.rcp_form .rcp_gateway_option_label{display:inline-block;margin-right:10px}.rcp_form input.required{color:#000}.rcp_form p{margin:0 0 10px;min-height:20px}.rcp_form p br{display:none}.rcp_form ul{margin:0 0 15px;padding:0}.rcp_form li{list-style:none;margin:0 0 15px}.rcp_form #rcp_auto_renew_wrap{min-height:30px}.rcp_subscription_level label{width:auto;display:inline-block}.rcp_subscription_level .rcp_level{float:left;margin:5px 10px 0 0}.rcp_message{margin:0 0 15px}.rcp_level_description{border-left:1px solid #f0f0f0;padding-left:8px;font-size:12px}.rcp_discount_valid{color:#42961e}.rcp_discount_invalid{color:#b01000}.rcp_current_cards_fieldset span{display:block}div#rcp_card_name_wrap,div#rcp_card_wrap{margin-bottom:10px}.rcp-recurring-total td,.rcp-total td{border-top:none}#order_summary .rcp-ppe-confirm-price{text-align:right;width:70px}#order_summary tfoot th{text-align:right}#rcp-sandbox-gateway-test-cards{background:#f4f4f4;margin:0 0 1.5em;padding:1em}.rcp-table-wrapper{width:auto;max-width:1000px!important}body.twentytwentytwo-theme .wp-container-7 .rcp-table-wrapper{max-width:900px}body.twentytwentyone-theme .entry-content .rcp-table-wrapper{max-width:900px!important}.rcp-table th,body.twentytwentyone-theme .rcp-table td{border:none}body.hello-elementor .rcp-table tbody+tbody{border-top:none}body.hello-elementor table tbody tr:hover>td,body.hello-elementor table tbody tr:hover>th,body.hello-elementor table tbody>tr:nth-child(odd)>td,body.hello-elementor table tbody>tr:nth-child(odd)>th{background-color:transparent}table.rcp-table{width:auto}.rcp-table#rcp-account-overview,.rcp-table#rcp-payment-history{width:100%}.rcp-table a button{white-space:nowrap;margin-block:5px;cursor:pointer;font-size:.8em}.rcp-table thead tr td{font-weight:700}#rcp-account-overview td,#rcp-account-overview th,#rcp-payment-history td,#rcp-payment-history th{vertical-align:top;padding-inline:20px;text-align:left}@media screen and (max-width:900px){#rcp-table-wrapper{margin-inline:20px}.rcp-table tbody{display:block}.rcp-table tr{display:block}.rcp-table#rcp-account-overview thead th,.rcp-table#rcp-payment-history thead th{display:none}.rcp-table-wrapper .rcp-table tr td:before{margin-bottom:3px;content:attr(data-title);min-width:98px;font-size:1rem;line-height:10px;font-weight:700;text-transform:uppercase;display:block}.rcp-table td{display:block;margin-bottom:15px}}.rcp_subscription_message{font-weight:700}.rcp_registration_total_details .membership-amount{display:flex}.rcp_registration_total_details .membership-amount p{font-weight:700}.rcp_registration_total_details tr{display:flex;justify-content:space-between;width:400px;max-width:100%;border-bottom:1px solid #222;padding-block:10px}.rcp_registration_total_details .discounts-fees{font-weight:700}.rcp_form .rcp_user_fieldset input:not([type=checkbox]):not([type=submit]){width:100%;max-width:400px;padding-block:10px;border-radius:5px}#rcp_user_pass_requirements,.rcp_form label{font-size:max(.8rem,16px)}.rcp-renewal-date p,.rcp-total p{font-weight:700}.membership-level-price div,.rcp-fee div{margin-left:10px}.rcp_form input[type=email],.rcp_form input[type=password],.rcp_form input[type=text]{padding:4px 8px;margin:0}.rcp_form input[type=checkbox]{float:left;margin:7px 8px 0 0}.rcp_form input[type=email]:focus,.rcp_form input[type=password]:focus,.rcp_form input[type=text]:focus{border-color:#aaa}.rcp_form input.error,.rcp_form input[type=email]:focus.error,.rcp_form input[type=password]:focus.error,.rcp_form input[type=text]:focus.error{border-color:#ffa5a5;-moz-box-shadow:0 0 3px #ffbfbf;-webkit-box-shadow:0 0 3px #ffbfbf;box-shadow:0 0 3px #ffbfbf}p.rcp_error{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #c00;margin:0 0 10px;padding:4px;background:#ffebe8;color:#333}p.rcp_error span,p.rcp_success span{margin:0!important;padding:10px}p.rcp_success{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #e6db55;margin:0 0 10px;padding:4px;background:#ffffe0;color:#333}.StripeElement--focus{border-color:#aaa}.StripeElement--invalid{border-color:#b01000}.StripeElement--webkit-autofill{background-color:#fefde5!important}#rcp-card-element-errors:not(:empty){margin-top:10px}span.rcp-gateway-saved-card-brand{text-transform:capitalize}.rcp-modal-wrapper{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.6);z-index:999;padding:5% 0 0;overflow-y:scroll;transition:display .5s ease;-webkit-transition:display .5s ease;-moz-transition:display .5s ease}.rcp-register-form-modal-wrapper{z-index:1999!important}.rcp-modal{background:#f5f5f7;box-shadow:0 12px 30px 0 rgba(0,0,0,.5),inset 0 1px 0 0 hsla(0,0%,100%,.65);margin:0 auto;border-radius:6px;padding:0;position:relative;max-width:450px}.rcp-modal-inner{padding:0 0 36px}.rcp-modal-header{background:#e8e9eb;border-top-left-radius:6px;border-top-right-radius:6px;padding:12px 36px;position:relative;text-align:center}.rcp-modal-close{background:#b7b7b7;border-radius:50%;color:#fff;cursor:pointer;font-size:20px;font-weight:700;line-height:25px;height:25px;width:25px;position:absolute;top:6px;right:6px;text-align:center}.rcp-modal-membership-name{font-weight:700}.rcp-modal-body{margin:20px 36px 0}.rcp-modal-body input[type=text]{display:block;width:100%}.rcp-modal #rcp_card_wrap label{display:none}.rcp-modal-submit{display:block;text-align:center;width:100%}#rcp_registration_form .rcp_gateway_braintree_fields .rcp_braintree_billing_info input[type=text]{width:30%} 1 input[type=submit]{cursor:pointer}#rcp_registration_form{padding:5px}.rcp_form fieldset{border:none;margin:0;padding:0}.rcp_form label{display:block;cursor:pointer}.rcp_form .rcp_gateway_option_label{display:inline-block;margin-right:10px}.rcp_form input.required{color:#000}.rcp_form p{margin:0 0 10px;min-height:20px}.rcp_form p br{display:none}.rcp_form ul{margin:0 0 15px;padding:0}.rcp_form li{list-style:none;margin:0 0 15px}.rcp_form #rcp_auto_renew_wrap{min-height:30px}.rcp_subscription_level label{width:auto;display:inline-block}.rcp_subscription_level .rcp_level{float:left;margin:5px 10px 0 0}.rcp_message{margin:0 0 15px}.rcp_level_description{border-left:1px solid #f0f0f0;padding-left:8px;font-size:12px}.rcp_discount_valid{color:#42961e}.rcp_discount_invalid{color:#b01000}.rcp_current_cards_fieldset span{display:block}div#rcp_card_name_wrap,div#rcp_card_wrap{margin-bottom:10px}.rcp-recurring-total td,.rcp-total td{border-top:none}#order_summary .rcp-ppe-confirm-price{text-align:right;width:70px}#order_summary tfoot th{text-align:right}#rcp-sandbox-gateway-test-cards{background:#f4f4f4;margin:0 0 1.5em;padding:1em}.rcp-table-wrapper{width:auto;max-width:1000px!important}body.twentytwentytwo-theme .wp-container-7 .rcp-table-wrapper{max-width:900px}body.twentytwentyone-theme .entry-content .rcp-table-wrapper{max-width:900px!important}.rcp-table th,body.twentytwentyone-theme .rcp-table td{border:none}body.hello-elementor .rcp-table tbody+tbody{border-top:none}body.hello-elementor table tbody tr:hover>td,body.hello-elementor table tbody tr:hover>th,body.hello-elementor table tbody>tr:nth-child(odd)>td,body.hello-elementor table tbody>tr:nth-child(odd)>th{background-color:transparent}table.rcp-table{width:auto}.rcp-table#rcp-account-overview,.rcp-table#rcp-payment-history{width:100%}.rcp-table a button{white-space:nowrap;margin-block:5px;cursor:pointer;font-size:.8em}.rcp-table thead tr td{font-weight:700}#rcp-account-overview td,#rcp-account-overview th,#rcp-payment-history td,#rcp-payment-history th{vertical-align:top;padding-inline:20px;text-align:left}@media screen and (max-width:900px){#rcp-table-wrapper{margin-inline:20px}.rcp-table tbody{display:block}.rcp-table tr{display:block}.rcp-table#rcp-account-overview thead th,.rcp-table#rcp-payment-history thead th{display:none}.rcp-table-wrapper .rcp-table tr td:before{margin-bottom:3px;content:attr(data-title);min-width:98px;font-size:1rem;line-height:10px;font-weight:700;text-transform:uppercase;display:block}.rcp-table td{display:block;margin-bottom:15px}}.rcp_subscription_message{font-weight:700}.rcp_registration_total_details .membership-amount{display:flex}.rcp_registration_total_details .membership-amount p{font-weight:700}.rcp_registration_total_details tr{display:flex;justify-content:space-between;width:400px;max-width:100%;border-bottom:1px solid #222;padding-block:10px}.rcp_registration_total_details .discounts-fees{font-weight:700}.rcp_form .rcp_user_fieldset input:not([type=checkbox]):not([type=submit]){width:100%;max-width:400px;padding-block:10px;border-radius:5px}#rcp_user_pass_requirements,.rcp_form label{font-size:max(.8rem,16px)}.rcp-renewal-date p,.rcp-total p{font-weight:700}.membership-level-price div,.rcp-fee div{margin-left:10px}.rcp_form input[type=email],.rcp_form input[type=password],.rcp_form input[type=text]{padding:4px 8px;margin:0}.rcp_form input[type=checkbox]{float:left;margin:7px 8px 0 0}.rcp_form input[type=email]:focus,.rcp_form input[type=password]:focus,.rcp_form input[type=text]:focus{border-color:#aaa}.rcp_form input.error,.rcp_form input[type=email]:focus.error,.rcp_form input[type=password]:focus.error,.rcp_form input[type=text]:focus.error{border-color:#ffa5a5;-moz-box-shadow:0 0 3px #ffbfbf;-webkit-box-shadow:0 0 3px #ffbfbf;box-shadow:0 0 3px #ffbfbf}p.rcp_error{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #c00;margin:0 0 10px;padding:4px;background:#ffebe8;color:#333}p.rcp_error span,p.rcp_success span{margin:0!important;padding:10px}p.rcp_success{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #e6db55;margin:0 0 10px;padding:4px;background:#ffffe0;color:#333}.StripeElement--focus{border-color:#aaa}.StripeElement--invalid{border-color:#b01000}.StripeElement--webkit-autofill{background-color:#fefde5!important}#rcp-card-element-errors:not(:empty){margin-top:10px}span.rcp-gateway-saved-card-brand{text-transform:capitalize}.rcp-modal-wrapper{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.6);z-index:999;padding:5% 0 0;overflow-y:scroll;transition:display .5s ease;-webkit-transition:display .5s ease;-moz-transition:display .5s ease}.rcp-register-form-modal-wrapper{z-index:1999!important}.rcp-modal{background:#f5f5f7;box-shadow:0 12px 30px 0 rgba(0,0,0,.5),inset 0 1px 0 0 hsla(0,0%,100%,.65);margin:0 auto;border-radius:6px;padding:0;position:relative;max-width:450px}.rcp-modal-inner{padding:0 0 36px}.rcp-modal-header{background:#e8e9eb;border-top-left-radius:6px;border-top-right-radius:6px;padding:12px 36px;position:relative;text-align:center}.rcp-modal-close{background:#b7b7b7;border-radius:50%;color:#fff;cursor:pointer;font-size:20px;font-weight:700;line-height:25px;height:25px;width:25px;position:absolute;top:6px;right:6px;text-align:center}.rcp-modal-membership-name{font-weight:700}.rcp-modal-body{margin:20px 36px 0}.rcp-modal-body input[type=text]{display:block;width:100%}.rcp-modal #rcp_card_wrap label{display:none}.rcp-modal-submit{display:block;text-align:center;width:100%}#rcp_registration_form .rcp_gateway_braintree_fields .rcp_braintree_billing_info input[type=text]{width:30%}.group-members-section{display:flex;flex-direction:column}.group-members-section ul{margin:0;padding:0}.group-members-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-block:10px}input#rcpga-members-search-input{width:unset}.group-accounts-table{border:2px solid #edf2f7;text-align:left;border-collapse:collapse}.group-accounts-table thead{background:#f7fafc}.group-accounts-table td,.group-accounts-table th{padding:.8em 1em}@media screen and (max-width:630px){.group-accounts-table td,.group-accounts-table th{padding:.8em 0 .8em 1em}.group-members-header{flex-direction:column-reverse;align-items:flex-start;gap:10px}} -
restrict-content/tags/3.2.11/core/includes/css/rcp-global-admin.css
r2820611 r3120662 20 20 color: #F9E26E; 21 21 } 22 23 /* Stellar Sale Banner 24 ---------------------------------------------------------------*/ 25 @font-face { 26 font-family: 'Neurial Grotesk'; 27 font-weight: 400; 28 src: url(../fonts/neurial-grotesk-regular.otf) format('opentype'); 29 } 30 31 @font-face { 32 font-family: 'Neurial Grotesk'; 33 font-weight: 700; 34 src: url(../fonts/neurial-grotesk-bold.otf) format('opentype'); 35 } 36 37 @import url('https://fonts.googleapis.com/css2?family=Inconsolata:[email protected]&display=swap'); 38 39 .notice.restrict-content-stellar-sale-notice { 40 background: #1D202F url(../images/stellar-sale23-in-app-graphic.png) no-repeat right bottom; 41 border: none; 42 color: #F9FAF9; 43 display: grid; 44 font-family: 'Neurial Grotesk', sans-serif; 45 grid-template-areas: 46 'header content content' 47 'button content content'; 48 min-height: 180px; 49 } 50 51 .notice.restrict-content-stellar-sale-notice .rcp-notice-header { 52 grid-area: header; 53 padding: 20px 0 0 40px; 54 } 55 56 .notice.restrict-content-stellar-sale-notice .rcp-notice-header h3 { 57 color: #F9FAF9; 58 line-height: 23px; 59 } 60 .notice.restrict-content-stellar-sale-notice .rcp-notice-header strong { 61 display: block; 62 font-size: 24px; 63 font-weight: 700; 64 margin-bottom: 13px; 65 } 66 .notice.restrict-content-stellar-sale-notice .rcp-notice-header span { 67 font-size: 22px; 68 font-weight: 400; 69 } 70 71 .notice.restrict-content-stellar-sale-notice .rcp-notice-button { 72 grid-area: button; 73 margin-top: -25px; 74 padding: 0 0 0 40px; 75 } 76 77 .notice.restrict-content-stellar-sale-notice .rcp-notice-button a { 78 background: #640AF8; 79 border-radius: 125px; 80 border: none; 81 color: #F9FAF9; 82 display: inline-block; 83 font-family: Inconsolata, monospace; 84 font-size: 13px; 85 letter-spacing: 1.337px; 86 margin-top: 2px; 87 padding: 12px 26px; 88 text-decoration: none; 89 text-transform: uppercase; 90 } 91 92 .notice.restrict-content-stellar-sale-notice .rcp-notice-content { 93 padding: 37px 0 0 40px; 94 grid-area: content; 95 } 96 97 .notice.restrict-content-stellar-sale-notice .rcp-notice-content p { 98 font-size: 14px; 99 line-height: 22px; 100 margin-bottom: 15px; 101 } 102 103 .notice.restrict-content-stellar-sale-notice .rcp-notice-content a { 104 color: #F9FAF9; 105 font-size: 14px; 106 font-weight: 700; 107 line-height: 22px; 108 text-decoration: underline; 109 } 110 111 .notice.restrict-content-stellar-sale-notice .rcp-notice-content a:hover { 112 text-decoration: none; 113 } 114 115 .notice.restrict-content-stellar-sale-notice .notice-dismiss::before { 116 background: url(../images/close.svg) no-repeat; 117 content: ""; 118 height: 20px; 119 margin: 10px 10px 0 0; 120 width: 20px; 121 } 122 123 @media (max-width: 1430px) { 124 .notice.restrict-content-stellar-sale-notice { 125 background-position: right 0 bottom -45px; 126 } 127 } 128 129 @media (max-width: 1100px) { 130 .notice.restrict-content-stellar-sale-notice { 131 background-position: right -20px bottom -45px; 132 } 133 134 .notice.restrict-content-stellar-sale-notice .rcp-notice-button { 135 margin-top: 0; 136 padding-bottom: 25px; 137 } 138 } 139 140 @media (max-width: 782px) { 141 .notice.restrict-content-stellar-sale-notice { 142 background-position: right -160px bottom 0; 143 grid-template-areas: 144 'header header header header' 145 'button content content content'; 146 } 147 148 .notice.restrict-content-stellar-sale-notice .rcp-notice-button { 149 max-width: 150px; 150 } 151 152 .notice.restrict-content-stellar-sale-notice .rcp-notice-content { 153 padding: 0; 154 margin: 10px 0 0; 155 } 156 157 .notice.restrict-content-stellar-sale-notice .rcp-notice-content p { 158 display: none; 159 } 160 } 161 162 @media (max-width: 530px) { 163 .notice.restrict-content-stellar-sale-notice { 164 background-position: right -190px bottom 0; 165 } 166 } 167 168 @media (max-width: 460px) { 169 .notice.restrict-content-stellar-sale-notice { 170 background-position: right -210px bottom -70px; 171 grid-template-areas: 172 'header' 173 'button'; 174 } 175 176 .notice.restrict-content-stellar-sale-notice .rcp-notice-content { 177 display: none; 178 } 179 180 .notice.restrict-content-stellar-sale-notice .rcp-notice-button { 181 max-width: 100%; 182 } 183 } -
restrict-content/tags/3.2.11/core/includes/css/rcp-global-admin.min.css
r2990129 r3120662 1 .notice.restrict-content-bfcm-notice{background:#4204a7;color:#fff;text-align:center;font-family:Helvetica;display:flex;justify-content:center;align-items:center;font-size:1rem;padding-block:10px}.notice.restrict-content-bfcm-notice img{margin-right:10px}.notice.restrict-content-bfcm-notice a{color:#f9e26e} 1 .notice.restrict-content-bfcm-notice{background:#4204a7;color:#fff;text-align:center;font-family:Helvetica;display:flex;justify-content:center;align-items:center;font-size:1rem;padding-block:10px}.notice.restrict-content-bfcm-notice img{margin-right:10px}.notice.restrict-content-bfcm-notice a{color:#f9e26e}@font-face{font-family:'Neurial Grotesk';font-weight:400;src:url(../fonts/neurial-grotesk-regular.otf) format('opentype')}@font-face{font-family:'Neurial Grotesk';font-weight:700;src:url(../fonts/neurial-grotesk-bold.otf) format('opentype')}.notice.restrict-content-stellar-sale-notice{background:#1d202f url(../images/stellar-sale23-in-app-graphic.png) no-repeat right bottom;border:none;color:#f9faf9;display:grid;font-family:'Neurial Grotesk',sans-serif;grid-template-areas:'header content content' 'button content content';min-height:180px}.notice.restrict-content-stellar-sale-notice .rcp-notice-header{grid-area:header;padding:20px 0 0 40px}.notice.restrict-content-stellar-sale-notice .rcp-notice-header h3{color:#f9faf9;line-height:23px}.notice.restrict-content-stellar-sale-notice .rcp-notice-header strong{display:block;font-size:24px;font-weight:700;margin-bottom:13px}.notice.restrict-content-stellar-sale-notice .rcp-notice-header span{font-size:22px;font-weight:400}.notice.restrict-content-stellar-sale-notice .rcp-notice-button{grid-area:button;margin-top:-25px;padding:0 0 0 40px}.notice.restrict-content-stellar-sale-notice .rcp-notice-button a{background:#640af8;border-radius:125px;border:none;color:#f9faf9;display:inline-block;font-family:Inconsolata,monospace;font-size:13px;letter-spacing:1.337px;margin-top:2px;padding:12px 26px;text-decoration:none;text-transform:uppercase}.notice.restrict-content-stellar-sale-notice .rcp-notice-content{padding:37px 0 0 40px;grid-area:content}.notice.restrict-content-stellar-sale-notice .rcp-notice-content p{font-size:14px;line-height:22px;margin-bottom:15px}.notice.restrict-content-stellar-sale-notice .rcp-notice-content a{color:#f9faf9;font-size:14px;font-weight:700;line-height:22px;text-decoration:underline}.notice.restrict-content-stellar-sale-notice .rcp-notice-content a:hover{text-decoration:none}.notice.restrict-content-stellar-sale-notice .notice-dismiss::before{background:url(../images/close.svg) no-repeat;content:"";height:20px;margin:10px 10px 0 0;width:20px}@media (max-width:1430px){.notice.restrict-content-stellar-sale-notice{background-position:right 0 bottom -45px}}@media (max-width:1100px){.notice.restrict-content-stellar-sale-notice{background-position:right -20px bottom -45px}.notice.restrict-content-stellar-sale-notice .rcp-notice-button{margin-top:0;padding-bottom:25px}}@media (max-width:782px){.notice.restrict-content-stellar-sale-notice{background-position:right -160px bottom 0;grid-template-areas:'header header header header' 'button content content content'}.notice.restrict-content-stellar-sale-notice .rcp-notice-button{max-width:150px}.notice.restrict-content-stellar-sale-notice .rcp-notice-content{padding:0;margin:10px 0 0}.notice.restrict-content-stellar-sale-notice .rcp-notice-content p{display:none}}@media (max-width:530px){.notice.restrict-content-stellar-sale-notice{background-position:right -190px bottom 0}}@media (max-width:460px){.notice.restrict-content-stellar-sale-notice{background-position:right -210px bottom -70px;grid-template-areas:'header' 'button'}.notice.restrict-content-stellar-sale-notice .rcp-notice-content{display:none}.notice.restrict-content-stellar-sale-notice .rcp-notice-button{max-width:100%}} -
restrict-content/tags/3.2.11/core/includes/gateways/class-rcp-payment-gateway.php
r2642097 r3120662 4 4 * 5 5 * You can extend this class to add support for a custom gateway. 6 * @link http://docs.restrictcontentpro.com/article/1695-payment-gateway-api 6 * 7 * @link https://restrictcontentpro.com/knowledgebase/payment-gateway-api/ 7 8 * 8 9 * @package Restrict Content Pro … … 13 14 */ 14 15 16 /** 17 * Payment Gateway Base Class. 18 * 19 * @since 2.1 20 */ 15 21 class RCP_Payment_Gateway { 16 22 -
restrict-content/tags/3.2.11/core/includes/gateways/stripe/js/profile.min.js
r2758301 r3120662 1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){var r,n,a=document.getElementById("rcp-card-wrapper");if(a){let e=jQuery;document.getElementById("rcp-card-element")&&document.getElementById("rcp-card-element-errors")||(a.innerHTML="",(r=document.createElement("div")).id="rcp-card-element-errors",(n=document.createElement("div")).id="rcp-card-element",a.appendChild(n),a.appendChild(r)),rcpStripeUpdateElementStyles(rcpStripe.elements.card,".rcp_card_name"),rcpStripe.elements.card.mount("#rcp-card-element"),rcpStripe.elements.card.addEventListener("change",rcpStripeToggleElementErrors);let t=e('input[name="rcp_gateway_existing_payment_method"]'),c=e(".rcp-gateway-new-card-fields");t.on("change",(function(){"new"===e('input[name="rcp_gateway_existing_payment_method"]:checked').val()?c.show():c.hide()})),t.trigger("change");var i={init:function(){e(".rcp-gateway-saved-card-delete").on("click","a",i.delete)},delete:function(t){if(t.preventDefault(),!confirm(rcp_stripe_script_options.confirm_delete_card))return!1;let r=e(this),n=e("#rcp-card-element-errors");r.data("text",r.text()).text(rcp_stripe_script_options.pleasewait),n.empty(),e.ajax({type:"post",dataType:"json",url:rcp_stripe_script_options.ajaxurl,data:{action:"rcp_stripe_delete_saved_payment_method",payment_method_id:r.data("id"),nonce:r.data("nonce")},xhrFields:{withCredentials:!0},success:function(e){e.success?r.parents("li").remove():(console.log(e),n.append('<div class="rcp_message error"><p class="rcp_error"><span>'+e.data+"</span></p></div>"),r.text(r.data("text")))}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}};i.init()}function c(e,t=""){""!==t&&void 0!==rcpStripe.errors[t]&&(e=rcpStripe.errors[t]),jQuery("#rcp_update_card_form").unblock(),rcpStripeToggleElementErrors({error:{message:e}}),jQuery("#rcp_submit").prop("disabled",!1)}var p=document.getElementById("rcp_update_card_form");p.addEventListener("submit",(function e(t){t.preventDefault();let r=document.querySelector(".rcp_card_name").value,n=jQuery("#rcp_submit"),a=jQuery("#rcp_update_card_form"),i=jQuery('input[name="rcp_gateway_existing_payment_method"]:checked').val();(i="new"!==i&&i)||""!==r?(n.prop("disabled",!0),a.block({message:rcp_stripe_script_options.pleasewait,css:{border:"none",padding:"15px",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px",opacity:.5,color:"#fff"}}),jQuery.ajax({type:"post",dataType:"json",url:rcp_stripe_script_options.ajaxurl,data:{action:"rcp_stripe_create_setup_intent_for_saved_card",membership_id:jQuery('input[name="rcp_membership_id"]').val(),payment_method_id:i||"new"},success:function(t){if(t.success){let d={payment_method:{card:rcpStripe.elements.card,billing_details:{name:r}}};i&&(d={payment_method:i});var n="payment_intent"===t.data.payment_intent_object?"confirmCardPayment":"confirmCardSetup";a=t.data.payment_intent_client_secret,o=d,rcpStripe.Stripe[n](a,o).then((function(r){if(r.error)c(r.error.message,r.error.code);else{r=t;let n=document.createElement("input"),a=(n.value=r.data.payment_intent_id,n.type="hidden",n.name="stripe_payment_intent_id",p.appendChild(n),document.createElement("input"));a.value=r.data.payment_intent_object,a.type="hidden",a.name="stripe_payment_intent_object",p.appendChild(a),p.removeEventListener("submit",e),p.submit()}}))}else c(t.data);var a,o}})):c(rcp_stripe_script_options.enter_card_name)}))}]); 2 //# sourceMappingURL=profile.min.js.map 1 function rcpStripeSubmitBillingCardUpdate(e){e.preventDefault();let t=document.querySelector(".rcp_card_name").value,r=jQuery("#rcp_submit"),n=jQuery("#rcp_update_card_form"),a=jQuery('input[name="rcp_gateway_existing_payment_method"]:checked').val();"new"===a&&(a=!1),a||""!==t?(r.prop("disabled",!0),n.block({message:rcp_stripe_script_options.pleasewait,css:{border:"none",padding:"15px",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px",opacity:.5,color:"#fff"}}),jQuery.ajax({type:"post",dataType:"json",url:rcp_stripe_script_options.ajaxurl,data:{action:"rcp_stripe_create_setup_intent_for_saved_card",membership_id:jQuery('input[name="rcp_membership_id"]').val(),payment_method_id:a||"new"},success:function(e){if(e.success){let r={payment_method:{card:rcpStripe.elements.card,billing_details:{name:t}}};a&&(r={payment_method:a}),rcpStripeHandleIntent("payment_intent"===e.data.payment_intent_object?"confirmCardPayment":"confirmCardSetup",e.data.payment_intent_client_secret,r).then((function(t){t.error?rcpStripeHandleCardUpdateError(t.error.message,t.error.code):rcpStripeHandleCardUpdateSuccess(e)}))}else rcpStripeHandleCardUpdateError(e.data)}})):rcpStripeHandleCardUpdateError(rcp_stripe_script_options.enter_card_name)}function rcpStripeHandleIntent(e,t,r){return rcpStripe.Stripe[e](t,r)}function rcpStripeHandleCardUpdateSuccess(e){let t=document.createElement("input");t.value=e.data.payment_intent_id,t.type="hidden",t.name="stripe_payment_intent_id",form.appendChild(t);let r=document.createElement("input");r.value=e.data.payment_intent_object,r.type="hidden",r.name="stripe_payment_intent_object",form.appendChild(r),form.removeEventListener("submit",rcpStripeSubmitBillingCardUpdate),form.submit()}function rcpStripeHandleCardUpdateError(e,t=""){""!==t&&void 0!==rcpStripe.errors[t]&&(e=rcpStripe.errors[t]),jQuery("#rcp_update_card_form").unblock(),rcpStripeToggleElementErrors({error:{message:e}}),jQuery("#rcp_submit").prop("disabled",!1)}!function(){var e=document.getElementById("rcp-card-wrapper");if(!e)return;let t=jQuery;if(!document.getElementById("rcp-card-element")||!document.getElementById("rcp-card-element-errors")){e.innerHTML="";var r=document.createElement("div");r.id="rcp-card-element-errors";var n=document.createElement("div");n.id="rcp-card-element",e.appendChild(n),e.appendChild(r)}rcpStripeUpdateElementStyles(rcpStripe.elements.card,".rcp_card_name"),rcpStripe.elements.card.mount("#rcp-card-element"),rcpStripe.elements.card.addEventListener("change",rcpStripeToggleElementErrors);let a=t('input[name="rcp_gateway_existing_payment_method"]'),p=t(".rcp-gateway-new-card-fields");a.on("change",(function(){"new"===t('input[name="rcp_gateway_existing_payment_method"]:checked').val()?p.show():p.hide()})),a.trigger("change");var i={init:function(){t(".rcp-gateway-saved-card-delete").on("click","a",i.delete)},delete:function(e){if(e.preventDefault(),!confirm(rcp_stripe_script_options.confirm_delete_card))return!1;let r=t(this),n=t("#rcp-card-element-errors");r.data("text",r.text()).text(rcp_stripe_script_options.pleasewait),n.empty(),t.ajax({type:"post",dataType:"json",url:rcp_stripe_script_options.ajaxurl,data:{action:"rcp_stripe_delete_saved_payment_method",payment_method_id:r.data("id"),nonce:r.data("nonce")},xhrFields:{withCredentials:!0},success:function(e){e.success?r.parents("li").remove():(console.log(e),n.append('<div class="rcp_message error"><p class="rcp_error"><span>'+e.data+"</span></p></div>"),r.text(r.data("text")))}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}};i.init()}();var form=document.getElementById("rcp_update_card_form");form.addEventListener("submit",rcpStripeSubmitBillingCardUpdate); -
restrict-content/tags/3.2.11/core/includes/js/restrict-content-pro-admin-notices.js
r2820611 r3120662 37 37 }); 38 38 }); 39 39 40 40 $( document ).on( 'click', '.restrict-content-bfcm-notice .notice-dismiss', function() { 41 41 $.ajax({ … … 55 55 }); 56 56 }); 57 58 $( document ).on( 'click', '.restrict-content-stellar-sale-notice .notice-dismiss', function() { 59 $.ajax({ 60 url: ajaxurl, 61 method: 'POST', 62 data: { 63 action: 'rcp_ajax_dismissed_notice_handler', 64 name: 'restrict-content-stellar-sale-notice', 65 rcp_nonce: rcp_admin_notices_vars.rcp_dismissed_nonce 66 } 67 }); 68 }); 57 69 }); -
restrict-content/tags/3.2.11/core/includes/js/restrict-content-pro-admin-notices.min.js
r2990129 r3120662 1 jQuery(document).ready((function(n){n(document).on("click",".rcp-plugin-migration-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"rcp-plugin-migration-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-upgrade-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-upgrade-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-bfcm-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-bfcm-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})) }));1 jQuery(document).ready((function(n){n(document).on("click",".rcp-plugin-migration-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"rcp-plugin-migration-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-upgrade-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-upgrade-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-bfcm-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-bfcm-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-stellar-sale-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-stellar-sale-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce}})}))})); -
restrict-content/tags/3.2.11/core/includes/scripts.php
r2990129 r3120662 113 113 114 114 // RCP Admin Notices Script Inclusion and Localization - Notice Dismissal 115 if ( ! get_option( 'dismissed-rcp-plugin-migration-notice', false ) ) { 116 wp_enqueue_script( 'restrict-content-pro-admin-notices', RCP_PLUGIN_URL . 'core/includes/js/restrict-content-pro-admin-notices' . $suffix . '.js', array( 'jquery' ), RCP_PLUGIN_VERSION ); 117 wp_localize_script( 118 'restrict-content-pro-admin-notices', 119 'rcp_admin_notices_vars', 120 array( 121 'rcp_dismissed_nonce' => wp_create_nonce( 'rcp_dismissed_nonce' ), 122 ) 123 ); 124 } 125 126 // RCP Admin Notices Script Inclusion and Localization - Notice Dismissal 127 if ( ! get_option( 'dismissed-restrict-content-upgrade-notice', false ) ) { 128 wp_enqueue_script( 'restrict-content-pro-admin-notices', RCP_PLUGIN_URL . 'core/includes/js/restrict-content-pro-admin-notices.js', array( 'jquery' ), RCP_PLUGIN_VERSION ); 129 wp_localize_script( 130 'restrict-content-pro-admin-notices', 131 'rcp_admin_notices_vars', 132 array( 133 'rcp_dismissed_nonce' => wp_create_nonce( 'rcp_dismissed_nonce' ), 134 ) 135 ); 136 } 137 138 // RCP Black Friday Notice Script Inclusion and Localization - Notice Dismissal 139 if ( ! get_option( 'dismissed-restrict-content-bfcm-notice', false ) ) { 140 wp_enqueue_script( 'restrict-content-pro-admin-notices', RCP_PLUGIN_URL . 'core/includes/js/restrict-content-pro-admin-notices.js', array( 'jquery' ), RCP_PLUGIN_VERSION ); 141 wp_localize_script( 142 'restrict-content-pro-admin-notices', 143 'rcp_admin_notices_vars', 144 array( 145 'rcp_dismissed_nonce' => wp_create_nonce( 'rcp_dismissed_nonce' ), 146 ) 147 ); 148 } 149 115 if ( 116 get_option( 'dismissed-rcp-plugin-migration-notice', false ) 117 && get_option( 'dismissed-restrict-content-upgrade-notice', false ) 118 && get_option( 'dismissed-restrict-content-bfcm-notice', false ) 119 && get_option( 'dismissed-restrict-content-stellar-sale-notice', false ) 120 ) { 121 return; 122 } 123 124 wp_enqueue_script( 125 'restrict-content-pro-admin-notices', 126 RCP_PLUGIN_URL . 'core/includes/js/restrict-content-pro-admin-notices' . $suffix . '.js', 127 [ 128 'jquery', 129 ], 130 RCP_PLUGIN_VERSION 131 ); 132 133 wp_localize_script( 134 'restrict-content-pro-admin-notices', 135 'rcp_admin_notices_vars', 136 [ 137 'rcp_dismissed_nonce' => wp_create_nonce( 'rcp_dismissed_nonce' ), 138 ] 139 ); 150 140 } 151 141 add_action( 'admin_enqueue_scripts', 'rcp_admin_scripts' ); … … 183 173 wp_enqueue_style( 'rcp-admin', RCP_PLUGIN_URL . 'core/includes/css/admin-styles' . $suffix . '.css', array(), RCP_PLUGIN_VERSION ); 184 174 } 175 176 wp_enqueue_style( 'rcp-global-admin', RCP_PLUGIN_URL . 'core/includes/css/rcp-global-admin' . $suffix . '.css', [], RCP_PLUGIN_VERSION ); 185 177 } 186 178 add_action( 'admin_enqueue_scripts', 'rcp_admin_styles' ); … … 345 337 $name = sanitize_text_field( $_POST['name'] ); 346 338 347 if ( $name === 'rcp-plugin-migration-notice' ) { 348 update_option( 'dismissed-' . $name, true ); 349 } elseif ( $name === 'restrict-content-upgrade-notice' ) { 350 update_option( 'dismissed-' . $name, true ); 351 } elseif ( $name === 'restrict-content-bfcm-notice' ) { 352 update_option( 'dismissed-' . $name, true ); 353 } 339 // Only dismiss certain notices. 340 $notices = [ 341 'rcp-plugin-migration-notice', 342 'restrict-content-upgrade-notice', 343 'restrict-content-bfcm-notice', 344 'restrict-content-stellar-sale-notice', 345 ]; 346 347 if ( ! in_array( $name, $notices, true ) ) { 348 return; 349 } 350 351 // Dismiss the notice. 352 update_option( 'dismissed-' . $name, true ); 354 353 } 355 354 -
restrict-content/tags/3.2.11/core/templates/card-form-full.php
r2642097 r3120662 7 7 * requires a full billing address. 8 8 * 9 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 10 10 * 11 11 * @package Restrict Content Pro … … 14 14 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 15 15 */ 16 16 17 ?> 17 18 -
restrict-content/tags/3.2.11/core/templates/card-form.php
r2642097 r3120662 6 6 * form when selecting a gateway that supports taking credit/debit card details directly. 7 7 * 8 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 9 9 * 10 10 * @package Restrict Content Pro … … 13 13 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 14 14 */ 15 15 16 ?> 16 17 -
restrict-content/tags/3.2.11/core/templates/card-update-form-fields.php
r3032297 r3120662 12 12 * @see RCP_Payment_Gateway::update_card_fields() 13 13 * 14 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files14 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 15 15 * 16 16 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/card-update-form.php
r3032297 r3120662 7 7 * @link https://restrictcontentpro.com/knowledgebase/rcp_update_card 8 8 * 9 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 10 10 * 11 11 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/change-password.php
r2642097 r3120662 5 5 * This form is for changing an account password. 6 6 * 7 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 8 8 * 9 9 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/comments-no-access.php
r2642097 r3120662 7 7 * to read comments on restricted posts. 8 8 * 9 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 10 10 * 11 11 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/emails/body.php
r2642097 r3120662 5 5 * Use {email} as a placeholder for the content entered in Restrict > Settings > Emails. 6 6 * 7 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 8 8 * 9 9 * @package Restrict Content Pro … … 14 14 */ 15 15 16 17 16 // Exit if accessed directly 18 17 if ( ! defined( 'ABSPATH' ) ) exit; 19 20 18 21 19 // {email} is replaced by the content entered in Restrict > Settings > Emails -
restrict-content/tags/3.2.11/core/templates/emails/footer.php
r2642097 r3120662 3 3 * Email Footer for the Default Template 4 4 * 5 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files5 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 6 6 * 7 7 * @package Restrict Content Pro … … 12 12 */ 13 13 14 15 14 // Exit if accessed directly 16 15 if ( ! defined( 'ABSPATH' ) ) exit; 17 18 16 19 17 // For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline. -
restrict-content/tags/3.2.11/core/templates/emails/header.php
r2642097 r3120662 3 3 * Email Header for the Default Template 4 4 * 5 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files5 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 6 6 * 7 7 * @package Restrict Content Pro … … 11 11 * @since 2.7 12 12 */ 13 14 13 15 14 // Exit if accessed directly -
restrict-content/tags/3.2.11/core/templates/invoice.php
r2642097 r3120662 5 5 * Template for displaying invoice details. 6 6 * 7 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 8 8 * 9 9 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/login.php
r2642097 r3120662 6 6 * @link http://docs.restrictcontentpro.com/article/1598-loginform 7 7 * 8 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 9 9 * 10 10 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/lostpassword.php
r2642097 r3120662 6 6 * when a user clicks the "lost your password" link. 7 7 * 8 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 9 9 * 10 10 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/lostpassword_checkemail.php
r2642097 r3120662 5 5 * This message is shown after filling out the lost password form. 6 6 * 7 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 8 8 * 9 9 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/paypal-express-confirm.php
r2642097 r3120662 6 6 * asked to confirm the subscription details. 7 7 * 8 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 9 9 * 10 10 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/profile-editor.php
r3032297 r3120662 7 7 * @link https://restrictcontentpro.com/knowledgebase/rcp_profile_editor 8 8 * 9 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 10 10 * 11 11 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/register-common.php
r3032297 r3120662 9 9 * @link https://restrictcontentpro.com/knowledgebase/register_form 10 10 * 11 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files11 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 12 12 * 13 13 * @package Restrict Content Pro … … 158 158 $do_we_have_levels = isset( $levels ); 159 159 160 if ( $do_we_have_levels ) { 160 if ( $do_we_have_levels ) { 161 161 do_action( 'rcp_after_register_form_fields', $levels ); 162 162 } else { … … 273 273 274 274 <?php 275 if ( $do_we_have_levels ) { 275 if ( $do_we_have_levels ) { 276 276 do_action( 'rcp_before_registration_submit_field', $levels ); 277 277 } else { -
restrict-content/tags/3.2.11/core/templates/register-single.php
r3032297 r3120662 8 8 * @link https://restrictcontentpro.com/knowledgebase/register_form 9 9 * 10 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files10 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 11 11 * 12 12 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/register-total-details.php
r3032297 r3120662 8 8 * @link https://restrictcontentpro.com/knowledgebase/register_form 9 9 * 10 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files10 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 11 11 * 12 12 * @since 3.4 Show discount information below fees if "Discount Signup Fees" is enabled. … … 39 39 <th>Membership Details</th> 40 40 </tr> 41 41 42 42 </thead> 43 43 … … 46 46 <td><?php _e( 'Membership', 'rcp' ); ?></td> 47 47 <td data-title="Membership" data-th="<?php esc_attr_e( 'Membership', 'rcp' ); ?>"><?php echo esc_html( $membership_level->get_name() ); ?></td> 48 48 49 49 </tr> 50 50 51 51 <tr class="membership-level-price"> 52 52 <td><?php _e( 'Amount', 'rcp' ); ?></td> -
restrict-content/tags/3.2.11/core/templates/register.php
r3032297 r3120662 8 8 * @link https://restrictcontentpro.com/knowledgebase/register_form 9 9 * 10 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files10 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 11 11 * 12 12 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/subscription.php
r3032297 r3120662 7 7 * @link https://restrictcontentpro.com/knowledgebase/subscription_details 8 8 * 9 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 10 10 * 11 11 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/core/templates/woocommerce-single-no-access.php
r2642097 r3120662 6 6 * tries to view a restricted product. 7 7 * 8 * For modifying this template, please see: http ://docs.restrictcontentpro.com/article/1738-template-files8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/ 9 9 * 10 10 * @package Restrict Content Pro -
restrict-content/tags/3.2.11/lang/restrict-content.pot
r3071905 r3120662 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Restrict Content 3.2.1 0\n"5 "Project-Id-Version: Restrict Content 3.2.11-release/R24.caramellos-dbf93d6\n" 6 6 "Report-Msgid-Bugs-To: http://ithemes.com/support/\n" 7 "POT-Creation-Date: 2024-0 4-16 18:19:34+00:00\n"7 "POT-Creation-Date: 2024-07-16 23:15:57+00:00\n" 8 8 "PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n" 9 9 "MIME-Version: 1.0\n" … … 154 154 msgstr "" 155 155 156 #: core/includes/admin/admin-notices.php:84 157 msgid "The Authorize.net payment gateway has been removed from the main Restrict Content Pro plugin. To continue processing payments with this gateway you need to install the new Authorize.net add-on. Once installed, please follow the instructions to <a href=\"%s\" target=\"_blank\">enter your signature key</a> and <a href=\"%s\" target=\"_blank\">set up a webhook</a>." 158 msgstr "" 159 160 #: core/includes/admin/admin-notices.php:85 156 #. translators: 1: URL to the Authorize.net documentation. 157 158 #: core/includes/admin/admin-notices.php:86 159 msgid "The Authorize.net payment gateway has been removed from the main Restrict Content Pro plugin. To continue processing payments with this gateway you need to install the new Authorize.net add-on. Once installed, please follow the instructions to <a href=\"%1$s\" target=\"_blank\">enter your signature key</a> and <a href=\"%1$s\" target=\"_blank\">set up a webhook</a>." 160 msgstr "" 161 162 #: core/includes/admin/admin-notices.php:94 161 163 msgid "Install" 162 164 msgstr "" 163 165 164 #: core/includes/admin/admin-notices.php: 92166 #: core/includes/admin/admin-notices.php:101 165 167 msgid "Restrict Content Pro: Support for Stripe Checkout is ending in version 3.2" 166 168 msgstr "" 167 169 168 #: core/includes/admin/admin-notices.php:93 170 #. translators: %s URL to the Stripe documentation. 171 172 #: core/includes/admin/admin-notices.php:105 169 173 msgid "Stripe will not be updating the Stripe Checkout modal to comply with Strong Customer Authentication (SCA) and as a result, the Stripe Checkout gateway will be removed from Restrict Content Pro in version 3.2. You will automatically be switched over to our Stripe Elements gateway instead. This will affect the appearance of your registration form, but will not impact payment processing or renewals. <a href=\"%s\" target=\"_blank\">Click here to learn more.</a>" 170 174 msgstr "" 171 175 172 #: core/includes/admin/admin-notices.php:1 02176 #: core/includes/admin/admin-notices.php:123 173 177 msgid "Restrict Content Pro will not send emails because the %s constant is active. Remove it from your code to re-enable email notifications. (Emails generated by other plugins or WordPress core are not affected.)" 174 178 msgstr "" 175 179 176 #: core/includes/admin/admin-notices.php:1 10180 #: core/includes/admin/admin-notices.php:131 177 181 msgid "Payment deleted" 178 182 msgstr "" 179 183 180 #: core/includes/admin/admin-notices.php:1 15184 #: core/includes/admin/admin-notices.php:136 181 185 msgid "Payment added" 182 186 msgstr "" 183 187 184 #: core/includes/admin/admin-notices.php:1 20188 #: core/includes/admin/admin-notices.php:141 185 189 msgid "Payment creation failed" 186 190 msgstr "" 187 191 188 #: core/includes/admin/admin-notices.php:1 26192 #: core/includes/admin/admin-notices.php:147 189 193 msgid "Payment updated" 190 194 msgstr "" 191 195 192 #: core/includes/admin/admin-notices.php:1 31196 #: core/includes/admin/admin-notices.php:152 193 197 msgid "Payment update failed" 194 198 msgstr "" 195 199 196 #: core/includes/admin/admin-notices.php:1 41200 #: core/includes/admin/admin-notices.php:162 197 201 msgid "Database upgrade complete" 198 202 msgstr "" 199 203 200 #: core/includes/admin/admin-notices.php:1 51204 #: core/includes/admin/admin-notices.php:172 201 205 msgid "The user's membership has been added" 202 206 msgstr "" 203 207 204 #: core/includes/admin/admin-notices.php:1 56208 #: core/includes/admin/admin-notices.php:177 205 209 msgid "The user's membership could not be added" 206 210 msgstr "" 207 211 208 #: core/includes/admin/admin-notices.php:1 62212 #: core/includes/admin/admin-notices.php:183 209 213 msgid "Member accounts updated" 210 214 msgstr "" 211 215 212 #: core/includes/admin/admin-notices.php:1 67216 #: core/includes/admin/admin-notices.php:188 213 217 msgid "Member's payment profile cancelled successfully" 214 218 msgstr "" 215 219 216 #: core/includes/admin/admin-notices.php:1 71220 #: core/includes/admin/admin-notices.php:192 217 221 msgid "The member's payment profile could not be cancelled. Please see the member's user notes for details." 218 222 msgstr "" 219 223 220 #: core/includes/admin/admin-notices.php:1 77224 #: core/includes/admin/admin-notices.php:198 221 225 msgid "Verification email sent successfully." 222 226 msgstr "" 223 227 224 #: core/includes/admin/admin-notices.php: 182228 #: core/includes/admin/admin-notices.php:203 225 229 msgid "The user's email has been verified successfully" 226 230 msgstr "" 227 231 228 #: core/includes/admin/admin-notices.php: 192232 #: core/includes/admin/admin-notices.php:213 229 233 msgid "Customer added" 230 234 msgstr "" 231 235 232 #: core/includes/admin/admin-notices.php: 197236 #: core/includes/admin/admin-notices.php:218 233 237 msgid "Customer updated" 234 238 msgstr "" 235 239 236 #: core/includes/admin/admin-notices.php:202 240 #: core/includes/admin/admin-notices.php:223 241 #: core/includes/admin/admin-notices.php:269 242 msgid "Note added" 243 msgstr "" 244 245 #: core/includes/admin/admin-notices.php:228 246 msgid "Customer deleted" 247 msgstr "" 248 249 #: core/includes/admin/admin-notices.php:238 250 msgid "Membership added" 251 msgstr "" 252 253 #: core/includes/admin/admin-notices.php:243 254 msgid "Membership updated" 255 msgstr "" 256 237 257 #: core/includes/admin/admin-notices.php:248 238 msgid "Note added"239 msgstr ""240 241 #: core/includes/admin/admin-notices.php:207242 msgid "Customer deleted"243 msgstr ""244 245 #: core/includes/admin/admin-notices.php:217246 msgid "Membership added"247 msgstr ""248 249 #: core/includes/admin/admin-notices.php:222250 msgid "Membership updated"251 msgstr ""252 253 #: core/includes/admin/admin-notices.php:227254 258 msgid "Membership level changed" 255 259 msgstr "" 256 260 257 #: core/includes/admin/admin-notices.php:2 32261 #: core/includes/admin/admin-notices.php:253 258 262 msgid "Membership has been expired. The customer no longer has access to associated content." 259 263 msgstr "" 260 264 261 #: core/includes/admin/admin-notices.php:2 37265 #: core/includes/admin/admin-notices.php:258 262 266 msgid "Membership cancelled. The customer will retain access until they reach their expiration date." 263 267 msgstr "" 264 268 265 #: core/includes/admin/admin-notices.php:2 42269 #: core/includes/admin/admin-notices.php:263 266 270 msgid "Membership cancellation failed: %s" 267 271 msgstr "" 268 272 269 #: core/includes/admin/admin-notices.php:2 42273 #: core/includes/admin/admin-notices.php:263 270 274 msgid "Membership cancellation failed" 271 275 msgstr "" 272 276 273 #: core/includes/admin/admin-notices.php:2 53277 #: core/includes/admin/admin-notices.php:274 274 278 msgid "Membership deleted" 275 279 msgstr "" 276 280 277 #: core/includes/admin/admin-notices.php:2 63281 #: core/includes/admin/admin-notices.php:284 278 282 msgid "Failed to change auto renew settings." 279 283 msgstr "" 280 284 281 #: core/includes/admin/admin-notices.php:2 76285 #: core/includes/admin/admin-notices.php:297 282 286 msgid "Membership level added" 283 287 msgstr "" 284 288 285 #: core/includes/admin/admin-notices.php: 281289 #: core/includes/admin/admin-notices.php:302 286 290 msgid "Membership level updated" 287 291 msgstr "" 288 292 289 #: core/includes/admin/admin-notices.php: 286293 #: core/includes/admin/admin-notices.php:307 290 294 #: core/includes/membership-levels/membership-level-functions.php:239 291 295 #: core/includes/membership-levels/membership-level-functions.php:348 … … 293 297 msgstr "" 294 298 295 #: core/includes/admin/admin-notices.php: 292299 #: core/includes/admin/admin-notices.php:313 296 300 msgid "Invalid fee: the membership level price must be a valid positive number." 297 301 msgstr "" 298 302 299 #: core/includes/admin/admin-notices.php:298 303 #. translators: %s Link to the documentation. 304 305 #: core/includes/admin/admin-notices.php:320 300 306 msgid "Invalid trial: a membership level with a trial must have a price and duration greater than zero. Please see <a href=\"%s\">the documentation article on creating trials</a> for further instructions." 301 307 msgstr "" 302 308 303 #: core/includes/admin/admin-notices.php:3 04309 #: core/includes/admin/admin-notices.php:326 304 310 #: core/includes/membership-levels/membership-level-functions.php:230 305 311 #: core/includes/membership-levels/membership-level-functions.php:339 … … 307 313 msgstr "" 308 314 309 #: core/includes/admin/admin-notices.php:3 10315 #: core/includes/admin/admin-notices.php:332 310 316 #: core/includes/membership-levels/membership-level-functions.php:269 311 317 msgid "An unexpected error occurred while trying to add the membership level." 312 318 msgstr "" 313 319 314 #: core/includes/admin/admin-notices.php:3 16320 #: core/includes/admin/admin-notices.php:338 315 321 #: core/includes/membership-levels/membership-level-functions.php:386 316 322 msgid "An unexpected error occurred while trying to update the membership level." 317 323 msgstr "" 318 324 319 #: core/includes/admin/admin-notices.php:3 22325 #: core/includes/admin/admin-notices.php:344 320 326 msgid "Membership level fields are required" 321 327 msgstr "" 322 328 323 #: core/includes/admin/admin-notices.php:3 28329 #: core/includes/admin/admin-notices.php:350 324 330 msgid "Membership level deleted" 325 331 msgstr "" 326 332 327 #: core/includes/admin/admin-notices.php:3 33333 #: core/includes/admin/admin-notices.php:355 328 334 msgid "Membership level activated" 329 335 msgstr "" 330 336 331 #: core/includes/admin/admin-notices.php:3 38337 #: core/includes/admin/admin-notices.php:360 332 338 msgid "Membership level deactivated" 333 339 msgstr "" 334 340 335 #: core/includes/admin/admin-notices.php:3 48341 #: core/includes/admin/admin-notices.php:370 336 342 msgid "Discount code created" 337 343 msgstr "" 338 344 339 #: core/includes/admin/admin-notices.php:3 53345 #: core/includes/admin/admin-notices.php:375 340 346 msgid "The discount code could not be created due to an error" 341 347 msgstr "" 342 348 343 #: core/includes/admin/admin-notices.php:3 60349 #: core/includes/admin/admin-notices.php:382 344 350 #: core/includes/discounts/discount-functions.php:218 345 351 msgid "A discount with the code %s already exists." 346 352 msgstr "" 347 353 348 #: core/includes/admin/admin-notices.php:3 62354 #: core/includes/admin/admin-notices.php:384 349 355 msgid "A discount with this code already exists." 350 356 msgstr "" 351 357 352 #: core/includes/admin/admin-notices.php:3 69358 #: core/includes/admin/admin-notices.php:391 353 359 #: core/includes/discounts/discount-functions.php:609 354 360 msgid "Please enter a discount amount containing numbers only." 355 361 msgstr "" 356 362 357 #: core/includes/admin/admin-notices.php:3 75363 #: core/includes/admin/admin-notices.php:397 358 364 #: core/includes/discounts/discount-functions.php:228 359 365 #: core/includes/discounts/discount-functions.php:622 … … 361 367 msgstr "" 362 368 363 #: core/includes/admin/admin-notices.php: 381369 #: core/includes/admin/admin-notices.php:403 364 370 msgid "Discount code successfully deleted" 365 371 msgstr "" 366 372 367 #: core/includes/admin/admin-notices.php: 386373 #: core/includes/admin/admin-notices.php:408 368 374 msgid "Discount code activated" 369 375 msgstr "" 370 376 371 #: core/includes/admin/admin-notices.php: 391377 #: core/includes/admin/admin-notices.php:413 372 378 msgid "Discount code deactivated" 373 379 msgstr "" 374 380 375 #: core/includes/admin/admin-notices.php:4 00381 #: core/includes/admin/admin-notices.php:422 376 382 msgid "Post type restrictions updated." 377 383 msgstr "" 378 384 379 #: core/includes/admin/admin-notices.php:4 09385 #: core/includes/admin/admin-notices.php:431 380 386 msgid "Telemetry status changed to Opt In" 381 387 msgstr "" 382 388 383 #: core/includes/admin/admin-notices.php:4 12389 #: core/includes/admin/admin-notices.php:434 384 390 msgid "Telemetry status changed to Opt Out" 385 391 msgstr "" 386 392 387 #: core/includes/admin/admin-notices.php:4 21393 #: core/includes/admin/admin-notices.php:443 388 394 msgid "Membership reminder added" 389 395 msgstr "" 390 396 391 #: core/includes/admin/admin-notices.php:4 26397 #: core/includes/admin/admin-notices.php:448 392 398 msgid "Membership reminder updated" 393 399 msgstr "" 394 400 395 #: core/includes/admin/admin-notices.php:4 31401 #: core/includes/admin/admin-notices.php:453 396 402 msgid "Membership reminder deleted" 397 403 msgstr "" 398 404 399 #: core/includes/admin/admin-notices.php:4 36405 #: core/includes/admin/admin-notices.php:458 400 406 msgid "Test reminder sent successfully" 401 407 msgstr "" 402 408 403 #: core/includes/admin/admin-notices.php:4 42409 #: core/includes/admin/admin-notices.php:464 404 410 msgid "Test email sent successfully to %s" 405 411 msgstr "" 406 412 407 #: core/includes/admin/admin-notices.php:4 47413 #: core/includes/admin/admin-notices.php:469 408 414 msgid "Test email failed to send." 409 415 msgstr "" 410 416 411 #: core/includes/admin/admin-notices.php:4 72417 #: core/includes/admin/admin-notices.php:494 412 418 msgid "Security check failed" 413 419 msgstr "" 414 420 415 #: core/includes/admin/admin-notices.php:4 72421 #: core/includes/admin/admin-notices.php:494 416 422 #: core/includes/admin/class-rcp-add-on-updater.php:287 417 423 #: core/includes/admin/customers/add-customer.php:16 … … 523 529 #: core/includes/admin/reminders/subscription-reminders.php:203 524 530 #: core/includes/admin/reminders/subscription-reminders.php:207 525 #: core/includes/admin/settings/settings.php:14 34526 #: core/includes/admin/settings/settings.php:14 38527 #: core/includes/admin/settings/settings.php:14 42528 #: core/includes/admin/settings/settings.php:15 14531 #: core/includes/admin/settings/settings.php:1451 532 #: core/includes/admin/settings/settings.php:1455 533 #: core/includes/admin/settings/settings.php:1459 534 #: core/includes/admin/settings/settings.php:1531 529 535 #: core/includes/admin/subscriptions/subscription-actions.php:24 530 536 #: core/includes/admin/subscriptions/subscription-actions.php:28 … … 610 616 #: core/includes/admin/admin-pages.php:27 611 617 #: core/includes/admin/help/help-menus-setup.php:181 612 #: core/includes/admin/import/import-functions.php:6 5618 #: core/includes/admin/import/import-functions.php:66 613 619 #: core/includes/admin/members/edit-member.php:258 614 620 #: core/includes/admin/payments/payments-page.php:39 … … 1080 1086 #: core/includes/admin/customers/add-customer.php:44 1081 1087 #: core/includes/admin/customers/edit-customer.php:85 1082 #: core/includes/admin/import/import-functions.php:4 51088 #: core/includes/admin/import/import-functions.php:46 1083 1089 #: core/includes/batch/csv-exports/class-export-memberships.php:31 1084 1090 #: core/includes/deprecated/class-rcp-export-members.php:46 … … 1095 1101 #: core/includes/admin/customers/add-customer.php:46 1096 1102 #: core/includes/admin/customers/edit-customer.php:87 1097 #: core/includes/admin/import/import-functions.php:4 61103 #: core/includes/admin/import/import-functions.php:47 1098 1104 #: core/includes/batch/csv-exports/class-export-memberships.php:32 1099 1105 #: core/includes/deprecated/class-rcp-export-members.php:47 … … 1159 1165 1160 1166 #: core/includes/admin/customers/class-customers-table.php:57 1161 #: core/includes/admin/settings/settings.php: 8851167 #: core/includes/admin/settings/settings.php:902 1162 1168 #: core/includes/admin/subscriptions/class-membership-levels-table.php:67 1163 1169 #: core/includes/admin/subscriptions/edit-subscription.php:30 … … 1168 1174 #: core/includes/admin/customers/class-customers-table.php:58 1169 1175 #: core/includes/admin/memberships/add-membership.php:46 1170 #: core/includes/admin/settings/settings.php:9 211176 #: core/includes/admin/settings/settings.php:938 1171 1177 #: core/includes/shortcodes.php:948 core/templates/register-common.php:59 1172 1178 #: legacy/includes/forms.php:505 … … 1513 1519 #: core/includes/admin/customers/edit-customer.php:311 1514 1520 #: core/includes/admin/import/import-actions.php:339 1515 #: core/includes/admin/import/import-functions.php:5 01516 #: core/includes/admin/import/import-functions.php:7 11521 #: core/includes/admin/import/import-functions.php:51 1522 #: core/includes/admin/import/import-functions.php:73 1517 1523 #: core/includes/admin/members/edit-member.php:74 1518 1524 #: core/includes/admin/memberships/class-memberships-table.php:59 … … 1587 1593 #: core/includes/admin/customers/edit-customer.php:292 1588 1594 #: core/includes/admin/customers/edit-customer.php:309 1589 #: core/includes/admin/import/import-functions.php:8 61595 #: core/includes/admin/import/import-functions.php:88 1590 1596 #: core/includes/admin/memberships/edit-membership.php:387 1591 1597 #: core/includes/admin/memberships/edit-membership.php:404 … … 1603 1609 #: core/includes/admin/customers/edit-customer.php:295 1604 1610 #: core/includes/admin/customers/edit-customer.php:312 1605 #: core/includes/admin/import/import-functions.php:8 41611 #: core/includes/admin/import/import-functions.php:86 1606 1612 #: core/includes/admin/memberships/edit-membership.php:390 1607 1613 #: core/includes/admin/memberships/edit-membership.php:407 … … 2127 2133 2128 2134 #: core/includes/admin/help/help-menus.php:147 2129 #: core/includes/admin/settings/settings.php:9 392135 #: core/includes/admin/settings/settings.php:956 2130 2136 msgid "Notes" 2131 2137 msgstr "" … … 2561 2567 #: core/includes/admin/payments/edit-payment.php:58 2562 2568 #: core/includes/admin/payments/new-payment.php:35 2563 #: core/includes/admin/settings/settings.php:10 452569 #: core/includes/admin/settings/settings.php:1062 2564 2570 msgid "Membership Level" 2565 2571 msgstr "" … … 2621 2627 msgstr "" 2622 2628 2623 #: core/includes/admin/import/import-functions.php:33 2629 #. translators: %s: URL to the documentation. 2630 2631 #: core/includes/admin/import/import-functions.php:34 2624 2632 msgid "Use this tool to import user memberships into Restrict Content Pro. See <a href=\"%s\">this article</a> for further instructions and a sample CSV file." 2625 2633 msgstr "" 2626 2634 2627 #: core/includes/admin/import/import-functions.php:4 42628 #: core/includes/admin/import/import-functions.php:8 12635 #: core/includes/admin/import/import-functions.php:45 2636 #: core/includes/admin/import/import-functions.php:83 2629 2637 #: core/includes/admin/members/edit-member.php:65 2630 2638 #: core/includes/batch/csv-exports/class-export-memberships.php:30 … … 2635 2643 msgstr "" 2636 2644 2637 #: core/includes/admin/import/import-functions.php:4 72638 #: core/includes/admin/import/import-functions.php:8 02645 #: core/includes/admin/import/import-functions.php:48 2646 #: core/includes/admin/import/import-functions.php:82 2639 2647 #: core/includes/admin/members/edit-member.php:56 2640 2648 #: core/includes/batch/csv-exports/class-export-memberships.php:29 … … 2645 2653 msgstr "" 2646 2654 2647 #: core/includes/admin/import/import-functions.php:4 82655 #: core/includes/admin/import/import-functions.php:49 2648 2656 msgid "User Password" 2649 2657 msgstr "" 2650 2658 2651 #: core/includes/admin/import/import-functions.php: 492652 #: core/includes/admin/import/import-functions.php:7 22659 #: core/includes/admin/import/import-functions.php:50 2660 #: core/includes/admin/import/import-functions.php:74 2653 2661 #: core/includes/batch/csv-exports/class-export-memberships.php:34 2654 2662 #: core/includes/batch/csv-exports/class-export-payments.php:31 … … 2658 2666 msgstr "" 2659 2667 2660 #: core/includes/admin/import/import-functions.php:5 12668 #: core/includes/admin/import/import-functions.php:52 2661 2669 #: core/includes/batch/csv-exports/class-export-memberships.php:36 2662 2670 #: core/includes/deprecated/class-rcp-export-members.php:51 … … 2664 2672 msgstr "" 2665 2673 2666 #: core/includes/admin/import/import-functions.php:5 22674 #: core/includes/admin/import/import-functions.php:53 2667 2675 #: core/includes/batch/csv-exports/class-export-memberships.php:37 2668 2676 #: core/includes/deprecated/class-rcp-export-members.php:52 … … 2670 2678 msgstr "" 2671 2679 2672 #: core/includes/admin/import/import-functions.php:5 32680 #: core/includes/admin/import/import-functions.php:54 2673 2681 #: core/includes/admin/settings/settings.php:265 2674 2682 #: core/includes/batch/csv-exports/class-export-memberships.php:44 … … 2678 2686 msgstr "" 2679 2687 2680 #: core/includes/admin/import/import-functions.php:5 42688 #: core/includes/admin/import/import-functions.php:55 2681 2689 #: core/includes/batch/csv-exports/class-export-memberships.php:39 2682 2690 #: core/includes/deprecated/class-rcp-export-members.php:54 … … 2685 2693 msgstr "" 2686 2694 2687 #: core/includes/admin/import/import-functions.php:5 52688 #: core/includes/admin/import/import-functions.php:8 32695 #: core/includes/admin/import/import-functions.php:56 2696 #: core/includes/admin/import/import-functions.php:85 2689 2697 #: core/includes/admin/payments/class-payments-table.php:71 2690 2698 #: core/includes/admin/payments/edit-payment.php:89 … … 2696 2704 msgstr "" 2697 2705 2698 #: core/includes/admin/import/import-functions.php:5 62706 #: core/includes/admin/import/import-functions.php:57 2699 2707 #: core/includes/batch/csv-exports/class-export-memberships.php:42 2700 2708 #: core/includes/deprecated/class-rcp-export-members.php:57 … … 2702 2710 msgstr "" 2703 2711 2704 #: core/includes/admin/import/import-functions.php:5 72712 #: core/includes/admin/import/import-functions.php:58 2705 2713 #: core/includes/admin/memberships/class-memberships-table.php:606 2706 2714 #: core/includes/batch/csv-exports/class-export-memberships.php:43 … … 2709 2717 msgstr "" 2710 2718 2711 #: core/includes/admin/import/import-functions.php:5 82719 #: core/includes/admin/import/import-functions.php:59 2712 2720 #: core/includes/admin/members/edit-member.php:114 2713 2721 #: core/includes/batch/csv-exports/class-export-memberships.php:35 … … 2719 2727 msgstr "" 2720 2728 2721 #: core/includes/admin/import/import-functions.php:67 2729 #. translators: %s: URL to the documentation. 2730 2731 #: core/includes/admin/import/import-functions.php:69 2722 2732 msgid "Use this tool to import user payments into Restrict Content Pro. See <a href=\"%s\">this article</a> for further instructions and a sample CSV file." 2723 2733 msgstr "" 2724 2734 2725 #: core/includes/admin/import/import-functions.php:7 32735 #: core/includes/admin/import/import-functions.php:75 2726 2736 #: core/includes/batch/csv-exports/class-export-memberships.php:33 2727 2737 #: core/includes/batch/csv-exports/class-export-payments.php:30 … … 2731 2741 msgstr "" 2732 2742 2733 #: core/includes/admin/import/import-functions.php:7 42743 #: core/includes/admin/import/import-functions.php:76 2734 2744 #: core/includes/batch/csv-exports/class-export-payments.php:32 2735 2745 #: core/includes/deprecated/class-rcp-export-payments.php:47 … … 2737 2747 msgstr "" 2738 2748 2739 #: core/includes/admin/import/import-functions.php:7 52749 #: core/includes/admin/import/import-functions.php:77 2740 2750 #: core/includes/batch/csv-exports/class-export-payments.php:33 2741 2751 #: core/includes/deprecated/class-rcp-export-payments.php:48 … … 2744 2754 msgstr "" 2745 2755 2746 #: core/includes/admin/import/import-functions.php:7 62756 #: core/includes/admin/import/import-functions.php:78 2747 2757 #: core/includes/batch/csv-exports/class-export-payments.php:34 2748 2758 #: core/includes/deprecated/class-rcp-export-payments.php:49 … … 2751 2761 msgstr "" 2752 2762 2753 #: core/includes/admin/import/import-functions.php:7 72763 #: core/includes/admin/import/import-functions.php:79 2754 2764 #: core/includes/batch/csv-exports/class-export-payments.php:35 2755 2765 #: core/includes/deprecated/class-rcp-export-payments.php:50 … … 2758 2768 msgstr "" 2759 2769 2760 #: core/includes/admin/import/import-functions.php: 782770 #: core/includes/admin/import/import-functions.php:80 2761 2771 #: core/includes/batch/csv-exports/class-export-payments.php:36 2762 2772 #: core/includes/deprecated/class-rcp-export-payments.php:51 … … 2766 2776 msgstr "" 2767 2777 2768 #: core/includes/admin/import/import-functions.php: 792778 #: core/includes/admin/import/import-functions.php:81 2769 2779 #: core/includes/admin/payments/edit-payment.php:71 2770 2780 #: core/includes/batch/csv-exports/class-export-payments.php:37 … … 2774 2784 msgstr "" 2775 2785 2776 #: core/includes/admin/import/import-functions.php:8 22786 #: core/includes/admin/import/import-functions.php:84 2777 2787 #: core/includes/batch/csv-exports/class-export-memberships.php:27 2778 2788 #: core/includes/batch/csv-exports/class-export-payments.php:42 … … 2782 2792 msgstr "" 2783 2793 2784 #: core/includes/admin/import/import-functions.php:8 52794 #: core/includes/admin/import/import-functions.php:87 2785 2795 #: core/includes/batch/csv-exports/class-export-payments.php:47 2786 2796 #: core/includes/deprecated/class-rcp-export-payments.php:62 … … 3817 3827 #: core/includes/admin/reminders/subscription-reminders.php:170 3818 3828 #: core/includes/admin/reminders/subscription-reminders.php:203 3819 #: core/includes/admin/settings/settings.php:14 383829 #: core/includes/admin/settings/settings.php:1455 3820 3830 msgid "Nonce verification failed" 3821 3831 msgstr "" … … 3888 3898 #: core/includes/admin/settings/settings.php:205 3889 3899 #: core/includes/admin/settings/settings.php:238 3890 #: core/includes/admin/settings/settings.php: 9883891 #: core/includes/admin/settings/settings.php:10 233900 #: core/includes/admin/settings/settings.php:1005 3901 #: core/includes/admin/settings/settings.php:1040 3892 3902 msgid "No pages found" 3893 3903 msgstr "" … … 3898 3908 #: core/includes/admin/settings/settings.php:210 3899 3909 #: core/includes/admin/settings/settings.php:243 3900 #: core/includes/admin/settings/settings.php: 9933901 #: core/includes/admin/settings/settings.php:10 283910 #: core/includes/admin/settings/settings.php:1010 3911 #: core/includes/admin/settings/settings.php:1045 3902 3912 msgid "Edit Page" 3903 3913 msgstr "" … … 3908 3918 #: core/includes/admin/settings/settings.php:211 3909 3919 #: core/includes/admin/settings/settings.php:244 3910 #: core/includes/admin/settings/settings.php: 9943911 #: core/includes/admin/settings/settings.php:10 293920 #: core/includes/admin/settings/settings.php:1011 3921 #: core/includes/admin/settings/settings.php:1046 3912 3922 msgid "View Page" 3913 3923 msgstr "" … … 4131 4141 msgstr "" 4132 4142 4133 #: core/includes/admin/settings/settings.php:489 4143 #. translators: %s URL to the Stripe documentation. 4144 4145 #: core/includes/admin/settings/settings.php:494 4134 4146 msgid "Have questions about connecting with Stripe? <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">See the documentation</a>." 4135 4147 msgstr "" 4136 4148 4137 #: core/includes/admin/settings/settings.php: 4904149 #: core/includes/admin/settings/settings.php:507 4138 4150 msgid "Note" 4139 4151 msgstr "" 4140 4152 4141 #: core/includes/admin/settings/settings.php: 4904153 #: core/includes/admin/settings/settings.php:507 4142 4154 msgid "in order for membership payments made through Stripe to be tracked, you must enter the following URL to your <a href=\"https://dashboard.stripe.com/account/webhooks\" target=\"_blank\">Stripe Webhooks</a> under Account Settings:" 4143 4155 msgstr "" 4144 4156 4145 #: core/includes/admin/settings/settings.php:5 304157 #: core/includes/admin/settings/settings.php:547 4146 4158 msgid "Paid Membership Activation Email" 4147 4159 msgstr "" 4148 4160 4149 #: core/includes/admin/settings/settings.php:5 344150 #: core/includes/admin/settings/settings.php:5 814151 #: core/includes/admin/settings/settings.php:6 394152 #: core/includes/admin/settings/settings.php: 6864153 #: core/includes/admin/settings/settings.php:7 534154 #: core/includes/admin/settings/settings.php: 7984161 #: core/includes/admin/settings/settings.php:551 4162 #: core/includes/admin/settings/settings.php:598 4163 #: core/includes/admin/settings/settings.php:656 4164 #: core/includes/admin/settings/settings.php:703 4165 #: core/includes/admin/settings/settings.php:770 4166 #: core/includes/admin/settings/settings.php:815 4155 4167 msgid "Disable for Member" 4156 4168 msgstr "" 4157 4169 4158 #: core/includes/admin/settings/settings.php:5 384170 #: core/includes/admin/settings/settings.php:555 4159 4171 msgid "Check this to disable the email sent out to the member when their membership becomes active." 4160 4172 msgstr "" 4161 4173 4162 #: core/includes/admin/settings/settings.php:555 4174 #: core/includes/admin/settings/settings.php:572 4175 #: core/includes/admin/settings/settings.php:619 4176 #: core/includes/admin/settings/settings.php:677 4177 #: core/includes/admin/settings/settings.php:724 4178 #: core/includes/admin/settings/settings.php:791 4179 #: core/includes/admin/settings/settings.php:838 4180 msgid "Disable for Admin" 4181 msgstr "" 4182 4183 #: core/includes/admin/settings/settings.php:576 4184 msgid "Check this to disable the email sent out to the administrator when a new member becomes active." 4185 msgstr "" 4186 4187 #: core/includes/admin/settings/settings.php:593 4188 msgid "Free Membership Activation Email" 4189 msgstr "" 4190 4163 4191 #: core/includes/admin/settings/settings.php:602 4192 msgid "Check this to disable the email sent to a member when they register for a free membership." 4193 msgstr "" 4194 4195 #: core/includes/admin/settings/settings.php:623 4196 msgid "Check this to disable the email sent to the administrator when a member registers for a free membership." 4197 msgstr "" 4198 4199 #: core/includes/admin/settings/settings.php:651 4200 msgid "Cancelled Membership Email" 4201 msgstr "" 4202 4164 4203 #: core/includes/admin/settings/settings.php:660 4204 msgid "Check this to disable the email sent to a member when their membership is cancelled." 4205 msgstr "" 4206 4207 #: core/includes/admin/settings/settings.php:681 4208 msgid "Check this to disable the email sent to the administrator when a member's membership is cancelled." 4209 msgstr "" 4210 4211 #: core/includes/admin/settings/settings.php:698 4212 msgid "Expired Membership Email" 4213 msgstr "" 4214 4165 4215 #: core/includes/admin/settings/settings.php:707 4216 msgid "Check this to disable the email sent out to a member when their membership expires." 4217 msgstr "" 4218 4219 #: core/includes/admin/settings/settings.php:728 4220 msgid "Check this to disable the email sent to the administrator when a member's membership expires." 4221 msgstr "" 4222 4223 #: core/includes/admin/settings/settings.php:766 4224 msgid "Payment Received Email" 4225 msgstr "" 4226 4166 4227 #: core/includes/admin/settings/settings.php:774 4167 #: core/includes/admin/settings/settings.php:8214168 msgid "Disable for Admin"4169 msgstr ""4170 4171 #: core/includes/admin/settings/settings.php:5594172 msgid "Check this to disable the email sent out to the administrator when a new member becomes active."4173 msgstr ""4174 4175 #: core/includes/admin/settings/settings.php:5764176 msgid "Free Membership Activation Email"4177 msgstr ""4178 4179 #: core/includes/admin/settings/settings.php:5854180 msgid "Check this to disable the email sent to a member when they register for a free membership."4181 msgstr ""4182 4183 #: core/includes/admin/settings/settings.php:6064184 msgid "Check this to disable the email sent to the administrator when a member registers for a free membership."4185 msgstr ""4186 4187 #: core/includes/admin/settings/settings.php:6344188 msgid "Cancelled Membership Email"4189 msgstr ""4190 4191 #: core/includes/admin/settings/settings.php:6434192 msgid "Check this to disable the email sent to a member when their membership is cancelled."4193 msgstr ""4194 4195 #: core/includes/admin/settings/settings.php:6644196 msgid "Check this to disable the email sent to the administrator when a member's membership is cancelled."4197 msgstr ""4198 4199 #: core/includes/admin/settings/settings.php:6814200 msgid "Expired Membership Email"4201 msgstr ""4202 4203 #: core/includes/admin/settings/settings.php:6904204 msgid "Check this to disable the email sent out to a member when their membership expires."4205 msgstr ""4206 4207 #: core/includes/admin/settings/settings.php:7114208 msgid "Check this to disable the email sent to the administrator when a member's membership expires."4209 msgstr ""4210 4211 #: core/includes/admin/settings/settings.php:7494212 msgid "Payment Received Email"4213 msgstr ""4214 4215 #: core/includes/admin/settings/settings.php:7574216 4228 msgid "Check this to disable the email sent out when a payment is received." 4217 4229 msgstr "" 4218 4230 4219 #: core/includes/admin/settings/settings.php:7 784231 #: core/includes/admin/settings/settings.php:795 4220 4232 msgid "Check this to disable the email sent out to the administrator when a payment is received." 4221 4233 msgstr "" 4222 4234 4223 #: core/includes/admin/settings/settings.php: 7944235 #: core/includes/admin/settings/settings.php:811 4224 4236 msgid "Renewal Payment Failed Email" 4225 4237 msgstr "" 4226 4238 4227 #: core/includes/admin/settings/settings.php:8 024239 #: core/includes/admin/settings/settings.php:819 4228 4240 msgid "Check this to disable the email sent out when a renewal payment fails." 4229 4241 msgstr "" 4230 4242 4231 #: core/includes/admin/settings/settings.php:8 254243 #: core/includes/admin/settings/settings.php:842 4232 4244 msgid "Check this to disable the email sent to the administrator when a renewal payment fails." 4233 4245 msgstr "" 4234 4246 4235 #: core/includes/admin/settings/settings.php:8 664247 #: core/includes/admin/settings/settings.php:883 4236 4248 msgid "Invoice Logo" 4237 4249 msgstr "" 4238 4250 4239 #: core/includes/admin/settings/settings.php:8 704251 #: core/includes/admin/settings/settings.php:887 4240 4252 msgid "Choose Logo" 4241 4253 msgstr "" 4242 4254 4243 #: core/includes/admin/settings/settings.php:8 714255 #: core/includes/admin/settings/settings.php:888 4244 4256 msgid "Upload a logo to display on the invoices." 4245 4257 msgstr "" 4246 4258 4247 #: core/includes/admin/settings/settings.php:8 764259 #: core/includes/admin/settings/settings.php:893 4248 4260 msgid "Company Name" 4249 4261 msgstr "" 4250 4262 4251 #: core/includes/admin/settings/settings.php:8 804263 #: core/includes/admin/settings/settings.php:897 4252 4264 msgid "Enter the company name that will be shown on the invoice." 4253 4265 msgstr "" 4254 4266 4255 #: core/includes/admin/settings/settings.php: 8894267 #: core/includes/admin/settings/settings.php:906 4256 4268 msgid "Enter the personal name that will be shown on the invoice." 4257 4269 msgstr "" 4258 4270 4259 #: core/includes/admin/settings/settings.php: 8944271 #: core/includes/admin/settings/settings.php:911 4260 4272 msgid "Address Line 1" 4261 4273 msgstr "" 4262 4274 4263 #: core/includes/admin/settings/settings.php: 8984275 #: core/includes/admin/settings/settings.php:915 4264 4276 msgid "Enter the first address line that will appear on the invoice." 4265 4277 msgstr "" 4266 4278 4267 #: core/includes/admin/settings/settings.php:9 034279 #: core/includes/admin/settings/settings.php:920 4268 4280 msgid "Address Line 2" 4269 4281 msgstr "" 4270 4282 4271 #: core/includes/admin/settings/settings.php:9 074283 #: core/includes/admin/settings/settings.php:924 4272 4284 msgid "Enter the second address line that will appear on the invoice." 4273 4285 msgstr "" 4274 4286 4275 #: core/includes/admin/settings/settings.php:9 124287 #: core/includes/admin/settings/settings.php:929 4276 4288 msgid "City, State, and Zip" 4277 4289 msgstr "" 4278 4290 4279 #: core/includes/admin/settings/settings.php:9 164291 #: core/includes/admin/settings/settings.php:933 4280 4292 msgid "Enter the city, state and zip/postal code that will appear on the invoice." 4281 4293 msgstr "" 4282 4294 4283 #: core/includes/admin/settings/settings.php:9 254295 #: core/includes/admin/settings/settings.php:942 4284 4296 msgid "Enter the email address that will appear on the invoice." 4285 4297 msgstr "" 4286 4298 4287 #: core/includes/admin/settings/settings.php:9 304299 #: core/includes/admin/settings/settings.php:947 4288 4300 msgid "Header Text" 4289 4301 msgstr "" 4290 4302 4291 #: core/includes/admin/settings/settings.php:9 344303 #: core/includes/admin/settings/settings.php:951 4292 4304 msgid "Enter the message you would like to be shown on the header of the invoice." 4293 4305 msgstr "" 4294 4306 4295 #: core/includes/admin/settings/settings.php:9 464307 #: core/includes/admin/settings/settings.php:963 4296 4308 msgid "Enter additional notes you would like displayed below the invoice totals." 4297 4309 msgstr "" 4298 4310 4299 #: core/includes/admin/settings/settings.php:9 514311 #: core/includes/admin/settings/settings.php:968 4300 4312 msgid "Footer Text" 4301 4313 msgstr "" 4302 4314 4303 #: core/includes/admin/settings/settings.php:9 554315 #: core/includes/admin/settings/settings.php:972 4304 4316 msgid "Enter the message you would like to be shown on the footer of the invoice." 4305 4317 msgstr "" 4306 4318 4307 #: core/includes/admin/settings/settings.php:9 664319 #: core/includes/admin/settings/settings.php:983 4308 4320 msgid "Hide Restricted Posts" 4309 4321 msgstr "" 4310 4322 4311 #: core/includes/admin/settings/settings.php:9 704323 #: core/includes/admin/settings/settings.php:987 4312 4324 msgid "Check this to hide all restricted posts from queries when the user does not have access." 4313 4325 msgstr "" 4314 4326 4315 #: core/includes/admin/settings/settings.php:9 754327 #: core/includes/admin/settings/settings.php:992 4316 4328 msgid "Redirect Page" 4317 4329 msgstr "" 4318 4330 4319 #: core/includes/admin/settings/settings.php: 9964331 #: core/includes/admin/settings/settings.php:1013 4320 4332 msgid "This is the page non-subscribed users are redirected to when attempting to access a premium post or page." 4321 4333 msgstr "" 4322 4334 4323 #: core/includes/admin/settings/settings.php:10 014335 #: core/includes/admin/settings/settings.php:1018 4324 4336 msgid "Redirect Default Login URL" 4325 4337 msgstr "" 4326 4338 4327 #: core/includes/admin/settings/settings.php:10 054339 #: core/includes/admin/settings/settings.php:1022 4328 4340 msgid "Check this to force the default login URL to redirect to the page specified below." 4329 4341 msgstr "" 4330 4342 4331 #: core/includes/admin/settings/settings.php:10 104343 #: core/includes/admin/settings/settings.php:1027 4332 4344 msgid "Login Page" 4333 4345 msgstr "" 4334 4346 4335 #: core/includes/admin/settings/settings.php:10 314347 #: core/includes/admin/settings/settings.php:1048 4336 4348 msgid "This is the page the default login URL redirects to, if the option above is checked. This page must contain the [login_form] shortcode." 4337 4349 msgstr "" 4338 4350 4339 #: core/includes/admin/settings/settings.php:10 364351 #: core/includes/admin/settings/settings.php:1053 4340 4352 msgid "Auto Add Users to Level" 4341 4353 msgstr "" 4342 4354 4343 #: core/includes/admin/settings/settings.php:10 404355 #: core/includes/admin/settings/settings.php:1057 4344 4356 msgid "Check this to automatically add new WordPress users to a membership level. This only needs to be turned on if you're adding users manually or through some means other than the registration form. This does not automatically take payment so it's best used for free levels." 4345 4357 msgstr "" 4346 4358 4347 #: core/includes/admin/settings/settings.php:10 564359 #: core/includes/admin/settings/settings.php:1073 4348 4360 msgid "New WordPress users will be automatically added to this membership level if the above option is checked." 4349 4361 msgstr "" 4350 4362 4351 #: core/includes/admin/settings/settings.php:10 614363 #: core/includes/admin/settings/settings.php:1078 4352 4364 msgid "Content Excerpts" 4353 4365 msgstr "" 4354 4366 4355 #: core/includes/admin/settings/settings.php:10 664367 #: core/includes/admin/settings/settings.php:1083 4356 4368 msgid "Always show excerpts" 4357 4369 msgstr "" 4358 4370 4359 #: core/includes/admin/settings/settings.php:10 674371 #: core/includes/admin/settings/settings.php:1084 4360 4372 msgid "Never show excerpts" 4361 4373 msgstr "" 4362 4374 4363 #: core/includes/admin/settings/settings.php:10 684375 #: core/includes/admin/settings/settings.php:1085 4364 4376 msgid "Decide for each post individually" 4365 4377 msgstr "" 4366 4378 4367 #: core/includes/admin/settings/settings.php:10 704379 #: core/includes/admin/settings/settings.php:1087 4368 4380 msgid "Whether or not to show excerpts to members without access to the content." 4369 4381 msgstr "" 4370 4382 4371 #: core/includes/admin/settings/settings.php:1 0934383 #: core/includes/admin/settings/settings.php:1110 4372 4384 msgid "Disable WordPress Toolbar" 4373 4385 msgstr "" 4374 4386 4375 #: core/includes/admin/settings/settings.php:1 0974387 #: core/includes/admin/settings/settings.php:1114 4376 4388 msgid "Check this if you'd like to disable the WordPress toolbar for members. Note: will not disable the toolbar for users with the edit_posts capability (e.g. authors, editors, & admins)." 4377 4389 msgstr "" 4378 4390 4379 #: core/includes/admin/settings/settings.php:11 024391 #: core/includes/admin/settings/settings.php:1119 4380 4392 msgid "Disable Form CSS" 4381 4393 msgstr "" 4382 4394 4383 #: core/includes/admin/settings/settings.php:11 064395 #: core/includes/admin/settings/settings.php:1123 4384 4396 msgid "Check this to disable all included form styling." 4385 4397 msgstr "" 4386 4398 4387 #: core/includes/admin/settings/settings.php:11 114399 #: core/includes/admin/settings/settings.php:1128 4388 4400 msgid "Agree to Terms" 4389 4401 msgstr "" 4390 4402 4391 #: core/includes/admin/settings/settings.php:11 154403 #: core/includes/admin/settings/settings.php:1132 4392 4404 msgid "Check this to add an \"Agree to Terms\" checkbox to the registration form." 4393 4405 msgstr "" 4394 4406 4395 #: core/includes/admin/settings/settings.php:11 204407 #: core/includes/admin/settings/settings.php:1137 4396 4408 msgid "Agree to Terms Label" 4397 4409 msgstr "" 4398 4410 4399 #: core/includes/admin/settings/settings.php:11 244411 #: core/includes/admin/settings/settings.php:1141 4400 4412 msgid "Label shown next to the agree to terms checkbox." 4401 4413 msgstr "" 4402 4414 4403 #: core/includes/admin/settings/settings.php:11 294415 #: core/includes/admin/settings/settings.php:1146 4404 4416 msgid "Terms Link" 4405 4417 msgstr "" 4406 4418 4407 #: core/includes/admin/settings/settings.php:11 334419 #: core/includes/admin/settings/settings.php:1150 4408 4420 msgid "Optional - the URL to your terms page. If set, the terms label will link to this URL." 4409 4421 msgstr "" 4410 4422 4411 #: core/includes/admin/settings/settings.php:11 384423 #: core/includes/admin/settings/settings.php:1155 4412 4424 msgid "Agree to Privacy Policy" 4413 4425 msgstr "" 4414 4426 4415 #: core/includes/admin/settings/settings.php:11 424427 #: core/includes/admin/settings/settings.php:1159 4416 4428 msgid "Check this to add an \"Agree to Privacy Policy\" checkbox to the registration form." 4417 4429 msgstr "" 4418 4430 4419 #: core/includes/admin/settings/settings.php:11 474431 #: core/includes/admin/settings/settings.php:1164 4420 4432 msgid "Agree to Privacy Policy Label" 4421 4433 msgstr "" 4422 4434 4423 #: core/includes/admin/settings/settings.php:11 514435 #: core/includes/admin/settings/settings.php:1168 4424 4436 msgid "Label shown next to the agree to privacy policy checkbox." 4425 4437 msgstr "" 4426 4438 4427 #: core/includes/admin/settings/settings.php:11 564439 #: core/includes/admin/settings/settings.php:1173 4428 4440 msgid "Privacy Policy Link" 4429 4441 msgstr "" 4430 4442 4431 #: core/includes/admin/settings/settings.php:11 604443 #: core/includes/admin/settings/settings.php:1177 4432 4444 msgid "Optional - the URL to your privacy policy page. If set, the privacy policy label will link to this URL." 4433 4445 msgstr "" 4434 4446 4435 #: core/includes/admin/settings/settings.php:11 664447 #: core/includes/admin/settings/settings.php:1183 4436 4448 msgid "Enable reCAPTCHA" 4437 4449 msgstr "" 4438 4450 4439 #: core/includes/admin/settings/settings.php:11 714451 #: core/includes/admin/settings/settings.php:1188 4440 4452 msgid "Check this to enable reCAPTCHA on the registration form." 4441 4453 msgstr "" 4442 4454 4443 #: core/includes/admin/settings/settings.php:11 764455 #: core/includes/admin/settings/settings.php:1193 4444 4456 msgid "reCAPTCHA Version" 4445 4457 msgstr "" 4446 4458 4447 #: core/includes/admin/settings/settings.php:11 804459 #: core/includes/admin/settings/settings.php:1197 4448 4460 msgid "reCAPTCHA v2" 4449 4461 msgstr "" 4450 4462 4451 #: core/includes/admin/settings/settings.php:11 814463 #: core/includes/admin/settings/settings.php:1198 4452 4464 msgid "reCAPTCHA v3" 4453 4465 msgstr "" 4454 4466 4455 #: core/includes/admin/settings/settings.php:1 1834467 #: core/includes/admin/settings/settings.php:1200 4456 4468 msgid "Select the reCAPTCHA version that corresponds to your site key." 4457 4469 msgstr "" 4458 4470 4459 #: core/includes/admin/settings/settings.php:1 1884471 #: core/includes/admin/settings/settings.php:1205 4460 4472 msgid "reCAPTCHA Site Key" 4461 4473 msgstr "" 4462 4474 4463 #: core/includes/admin/settings/settings.php:1 1964475 #: core/includes/admin/settings/settings.php:1213 4464 4476 msgid "This your own personal reCAPTCHA Site key. Go to" 4465 4477 msgstr "" 4466 4478 4467 #: core/includes/admin/settings/settings.php:1 1974468 #: core/includes/admin/settings/settings.php:12 124479 #: core/includes/admin/settings/settings.php:1214 4480 #: core/includes/admin/settings/settings.php:1229 4469 4481 msgid "your account" 4470 4482 msgstr "" 4471 4483 4472 #: core/includes/admin/settings/settings.php:1 1974484 #: core/includes/admin/settings/settings.php:1214 4473 4485 msgid "then click on your domain (or add a new one) to find your site key." 4474 4486 msgstr "" 4475 4487 4476 #: core/includes/admin/settings/settings.php:12 034488 #: core/includes/admin/settings/settings.php:1220 4477 4489 msgid "reCAPTCHA Secret Key" 4478 4490 msgstr "" 4479 4491 4480 #: core/includes/admin/settings/settings.php:12 114492 #: core/includes/admin/settings/settings.php:1228 4481 4493 msgid "This your own personal reCAPTCHA Secret key. Go to" 4482 4494 msgstr "" 4483 4495 4484 #: core/includes/admin/settings/settings.php:12 124496 #: core/includes/admin/settings/settings.php:1229 4485 4497 msgid "then click on your domain (or add a new one) to find your secret key." 4486 4498 msgstr "" 4487 4499 4488 #: core/includes/admin/settings/settings.php:12 264500 #: core/includes/admin/settings/settings.php:1243 4489 4501 msgid "Enable Debug Mode" 4490 4502 msgstr "" 4491 4503 4492 #: core/includes/admin/settings/settings.php:12 304504 #: core/includes/admin/settings/settings.php:1247 4493 4505 msgid "Turn on error logging to help identify issues. Logs are kept in <a href=\"%s\">Restrict > Tools</a>." 4494 4506 msgstr "" 4495 4507 4496 #: core/includes/admin/settings/settings.php:12 354508 #: core/includes/admin/settings/settings.php:1252 4497 4509 msgid "Remove Data on Uninstall" 4498 4510 msgstr "" 4499 4511 4500 #: core/includes/admin/settings/settings.php:12 394512 #: core/includes/admin/settings/settings.php:1256 4501 4513 msgid "Remove all saved data for Restrict Content Pro when the plugin is uninstalled." 4502 4514 msgstr "" 4503 4515 4504 #: core/includes/admin/settings/settings.php:12 444516 #: core/includes/admin/settings/settings.php:1261 4505 4517 msgid "Switch Free Subscriptions" 4506 4518 msgstr "" 4507 4519 4508 #: core/includes/admin/settings/settings.php:12 484520 #: core/includes/admin/settings/settings.php:1265 4509 4521 msgid "Check this box if you would like to enable Free subscriptions switching." 4510 4522 msgstr "" 4511 4523 4512 #: core/includes/admin/settings/settings.php:12 584524 #: core/includes/admin/settings/settings.php:1275 4513 4525 #: legacy/includes/settings.php:151 4514 4526 msgid "Save Options" 4515 4527 msgstr "" 4516 4528 4517 #: core/includes/admin/settings/settings.php:14 344529 #: core/includes/admin/settings/settings.php:1451 4518 4530 msgid "You do not have permission to send test emails" 4519 4531 msgstr "" 4520 4532 4521 #: core/includes/admin/settings/settings.php:14 424533 #: core/includes/admin/settings/settings.php:1459 4522 4534 msgid "No email template was provided" 4523 4535 msgstr "" 4524 4536 4525 #: core/includes/admin/settings/settings.php:15 144537 #: core/includes/admin/settings/settings.php:1531 4526 4538 msgid "Test email not sent: email subject or message is blank." 4527 4539 msgstr "" 4528 4540 4529 #: core/includes/admin/settings/settings.php:15 604541 #: core/includes/admin/settings/settings.php:1577 4530 4542 msgid "There was an error getting your Stripe credentials. Please <a href=\"%s\">try again</a>. If you continue to have this problem, please contact support." 4531 4543 msgstr "" … … 5804 5816 #: core/includes/gateways/class-rcp-payment-gateway-stripe.php:1420 5805 5817 #: core/includes/gateways/class-rcp-payment-gateway-stripe.php:1448 5806 #: core/templates/card-form-full.php:30 2 core/templates/card-form.php:315818 #: core/templates/card-form-full.php:303 core/templates/card-form.php:32 5807 5819 #: core/templates/card-update-form-fields.php:25 5808 5820 msgid "Name on Card" … … 5814 5826 5815 5827 #: core/includes/gateways/class-rcp-payment-gateway-stripe.php:1475 5816 #: core/includes/scripts.php:30 95828 #: core/includes/scripts.php:301 5817 5829 msgid "The card holder name you have entered is invalid" 5818 5830 msgstr "" … … 5864 5876 msgstr "" 5865 5877 5866 #: core/includes/gateways/class-rcp-payment-gateway.php:42 35878 #: core/includes/gateways/class-rcp-payment-gateway.php:429 5867 5879 msgid "Price changes not supported." 5868 5880 msgstr "" 5869 5881 5870 #: core/includes/gateways/class-rcp-payment-gateway.php:4 575882 #: core/includes/gateways/class-rcp-payment-gateway.php:463 5871 5883 msgid "Dynamic subscription creation not supported." 5872 5884 msgstr "" 5873 5885 5874 #: core/includes/gateways/class-rcp-payment-gateway.php:48 15886 #: core/includes/gateways/class-rcp-payment-gateway.php:487 5875 5887 msgid "Next bill date changes not supported." 5876 5888 msgstr "" 5877 5889 5878 #: core/includes/gateways/class-rcp-payment-gateway.php:5 665890 #: core/includes/gateways/class-rcp-payment-gateway.php:572 5879 5891 #: core/includes/memberships/class-rcp-membership.php:1548 5880 5892 msgid "This feature is not supported by the chosen payment method." … … 5959 5971 5960 5972 #: core/includes/gateways/stripe/functions.php:150 5961 #: core/includes/scripts.php: 3005973 #: core/includes/scripts.php:292 5962 5974 msgid "Please Wait . . . " 5963 5975 msgstr "" … … 6086 6098 msgstr "" 6087 6099 6088 #: core/includes/install.php:205 core/includes/scripts.php:29 96100 #: core/includes/install.php:205 core/includes/scripts.php:291 6089 6101 #: legacy/includes/forms.php:529 legacy/includes/scripts.php:38 6090 6102 msgid "Register" … … 6943 6955 #. translators: %s: The expiration date. 6944 6956 6945 #: core/includes/scripts.php:2 216957 #: core/includes/scripts.php:213 6946 6958 msgid "Are you sure you want to enable auto renew? You will automatically be charged on %s." 6947 6959 msgstr "" 6948 6960 6949 #: core/includes/scripts.php:2 226961 #: core/includes/scripts.php:214 6950 6962 msgid "Are you sure you want to disable auto renew?" 6951 6963 msgstr "" 6952 6964 6953 #: core/includes/scripts.php: 301core/includes/shortcodes.php:10196965 #: core/includes/scripts.php:293 core/includes/shortcodes.php:1019 6954 6966 msgid "Submit Payment" 6955 6967 msgstr "" 6956 6968 6957 #: core/includes/scripts.php: 3076969 #: core/includes/scripts.php:299 6958 6970 msgid "An unexpected error has occurred. Please try again or contact support if the issue persists." 6959 6971 msgstr "" 6960 6972 6961 #: core/includes/scripts.php:30 86973 #: core/includes/scripts.php:300 6962 6974 msgid "Please enter your card details." 6963 6975 msgstr "" … … 7089 7101 msgstr "" 7090 7102 7091 #: core/templates/card-form-full.php:2 0 core/templates/card-form.php:197103 #: core/templates/card-form-full.php:21 core/templates/card-form.php:20 7092 7104 #: core/templates/card-update-form-fields.php:32 7093 7105 msgid "Card Number" 7094 7106 msgstr "" 7095 7107 7096 #: core/templates/card-form-full.php:2 4 core/templates/card-form.php:237108 #: core/templates/card-form-full.php:25 core/templates/card-form.php:24 7097 7109 #: core/templates/card-update-form-fields.php:36 7098 7110 msgid "Card CVC" 7099 7111 msgstr "" 7100 7112 7101 #: core/templates/card-form-full.php:2 87113 #: core/templates/card-form-full.php:29 7102 7114 msgid "Address" 7103 7115 msgstr "" 7104 7116 7105 #: core/templates/card-form-full.php:3 27117 #: core/templates/card-form-full.php:33 7106 7118 msgid "City" 7107 7119 msgstr "" 7108 7120 7109 #: core/templates/card-form-full.php:3 67121 #: core/templates/card-form-full.php:37 7110 7122 msgid "State or Province" 7111 7123 msgstr "" 7112 7124 7113 #: core/templates/card-form-full.php:4 07125 #: core/templates/card-form-full.php:41 7114 7126 msgid "Country" 7115 7127 msgstr "" 7116 7128 7117 #: core/templates/card-form-full.php:29 8 core/templates/card-form.php:277129 #: core/templates/card-form-full.php:299 core/templates/card-form.php:28 7118 7130 #: core/templates/card-update-form-fields.php:40 7119 7131 msgid "Card ZIP or Postal Code" 7120 7132 msgstr "" 7121 7133 7122 #: core/templates/card-form-full.php:30 6 core/templates/card-form.php:357134 #: core/templates/card-form-full.php:307 core/templates/card-form.php:36 7123 7135 #: core/templates/card-update-form-fields.php:44 7124 7136 msgid "Expiration (MM/YYYY)" … … 7837 7849 #: restrictcontent.php:979 7838 7850 msgid "<img src=\"%s\"><div><strong>Save 40%% off new purchases with coupon code BFCM22 </strong>| Black Friday Sale November 21 - 29. <a target=\"_blank\" href=\"%s\"><strong>Shop now</strong></a></div>" 7851 msgstr "" 7852 7853 #: restrictcontent.php:1025 7854 msgid "Make it yours." 7855 msgstr "" 7856 7857 #: restrictcontent.php:1028 7858 msgid "Save 40% on Restrict Content Pro." 7859 msgstr "" 7860 7861 #: restrictcontent.php:1034 7862 msgid "Shop Now" 7863 msgstr "" 7864 7865 #. translators: %s: Discount percentage. 7866 7867 #: restrictcontent.php:1044 7868 msgid "Take %s off all StellarWP brands during the annual Stellar Sale. <br />Now through July 30." 7869 msgstr "" 7870 7871 #: restrictcontent.php:1056 7872 msgid "View all StellarWP Deals" 7839 7873 msgstr "" 7840 7874 -
restrict-content/tags/3.2.11/legacy/restrictcontent.php
r3071905 r3120662 22 22 23 23 if ( ! defined( 'RC_PLUGIN_VERSION' ) ) { 24 define( 'RC_PLUGIN_VERSION', '3.2.1 0' );24 define( 'RC_PLUGIN_VERSION', '3.2.11' ); 25 25 } 26 26 -
restrict-content/tags/3.2.11/package.json
r3071905 r3120662 1 1 { 2 2 "name": "restrict-content", 3 "version": "3.2.1 0",3 "version": "3.2.11", 4 4 "description": "Set up a complete membership system for your WordPress site and deliver premium content to your members. Unlimited membership packages, membership management, discount codes, registration / login forms, and more.", 5 5 "homepage": "https://restrictcontentpro.com/", -
restrict-content/tags/3.2.11/readme.txt
r3071907 r3120662 6 6 Requires at least: 6.0 7 7 Requires PHP: 7.4 8 Tested up to: 6. 59 Stable tag: 3.2.1 08 Tested up to: 6.4 9 Stable tag: 3.2.11 10 10 11 11 Restrict Content is a powerful WordPress membership plugin that gives you full control over who can and cannot view content on your WordPress site. … … 258 258 == Changelog == 259 259 260 = 3.2.11 = 261 * Fix: Updated knowledge base links 262 260 263 = 3.2.10 = 261 264 * Fix: Updated libraries to avoid conflicts -
restrict-content/tags/3.2.11/restrictcontent.php
r3071905 r3120662 4 4 * Plugin URI: https://restrictcontentpro.com 5 5 * Description: Set up a complete membership system for your WordPress site and deliver premium content to your members. Unlimited membership packages, membership management, discount codes, registration / login forms, and more. 6 * Version: 3.2.1 06 * Version: 3.2.11 7 7 * Author: StellarWP 8 8 * Author URI: https://stellarwp.com/ … … 19 19 define('RCP_ROOT', plugin_dir_path(__FILE__)); 20 20 define('RCP_WEB_ROOT', plugin_dir_url(__FILE__)); 21 define('RCF_VERSION', '3.2.1 0');21 define('RCF_VERSION', '3.2.11'); 22 22 23 23 // Load Strauss autoload. … … 993 993 add_action('admin_notices', 'restrict_content_bfcm_notice'); 994 994 995 // Stellar Sale Banner. 996 add_action( 997 'admin_notices', 998 function () { 999 // Stop if isn't a RCP page. 1000 if ( ! rcp_is_rcp_admin_page() ) { 1001 return; 1002 } 1003 1004 // Bail if dismissed. 1005 if ( get_option( 'dismissed-restrict-content-stellar-sale-notice', false ) ) { 1006 return; 1007 } 1008 1009 $date = gmdate( 'Ymd' ); 1010 $start = 20240723; 1011 $end = 20240730; 1012 1013 if ( 1014 $date < $start 1015 || $date > $end 1016 ) { 1017 return; 1018 } 1019 1020 ?> 1021 <div class="notice is-dismissible restrict-content-stellar-sale-notice"> 1022 <div class="rcp-notice-header"> 1023 <h3> 1024 <strong> 1025 <?php esc_html_e( 'Make it yours.', 'rcp' ); ?> 1026 </strong> 1027 <span> 1028 <?php esc_html_e( 'Save 40% on Restrict Content Pro.', 'rcp' ); ?> 1029 </span> 1030 </h3> 1031 </div> 1032 <div class="rcp-notice-button"> 1033 <a href="https://go.learndash.com/rcpstellarsale" target="_blank" rel="noopener noreferrer"> 1034 <?php esc_html_e( 'Shop Now', 'rcp' ); ?> 1035 </a> 1036 </div> 1037 1038 <div class="rcp-notice-content"> 1039 <p> 1040 <?php 1041 echo wp_kses( 1042 sprintf( 1043 // translators: %s: Discount percentage. 1044 __( 'Take %s off all StellarWP brands during the annual Stellar Sale. <br />Now through July 30.', 'rcp' ), 1045 '<strong>40%</strong>' 1046 ), 1047 [ 1048 'strong' => [], 1049 'br' => [], 1050 ] 1051 ); 1052 ?> 1053 </p> 1054 1055 <a href="https://go.learndash.com/rcpstellarsale" target="_blank" rel="noopener noreferrer"> 1056 <?php esc_html_e( 'View all StellarWP Deals', 'rcp' ); ?> 1057 </a> 1058 </div> 1059 </div> 1060 <?php 1061 } 1062 ); -
restrict-content/tags/3.2.11/vendor/autoload.php
r3071905 r3120662 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit ea9349c6ed2ab0279eb0942257c65894::getLoader();25 return ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d::getLoader(); -
restrict-content/tags/3.2.11/vendor/composer/autoload_real.php
r3071905 r3120662 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit ea9349c6ed2ab0279eb0942257c658945 class ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit ea9349c6ed2ab0279eb0942257c65894', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit ea9349c6ed2ab0279eb0942257c65894', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit ea9349c6ed2ab0279eb0942257c65894::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
restrict-content/tags/3.2.11/vendor/composer/autoload_static.php
r3071905 r3120662 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit ea9349c6ed2ab0279eb0942257c658947 class ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 67 67 { 68 68 return \Closure::bind(function () use ($loader) { 69 $loader->prefixLengthsPsr4 = ComposerStaticInit ea9349c6ed2ab0279eb0942257c65894::$prefixLengthsPsr4;70 $loader->prefixDirsPsr4 = ComposerStaticInit ea9349c6ed2ab0279eb0942257c65894::$prefixDirsPsr4;71 $loader->classMap = ComposerStaticInit ea9349c6ed2ab0279eb0942257c65894::$classMap;69 $loader->prefixLengthsPsr4 = ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::$prefixLengthsPsr4; 70 $loader->prefixDirsPsr4 = ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::$prefixDirsPsr4; 71 $loader->classMap = ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::$classMap; 72 72 73 73 }, null, ClassLoader::class); -
restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/App.php
r2886519 r3120662 94 94 * Binds an interface a class or a string slug to an implementation and will always return the same instance. 95 95 * 96 * @param string $id A class or interface fully qualified name or a string slug. 97 * @param mixed $implementation The implementation that should be bound to the alias(es); can be a 98 * class name, an object or a closure. 99 * @param array<string>|null $afterBuildMethods An array of methods that should be called on the built 100 * implementation after resolving it. 101 * 102 * @return void This method does not return any value. 96 * @param string|class-string $id A class or interface fully qualified name or a string slug. 97 * @param mixed $implementation The implementation that should be bound to the alias(es); can 98 * be a class name, an object or a closure. 99 * @param string[]|null $afterBuildMethods An array of methods that should be called on the built 100 * implementation after resolving it. 101 * 102 * @return void This method does not return any value. 103 * 103 104 * @throws ContainerException If there's any issue reflecting on the class, interface or the implementation. 104 105 */ … … 129 130 * Finds an entry of the container by its identifier and returns it. 130 131 * 131 * @param string $offset Identifier of the entry to look for. 132 * 133 * @return mixed The entry for an id. 134 * 135 * @return mixed The value for the offset. 132 * @template T 133 * 134 * @param string|class-string<T> $offset Identifier of the entry to look for. 135 * 136 * @return T|mixed The value for the offset. 137 * @phpstan-return ($offset is class-string ? T : mixed) 136 138 * 137 139 * @throws ContainerException Error while retrieving the entry. … … 146 148 * Finds an entry of the container by its identifier and returns it. 147 149 * 148 * @param string $id A fully qualified class or interface name or an already built object. 149 * 150 * @return mixed The entry for an id. 150 * @template T 151 * 152 * @param string|class-string<T> $id A fully qualified class or interface name or an already built object. 153 * 154 * @return T|mixed The entry for an id. 155 * @phpstan-return ($id is class-string ? T : mixed) 151 156 * 152 157 * @throws ContainerException Error while retrieving the entry. … … 164 169 * or the ArrayAccess API then the implementation will be resolved just on the first request. 165 170 * 166 * @param string $id A fully qualified class or interface name or an already built object. 167 * 168 * @return mixed 171 * @template T 172 * 173 * @param string|class-string<T> $id A fully qualified class or interface name or an already built object. 174 * 175 * @return T|mixed 176 * @phpstan-return ($id is class-string ? T : mixed) 177 * 169 178 * @throws ContainerException If the target of the make is not bound and is not a valid, 170 179 * concrete, class name or there's any issue making the target. … … 182 191 * It does however mean that `$container[$id]` will not throw a `NotFoundExceptionInterface`. 183 192 * 184 * @param string $offset An offset to check for.193 * @param string|class-string $offset An offset to check for. 185 194 * 186 195 * @return boolean true on success or false on failure. … … 198 207 * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`. 199 208 * 200 * @param string $id Identifier of the entry to look for.209 * @param string|class-string $id Identifier of the entry to look for. 201 210 * 202 211 * @return bool Whether the container contains a binding for an id or not. … … 276 285 * container itself. 277 286 * 278 * @param string $serviceProviderClass The fully-qualified Service Provider class name.287 * @param class-string $serviceProviderClass The fully-qualified Service Provider class name. 279 288 * @param string ...$alias A list of aliases the provider should be registered with. 280 289 * @return void This method does not return any value. … … 297 306 * Existing implementations are replaced. 298 307 * 299 * @param string $idA class or interface fully qualified name or a string slug.300 * @param mixed $implementation The implementation that should be bound to the alias(es); can be a301 * class name, an object or a closure.302 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the built303 * implementation after resolving it.308 * @param string|class-string $id A class or interface fully qualified name or a string slug. 309 * @param mixed $implementation The implementation that should be bound to the alias(es); can 310 * be a class name, an object or a closure. 311 * @param string[]|null $afterBuildMethods An array of methods that should be called on the built 312 * implementation after resolving it. 304 313 * 305 314 * @return void The method does not return any value. 315 * 306 316 * @throws ContainerException If there's an issue while trying to bind the implementation. 307 317 */ … … 329 339 * Binds a class, interface or string slug to a chain of implementations decorating a base 330 340 * object; the chain will be lazily resolved only on the first call. 331 *332 341 * The base decorated object must be the last element of the array. 333 342 * 334 * @param string $id The class, interface or slug the decorator chain should335 * be bound to.336 * @param array<string|object|callable> $decoratorsAn array of implementations that decorate an object.337 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the338 * instance after it has been built; the methods should not339 * require any argument.343 * @param string|class-string $id The class, interface or slug the decorator chain 344 * should be bound to. 345 * @param array<string|object|callable> $decorators An array of implementations that decorate an object. 346 * @param string[]|null $afterBuildMethods An array of methods that should be called on the 347 * instance after it has been built; the methods should 348 * not require any argument. 340 349 * 341 350 * @return void This method does not return any value. … … 348 357 349 358 /** 350 * Binds a class, interface or string slug to toa chain of implementations decorating a359 * Binds a class, interface or string slug to a chain of implementations decorating a 351 360 * base object. 352 361 * 353 362 * The base decorated object must be the last element of the array. 354 363 * 355 * @param string $id The class, interface or slug the decorator chain should356 * be bound to.357 * @param array<string|object|callable> $decoratorsAn array of implementations that decorate an object.358 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the359 * instance after it has been built; the methods should not360 * require any argument.364 * @param string|class-string $id The class, interface or slug the decorator chain 365 * should be bound to. 366 * @param array<string|object|callable> $decorators An array of implementations that decorate an object. 367 * @param string[]|null $afterBuildMethods An array of methods that should be called on the 368 * instance after it has been built; the methods should 369 * not require any argument. 361 370 * 362 371 * @return void This method does not return any value. … … 383 392 * Starts the `when->needs->give` chain for a contextual binding. 384 393 * 385 * @param string $class The fully qualified name of the requesting class.394 * @param string|class-string $class The fully qualified name of the requesting class. 386 395 * 387 396 * Example: … … 391 400 * // But if the requesting class is `Worker` return another implementation 392 401 * $container->when('Worker') 393 * ->needs('LoggerInterface )394 * ->give('RemoteLogger );402 * ->needs('LoggerInterface') 403 * ->give('RemoteLogger'); 395 404 * 396 405 * @return Container The container instance, to continue the when/needs/give chain. … … 410 419 * // But if the requesting class is `Worker` return another implementation. 411 420 * $container->when('Worker') 412 * ->needs('LoggerInterface )413 * ->give('RemoteLogger );414 * 415 * @param string $id The class or interface needed by the class.421 * ->needs('LoggerInterface') 422 * ->give('RemoteLogger'); 423 * 424 * @param string|class-string $id The class or interface needed by the class. 416 425 * 417 426 * @return Container The container instance, to continue the when/needs/give chain. … … 431 440 * // but if the requesting class is `Worker` return another implementation 432 441 * $container->when('Worker') 433 * ->needs('LoggerInterface )434 * ->give('RemoteLogger );442 * ->needs('LoggerInterface') 443 * ->give('RemoteLogger'); 435 444 * 436 445 * @param mixed $implementation The implementation specified … … 448 457 * bound to `$id` and return the value of a call to `$method` method with the call arguments. 449 458 * 450 * @param string|object $id A fully-qualified class name, a bound slug or an object o call the 451 * callback on. 452 * @param string $method The method that should be called on the resolved implementation with the 453 * specified array arguments. 454 * 455 * @return mixed The called method return value. 456 * 459 * @param string|class-string|object $id A fully-qualified class name, a bound slug or an object o call the 460 * callback on. 461 * @param string $method The method that should be called on the resolved implementation 462 * with the specified array arguments. 463 * 464 * @return callable The callback function. 457 465 * @throws ContainerException If the id is not a bound implementation or valid class name. 458 466 */ … … 465 473 * Returns a callable object that will build an instance of the specified class using the 466 474 * specified arguments when called. 467 *468 475 * The callable will be a closure on PHP 5.3+ or a lambda function on PHP 5.2. 469 476 * 470 * @param string|mixed $idThe fully qualified name of a class or an interface.471 * @param array<mixed> $buildArgs An array of arguments that should be used to build the instance;472 * note that any argument will be resolved using the container itself473 * and bindings will apply.474 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the built475 * implementation after resolving it.477 * @param string|class-string|mixed $id The fully qualified name of a class or an interface. 478 * @param array<mixed> $buildArgs An array of arguments that should be used to build the 479 * instance; note that any argument will be resolved using 480 * the container itself and bindings will apply. 481 * @param string[]|null $afterBuildMethods An array of methods that should be called on the built 482 * implementation after resolving it. 476 483 * 477 484 * @return callable A callable function that will return an instance of the specified class when … … 498 505 * Returns the Service Provider instance registered. 499 506 * 500 * @param string $providerId The Service Provider clas to return the instance for.507 * @param string|class-string $providerId The Service Provider class to return the instance for. 501 508 * 502 509 * @return ServiceProvider The service provider instance. … … 513 520 * Returns whether a binding exists in the container or not. 514 521 * 515 * `isBound($id)` returning `true` means the acall to `bind($id, $implementaion)` or `singleton($id,522 * `isBound($id)` returning `true` means the call to `bind($id, $implementaion)` or `singleton($id, 516 523 * $implementation)` (or equivalent ArrayAccess methods) was explicitly made. 517 524 * 518 * @param string $id The id to check for bindings in the container.525 * @param string|class-string $id The id to check for bindings in the container. 519 526 * 520 527 * @return bool Whether an explicit binding for the id exists in the container or not. -
restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/ClassBuilder.php
r2886519 r3120662 14 14 use RCP\lucatume\DI52\ContainerException; 15 15 use RCP\lucatume\DI52\NotFoundException; 16 use ReflectionException; 16 17 use ReflectionMethod; 17 18 … … 42 43 * The fully-qualified class name the builder should build instances of. 43 44 * 44 * @var string45 * @var class-string 45 46 */ 46 47 protected $className; … … 60 61 61 62 /** 63 * Whether the $className is an implementation of $id 64 * and $id is an interface. 65 * 66 * @var bool 67 */ 68 protected $isInterface = false; 69 70 /** 62 71 * ClassBuilder constructor. 63 72 * 64 * @param string $idThe identifier associated with this builder.65 * @param Resolver $resolverA reference to the resolver currently using the builder.66 * @param string $classNameThe fully-qualified class name to build instances for.67 * @param array<string>|null $afterBuildMethodsAn optional set of methods to call on the built object.68 * @param mixed ...$buildArgs An optional set of build arguments that should be provided to the69 * class constructor method.73 * @param string|class-string $id The identifier associated with this builder. 74 * @param Resolver $resolver A reference to the resolver currently using the builder. 75 * @param string $className The fully-qualified class name to build instances for. 76 * @param array<string>|null $afterBuildMethods An optional set of methods to call on the built object. 77 * @param mixed ...$buildArgs An optional set of build arguments that should be provided to 78 * the class constructor method. 70 79 * 71 80 * @throws NotFoundException If the class does not exist. … … 75 84 if (!class_exists($className)) { 76 85 throw new NotFoundException( 77 "nothing is bound to the ' {$className}' id and it's not an existing or instantiable class."86 "nothing is bound to the '$className' id and it's not an existing or instantiable class." 78 87 ); 79 88 } 89 90 $interfaces = class_implements($className); 91 92 if ($interfaces && isset($interfaces[$id])) { 93 $this->isInterface = true; 94 } 95 80 96 $this->id = $id; 81 97 $this->className = $className; … … 89 105 * 90 106 * @return object An instance of the class. 107 * 108 * @throws ContainerException 91 109 */ 92 110 public function build() … … 135 153 * Returns a set of resolved constructor parameters. 136 154 * 137 * @param string $className The fully-qualified class name to get the resolved constructor parameters yet. 155 * @param class-string $className The fully-qualified class name to get the resolved constructor parameters yet. 156 * 138 157 * @return array<Parameter> A set of resolved constructor parameters. 139 158 * … … 148 167 try { 149 168 $constructorReflection = new ReflectionMethod($className, '__construct'); 150 } catch ( \ReflectionException $e) {169 } catch (ReflectionException $e) { 151 170 static::$constructorParametersCache[$className] = []; 152 171 // No constructor method, no args. … … 175 194 * 176 195 * @return mixed The resolved build argument. 196 * 197 * @throws NotFoundException 177 198 */ 178 199 protected function resolveBuildArg($arg) … … 199 220 if ($paramClass) { 200 221 $parameterImplementation = $this->resolver->whenNeedsGive($this->id, $paramClass); 222 } elseif ($this->isInterface) { 223 $name = $parameter->getName(); 224 // If an interface was requested, resolve the underlying concrete class instead. 225 $parameterImplementation = $this->resolver->whenNeedsGive($this->className, "\$$name"); 201 226 } else { 202 227 $name = $parameter->getName(); 203 228 $parameterImplementation = $this->resolver->whenNeedsGive($this->id, "\$$name"); 204 229 } 230 205 231 try { 206 232 return $parameterImplementation instanceof BuilderInterface ? -
restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/Factory.php
r2886519 r3120662 50 50 * Returns the correct builder for a value. 51 51 * 52 * @param string|mixed $id The string id to provide a builder for, or a value. 53 * @param mixed $implementation The implementation to build the builder for. 54 * @param array<string>|null $afterBuildMethods A list of methods that should be called on the built instance 55 * after 56 * it's been built. 57 * @param mixed ...$buildArgs A set of arguments to pass that should be used to build the 58 * instance, if any. 52 * @param string|class-string|mixed $id The string id to provide a builder for, or a value. 53 * @param mixed $implementation The implementation to build the builder for. 54 * @param string[]|null $afterBuildMethods A list of methods that should be called on the built 55 * instance after it's been built. 56 * @param mixed ...$buildArgs A set of arguments to pass that should be used to build 57 * the instance, if any. 59 58 * 60 59 * @return BuilderInterface A builder instance. -
restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/Parameter.php
r2886519 r3120662 211 211 212 212 try { 213 if (function_exists('enum_exists') && enum_exists( $this->type)) {213 if (function_exists('enum_exists') && enum_exists((string) $this->type)) { 214 214 return false; 215 215 } -
restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/Resolver.php
r2886519 r3120662 69 69 * Binds an implementation for an id, or class name, as prototype (build new each time). 70 70 * 71 * @param string $idThe id to register the implementation for.72 * @param BuilderInterface $implementationThe builder that will provide the implementation for the id.71 * @param string|class-string $id The id to register the implementation for. 72 * @param BuilderInterface $implementation The builder that will provide the implementation for the id. 73 73 * 74 74 * @return void This method does not return any value. … … 83 83 * Registers an implementation for an id, or class name, as singleton (build at most once). 84 84 * 85 * @param string $idThe id to register the implementation for.86 * @param BuilderInterface $implementationThe builder that will provide the implementation for87 * the id.85 * @param string|class-string $id The id to register the implementation for. 86 * @param BuilderInterface $implementation The builder that will provide the implementation for 87 * the id. 88 88 * 89 89 * @return void This method does not return any value. … … 110 110 * Removes the relation between an id and a bound implementation from the resolver. 111 111 * 112 * @param string $id The id to unregister the implementation for.112 * @param string|class-string $id The id to unregister the implementation for. 113 113 * 114 114 * @return void This method does not return any value. … … 122 122 * Returns whether a specific id is bound as singleton (build at most once), or not. 123 123 * 124 * @param string $id The id to check.124 * @param string|class-string $id The id to check. 125 125 * 126 126 * @return bool Whether a specific id is bound as singleton (build at most once), or not. … … 134 134 * Transform the canonical class to the class part of a when-needs-give specification, if required. 135 135 * 136 * @param string $idThe ID to resolve the when-needs-give case for.137 * @param string $paramClassThe class of the parameter to solve the when-needs-give case for.136 * @param string|class-string $id The ID to resolve the when-needs-give case for. 137 * @param string $paramClass The class of the parameter to solve the when-needs-give case for. 138 138 * 139 139 * @return BuilderInterface|string Either the builder for the when-needs-give replacement, or the input parameter … … 150 150 * Sets an entry in the when->needs->give chain. 151 151 * 152 * @param string $whenClassThe "when" part of the chain, a class name or id.153 * @param string $needsClassThe "needs" part of the chain, a class name or id.154 * @param BuilderInterface $builderThe Builder instance that should be returned when a class needs the155 * specified id.152 * @param string|class-string $whenClass The "when" part of the chain, a class name or id. 153 * @param string|class-string $needsClass The "needs" part of the chain, a class name or id. 154 * @param BuilderInterface $builder The Builder instance that should be returned when a class needs the 155 * specified id. 156 156 * 157 157 * @return void This method does not return any value. … … 165 165 * Resolves an ide to an implementation with the input arguments. 166 166 * 167 * @param string|mixed $idThe id, class name or built value to resolve.168 * @param array<string>|null $afterBuildMethodsA list of methods that should run on the built167 * @param string|class-string|mixed $id The id, class name or built value to resolve. 168 * @param string[]|null $afterBuildMethods A list of methods that should run on the built 169 169 * instance. 170 * @param mixed ...$buildArgsA set of build arguments that will be passed to170 * @param mixed ...$buildArgs A set of build arguments that will be passed to 171 171 * the implementation constructor. 172 * 172 173 * @return BuilderInterface|ReinitializableBuilderInterface|mixed The builder, set up to use the specified set of 173 174 * build arguments. … … 189 190 * Resolves an id or input value to a value or object instance. 190 191 * 191 * @param string|mixed $id Either the id of a bound implementation, a class name or an object 192 * to resolve. 193 * @param array<string>|null $buildLine The build line to append the resolution leafs to, or `null` to use the 194 * current one. 195 * @return mixed The resolved value or instance. 192 * @template T 193 * 194 * @param string|class-string<T>|mixed $id Either the id of a bound implementation, a class name or an 195 * object to resolve. 196 * @param string[]|null $buildLine The build line to append the resolution leafs to, or `null` to 197 * use the current one. 198 * 199 * @return T|mixed The resolved value or instance. 200 * @phpstan-return ($id is class-string ? T : mixed) 196 201 * 197 202 * @throws NotFoundException If the id is a string that is not bound and is not an existing, concrete, class. … … 223 228 * Builds, with auto-wiring, an instance of a not bound class. 224 229 * 225 * @param string $id The class name to build an instance of.230 * @param string|class-string $id The class name to build an instance of. 226 231 * 227 232 * @return object The built class instance. … … 244 249 * Resolves a bound implementation to a value or object. 245 250 * 246 * @param string $id The id to resolve the implementation for.251 * @param string|class-string $id The id to resolve the implementation for. 247 252 * 248 253 * @return mixed The resolved instance. … … 260 265 /** 261 266 * Clones the builder assigned to an id and re-initializes it. 262 *263 267 * The clone operation leverages the already resolved dependencies of a builder to create an up-to-date instance. 264 268 * 265 * @param string $id The id to clone the builder of. 266 * @param array<string>|null $afterBuildMethods A set of methods to run on the built instance. 267 * @param mixed ...$buildArgs An optional set of arguments that will be passed to the instance 268 * constructor. 269 * @param string|class-string $id The id to clone the builder of. 270 * @param string[]|null $afterBuildMethods A set of methods to run on the built instance. 271 * @param mixed ...$buildArgs An optional set of arguments that will be passed to the instance 272 * constructor. 273 * 269 274 * @return BuilderInterface A new instance of the builder currently related to the id. 270 *271 275 * @throws NotFoundException If trying to clone the builder for a non existing id or an id that does not map to a 272 276 * concrete class name. … … 296 300 public function addToBuildLine($type, $parameterName) 297 301 { 298 $this->buildLine[] = trim(" {$type} \${$parameterName}");302 $this->buildLine[] = trim("$type \$$parameterName"); 299 303 } 300 304 … … 305 309 * currently being resolved. Used for error logging and formatting. 306 310 * 307 * @return array<string>A set of consecutive items the resolver is currently trying to build.311 * @return string[] A set of consecutive items the resolver is currently trying to build. 308 312 */ 309 313 public function getBuildLine() -
restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Container.php
r2886519 r3120662 52 52 * A list of bound and resolved singletons. 53 53 * 54 * @var array<string ,bool>54 * @var array<string|class-string,bool> 55 55 */ 56 56 protected $singletons = []; … … 106 106 $this->resolver = new Builders\Resolver($resolveUnboundAsSingletons); 107 107 $this->builders = new Builders\Factory($this, $this->resolver); 108 $this-> singleton(Container::class, $this);108 $this->bindThis(); 109 109 } 110 110 … … 187 187 * Finds an entry of the container by its identifier and returns it. 188 188 * 189 * @param string $offset Identifier of the entry to look for. 190 * 191 * @return mixed The entry for an id. 192 * 193 * @return mixed The value for the offset. 189 * @template T 190 * 191 * @param string|class-string<T> $offset Identifier of the entry to look for. 192 * 193 * @return T|mixed The value for the offset. 194 * @phpstan-return ($offset is class-string ? T : mixed) 194 195 * 195 196 * @throws ContainerException Error while retrieving the entry. … … 205 206 * Finds an entry of the container by its identifier and returns it. 206 207 * 207 * @param string $id A fully qualified class or interface name or an already built object. 208 * 209 * @return mixed The entry for an id. 208 * @template T 209 * 210 * @param string|class-string<T> $id A fully qualified class or interface name or an already built object. 211 * 212 * @return T|mixed The entry for an id. 213 * @phpstan-return ($id is class-string ? T : mixed) 210 214 * 211 215 * @throws ContainerException Error while retrieving the entry. … … 253 257 * or the ArrayAccess API then the implementation will be resolved just on the first request. 254 258 * 255 * @param string $id A fully qualified class or interface name or an already built object. 256 * 257 * @return mixed 259 * @template T 260 * 261 * @param string|class-string<T> $id A fully qualified class or interface name or an already built object. 262 * 263 * @return T|mixed 264 * @phpstan-return ($id is class-string ? T : mixed) 265 * 258 266 * @throws ContainerException If the target of the make is not bound and is not a valid, 259 267 * concrete, class name or there's any issue making the target. … … 271 279 * It does however mean that `$container[$id]` will not throw a `NotFoundExceptionInterface`. 272 280 * 273 * @param string $offset An offset to check for.281 * @param string|class-string $offset An offset to check for. 274 282 * 275 283 * @return boolean true on success or false on failure. … … 288 296 * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`. 289 297 * 290 * @param string $id Identifier of the entry to look for.298 * @param string|class-string $id Identifier of the entry to look for. 291 299 * 292 300 * @return bool Whether the container contains a binding for an id or not. … … 368 376 * A wrapper around the `class_exists` function to capture and handle possible fatal errors on PHP 7.0+. 369 377 * 370 * @param string $class The class name to check.378 * @param string|class-string $class The class name to check. 371 379 * 372 380 * @return bool Whether the class exists or not. … … 402 410 * Checks a class, interface or trait exists. 403 411 * 404 * @param string $class The class, interface or trait to check.412 * @param string|class-string $class The class, interface or trait to check. 405 413 * 406 414 * @return bool Whether the class, interface or trait exists or not. … … 437 445 * container itself. 438 446 * 439 * @param string $serviceProviderClass The fully-qualified Service Provider class name.447 * @param class-string $serviceProviderClass The fully-qualified Service Provider class name. 440 448 * @param string ...$alias A list of aliases the provider should be registered with. 441 449 * @return void This method does not return any value. … … 513 521 * Existing implementations are replaced. 514 522 * 515 * @param string $idA class or interface fully qualified name or a string slug.516 * @param mixed $implementation The implementation that should be bound to the alias(es); can be a517 * class name, an object or a closure.518 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the built519 * implementation after resolving it.523 * @param string|class-string $id A class or interface fully qualified name or a string slug. 524 * @param mixed $implementation The implementation that should be bound to the alias(es); can 525 * be a class name, an object or a closure. 526 * @param string[]|null $afterBuildMethods An array of methods that should be called on the built 527 * implementation after resolving it. 520 528 * 521 529 * @return void The method does not return any value. 530 * 522 531 * @throws ContainerException If there's an issue while trying to bind the implementation. 523 532 */ … … 556 565 * Binds a class, interface or string slug to a chain of implementations decorating a base 557 566 * object; the chain will be lazily resolved only on the first call. 558 *559 567 * The base decorated object must be the last element of the array. 560 568 * 561 * @param string $id The class, interface or slug the decorator chain should562 * be bound to.563 * @param array<string|object|callable> $decoratorsAn array of implementations that decorate an object.564 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the565 * instance after it has been built; the methods should not566 * require any argument.569 * @param string|class-string $id The class, interface or slug the decorator chain 570 * should be bound to. 571 * @param array<string|object|callable> $decorators An array of implementations that decorate an object. 572 * @param string[]|null $afterBuildMethods An array of methods that should be called on the 573 * instance after it has been built; the methods should 574 * not require any argument. 567 575 * 568 576 * @return void This method does not return any value. … … 604 612 605 613 /** 606 * Binds a class, interface or string slug to toa chain of implementations decorating a614 * Binds a class, interface or string slug to a chain of implementations decorating a 607 615 * base object. 608 616 * 609 617 * The base decorated object must be the last element of the array. 610 618 * 611 * @param string $id The class, interface or slug the decorator chain should612 * be bound to.613 * @param array<string|object|callable> $decoratorsAn array of implementations that decorate an object.614 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the615 * instance after it has been built; the methods should not616 * require any argument.619 * @param string|class-string $id The class, interface or slug the decorator chain 620 * should be bound to. 621 * @param array<string|object|callable> $decorators An array of implementations that decorate an object. 622 * @param string[]|null $afterBuildMethods An array of methods that should be called on the 623 * instance after it has been built; the methods should 624 * not require any argument. 617 625 * 618 626 * @return void This method does not return any value. … … 644 652 * Starts the `when->needs->give` chain for a contextual binding. 645 653 * 646 * @param string $class The fully qualified name of the requesting class.654 * @param string|class-string $class The fully qualified name of the requesting class. 647 655 * 648 656 * Example: … … 652 660 * // But if the requesting class is `Worker` return another implementation 653 661 * $container->when('Worker') 654 * ->needs('LoggerInterface )655 * ->give('RemoteLogger );662 * ->needs('LoggerInterface') 663 * ->give('RemoteLogger'); 656 664 * 657 665 * @return Container The container instance, to continue the when/needs/give chain. … … 673 681 * // But if the requesting class is `Worker` return another implementation. 674 682 * $container->when('Worker') 675 * ->needs('LoggerInterface )676 * ->give('RemoteLogger );677 * 678 * @param string $id The class or interface needed by the class.683 * ->needs('LoggerInterface') 684 * ->give('RemoteLogger'); 685 * 686 * @param string|class-string $id The class or interface needed by the class. 679 687 * 680 688 * @return Container The container instance, to continue the when/needs/give chain. … … 696 704 * // but if the requesting class is `Worker` return another implementation 697 705 * $container->when('Worker') 698 * ->needs('LoggerInterface )699 * ->give('RemoteLogger );706 * ->needs('LoggerInterface') 707 * ->give('RemoteLogger'); 700 708 * 701 709 * @param mixed $implementation The implementation specified … … 716 724 * bound to `$id` and return the value of a call to `$method` method with the call arguments. 717 725 * 718 * @param string|object $id A fully-qualified class name, a bound slug or an object o call the 719 * callback on. 720 * @param string $method The method that should be called on the resolved implementation with the 721 * specified array arguments. 722 * 723 * @return mixed The called method return value. 724 * 726 * @param string|class-string|object $id A fully-qualified class name, a bound slug or an object o call the 727 * callback on. 728 * @param string $method The method that should be called on the resolved implementation 729 * with the specified array arguments. 730 * 731 * @return callable|Closure The callback function. 725 732 * @throws ContainerException If the id is not a bound implementation or valid class name. 726 733 */ … … 764 771 * Whether a method of an id, possibly not a class, is static or not. 765 772 * 766 * @param object|string $objectA class name, instance or something that does not map to a class.767 * @param string $methodThe method to check.773 * @param object|string|class-string $object A class name, instance or something that does not map to a class. 774 * @param string $method The method to check. 768 775 * 769 776 * @return bool Whether a method of an id or class is static or not. … … 787 794 * Returns a callable object that will build an instance of the specified class using the 788 795 * specified arguments when called. 789 *790 796 * The callable will be a closure on PHP 5.3+ or a lambda function on PHP 5.2. 791 797 * 792 * @param string|mixed $idThe fully qualified name of a class or an interface.793 * @param array<mixed> $buildArgs An array of arguments that should be used to build the instance;794 * note that any argument will be resolved using the container itself795 * and bindings will apply.796 * @param array<string>|null $afterBuildMethodsAn array of methods that should be called on the built797 * implementation after resolving it.798 * 799 * @return callable A callable function that will return an instance of the specified class when798 * @param string|class-string|mixed $id The fully qualified name of a class or an interface. 799 * @param array<mixed> $buildArgs An array of arguments that should be used to build the 800 * instance; note that any argument will be resolved using 801 * the container itself and bindings will apply. 802 * @param string[]|null $afterBuildMethods An array of methods that should be called on the built 803 * implementation after resolving it. 804 * 805 * @return callable|Closure A callable function that will return an instance of the specified class when 800 806 * called. 801 807 */ … … 826 832 * Returns the Service Provider instance registered. 827 833 * 828 * @param string $providerId The Service Provider clas to return the instance for.834 * @param string|class-string $providerId The Service Provider clas to return the instance for. 829 835 * 830 836 * @return ServiceProvider The service provider instance. … … 836 842 { 837 843 if (!$this->resolver->isBound($providerId)) { 838 throw new NotFoundException("Service provider ' {$providerId}' is not registered in the container.");844 throw new NotFoundException("Service provider '$providerId' is not registered in the container."); 839 845 } 840 846 … … 842 848 843 849 if (! $provider instanceof ServiceProvider) { 844 throw new NotFoundException("Bound implementation for ' {$providerId}' is not Service Provider.");850 throw new NotFoundException("Bound implementation for '$providerId' is not Service Provider."); 845 851 } 846 852 … … 874 880 $this->maskThrowables = (int)$maskThrowables; 875 881 } 882 883 /** 884 * Binds the container to the base class name, the current class name and the container interface. 885 * 886 * @return void 887 */ 888 private function bindThis() 889 { 890 $this->singleton(ContainerInterface::class, $this); 891 $this->singleton(Container::class, $this); 892 if (get_class($this) !== Container::class) { 893 $this->singleton(get_class($this), $this); 894 } 895 } 896 897 /** 898 * Upon cloning, clones the resolver and builders instances. 899 * 900 * @return void 901 */ 902 public function __clone() 903 { 904 $this->resolver = clone $this->resolver; 905 $this->builders = clone $this->builders; 906 $this->bindThis(); 907 } 876 908 } -
restrict-content/tags/3.2.11/vendor/strauss/stellarwp/container-contract/src/ContainerInterface.php
r2886519 r3120662 34 34 * @param string|class-string<T> $id Identifier of the entry to look for. 35 35 * 36 * @return ($id is class-string<T> ? T : mixed) Entry. 36 * @return T|mixed 37 * @phpstan-return ($id is class-string ? T : mixed) 37 38 */ 38 39 public function get( string $id );
Note: See TracChangeset
for help on using the changeset viewer.