Plugin Directory

Changeset 3120662


Ignore:
Timestamp:
07/17/2024 05:17:23 PM (17 months ago)
Author:
claudiosanches
Message:

Tagging version 3.2.11

Location:
restrict-content/tags/3.2.11
Files:
6 added
52 edited
1 copied

Legend:

Unmodified
Added
Removed
  • restrict-content/tags/3.2.11/composer.json

    r3071905 r3120662  
    11{
    22    "name": "restrictcontent/restrict-content",
    3     "version": "3.2.10",
     3    "version": "3.2.11",
    44    "type": "wordpress-plugin",
    55    "description": "A simple, yet powerful membership solution for WordPress.",
  • restrict-content/tags/3.2.11/core/includes/admin/admin-notices.php

    r2886519 r3120662  
    8181        if ( rcp_is_gateway_enabled( 'authorizenet' ) && ! defined( 'RCP_ANET_VERSION' ) ) {
    8282            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>';
    8695            echo '</div>';
    8796        }
     
    9099        if ( rcp_is_gateway_enabled( 'stripe_checkout' ) ) {
    91100            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>';
    94115            echo '</div>';
    95116        }
     
    296317            case 'invalid_level_trial' :
    297318
    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/' );
    299321                $class = 'error';
    300322                break;
  • restrict-content/tags/3.2.11/core/includes/admin/import/import-functions.php

    r2642097 r3120662  
    3131            'key'           => 'memberships',
    3232            // 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/' ),
    3435            // Batch processor callback class name.
    3536            'callback'      => 'RCP_Batch_Callback_Import_Memberships',
     
    6566            'name'          => __( 'Payments', 'rcp' ),
    6667            '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/' ),
    6870            'callback'      => 'RCP_Batch_Callback_Import_Payments',
    6971            '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  
    127127            <?php printf(
    128128                __( '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">',
    130130                '</a>'
    131131            ); ?>
  • restrict-content/tags/3.2.11/core/includes/admin/settings/settings.php

    r3032297 r3120662  
    487487                                        <div class="rcp_stripe_help_box_inner_container">
    488488                                            <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>
    490507                                                <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>
    491508                                                <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  
    145145                            __('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'),
    146146                            '[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/' )
    148148                        );
    149149                        ?>
  • restrict-content/tags/3.2.11/core/includes/admin/subscriptions/subscription-levels.php

    r2990129 r3120662  
    176176                                            __('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'),
    177177                                            '[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/' )
    179179                                        );
    180180                                        ?>
  • restrict-content/tags/3.2.11/core/includes/class-restrict-content.php

    r3071905 r3120662  
    2727     */
    2828    final class Restrict_Content_Pro {
    29         const VERSION = '3.5.41';
     29        const VERSION = '3.5.42';
    3030
    3131        /**
  • 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%}
     1input[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  
    2020    color: #F9E26E;
    2121}
     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  
    44 *
    55 * 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/
    78 *
    89 * @package     Restrict Content Pro
     
    1314*/
    1415
     16/**
     17 * Payment Gateway Base Class.
     18 *
     19 * @since 2.1
     20 */
    1521class RCP_Payment_Gateway {
    1622
  • 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
     1function 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  
    3737        });
    3838    });
    39    
     39
    4040    $( document ).on( 'click', '.restrict-content-bfcm-notice .notice-dismiss', function() {
    4141        $.ajax({
     
    5555        });
    5656    });
     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    });
    5769});
  • 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)}})}))}));
     1jQuery(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  
    113113
    114114    // 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    );
    150140}
    151141add_action( 'admin_enqueue_scripts', 'rcp_admin_scripts' );
     
    183173        wp_enqueue_style( 'rcp-admin', RCP_PLUGIN_URL . 'core/includes/css/admin-styles' . $suffix . '.css', array(), RCP_PLUGIN_VERSION );
    184174    }
     175
     176    wp_enqueue_style( 'rcp-global-admin', RCP_PLUGIN_URL . 'core/includes/css/rcp-global-admin' . $suffix . '.css', [], RCP_PLUGIN_VERSION );
    185177}
    186178add_action( 'admin_enqueue_scripts', 'rcp_admin_styles' );
     
    345337    $name = sanitize_text_field( $_POST['name'] );
    346338
    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 );
    354353}
    355354
  • restrict-content/tags/3.2.11/core/templates/card-form-full.php

    r2642097 r3120662  
    77 * requires a full billing address.
    88 *
    9  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1010 *
    1111 * @package     Restrict Content Pro
     
    1414 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
    1515 */
     16
    1617?>
    1718
  • restrict-content/tags/3.2.11/core/templates/card-form.php

    r2642097 r3120662  
    66 * form when selecting a gateway that supports taking credit/debit card details directly.
    77 *
    8  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    99 *
    1010 * @package     Restrict Content Pro
     
    1313 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
    1414 */
     15
    1516?>
    1617
  • restrict-content/tags/3.2.11/core/templates/card-update-form-fields.php

    r3032297 r3120662  
    1212 * @see RCP_Payment_Gateway::update_card_fields()
    1313 *
    14  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     14 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1515 *
    1616 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/card-update-form.php

    r3032297 r3120662  
    77 * @link https://restrictcontentpro.com/knowledgebase/rcp_update_card
    88 *
    9  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1010 *
    1111 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/change-password.php

    r2642097 r3120662  
    55 * This form is for changing an account password.
    66 *
    7  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    88 *
    99 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/comments-no-access.php

    r2642097 r3120662  
    77 * to read comments on restricted posts.
    88 *
    9  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1010 *
    1111 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/emails/body.php

    r2642097 r3120662  
    55 * Use {email} as a placeholder for the content entered in Restrict > Settings > Emails.
    66 *
    7  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    88 *
    99 * @package     Restrict Content Pro
     
    1414 */
    1515
    16 
    1716// Exit if accessed directly
    1817if ( ! defined( 'ABSPATH' ) ) exit;
    19 
    2018
    2119// {email} is replaced by the content entered in Restrict > Settings > Emails
  • restrict-content/tags/3.2.11/core/templates/emails/footer.php

    r2642097 r3120662  
    33 * Email Footer for the Default Template
    44 *
    5  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     5 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    66 *
    77 * @package     Restrict Content Pro
     
    1212 */
    1313
    14 
    1514// Exit if accessed directly
    1615if ( ! defined( 'ABSPATH' ) ) exit;
    17 
    1816
    1917// 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  
    33 * Email Header for the Default Template
    44 *
    5  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     5 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    66 *
    77 * @package     Restrict Content Pro
     
    1111 * @since       2.7
    1212 */
    13 
    1413
    1514// Exit if accessed directly
  • restrict-content/tags/3.2.11/core/templates/invoice.php

    r2642097 r3120662  
    55 * Template for displaying invoice details.
    66 *
    7  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    88 *
    99 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/login.php

    r2642097 r3120662  
    66 * @link http://docs.restrictcontentpro.com/article/1598-loginform
    77 *
    8  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    99 *
    1010 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/lostpassword.php

    r2642097 r3120662  
    66 * when a user clicks the "lost your password" link.
    77 *
    8  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    99 *
    1010 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/lostpassword_checkemail.php

    r2642097 r3120662  
    55 * This message is shown after filling out the lost password form.
    66 *
    7  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     7 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    88 *
    99 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/paypal-express-confirm.php

    r2642097 r3120662  
    66 * asked to confirm the subscription details.
    77 *
    8  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    99 *
    1010 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/profile-editor.php

    r3032297 r3120662  
    77 * @link https://restrictcontentpro.com/knowledgebase/rcp_profile_editor
    88 *
    9  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1010 *
    1111 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/register-common.php

    r3032297 r3120662  
    99 * @link https://restrictcontentpro.com/knowledgebase/register_form
    1010 *
    11  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     11 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1212 *
    1313 * @package     Restrict Content Pro
     
    158158    $do_we_have_levels = isset( $levels );
    159159
    160     if ( $do_we_have_levels ) { 
     160    if ( $do_we_have_levels ) {
    161161        do_action( 'rcp_after_register_form_fields', $levels );
    162162    } else {
     
    273273
    274274    <?php
    275     if ( $do_we_have_levels ) { 
     275    if ( $do_we_have_levels ) {
    276276        do_action( 'rcp_before_registration_submit_field', $levels );
    277277    } else {
  • restrict-content/tags/3.2.11/core/templates/register-single.php

    r3032297 r3120662  
    88 * @link https://restrictcontentpro.com/knowledgebase/register_form
    99 *
    10  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     10 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1111 *
    1212 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/register-total-details.php

    r3032297 r3120662  
    88 * @link https://restrictcontentpro.com/knowledgebase/register_form
    99 *
    10  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     10 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1111 *
    1212 * @since 3.4 Show discount information below fees if "Discount Signup Fees" is enabled.
     
    3939            <th>Membership Details</th>
    4040        </tr>
    41        
     41
    4242        </thead>
    4343
     
    4646            <td><?php _e( 'Membership', 'rcp' ); ?></td>
    4747            <td data-title="Membership" data-th="<?php esc_attr_e( 'Membership', 'rcp' ); ?>"><?php echo esc_html( $membership_level->get_name() ); ?></td>
    48            
     48
    4949        </tr>
    50        
     50
    5151        <tr class="membership-level-price">
    5252            <td><?php _e( 'Amount', 'rcp' ); ?></td>
  • restrict-content/tags/3.2.11/core/templates/register.php

    r3032297 r3120662  
    88 * @link https://restrictcontentpro.com/knowledgebase/register_form
    99 *
    10  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     10 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1111 *
    1212 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/subscription.php

    r3032297 r3120662  
    77 * @link        https://restrictcontentpro.com/knowledgebase/subscription_details
    88 *
    9  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     9 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    1010 *
    1111 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/core/templates/woocommerce-single-no-access.php

    r2642097 r3120662  
    66 * tries to view a restricted product.
    77 *
    8  * For modifying this template, please see: http://docs.restrictcontentpro.com/article/1738-template-files
     8 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
    99 *
    1010 * @package     Restrict Content Pro
  • restrict-content/tags/3.2.11/lang/restrict-content.pot

    r3071905 r3120662  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Restrict Content 3.2.10\n"
     5"Project-Id-Version: Restrict Content 3.2.11-release/R24.caramellos-dbf93d6\n"
    66"Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
    7 "POT-Creation-Date: 2024-04-16 18:19:34+00:00\n"
     7"POT-Creation-Date: 2024-07-16 23:15:57+00:00\n"
    88"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n"
    99"MIME-Version: 1.0\n"
     
    154154msgstr ""
    155155
    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
     159msgid "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>."
     160msgstr ""
     161
     162#: core/includes/admin/admin-notices.php:94
    161163msgid "Install"
    162164msgstr ""
    163165
    164 #: core/includes/admin/admin-notices.php:92
     166#: core/includes/admin/admin-notices.php:101
    165167msgid "Restrict Content Pro: Support for Stripe Checkout is ending in version 3.2"
    166168msgstr ""
    167169
    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
    169173msgid "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>"
    170174msgstr ""
    171175
    172 #: core/includes/admin/admin-notices.php:102
     176#: core/includes/admin/admin-notices.php:123
    173177msgid "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.)"
    174178msgstr ""
    175179
    176 #: core/includes/admin/admin-notices.php:110
     180#: core/includes/admin/admin-notices.php:131
    177181msgid "Payment deleted"
    178182msgstr ""
    179183
    180 #: core/includes/admin/admin-notices.php:115
     184#: core/includes/admin/admin-notices.php:136
    181185msgid "Payment added"
    182186msgstr ""
    183187
    184 #: core/includes/admin/admin-notices.php:120
     188#: core/includes/admin/admin-notices.php:141
    185189msgid "Payment creation failed"
    186190msgstr ""
    187191
    188 #: core/includes/admin/admin-notices.php:126
     192#: core/includes/admin/admin-notices.php:147
    189193msgid "Payment updated"
    190194msgstr ""
    191195
    192 #: core/includes/admin/admin-notices.php:131
     196#: core/includes/admin/admin-notices.php:152
    193197msgid "Payment update failed"
    194198msgstr ""
    195199
    196 #: core/includes/admin/admin-notices.php:141
     200#: core/includes/admin/admin-notices.php:162
    197201msgid "Database upgrade complete"
    198202msgstr ""
    199203
    200 #: core/includes/admin/admin-notices.php:151
     204#: core/includes/admin/admin-notices.php:172
    201205msgid "The user's membership has been added"
    202206msgstr ""
    203207
    204 #: core/includes/admin/admin-notices.php:156
     208#: core/includes/admin/admin-notices.php:177
    205209msgid "The user's membership could not be added"
    206210msgstr ""
    207211
    208 #: core/includes/admin/admin-notices.php:162
     212#: core/includes/admin/admin-notices.php:183
    209213msgid "Member accounts updated"
    210214msgstr ""
    211215
    212 #: core/includes/admin/admin-notices.php:167
     216#: core/includes/admin/admin-notices.php:188
    213217msgid "Member's payment profile cancelled successfully"
    214218msgstr ""
    215219
    216 #: core/includes/admin/admin-notices.php:171
     220#: core/includes/admin/admin-notices.php:192
    217221msgid "The member's payment profile could not be cancelled. Please see the member's user notes for details."
    218222msgstr ""
    219223
    220 #: core/includes/admin/admin-notices.php:177
     224#: core/includes/admin/admin-notices.php:198
    221225msgid "Verification email sent successfully."
    222226msgstr ""
    223227
    224 #: core/includes/admin/admin-notices.php:182
     228#: core/includes/admin/admin-notices.php:203
    225229msgid "The user's email has been verified successfully"
    226230msgstr ""
    227231
    228 #: core/includes/admin/admin-notices.php:192
     232#: core/includes/admin/admin-notices.php:213
    229233msgid "Customer added"
    230234msgstr ""
    231235
    232 #: core/includes/admin/admin-notices.php:197
     236#: core/includes/admin/admin-notices.php:218
    233237msgid "Customer updated"
    234238msgstr ""
    235239
    236 #: core/includes/admin/admin-notices.php:202
     240#: core/includes/admin/admin-notices.php:223
     241#: core/includes/admin/admin-notices.php:269
     242msgid "Note added"
     243msgstr ""
     244
     245#: core/includes/admin/admin-notices.php:228
     246msgid "Customer deleted"
     247msgstr ""
     248
     249#: core/includes/admin/admin-notices.php:238
     250msgid "Membership added"
     251msgstr ""
     252
     253#: core/includes/admin/admin-notices.php:243
     254msgid "Membership updated"
     255msgstr ""
     256
    237257#: core/includes/admin/admin-notices.php:248
    238 msgid "Note added"
    239 msgstr ""
    240 
    241 #: core/includes/admin/admin-notices.php:207
    242 msgid "Customer deleted"
    243 msgstr ""
    244 
    245 #: core/includes/admin/admin-notices.php:217
    246 msgid "Membership added"
    247 msgstr ""
    248 
    249 #: core/includes/admin/admin-notices.php:222
    250 msgid "Membership updated"
    251 msgstr ""
    252 
    253 #: core/includes/admin/admin-notices.php:227
    254258msgid "Membership level changed"
    255259msgstr ""
    256260
    257 #: core/includes/admin/admin-notices.php:232
     261#: core/includes/admin/admin-notices.php:253
    258262msgid "Membership has been expired. The customer no longer has access to associated content."
    259263msgstr ""
    260264
    261 #: core/includes/admin/admin-notices.php:237
     265#: core/includes/admin/admin-notices.php:258
    262266msgid "Membership cancelled. The customer will retain access until they reach their expiration date."
    263267msgstr ""
    264268
    265 #: core/includes/admin/admin-notices.php:242
     269#: core/includes/admin/admin-notices.php:263
    266270msgid "Membership cancellation failed: %s"
    267271msgstr ""
    268272
    269 #: core/includes/admin/admin-notices.php:242
     273#: core/includes/admin/admin-notices.php:263
    270274msgid "Membership cancellation failed"
    271275msgstr ""
    272276
    273 #: core/includes/admin/admin-notices.php:253
     277#: core/includes/admin/admin-notices.php:274
    274278msgid "Membership deleted"
    275279msgstr ""
    276280
    277 #: core/includes/admin/admin-notices.php:263
     281#: core/includes/admin/admin-notices.php:284
    278282msgid "Failed to change auto renew settings."
    279283msgstr ""
    280284
    281 #: core/includes/admin/admin-notices.php:276
     285#: core/includes/admin/admin-notices.php:297
    282286msgid "Membership level added"
    283287msgstr ""
    284288
    285 #: core/includes/admin/admin-notices.php:281
     289#: core/includes/admin/admin-notices.php:302
    286290msgid "Membership level updated"
    287291msgstr ""
    288292
    289 #: core/includes/admin/admin-notices.php:286
     293#: core/includes/admin/admin-notices.php:307
    290294#: core/includes/membership-levels/membership-level-functions.php:239
    291295#: core/includes/membership-levels/membership-level-functions.php:348
     
    293297msgstr ""
    294298
    295 #: core/includes/admin/admin-notices.php:292
     299#: core/includes/admin/admin-notices.php:313
    296300msgid "Invalid fee: the membership level price must be a valid positive number."
    297301msgstr ""
    298302
    299 #: core/includes/admin/admin-notices.php:298
     303#. translators: %s Link to the documentation.
     304
     305#: core/includes/admin/admin-notices.php:320
    300306msgid "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."
    301307msgstr ""
    302308
    303 #: core/includes/admin/admin-notices.php:304
     309#: core/includes/admin/admin-notices.php:326
    304310#: core/includes/membership-levels/membership-level-functions.php:230
    305311#: core/includes/membership-levels/membership-level-functions.php:339
     
    307313msgstr ""
    308314
    309 #: core/includes/admin/admin-notices.php:310
     315#: core/includes/admin/admin-notices.php:332
    310316#: core/includes/membership-levels/membership-level-functions.php:269
    311317msgid "An unexpected error occurred while trying to add the membership level."
    312318msgstr ""
    313319
    314 #: core/includes/admin/admin-notices.php:316
     320#: core/includes/admin/admin-notices.php:338
    315321#: core/includes/membership-levels/membership-level-functions.php:386
    316322msgid "An unexpected error occurred while trying to update the membership level."
    317323msgstr ""
    318324
    319 #: core/includes/admin/admin-notices.php:322
     325#: core/includes/admin/admin-notices.php:344
    320326msgid "Membership level fields are required"
    321327msgstr ""
    322328
    323 #: core/includes/admin/admin-notices.php:328
     329#: core/includes/admin/admin-notices.php:350
    324330msgid "Membership level deleted"
    325331msgstr ""
    326332
    327 #: core/includes/admin/admin-notices.php:333
     333#: core/includes/admin/admin-notices.php:355
    328334msgid "Membership level activated"
    329335msgstr ""
    330336
    331 #: core/includes/admin/admin-notices.php:338
     337#: core/includes/admin/admin-notices.php:360
    332338msgid "Membership level deactivated"
    333339msgstr ""
    334340
    335 #: core/includes/admin/admin-notices.php:348
     341#: core/includes/admin/admin-notices.php:370
    336342msgid "Discount code created"
    337343msgstr ""
    338344
    339 #: core/includes/admin/admin-notices.php:353
     345#: core/includes/admin/admin-notices.php:375
    340346msgid "The discount code could not be created due to an error"
    341347msgstr ""
    342348
    343 #: core/includes/admin/admin-notices.php:360
     349#: core/includes/admin/admin-notices.php:382
    344350#: core/includes/discounts/discount-functions.php:218
    345351msgid "A discount with the code %s already exists."
    346352msgstr ""
    347353
    348 #: core/includes/admin/admin-notices.php:362
     354#: core/includes/admin/admin-notices.php:384
    349355msgid "A discount with this code already exists."
    350356msgstr ""
    351357
    352 #: core/includes/admin/admin-notices.php:369
     358#: core/includes/admin/admin-notices.php:391
    353359#: core/includes/discounts/discount-functions.php:609
    354360msgid "Please enter a discount amount containing numbers only."
    355361msgstr ""
    356362
    357 #: core/includes/admin/admin-notices.php:375
     363#: core/includes/admin/admin-notices.php:397
    358364#: core/includes/discounts/discount-functions.php:228
    359365#: core/includes/discounts/discount-functions.php:622
     
    361367msgstr ""
    362368
    363 #: core/includes/admin/admin-notices.php:381
     369#: core/includes/admin/admin-notices.php:403
    364370msgid "Discount code successfully deleted"
    365371msgstr ""
    366372
    367 #: core/includes/admin/admin-notices.php:386
     373#: core/includes/admin/admin-notices.php:408
    368374msgid "Discount code activated"
    369375msgstr ""
    370376
    371 #: core/includes/admin/admin-notices.php:391
     377#: core/includes/admin/admin-notices.php:413
    372378msgid "Discount code deactivated"
    373379msgstr ""
    374380
    375 #: core/includes/admin/admin-notices.php:400
     381#: core/includes/admin/admin-notices.php:422
    376382msgid "Post type restrictions updated."
    377383msgstr ""
    378384
    379 #: core/includes/admin/admin-notices.php:409
     385#: core/includes/admin/admin-notices.php:431
    380386msgid "Telemetry status changed to Opt In"
    381387msgstr ""
    382388
    383 #: core/includes/admin/admin-notices.php:412
     389#: core/includes/admin/admin-notices.php:434
    384390msgid "Telemetry status changed to Opt Out"
    385391msgstr ""
    386392
    387 #: core/includes/admin/admin-notices.php:421
     393#: core/includes/admin/admin-notices.php:443
    388394msgid "Membership reminder added"
    389395msgstr ""
    390396
    391 #: core/includes/admin/admin-notices.php:426
     397#: core/includes/admin/admin-notices.php:448
    392398msgid "Membership reminder updated"
    393399msgstr ""
    394400
    395 #: core/includes/admin/admin-notices.php:431
     401#: core/includes/admin/admin-notices.php:453
    396402msgid "Membership reminder deleted"
    397403msgstr ""
    398404
    399 #: core/includes/admin/admin-notices.php:436
     405#: core/includes/admin/admin-notices.php:458
    400406msgid "Test reminder sent successfully"
    401407msgstr ""
    402408
    403 #: core/includes/admin/admin-notices.php:442
     409#: core/includes/admin/admin-notices.php:464
    404410msgid "Test email sent successfully to %s"
    405411msgstr ""
    406412
    407 #: core/includes/admin/admin-notices.php:447
     413#: core/includes/admin/admin-notices.php:469
    408414msgid "Test email failed to send."
    409415msgstr ""
    410416
    411 #: core/includes/admin/admin-notices.php:472
     417#: core/includes/admin/admin-notices.php:494
    412418msgid "Security check failed"
    413419msgstr ""
    414420
    415 #: core/includes/admin/admin-notices.php:472
     421#: core/includes/admin/admin-notices.php:494
    416422#: core/includes/admin/class-rcp-add-on-updater.php:287
    417423#: core/includes/admin/customers/add-customer.php:16
     
    523529#: core/includes/admin/reminders/subscription-reminders.php:203
    524530#: core/includes/admin/reminders/subscription-reminders.php:207
    525 #: core/includes/admin/settings/settings.php:1434
    526 #: core/includes/admin/settings/settings.php:1438
    527 #: core/includes/admin/settings/settings.php:1442
    528 #: core/includes/admin/settings/settings.php:1514
     531#: 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
    529535#: core/includes/admin/subscriptions/subscription-actions.php:24
    530536#: core/includes/admin/subscriptions/subscription-actions.php:28
     
    610616#: core/includes/admin/admin-pages.php:27
    611617#: core/includes/admin/help/help-menus-setup.php:181
    612 #: core/includes/admin/import/import-functions.php:65
     618#: core/includes/admin/import/import-functions.php:66
    613619#: core/includes/admin/members/edit-member.php:258
    614620#: core/includes/admin/payments/payments-page.php:39
     
    10801086#: core/includes/admin/customers/add-customer.php:44
    10811087#: core/includes/admin/customers/edit-customer.php:85
    1082 #: core/includes/admin/import/import-functions.php:45
     1088#: core/includes/admin/import/import-functions.php:46
    10831089#: core/includes/batch/csv-exports/class-export-memberships.php:31
    10841090#: core/includes/deprecated/class-rcp-export-members.php:46
     
    10951101#: core/includes/admin/customers/add-customer.php:46
    10961102#: core/includes/admin/customers/edit-customer.php:87
    1097 #: core/includes/admin/import/import-functions.php:46
     1103#: core/includes/admin/import/import-functions.php:47
    10981104#: core/includes/batch/csv-exports/class-export-memberships.php:32
    10991105#: core/includes/deprecated/class-rcp-export-members.php:47
     
    11591165
    11601166#: core/includes/admin/customers/class-customers-table.php:57
    1161 #: core/includes/admin/settings/settings.php:885
     1167#: core/includes/admin/settings/settings.php:902
    11621168#: core/includes/admin/subscriptions/class-membership-levels-table.php:67
    11631169#: core/includes/admin/subscriptions/edit-subscription.php:30
     
    11681174#: core/includes/admin/customers/class-customers-table.php:58
    11691175#: core/includes/admin/memberships/add-membership.php:46
    1170 #: core/includes/admin/settings/settings.php:921
     1176#: core/includes/admin/settings/settings.php:938
    11711177#: core/includes/shortcodes.php:948 core/templates/register-common.php:59
    11721178#: legacy/includes/forms.php:505
     
    15131519#: core/includes/admin/customers/edit-customer.php:311
    15141520#: core/includes/admin/import/import-actions.php:339
    1515 #: core/includes/admin/import/import-functions.php:50
    1516 #: core/includes/admin/import/import-functions.php:71
     1521#: core/includes/admin/import/import-functions.php:51
     1522#: core/includes/admin/import/import-functions.php:73
    15171523#: core/includes/admin/members/edit-member.php:74
    15181524#: core/includes/admin/memberships/class-memberships-table.php:59
     
    15871593#: core/includes/admin/customers/edit-customer.php:292
    15881594#: core/includes/admin/customers/edit-customer.php:309
    1589 #: core/includes/admin/import/import-functions.php:86
     1595#: core/includes/admin/import/import-functions.php:88
    15901596#: core/includes/admin/memberships/edit-membership.php:387
    15911597#: core/includes/admin/memberships/edit-membership.php:404
     
    16031609#: core/includes/admin/customers/edit-customer.php:295
    16041610#: core/includes/admin/customers/edit-customer.php:312
    1605 #: core/includes/admin/import/import-functions.php:84
     1611#: core/includes/admin/import/import-functions.php:86
    16061612#: core/includes/admin/memberships/edit-membership.php:390
    16071613#: core/includes/admin/memberships/edit-membership.php:407
     
    21272133
    21282134#: core/includes/admin/help/help-menus.php:147
    2129 #: core/includes/admin/settings/settings.php:939
     2135#: core/includes/admin/settings/settings.php:956
    21302136msgid "Notes"
    21312137msgstr ""
     
    25612567#: core/includes/admin/payments/edit-payment.php:58
    25622568#: core/includes/admin/payments/new-payment.php:35
    2563 #: core/includes/admin/settings/settings.php:1045
     2569#: core/includes/admin/settings/settings.php:1062
    25642570msgid "Membership Level"
    25652571msgstr ""
     
    26212627msgstr ""
    26222628
    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
    26242632msgid "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."
    26252633msgstr ""
    26262634
    2627 #: core/includes/admin/import/import-functions.php:44
    2628 #: core/includes/admin/import/import-functions.php:81
     2635#: core/includes/admin/import/import-functions.php:45
     2636#: core/includes/admin/import/import-functions.php:83
    26292637#: core/includes/admin/members/edit-member.php:65
    26302638#: core/includes/batch/csv-exports/class-export-memberships.php:30
     
    26352643msgstr ""
    26362644
    2637 #: core/includes/admin/import/import-functions.php:47
    2638 #: core/includes/admin/import/import-functions.php:80
     2645#: core/includes/admin/import/import-functions.php:48
     2646#: core/includes/admin/import/import-functions.php:82
    26392647#: core/includes/admin/members/edit-member.php:56
    26402648#: core/includes/batch/csv-exports/class-export-memberships.php:29
     
    26452653msgstr ""
    26462654
    2647 #: core/includes/admin/import/import-functions.php:48
     2655#: core/includes/admin/import/import-functions.php:49
    26482656msgid "User Password"
    26492657msgstr ""
    26502658
    2651 #: core/includes/admin/import/import-functions.php:49
    2652 #: core/includes/admin/import/import-functions.php:72
     2659#: core/includes/admin/import/import-functions.php:50
     2660#: core/includes/admin/import/import-functions.php:74
    26532661#: core/includes/batch/csv-exports/class-export-memberships.php:34
    26542662#: core/includes/batch/csv-exports/class-export-payments.php:31
     
    26582666msgstr ""
    26592667
    2660 #: core/includes/admin/import/import-functions.php:51
     2668#: core/includes/admin/import/import-functions.php:52
    26612669#: core/includes/batch/csv-exports/class-export-memberships.php:36
    26622670#: core/includes/deprecated/class-rcp-export-members.php:51
     
    26642672msgstr ""
    26652673
    2666 #: core/includes/admin/import/import-functions.php:52
     2674#: core/includes/admin/import/import-functions.php:53
    26672675#: core/includes/batch/csv-exports/class-export-memberships.php:37
    26682676#: core/includes/deprecated/class-rcp-export-members.php:52
     
    26702678msgstr ""
    26712679
    2672 #: core/includes/admin/import/import-functions.php:53
     2680#: core/includes/admin/import/import-functions.php:54
    26732681#: core/includes/admin/settings/settings.php:265
    26742682#: core/includes/batch/csv-exports/class-export-memberships.php:44
     
    26782686msgstr ""
    26792687
    2680 #: core/includes/admin/import/import-functions.php:54
     2688#: core/includes/admin/import/import-functions.php:55
    26812689#: core/includes/batch/csv-exports/class-export-memberships.php:39
    26822690#: core/includes/deprecated/class-rcp-export-members.php:54
     
    26852693msgstr ""
    26862694
    2687 #: core/includes/admin/import/import-functions.php:55
    2688 #: core/includes/admin/import/import-functions.php:83
     2695#: core/includes/admin/import/import-functions.php:56
     2696#: core/includes/admin/import/import-functions.php:85
    26892697#: core/includes/admin/payments/class-payments-table.php:71
    26902698#: core/includes/admin/payments/edit-payment.php:89
     
    26962704msgstr ""
    26972705
    2698 #: core/includes/admin/import/import-functions.php:56
     2706#: core/includes/admin/import/import-functions.php:57
    26992707#: core/includes/batch/csv-exports/class-export-memberships.php:42
    27002708#: core/includes/deprecated/class-rcp-export-members.php:57
     
    27022710msgstr ""
    27032711
    2704 #: core/includes/admin/import/import-functions.php:57
     2712#: core/includes/admin/import/import-functions.php:58
    27052713#: core/includes/admin/memberships/class-memberships-table.php:606
    27062714#: core/includes/batch/csv-exports/class-export-memberships.php:43
     
    27092717msgstr ""
    27102718
    2711 #: core/includes/admin/import/import-functions.php:58
     2719#: core/includes/admin/import/import-functions.php:59
    27122720#: core/includes/admin/members/edit-member.php:114
    27132721#: core/includes/batch/csv-exports/class-export-memberships.php:35
     
    27192727msgstr ""
    27202728
    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
    27222732msgid "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."
    27232733msgstr ""
    27242734
    2725 #: core/includes/admin/import/import-functions.php:73
     2735#: core/includes/admin/import/import-functions.php:75
    27262736#: core/includes/batch/csv-exports/class-export-memberships.php:33
    27272737#: core/includes/batch/csv-exports/class-export-payments.php:30
     
    27312741msgstr ""
    27322742
    2733 #: core/includes/admin/import/import-functions.php:74
     2743#: core/includes/admin/import/import-functions.php:76
    27342744#: core/includes/batch/csv-exports/class-export-payments.php:32
    27352745#: core/includes/deprecated/class-rcp-export-payments.php:47
     
    27372747msgstr ""
    27382748
    2739 #: core/includes/admin/import/import-functions.php:75
     2749#: core/includes/admin/import/import-functions.php:77
    27402750#: core/includes/batch/csv-exports/class-export-payments.php:33
    27412751#: core/includes/deprecated/class-rcp-export-payments.php:48
     
    27442754msgstr ""
    27452755
    2746 #: core/includes/admin/import/import-functions.php:76
     2756#: core/includes/admin/import/import-functions.php:78
    27472757#: core/includes/batch/csv-exports/class-export-payments.php:34
    27482758#: core/includes/deprecated/class-rcp-export-payments.php:49
     
    27512761msgstr ""
    27522762
    2753 #: core/includes/admin/import/import-functions.php:77
     2763#: core/includes/admin/import/import-functions.php:79
    27542764#: core/includes/batch/csv-exports/class-export-payments.php:35
    27552765#: core/includes/deprecated/class-rcp-export-payments.php:50
     
    27582768msgstr ""
    27592769
    2760 #: core/includes/admin/import/import-functions.php:78
     2770#: core/includes/admin/import/import-functions.php:80
    27612771#: core/includes/batch/csv-exports/class-export-payments.php:36
    27622772#: core/includes/deprecated/class-rcp-export-payments.php:51
     
    27662776msgstr ""
    27672777
    2768 #: core/includes/admin/import/import-functions.php:79
     2778#: core/includes/admin/import/import-functions.php:81
    27692779#: core/includes/admin/payments/edit-payment.php:71
    27702780#: core/includes/batch/csv-exports/class-export-payments.php:37
     
    27742784msgstr ""
    27752785
    2776 #: core/includes/admin/import/import-functions.php:82
     2786#: core/includes/admin/import/import-functions.php:84
    27772787#: core/includes/batch/csv-exports/class-export-memberships.php:27
    27782788#: core/includes/batch/csv-exports/class-export-payments.php:42
     
    27822792msgstr ""
    27832793
    2784 #: core/includes/admin/import/import-functions.php:85
     2794#: core/includes/admin/import/import-functions.php:87
    27852795#: core/includes/batch/csv-exports/class-export-payments.php:47
    27862796#: core/includes/deprecated/class-rcp-export-payments.php:62
     
    38173827#: core/includes/admin/reminders/subscription-reminders.php:170
    38183828#: core/includes/admin/reminders/subscription-reminders.php:203
    3819 #: core/includes/admin/settings/settings.php:1438
     3829#: core/includes/admin/settings/settings.php:1455
    38203830msgid "Nonce verification failed"
    38213831msgstr ""
     
    38883898#: core/includes/admin/settings/settings.php:205
    38893899#: core/includes/admin/settings/settings.php:238
    3890 #: core/includes/admin/settings/settings.php:988
    3891 #: core/includes/admin/settings/settings.php:1023
     3900#: core/includes/admin/settings/settings.php:1005
     3901#: core/includes/admin/settings/settings.php:1040
    38923902msgid "No pages found"
    38933903msgstr ""
     
    38983908#: core/includes/admin/settings/settings.php:210
    38993909#: core/includes/admin/settings/settings.php:243
    3900 #: core/includes/admin/settings/settings.php:993
    3901 #: core/includes/admin/settings/settings.php:1028
     3910#: core/includes/admin/settings/settings.php:1010
     3911#: core/includes/admin/settings/settings.php:1045
    39023912msgid "Edit Page"
    39033913msgstr ""
     
    39083918#: core/includes/admin/settings/settings.php:211
    39093919#: core/includes/admin/settings/settings.php:244
    3910 #: core/includes/admin/settings/settings.php:994
    3911 #: core/includes/admin/settings/settings.php:1029
     3920#: core/includes/admin/settings/settings.php:1011
     3921#: core/includes/admin/settings/settings.php:1046
    39123922msgid "View Page"
    39133923msgstr ""
     
    41314141msgstr ""
    41324142
    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
    41344146msgid "Have questions about connecting with Stripe? <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">See the documentation</a>."
    41354147msgstr ""
    41364148
    4137 #: core/includes/admin/settings/settings.php:490
     4149#: core/includes/admin/settings/settings.php:507
    41384150msgid "Note"
    41394151msgstr ""
    41404152
    4141 #: core/includes/admin/settings/settings.php:490
     4153#: core/includes/admin/settings/settings.php:507
    41424154msgid "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:"
    41434155msgstr ""
    41444156
    4145 #: core/includes/admin/settings/settings.php:530
     4157#: core/includes/admin/settings/settings.php:547
    41464158msgid "Paid Membership Activation Email"
    41474159msgstr ""
    41484160
    4149 #: core/includes/admin/settings/settings.php:534
    4150 #: core/includes/admin/settings/settings.php:581
    4151 #: core/includes/admin/settings/settings.php:639
    4152 #: core/includes/admin/settings/settings.php:686
    4153 #: core/includes/admin/settings/settings.php:753
    4154 #: core/includes/admin/settings/settings.php:798
     4161#: 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
    41554167msgid "Disable for Member"
    41564168msgstr ""
    41574169
    4158 #: core/includes/admin/settings/settings.php:538
     4170#: core/includes/admin/settings/settings.php:555
    41594171msgid "Check this to disable the email sent out to the member when their membership becomes active."
    41604172msgstr ""
    41614173
    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
     4180msgid "Disable for Admin"
     4181msgstr ""
     4182
     4183#: core/includes/admin/settings/settings.php:576
     4184msgid "Check this to disable the email sent out to the administrator when a new member becomes active."
     4185msgstr ""
     4186
     4187#: core/includes/admin/settings/settings.php:593
     4188msgid "Free Membership Activation Email"
     4189msgstr ""
     4190
    41634191#: core/includes/admin/settings/settings.php:602
     4192msgid "Check this to disable the email sent to a member when they register for a free membership."
     4193msgstr ""
     4194
     4195#: core/includes/admin/settings/settings.php:623
     4196msgid "Check this to disable the email sent to the administrator when a member registers for a free membership."
     4197msgstr ""
     4198
     4199#: core/includes/admin/settings/settings.php:651
     4200msgid "Cancelled Membership Email"
     4201msgstr ""
     4202
    41644203#: core/includes/admin/settings/settings.php:660
     4204msgid "Check this to disable the email sent to a member when their membership is cancelled."
     4205msgstr ""
     4206
     4207#: core/includes/admin/settings/settings.php:681
     4208msgid "Check this to disable the email sent to the administrator when a member's membership is cancelled."
     4209msgstr ""
     4210
     4211#: core/includes/admin/settings/settings.php:698
     4212msgid "Expired Membership Email"
     4213msgstr ""
     4214
    41654215#: core/includes/admin/settings/settings.php:707
     4216msgid "Check this to disable the email sent out to a member when their membership expires."
     4217msgstr ""
     4218
     4219#: core/includes/admin/settings/settings.php:728
     4220msgid "Check this to disable the email sent to the administrator when a member's membership expires."
     4221msgstr ""
     4222
     4223#: core/includes/admin/settings/settings.php:766
     4224msgid "Payment Received Email"
     4225msgstr ""
     4226
    41664227#: core/includes/admin/settings/settings.php:774
    4167 #: core/includes/admin/settings/settings.php:821
    4168 msgid "Disable for Admin"
    4169 msgstr ""
    4170 
    4171 #: core/includes/admin/settings/settings.php:559
    4172 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:576
    4176 msgid "Free Membership Activation Email"
    4177 msgstr ""
    4178 
    4179 #: core/includes/admin/settings/settings.php:585
    4180 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:606
    4184 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:634
    4188 msgid "Cancelled Membership Email"
    4189 msgstr ""
    4190 
    4191 #: core/includes/admin/settings/settings.php:643
    4192 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:664
    4196 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:681
    4200 msgid "Expired Membership Email"
    4201 msgstr ""
    4202 
    4203 #: core/includes/admin/settings/settings.php:690
    4204 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:711
    4208 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:749
    4212 msgid "Payment Received Email"
    4213 msgstr ""
    4214 
    4215 #: core/includes/admin/settings/settings.php:757
    42164228msgid "Check this to disable the email sent out when a payment is received."
    42174229msgstr ""
    42184230
    4219 #: core/includes/admin/settings/settings.php:778
     4231#: core/includes/admin/settings/settings.php:795
    42204232msgid "Check this to disable the email sent out to the administrator when a payment is received."
    42214233msgstr ""
    42224234
    4223 #: core/includes/admin/settings/settings.php:794
     4235#: core/includes/admin/settings/settings.php:811
    42244236msgid "Renewal Payment Failed Email"
    42254237msgstr ""
    42264238
    4227 #: core/includes/admin/settings/settings.php:802
     4239#: core/includes/admin/settings/settings.php:819
    42284240msgid "Check this to disable the email sent out when a renewal payment fails."
    42294241msgstr ""
    42304242
    4231 #: core/includes/admin/settings/settings.php:825
     4243#: core/includes/admin/settings/settings.php:842
    42324244msgid "Check this to disable the email sent to the administrator when a renewal payment fails."
    42334245msgstr ""
    42344246
    4235 #: core/includes/admin/settings/settings.php:866
     4247#: core/includes/admin/settings/settings.php:883
    42364248msgid "Invoice Logo"
    42374249msgstr ""
    42384250
    4239 #: core/includes/admin/settings/settings.php:870
     4251#: core/includes/admin/settings/settings.php:887
    42404252msgid "Choose Logo"
    42414253msgstr ""
    42424254
    4243 #: core/includes/admin/settings/settings.php:871
     4255#: core/includes/admin/settings/settings.php:888
    42444256msgid "Upload a logo to display on the invoices."
    42454257msgstr ""
    42464258
    4247 #: core/includes/admin/settings/settings.php:876
     4259#: core/includes/admin/settings/settings.php:893
    42484260msgid "Company Name"
    42494261msgstr ""
    42504262
    4251 #: core/includes/admin/settings/settings.php:880
     4263#: core/includes/admin/settings/settings.php:897
    42524264msgid "Enter the company name that will be shown on the invoice."
    42534265msgstr ""
    42544266
    4255 #: core/includes/admin/settings/settings.php:889
     4267#: core/includes/admin/settings/settings.php:906
    42564268msgid "Enter the personal name that will be shown on the invoice."
    42574269msgstr ""
    42584270
    4259 #: core/includes/admin/settings/settings.php:894
     4271#: core/includes/admin/settings/settings.php:911
    42604272msgid "Address Line 1"
    42614273msgstr ""
    42624274
    4263 #: core/includes/admin/settings/settings.php:898
     4275#: core/includes/admin/settings/settings.php:915
    42644276msgid "Enter the first address line that will appear on the invoice."
    42654277msgstr ""
    42664278
    4267 #: core/includes/admin/settings/settings.php:903
     4279#: core/includes/admin/settings/settings.php:920
    42684280msgid "Address Line 2"
    42694281msgstr ""
    42704282
    4271 #: core/includes/admin/settings/settings.php:907
     4283#: core/includes/admin/settings/settings.php:924
    42724284msgid "Enter the second address line that will appear on the invoice."
    42734285msgstr ""
    42744286
    4275 #: core/includes/admin/settings/settings.php:912
     4287#: core/includes/admin/settings/settings.php:929
    42764288msgid "City, State, and Zip"
    42774289msgstr ""
    42784290
    4279 #: core/includes/admin/settings/settings.php:916
     4291#: core/includes/admin/settings/settings.php:933
    42804292msgid "Enter the city, state and zip/postal code that will appear on the invoice."
    42814293msgstr ""
    42824294
    4283 #: core/includes/admin/settings/settings.php:925
     4295#: core/includes/admin/settings/settings.php:942
    42844296msgid "Enter the email address that will appear on the invoice."
    42854297msgstr ""
    42864298
    4287 #: core/includes/admin/settings/settings.php:930
     4299#: core/includes/admin/settings/settings.php:947
    42884300msgid "Header Text"
    42894301msgstr ""
    42904302
    4291 #: core/includes/admin/settings/settings.php:934
     4303#: core/includes/admin/settings/settings.php:951
    42924304msgid "Enter the message you would like to be shown on the header of the invoice."
    42934305msgstr ""
    42944306
    4295 #: core/includes/admin/settings/settings.php:946
     4307#: core/includes/admin/settings/settings.php:963
    42964308msgid "Enter additional notes you would like displayed below the invoice totals."
    42974309msgstr ""
    42984310
    4299 #: core/includes/admin/settings/settings.php:951
     4311#: core/includes/admin/settings/settings.php:968
    43004312msgid "Footer Text"
    43014313msgstr ""
    43024314
    4303 #: core/includes/admin/settings/settings.php:955
     4315#: core/includes/admin/settings/settings.php:972
    43044316msgid "Enter the message you would like to be shown on the footer of the invoice."
    43054317msgstr ""
    43064318
    4307 #: core/includes/admin/settings/settings.php:966
     4319#: core/includes/admin/settings/settings.php:983
    43084320msgid "Hide Restricted Posts"
    43094321msgstr ""
    43104322
    4311 #: core/includes/admin/settings/settings.php:970
     4323#: core/includes/admin/settings/settings.php:987
    43124324msgid "Check this to hide all restricted posts from queries when the user does not have access."
    43134325msgstr ""
    43144326
    4315 #: core/includes/admin/settings/settings.php:975
     4327#: core/includes/admin/settings/settings.php:992
    43164328msgid "Redirect Page"
    43174329msgstr ""
    43184330
    4319 #: core/includes/admin/settings/settings.php:996
     4331#: core/includes/admin/settings/settings.php:1013
    43204332msgid "This is the page non-subscribed users are redirected to when attempting to access a premium post or page."
    43214333msgstr ""
    43224334
    4323 #: core/includes/admin/settings/settings.php:1001
     4335#: core/includes/admin/settings/settings.php:1018
    43244336msgid "Redirect Default Login URL"
    43254337msgstr ""
    43264338
    4327 #: core/includes/admin/settings/settings.php:1005
     4339#: core/includes/admin/settings/settings.php:1022
    43284340msgid "Check this to force the default login URL to redirect to the page specified below."
    43294341msgstr ""
    43304342
    4331 #: core/includes/admin/settings/settings.php:1010
     4343#: core/includes/admin/settings/settings.php:1027
    43324344msgid "Login Page"
    43334345msgstr ""
    43344346
    4335 #: core/includes/admin/settings/settings.php:1031
     4347#: core/includes/admin/settings/settings.php:1048
    43364348msgid "This is the page the default login URL redirects to, if the option above is checked. This page must contain the [login_form] shortcode."
    43374349msgstr ""
    43384350
    4339 #: core/includes/admin/settings/settings.php:1036
     4351#: core/includes/admin/settings/settings.php:1053
    43404352msgid "Auto Add Users to Level"
    43414353msgstr ""
    43424354
    4343 #: core/includes/admin/settings/settings.php:1040
     4355#: core/includes/admin/settings/settings.php:1057
    43444356msgid "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."
    43454357msgstr ""
    43464358
    4347 #: core/includes/admin/settings/settings.php:1056
     4359#: core/includes/admin/settings/settings.php:1073
    43484360msgid "New WordPress users will be automatically added to this membership level if the above option is checked."
    43494361msgstr ""
    43504362
    4351 #: core/includes/admin/settings/settings.php:1061
     4363#: core/includes/admin/settings/settings.php:1078
    43524364msgid "Content Excerpts"
    43534365msgstr ""
    43544366
    4355 #: core/includes/admin/settings/settings.php:1066
     4367#: core/includes/admin/settings/settings.php:1083
    43564368msgid "Always show excerpts"
    43574369msgstr ""
    43584370
    4359 #: core/includes/admin/settings/settings.php:1067
     4371#: core/includes/admin/settings/settings.php:1084
    43604372msgid "Never show excerpts"
    43614373msgstr ""
    43624374
    4363 #: core/includes/admin/settings/settings.php:1068
     4375#: core/includes/admin/settings/settings.php:1085
    43644376msgid "Decide for each post individually"
    43654377msgstr ""
    43664378
    4367 #: core/includes/admin/settings/settings.php:1070
     4379#: core/includes/admin/settings/settings.php:1087
    43684380msgid "Whether or not to show excerpts to members without access to the content."
    43694381msgstr ""
    43704382
    4371 #: core/includes/admin/settings/settings.php:1093
     4383#: core/includes/admin/settings/settings.php:1110
    43724384msgid "Disable WordPress Toolbar"
    43734385msgstr ""
    43744386
    4375 #: core/includes/admin/settings/settings.php:1097
     4387#: core/includes/admin/settings/settings.php:1114
    43764388msgid "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)."
    43774389msgstr ""
    43784390
    4379 #: core/includes/admin/settings/settings.php:1102
     4391#: core/includes/admin/settings/settings.php:1119
    43804392msgid "Disable Form CSS"
    43814393msgstr ""
    43824394
    4383 #: core/includes/admin/settings/settings.php:1106
     4395#: core/includes/admin/settings/settings.php:1123
    43844396msgid "Check this to disable all included form styling."
    43854397msgstr ""
    43864398
    4387 #: core/includes/admin/settings/settings.php:1111
     4399#: core/includes/admin/settings/settings.php:1128
    43884400msgid "Agree to Terms"
    43894401msgstr ""
    43904402
    4391 #: core/includes/admin/settings/settings.php:1115
     4403#: core/includes/admin/settings/settings.php:1132
    43924404msgid "Check this to add an \"Agree to Terms\" checkbox to the registration form."
    43934405msgstr ""
    43944406
    4395 #: core/includes/admin/settings/settings.php:1120
     4407#: core/includes/admin/settings/settings.php:1137
    43964408msgid "Agree to Terms Label"
    43974409msgstr ""
    43984410
    4399 #: core/includes/admin/settings/settings.php:1124
     4411#: core/includes/admin/settings/settings.php:1141
    44004412msgid "Label shown next to the agree to terms checkbox."
    44014413msgstr ""
    44024414
    4403 #: core/includes/admin/settings/settings.php:1129
     4415#: core/includes/admin/settings/settings.php:1146
    44044416msgid "Terms Link"
    44054417msgstr ""
    44064418
    4407 #: core/includes/admin/settings/settings.php:1133
     4419#: core/includes/admin/settings/settings.php:1150
    44084420msgid "Optional - the URL to your terms page. If set, the terms label will link to this URL."
    44094421msgstr ""
    44104422
    4411 #: core/includes/admin/settings/settings.php:1138
     4423#: core/includes/admin/settings/settings.php:1155
    44124424msgid "Agree to Privacy Policy"
    44134425msgstr ""
    44144426
    4415 #: core/includes/admin/settings/settings.php:1142
     4427#: core/includes/admin/settings/settings.php:1159
    44164428msgid "Check this to add an \"Agree to Privacy Policy\" checkbox to the registration form."
    44174429msgstr ""
    44184430
    4419 #: core/includes/admin/settings/settings.php:1147
     4431#: core/includes/admin/settings/settings.php:1164
    44204432msgid "Agree to Privacy Policy Label"
    44214433msgstr ""
    44224434
    4423 #: core/includes/admin/settings/settings.php:1151
     4435#: core/includes/admin/settings/settings.php:1168
    44244436msgid "Label shown next to the agree to privacy policy checkbox."
    44254437msgstr ""
    44264438
    4427 #: core/includes/admin/settings/settings.php:1156
     4439#: core/includes/admin/settings/settings.php:1173
    44284440msgid "Privacy Policy Link"
    44294441msgstr ""
    44304442
    4431 #: core/includes/admin/settings/settings.php:1160
     4443#: core/includes/admin/settings/settings.php:1177
    44324444msgid "Optional - the URL to your privacy policy page. If set, the privacy policy label will link to this URL."
    44334445msgstr ""
    44344446
    4435 #: core/includes/admin/settings/settings.php:1166
     4447#: core/includes/admin/settings/settings.php:1183
    44364448msgid "Enable reCAPTCHA"
    44374449msgstr ""
    44384450
    4439 #: core/includes/admin/settings/settings.php:1171
     4451#: core/includes/admin/settings/settings.php:1188
    44404452msgid "Check this to enable reCAPTCHA on the registration form."
    44414453msgstr ""
    44424454
    4443 #: core/includes/admin/settings/settings.php:1176
     4455#: core/includes/admin/settings/settings.php:1193
    44444456msgid "reCAPTCHA Version"
    44454457msgstr ""
    44464458
    4447 #: core/includes/admin/settings/settings.php:1180
     4459#: core/includes/admin/settings/settings.php:1197
    44484460msgid "reCAPTCHA v2"
    44494461msgstr ""
    44504462
    4451 #: core/includes/admin/settings/settings.php:1181
     4463#: core/includes/admin/settings/settings.php:1198
    44524464msgid "reCAPTCHA v3"
    44534465msgstr ""
    44544466
    4455 #: core/includes/admin/settings/settings.php:1183
     4467#: core/includes/admin/settings/settings.php:1200
    44564468msgid "Select the reCAPTCHA version that corresponds to your site key."
    44574469msgstr ""
    44584470
    4459 #: core/includes/admin/settings/settings.php:1188
     4471#: core/includes/admin/settings/settings.php:1205
    44604472msgid "reCAPTCHA Site Key"
    44614473msgstr ""
    44624474
    4463 #: core/includes/admin/settings/settings.php:1196
     4475#: core/includes/admin/settings/settings.php:1213
    44644476msgid "This your own personal reCAPTCHA Site key. Go to"
    44654477msgstr ""
    44664478
    4467 #: core/includes/admin/settings/settings.php:1197
    4468 #: core/includes/admin/settings/settings.php:1212
     4479#: core/includes/admin/settings/settings.php:1214
     4480#: core/includes/admin/settings/settings.php:1229
    44694481msgid "your account"
    44704482msgstr ""
    44714483
    4472 #: core/includes/admin/settings/settings.php:1197
     4484#: core/includes/admin/settings/settings.php:1214
    44734485msgid "then click on your domain (or add a new one) to find your site key."
    44744486msgstr ""
    44754487
    4476 #: core/includes/admin/settings/settings.php:1203
     4488#: core/includes/admin/settings/settings.php:1220
    44774489msgid "reCAPTCHA Secret Key"
    44784490msgstr ""
    44794491
    4480 #: core/includes/admin/settings/settings.php:1211
     4492#: core/includes/admin/settings/settings.php:1228
    44814493msgid "This your own personal reCAPTCHA Secret key. Go to"
    44824494msgstr ""
    44834495
    4484 #: core/includes/admin/settings/settings.php:1212
     4496#: core/includes/admin/settings/settings.php:1229
    44854497msgid "then click on your domain (or add a new one) to find your secret key."
    44864498msgstr ""
    44874499
    4488 #: core/includes/admin/settings/settings.php:1226
     4500#: core/includes/admin/settings/settings.php:1243
    44894501msgid "Enable Debug Mode"
    44904502msgstr ""
    44914503
    4492 #: core/includes/admin/settings/settings.php:1230
     4504#: core/includes/admin/settings/settings.php:1247
    44934505msgid "Turn on error logging to help identify issues. Logs are kept in <a href=\"%s\">Restrict > Tools</a>."
    44944506msgstr ""
    44954507
    4496 #: core/includes/admin/settings/settings.php:1235
     4508#: core/includes/admin/settings/settings.php:1252
    44974509msgid "Remove Data on Uninstall"
    44984510msgstr ""
    44994511
    4500 #: core/includes/admin/settings/settings.php:1239
     4512#: core/includes/admin/settings/settings.php:1256
    45014513msgid "Remove all saved data for Restrict Content Pro when the plugin is uninstalled."
    45024514msgstr ""
    45034515
    4504 #: core/includes/admin/settings/settings.php:1244
     4516#: core/includes/admin/settings/settings.php:1261
    45054517msgid "Switch Free Subscriptions"
    45064518msgstr ""
    45074519
    4508 #: core/includes/admin/settings/settings.php:1248
     4520#: core/includes/admin/settings/settings.php:1265
    45094521msgid "Check this box if you would like to enable Free subscriptions switching."
    45104522msgstr ""
    45114523
    4512 #: core/includes/admin/settings/settings.php:1258
     4524#: core/includes/admin/settings/settings.php:1275
    45134525#: legacy/includes/settings.php:151
    45144526msgid "Save Options"
    45154527msgstr ""
    45164528
    4517 #: core/includes/admin/settings/settings.php:1434
     4529#: core/includes/admin/settings/settings.php:1451
    45184530msgid "You do not have permission to send test emails"
    45194531msgstr ""
    45204532
    4521 #: core/includes/admin/settings/settings.php:1442
     4533#: core/includes/admin/settings/settings.php:1459
    45224534msgid "No email template was provided"
    45234535msgstr ""
    45244536
    4525 #: core/includes/admin/settings/settings.php:1514
     4537#: core/includes/admin/settings/settings.php:1531
    45264538msgid "Test email not sent: email subject or message is blank."
    45274539msgstr ""
    45284540
    4529 #: core/includes/admin/settings/settings.php:1560
     4541#: core/includes/admin/settings/settings.php:1577
    45304542msgid "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."
    45314543msgstr ""
     
    58045816#: core/includes/gateways/class-rcp-payment-gateway-stripe.php:1420
    58055817#: core/includes/gateways/class-rcp-payment-gateway-stripe.php:1448
    5806 #: core/templates/card-form-full.php:302 core/templates/card-form.php:31
     5818#: core/templates/card-form-full.php:303 core/templates/card-form.php:32
    58075819#: core/templates/card-update-form-fields.php:25
    58085820msgid "Name on Card"
     
    58145826
    58155827#: core/includes/gateways/class-rcp-payment-gateway-stripe.php:1475
    5816 #: core/includes/scripts.php:309
     5828#: core/includes/scripts.php:301
    58175829msgid "The card holder name you have entered is invalid"
    58185830msgstr ""
     
    58645876msgstr ""
    58655877
    5866 #: core/includes/gateways/class-rcp-payment-gateway.php:423
     5878#: core/includes/gateways/class-rcp-payment-gateway.php:429
    58675879msgid "Price changes not supported."
    58685880msgstr ""
    58695881
    5870 #: core/includes/gateways/class-rcp-payment-gateway.php:457
     5882#: core/includes/gateways/class-rcp-payment-gateway.php:463
    58715883msgid "Dynamic subscription creation not supported."
    58725884msgstr ""
    58735885
    5874 #: core/includes/gateways/class-rcp-payment-gateway.php:481
     5886#: core/includes/gateways/class-rcp-payment-gateway.php:487
    58755887msgid "Next bill date changes not supported."
    58765888msgstr ""
    58775889
    5878 #: core/includes/gateways/class-rcp-payment-gateway.php:566
     5890#: core/includes/gateways/class-rcp-payment-gateway.php:572
    58795891#: core/includes/memberships/class-rcp-membership.php:1548
    58805892msgid "This feature is not supported by the chosen payment method."
     
    59595971
    59605972#: core/includes/gateways/stripe/functions.php:150
    5961 #: core/includes/scripts.php:300
     5973#: core/includes/scripts.php:292
    59625974msgid "Please Wait . . . "
    59635975msgstr ""
     
    60866098msgstr ""
    60876099
    6088 #: core/includes/install.php:205 core/includes/scripts.php:299
     6100#: core/includes/install.php:205 core/includes/scripts.php:291
    60896101#: legacy/includes/forms.php:529 legacy/includes/scripts.php:38
    60906102msgid "Register"
     
    69436955#. translators: %s: The expiration date.
    69446956
    6945 #: core/includes/scripts.php:221
     6957#: core/includes/scripts.php:213
    69466958msgid "Are you sure you want to enable auto renew? You will automatically be charged on %s."
    69476959msgstr ""
    69486960
    6949 #: core/includes/scripts.php:222
     6961#: core/includes/scripts.php:214
    69506962msgid "Are you sure you want to disable auto renew?"
    69516963msgstr ""
    69526964
    6953 #: core/includes/scripts.php:301 core/includes/shortcodes.php:1019
     6965#: core/includes/scripts.php:293 core/includes/shortcodes.php:1019
    69546966msgid "Submit Payment"
    69556967msgstr ""
    69566968
    6957 #: core/includes/scripts.php:307
     6969#: core/includes/scripts.php:299
    69586970msgid "An unexpected error has occurred. Please try again or contact support if the issue persists."
    69596971msgstr ""
    69606972
    6961 #: core/includes/scripts.php:308
     6973#: core/includes/scripts.php:300
    69626974msgid "Please enter your card details."
    69636975msgstr ""
     
    70897101msgstr ""
    70907102
    7091 #: core/templates/card-form-full.php:20 core/templates/card-form.php:19
     7103#: core/templates/card-form-full.php:21 core/templates/card-form.php:20
    70927104#: core/templates/card-update-form-fields.php:32
    70937105msgid "Card Number"
    70947106msgstr ""
    70957107
    7096 #: core/templates/card-form-full.php:24 core/templates/card-form.php:23
     7108#: core/templates/card-form-full.php:25 core/templates/card-form.php:24
    70977109#: core/templates/card-update-form-fields.php:36
    70987110msgid "Card CVC"
    70997111msgstr ""
    71007112
    7101 #: core/templates/card-form-full.php:28
     7113#: core/templates/card-form-full.php:29
    71027114msgid "Address"
    71037115msgstr ""
    71047116
    7105 #: core/templates/card-form-full.php:32
     7117#: core/templates/card-form-full.php:33
    71067118msgid "City"
    71077119msgstr ""
    71087120
    7109 #: core/templates/card-form-full.php:36
     7121#: core/templates/card-form-full.php:37
    71107122msgid "State or Province"
    71117123msgstr ""
    71127124
    7113 #: core/templates/card-form-full.php:40
     7125#: core/templates/card-form-full.php:41
    71147126msgid "Country"
    71157127msgstr ""
    71167128
    7117 #: core/templates/card-form-full.php:298 core/templates/card-form.php:27
     7129#: core/templates/card-form-full.php:299 core/templates/card-form.php:28
    71187130#: core/templates/card-update-form-fields.php:40
    71197131msgid "Card ZIP or Postal Code"
    71207132msgstr ""
    71217133
    7122 #: core/templates/card-form-full.php:306 core/templates/card-form.php:35
     7134#: core/templates/card-form-full.php:307 core/templates/card-form.php:36
    71237135#: core/templates/card-update-form-fields.php:44
    71247136msgid "Expiration (MM/YYYY)"
     
    78377849#: restrictcontent.php:979
    78387850msgid "<img src=\"%s\"><div><strong>Save 40%% off new purchases with coupon code BFCM22&nbsp; </strong>| Black Friday Sale November 21 - 29. &nbsp;<a target=\"_blank\" href=\"%s\"><strong>Shop now</strong></a></div>"
     7851msgstr ""
     7852
     7853#: restrictcontent.php:1025
     7854msgid "Make it yours."
     7855msgstr ""
     7856
     7857#: restrictcontent.php:1028
     7858msgid "Save 40% on Restrict Content Pro."
     7859msgstr ""
     7860
     7861#: restrictcontent.php:1034
     7862msgid "Shop Now"
     7863msgstr ""
     7864
     7865#. translators: %s: Discount percentage.
     7866
     7867#: restrictcontent.php:1044
     7868msgid "Take %s off all StellarWP brands during the annual Stellar Sale. <br />Now through July 30."
     7869msgstr ""
     7870
     7871#: restrictcontent.php:1056
     7872msgid "View all StellarWP Deals"
    78397873msgstr ""
    78407874
  • restrict-content/tags/3.2.11/legacy/restrictcontent.php

    r3071905 r3120662  
    2222
    2323if ( ! defined( 'RC_PLUGIN_VERSION' ) ) {
    24     define( 'RC_PLUGIN_VERSION', '3.2.10' );
     24    define( 'RC_PLUGIN_VERSION', '3.2.11' );
    2525}
    2626
  • restrict-content/tags/3.2.11/package.json

    r3071905 r3120662  
    11{
    22  "name": "restrict-content",
    3   "version": "3.2.10",
     3  "version": "3.2.11",
    44  "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.",
    55  "homepage": "https://restrictcontentpro.com/",
  • restrict-content/tags/3.2.11/readme.txt

    r3071907 r3120662  
    66Requires at least: 6.0
    77Requires PHP: 7.4
    8 Tested up to: 6.5
    9 Stable tag: 3.2.10
     8Tested up to: 6.4
     9Stable tag: 3.2.11
    1010
    1111Restrict Content is a powerful WordPress membership plugin that gives you full control over who can and cannot view content on your WordPress site.
     
    258258== Changelog ==
    259259
     260= 3.2.11 =
     261* Fix: Updated knowledge base links
     262
    260263= 3.2.10 =
    261264* Fix: Updated libraries to avoid conflicts
  • restrict-content/tags/3.2.11/restrictcontent.php

    r3071905 r3120662  
    44 * Plugin URI: https://restrictcontentpro.com
    55 * 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.10
     6 * Version: 3.2.11
    77 * Author: StellarWP
    88 * Author URI: https://stellarwp.com/
     
    1919define('RCP_ROOT', plugin_dir_path(__FILE__));
    2020define('RCP_WEB_ROOT', plugin_dir_url(__FILE__));
    21 define('RCF_VERSION', '3.2.10');
     21define('RCF_VERSION', '3.2.11');
    2222
    2323// Load Strauss autoload.
     
    993993add_action('admin_notices', 'restrict_content_bfcm_notice');
    994994
     995// Stellar Sale Banner.
     996add_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  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInitea9349c6ed2ab0279eb0942257c65894::getLoader();
     25return ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d::getLoader();
  • restrict-content/tags/3.2.11/vendor/composer/autoload_real.php

    r3071905 r3120662  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitea9349c6ed2ab0279eb0942257c65894
     5class ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitea9349c6ed2ab0279eb0942257c65894', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitea9349c6ed2ab0279eb0942257c65894', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit3ef59aecd7f9e189a25289742545dc9d', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitea9349c6ed2ab0279eb0942257c65894::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • restrict-content/tags/3.2.11/vendor/composer/autoload_static.php

    r3071905 r3120662  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitea9349c6ed2ab0279eb0942257c65894
     7class ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    6767    {
    6868        return \Closure::bind(function () use ($loader) {
    69             $loader->prefixLengthsPsr4 = ComposerStaticInitea9349c6ed2ab0279eb0942257c65894::$prefixLengthsPsr4;
    70             $loader->prefixDirsPsr4 = ComposerStaticInitea9349c6ed2ab0279eb0942257c65894::$prefixDirsPsr4;
    71             $loader->classMap = ComposerStaticInitea9349c6ed2ab0279eb0942257c65894::$classMap;
     69            $loader->prefixLengthsPsr4 = ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::$prefixLengthsPsr4;
     70            $loader->prefixDirsPsr4 = ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::$prefixDirsPsr4;
     71            $loader->classMap = ComposerStaticInit3ef59aecd7f9e189a25289742545dc9d::$classMap;
    7272
    7373        }, null, ClassLoader::class);
  • restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/App.php

    r2886519 r3120662  
    9494     * Binds an interface a class or a string slug to an implementation and will always return the same instance.
    9595     *
    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     *
    103104     * @throws ContainerException If there's any issue reflecting on the class, interface or the implementation.
    104105     */
     
    129130     * Finds an entry of the container by its identifier and returns it.
    130131     *
    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)
    136138     *
    137139     * @throws ContainerException Error while retrieving the entry.
     
    146148     * Finds an entry of the container by its identifier and returns it.
    147149     *
    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)
    151156     *
    152157     * @throws ContainerException Error while retrieving the entry.
     
    164169     * or the ArrayAccess API then the implementation will be resolved just on the first request.
    165170     *
    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     *
    169178     * @throws ContainerException If the target of the make is not bound and is not a valid,
    170179     *                                              concrete, class name or there's any issue making the target.
     
    182191     * It does however mean that `$container[$id]` will not throw a `NotFoundExceptionInterface`.
    183192     *
    184      * @param string $offset An offset to check for.
     193     * @param string|class-string $offset An offset to check for.
    185194     *
    186195     * @return boolean true on success or false on failure.
     
    198207     * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`.
    199208     *
    200      * @param string $id Identifier of the entry to look for.
     209     * @param string|class-string $id Identifier of the entry to look for.
    201210     *
    202211     * @return bool Whether the container contains a binding for an id or not.
     
    276285     * container itself.
    277286     *
    278      * @param string $serviceProviderClass The fully-qualified Service Provider class name.
     287     * @param class-string $serviceProviderClass The fully-qualified Service Provider class name.
    279288     * @param string ...$alias             A list of aliases the provider should be registered with.
    280289     * @return void This method does not return any value.
     
    297306     * Existing implementations are replaced.
    298307     *
    299      * @param string             $id                A 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 a
    301      *                                              class name, an object or a closure.
    302      * @param array<string>|null $afterBuildMethods An array of methods that should be called on the built
    303      *                                              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.
    304313     *
    305314     * @return void The method does not return any value.
     315     *
    306316     * @throws ContainerException      If there's an issue while trying to bind the implementation.
    307317     */
     
    329339     * Binds a class, interface or string slug to a chain of implementations decorating a base
    330340     * object; the chain will be lazily resolved only on the first call.
    331      *
    332341     * The base decorated object must be the last element of the array.
    333342     *
    334      * @param string                        $id                The class, interface or slug the decorator chain should
    335      *                                                         be bound to.
    336      * @param array<string|object|callable> $decorators        An array of implementations that decorate an object.
    337      * @param array<string>|null            $afterBuildMethods An array of methods that should be called on the
    338      *                                                         instance after it has been built; the methods should not
    339      *                                                         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.
    340349     *
    341350     * @return void This method does not return any value.
     
    348357
    349358    /**
    350      * Binds a class, interface or string slug to to a chain of implementations decorating a
     359     * Binds a class, interface or string slug to a chain of implementations decorating a
    351360     * base object.
    352361     *
    353362     * The base decorated object must be the last element of the array.
    354363     *
    355      * @param string                        $id                The class, interface or slug the decorator chain should
    356      *                                                         be bound to.
    357      * @param array<string|object|callable> $decorators        An array of implementations that decorate an object.
    358      * @param array<string>|null            $afterBuildMethods An array of methods that should be called on the
    359      *                                                         instance after it has been built; the methods should not
    360      *                                                         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.
    361370     *
    362371     * @return void This method does not return any value.
     
    383392     * Starts the `when->needs->give` chain for a contextual binding.
    384393     *
    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.
    386395     *
    387396     * Example:
     
    391400     *      // But if the requesting class is `Worker` return another implementation
    392401     *      $container->when('Worker')
    393      *          ->needs('LoggerInterface)
    394      *          ->give('RemoteLogger);
     402     *          ->needs('LoggerInterface')
     403     *          ->give('RemoteLogger');
    395404     *
    396405     * @return Container The container instance, to continue the when/needs/give chain.
     
    410419     *      // But if the requesting class is `Worker` return another implementation.
    411420     *      $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.
    416425     *
    417426     * @return Container The container instance, to continue the when/needs/give chain.
     
    431440     *      // but if the requesting class is `Worker` return another implementation
    432441     *      $container->when('Worker')
    433      *          ->needs('LoggerInterface)
    434      *          ->give('RemoteLogger);
     442     *          ->needs('LoggerInterface')
     443     *          ->give('RemoteLogger');
    435444     *
    436445     * @param mixed $implementation The implementation specified
     
    448457     * bound to `$id` and return the value of a call to `$method` method with the call arguments.
    449458     *
    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.
    457465     * @throws ContainerException If the id is not a bound implementation or valid class name.
    458466     */
     
    465473     * Returns a callable object that will build an instance of the specified class using the
    466474     * specified arguments when called.
    467      *
    468475     * The callable will be a closure on PHP 5.3+ or a lambda function on PHP 5.2.
    469476     *
    470      * @param string|mixed       $id                The 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 itself
    473      *                                              and bindings will apply.
    474      * @param array<string>|null $afterBuildMethods An array of methods that should be called on the built
    475      *                                              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.
    476483     *
    477484     * @return callable  A callable function that will return an instance of the specified class when
     
    498505     * Returns the Service Provider instance registered.
    499506     *
    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.
    501508     *
    502509     * @return ServiceProvider The service provider instance.
     
    513520     * Returns whether a binding exists in the container or not.
    514521     *
    515      * `isBound($id)` returning `true` means the a call to `bind($id, $implementaion)` or `singleton($id,
     522     * `isBound($id)` returning `true` means the call to `bind($id, $implementaion)` or `singleton($id,
    516523     * $implementation)` (or equivalent ArrayAccess methods) was explicitly made.
    517524     *
    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.
    519526     *
    520527     * @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  
    1414use RCP\lucatume\DI52\ContainerException;
    1515use RCP\lucatume\DI52\NotFoundException;
     16use ReflectionException;
    1617use ReflectionMethod;
    1718
     
    4243     * The fully-qualified class name the builder should build instances of.
    4344     *
    44      * @var string
     45     * @var class-string
    4546     */
    4647    protected $className;
     
    6061
    6162    /**
     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    /**
    6271     * ClassBuilder constructor.
    6372     *
    64      * @param string             $id                The identifier associated with this builder.
    65      * @param Resolver           $resolver          A reference to the resolver currently using the builder.
    66      * @param string             $className         The fully-qualified class name to build instances for.
    67      * @param array<string>|null $afterBuildMethods An 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 the
    69      *                                              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.
    7079     *
    7180     * @throws NotFoundException If the class does not exist.
     
    7584        if (!class_exists($className)) {
    7685            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."
    7887            );
    7988        }
     89
     90        $interfaces = class_implements($className);
     91
     92        if ($interfaces && isset($interfaces[$id])) {
     93            $this->isInterface = true;
     94        }
     95
    8096        $this->id = $id;
    8197        $this->className = $className;
     
    89105     *
    90106     * @return object An instance of the class.
     107     *
     108     * @throws ContainerException
    91109     */
    92110    public function build()
     
    135153     * Returns a set of resolved constructor parameters.
    136154     *
    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     *
    138157     * @return array<Parameter> A set of resolved constructor parameters.
    139158     *
     
    148167        try {
    149168            $constructorReflection = new ReflectionMethod($className, '__construct');
    150         } catch (\ReflectionException $e) {
     169        } catch (ReflectionException $e) {
    151170            static::$constructorParametersCache[$className] = [];
    152171            // No constructor method, no args.
     
    175194     *
    176195     * @return mixed The resolved build argument.
     196     *
     197     * @throws NotFoundException
    177198     */
    178199    protected function resolveBuildArg($arg)
     
    199220        if ($paramClass) {
    200221            $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");
    201226        } else {
    202227            $name = $parameter->getName();
    203228            $parameterImplementation = $this->resolver->whenNeedsGive($this->id, "\$$name");
    204229        }
     230
    205231        try {
    206232            return $parameterImplementation instanceof BuilderInterface ?
  • restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/Factory.php

    r2886519 r3120662  
    5050     * Returns the correct builder for a value.
    5151     *
    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.
    5958     *
    6059     * @return BuilderInterface A builder instance.
  • restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/Parameter.php

    r2886519 r3120662  
    211211
    212212        try {
    213             if (function_exists('enum_exists') && enum_exists($this->type)) {
     213            if (function_exists('enum_exists') && enum_exists((string) $this->type)) {
    214214                return false;
    215215            }
  • restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Builders/Resolver.php

    r2886519 r3120662  
    6969     * Binds an implementation for an id, or class name, as prototype (build new each time).
    7070     *
    71      * @param string           $id             The id to register the implementation for.
    72      * @param BuilderInterface $implementation The 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.
    7373     *
    7474     * @return void This method does not return any value.
     
    8383     * Registers an implementation for an id, or class name, as singleton (build at most once).
    8484     *
    85      * @param string           $id             The id to register the implementation for.
    86      * @param BuilderInterface $implementation The builder that will provide the implementation for
    87      *                                         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.
    8888     *
    8989     * @return void This method does not return any value.
     
    110110     * Removes the relation between an id and a bound implementation from the resolver.
    111111     *
    112      * @param string $id The id to unregister the implementation for.
     112     * @param string|class-string $id The id to unregister the implementation for.
    113113     *
    114114     * @return void This method does not return any value.
     
    122122     * Returns whether a specific id is bound as singleton (build at most once), or not.
    123123     *
    124      * @param string $id The id to check.
     124     * @param string|class-string $id The id to check.
    125125     *
    126126     * @return bool Whether a specific id is bound as singleton (build at most once), or not.
     
    134134     * Transform the canonical class to the class part of a when-needs-give specification, if required.
    135135     *
    136      * @param 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.
     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.
    138138     *
    139139     * @return BuilderInterface|string Either the builder for the when-needs-give replacement, or the input parameter
     
    150150     * Sets an entry in the when->needs->give chain.
    151151     *
    152      * @param string           $whenClass  The "when" part of the chain, a class name or id.
    153      * @param 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.
     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.
    156156     *
    157157     * @return void This method does not return any value.
     
    165165     * Resolves an ide to an implementation with the input arguments.
    166166     *
    167      * @param string|mixed       $id                                  The id, class name or built value to resolve.
    168      * @param array<string>|null $afterBuildMethods                   A list of methods that should run on the built
     167     * @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
    169169     *                                                                instance.
    170      * @param mixed              ...$buildArgs                        A set of build arguments that will be passed to
     170     * @param  mixed                      ...$buildArgs               A set of build arguments that will be passed to
    171171     *                                                                the implementation constructor.
     172     *
    172173     * @return BuilderInterface|ReinitializableBuilderInterface|mixed The builder, set up to use the specified set of
    173174     *                                                                build arguments.
     
    189190     * Resolves an id or input value to a value or object instance.
    190191     *
    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)
    196201     *
    197202     * @throws NotFoundException If the id is a string that is not bound and is not an existing, concrete, class.
     
    223228     * Builds, with auto-wiring, an instance of a not bound class.
    224229     *
    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.
    226231     *
    227232     * @return object The built class instance.
     
    244249     * Resolves a bound implementation to a value or object.
    245250     *
    246      * @param string $id The id to resolve the implementation for.
     251     * @param string|class-string $id The id to resolve the implementation for.
    247252     *
    248253     * @return mixed The resolved instance.
     
    260265    /**
    261266     * Clones the builder assigned to an id and re-initializes it.
    262      *
    263267     * The clone operation leverages the already resolved dependencies of a builder to create an up-to-date instance.
    264268     *
    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     *
    269274     * @return BuilderInterface A new instance of the builder currently related to the id.
    270      *
    271275     * @throws NotFoundException If trying to clone the builder for a non existing id or an id that does not map to a
    272276     *                           concrete class name.
     
    296300    public function addToBuildLine($type, $parameterName)
    297301    {
    298         $this->buildLine[] = trim("{$type} \${$parameterName}");
     302        $this->buildLine[] = trim("$type \$$parameterName");
    299303    }
    300304
     
    305309     * currently being resolved. Used for error logging and formatting.
    306310     *
    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.
    308312     */
    309313    public function getBuildLine()
  • restrict-content/tags/3.2.11/vendor/strauss/lucatume/di52/src/Container.php

    r2886519 r3120662  
    5252     * A list of bound and resolved singletons.
    5353     *
    54      * @var array<string,bool>
     54     * @var array<string|class-string,bool>
    5555     */
    5656    protected $singletons = [];
     
    106106        $this->resolver = new Builders\Resolver($resolveUnboundAsSingletons);
    107107        $this->builders = new Builders\Factory($this, $this->resolver);
    108         $this->singleton(Container::class, $this);
     108        $this->bindThis();
    109109    }
    110110
     
    187187     * Finds an entry of the container by its identifier and returns it.
    188188     *
    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)
    194195     *
    195196     * @throws ContainerException Error while retrieving the entry.
     
    205206     * Finds an entry of the container by its identifier and returns it.
    206207     *
    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)
    210214     *
    211215     * @throws ContainerException Error while retrieving the entry.
     
    253257     * or the ArrayAccess API then the implementation will be resolved just on the first request.
    254258     *
    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     *
    258266     * @throws ContainerException If the target of the make is not bound and is not a valid,
    259267     *                                              concrete, class name or there's any issue making the target.
     
    271279     * It does however mean that `$container[$id]` will not throw a `NotFoundExceptionInterface`.
    272280     *
    273      * @param string $offset An offset to check for.
     281     * @param string|class-string $offset An offset to check for.
    274282     *
    275283     * @return boolean true on success or false on failure.
     
    288296     * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`.
    289297     *
    290      * @param string $id Identifier of the entry to look for.
     298     * @param string|class-string $id Identifier of the entry to look for.
    291299     *
    292300     * @return bool Whether the container contains a binding for an id or not.
     
    368376     * A wrapper around the `class_exists` function to capture and handle possible fatal errors on PHP 7.0+.
    369377     *
    370      * @param string $class The class name to check.
     378     * @param string|class-string $class The class name to check.
    371379     *
    372380     * @return bool Whether the class exists or not.
     
    402410     * Checks a class, interface or trait exists.
    403411     *
    404      * @param string $class The class, interface or trait to check.
     412     * @param string|class-string $class The class, interface or trait to check.
    405413     *
    406414     * @return bool Whether the class, interface or trait exists or not.
     
    437445     * container itself.
    438446     *
    439      * @param string $serviceProviderClass The fully-qualified Service Provider class name.
     447     * @param class-string $serviceProviderClass The fully-qualified Service Provider class name.
    440448     * @param string ...$alias             A list of aliases the provider should be registered with.
    441449     * @return void This method does not return any value.
     
    513521     * Existing implementations are replaced.
    514522     *
    515      * @param string             $id                A 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 a
    517      *                                              class name, an object or a closure.
    518      * @param array<string>|null $afterBuildMethods An array of methods that should be called on the built
    519      *                                              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.
    520528     *
    521529     * @return void The method does not return any value.
     530     *
    522531     * @throws ContainerException      If there's an issue while trying to bind the implementation.
    523532     */
     
    556565     * Binds a class, interface or string slug to a chain of implementations decorating a base
    557566     * object; the chain will be lazily resolved only on the first call.
    558      *
    559567     * The base decorated object must be the last element of the array.
    560568     *
    561      * @param string                        $id                The class, interface or slug the decorator chain should
    562      *                                                         be bound to.
    563      * @param array<string|object|callable> $decorators        An array of implementations that decorate an object.
    564      * @param array<string>|null            $afterBuildMethods An array of methods that should be called on the
    565      *                                                         instance after it has been built; the methods should not
    566      *                                                         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.
    567575     *
    568576     * @return void This method does not return any value.
     
    604612
    605613    /**
    606      * Binds a class, interface or string slug to to a chain of implementations decorating a
     614     * Binds a class, interface or string slug to a chain of implementations decorating a
    607615     * base object.
    608616     *
    609617     * The base decorated object must be the last element of the array.
    610618     *
    611      * @param string                        $id                The class, interface or slug the decorator chain should
    612      *                                                         be bound to.
    613      * @param array<string|object|callable> $decorators        An array of implementations that decorate an object.
    614      * @param array<string>|null            $afterBuildMethods An array of methods that should be called on the
    615      *                                                         instance after it has been built; the methods should not
    616      *                                                         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.
    617625     *
    618626     * @return void This method does not return any value.
     
    644652     * Starts the `when->needs->give` chain for a contextual binding.
    645653     *
    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.
    647655     *
    648656     * Example:
     
    652660     *      // But if the requesting class is `Worker` return another implementation
    653661     *      $container->when('Worker')
    654      *          ->needs('LoggerInterface)
    655      *          ->give('RemoteLogger);
     662     *          ->needs('LoggerInterface')
     663     *          ->give('RemoteLogger');
    656664     *
    657665     * @return Container The container instance, to continue the when/needs/give chain.
     
    673681     *      // But if the requesting class is `Worker` return another implementation.
    674682     *      $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.
    679687     *
    680688     * @return Container The container instance, to continue the when/needs/give chain.
     
    696704     *      // but if the requesting class is `Worker` return another implementation
    697705     *      $container->when('Worker')
    698      *          ->needs('LoggerInterface)
    699      *          ->give('RemoteLogger);
     706     *          ->needs('LoggerInterface')
     707     *          ->give('RemoteLogger');
    700708     *
    701709     * @param mixed $implementation The implementation specified
     
    716724     * bound to `$id` and return the value of a call to `$method` method with the call arguments.
    717725     *
    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.
    725732     * @throws ContainerException If the id is not a bound implementation or valid class name.
    726733     */
     
    764771     * Whether a method of an id, possibly not a class, is static or not.
    765772     *
    766      * @param object|string $object A class name, instance or something that does not map to a class.
    767      * @param string        $method The 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.
    768775     *
    769776     * @return bool Whether a method of an id or class is static or not.
     
    787794     * Returns a callable object that will build an instance of the specified class using the
    788795     * specified arguments when called.
    789      *
    790796     * The callable will be a closure on PHP 5.3+ or a lambda function on PHP 5.2.
    791797     *
    792      * @param string|mixed       $id                The 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 itself
    795      *                                              and bindings will apply.
    796      * @param array<string>|null $afterBuildMethods An array of methods that should be called on the built
    797      *                                              implementation after resolving it.
    798      *
    799      * @return callable  A callable function that will return an instance of the specified class when
     798     * @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
    800806     *                   called.
    801807     */
     
    826832     * Returns the Service Provider instance registered.
    827833     *
    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.
    829835     *
    830836     * @return ServiceProvider The service provider instance.
     
    836842    {
    837843        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.");
    839845        }
    840846
     
    842848
    843849        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.");
    845851        }
    846852
     
    874880        $this->maskThrowables = (int)$maskThrowables;
    875881    }
     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    }
    876908}
  • restrict-content/tags/3.2.11/vendor/strauss/stellarwp/container-contract/src/ContainerInterface.php

    r2886519 r3120662  
    3434     * @param string|class-string<T> $id Identifier of the entry to look for.
    3535     *
    36      * @return ($id is class-string<T> ? T : mixed) Entry.
     36     * @return T|mixed
     37     * @phpstan-return ($id is class-string ? T : mixed)
    3738     */
    3839    public function get( string $id );
Note: See TracChangeset for help on using the changeset viewer.