Plugin Directory

Changeset 3191557


Ignore:
Timestamp:
11/18/2024 06:49:00 PM (14 months ago)
Author:
claudiosanches
Message:

Tagging version 3.2.13

Location:
restrict-content/tags/3.2.13
Files:
9 added
12 edited
1 copied

Legend:

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

    r3123392 r3191557  
    11{
    22    "name": "restrictcontent/restrict-content",
    3     "version": "3.2.12",
     3    "version": "3.2.13",
    44    "type": "wordpress-plugin",
    55    "description": "A simple, yet powerful membership solution for WordPress.",
  • restrict-content/tags/3.2.13/core/includes/class-restrict-content.php

    r3120662 r3191557  
    2727     */
    2828    final class Restrict_Content_Pro {
    29         const VERSION = '3.5.42';
     29        const VERSION = '3.5.43';
    3030
    3131        /**
  • restrict-content/tags/3.2.13/core/includes/css/rcp-global-admin.css

    r3120662 r3191557  
    1 /* Black Friday Banner
     1/* Black Friday Sale Banner
    22---------------------------------------------------------------*/
    3 .notice.restrict-content-bfcm-notice {
    4     background: #4204A7;
    5     color: white;
    6     text-align: center;
    7     font-family: 'Helvetica';
    8     display: flex;
    9     justify-content: center;
    10     align-items: center;
    11     font-size: 1rem;
    12     padding-block: 10px;
     3.restrict-content-bf-2024-banner {
     4    margin-top: 20px;
     5    position: relative;
     6    z-index: 10;
    137}
    148
    15 .notice.restrict-content-bfcm-notice img {
    16 margin-right: 10px;
     9.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-image {
     10    max-width: 100%;
    1711}
    1812
    19 .notice.restrict-content-bfcm-notice a {
    20     color: #F9E26E;
     13.restrict-content-bf-2024-banner a:focus {
     14    box-shadow: none;
     15    outline: 0;
    2116}
    2217
    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');
     18.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-close,
     19.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-close:hover {
     20    background: none;
     21    border: none;
     22    box-shadow: none;
     23    cursor: pointer;
     24    position: absolute;
     25    right: 4px;
     26    text-decoration: none;
     27    top: 8px;
     28    z-index: 100;
    2929}
    3030
    31 @font-face {
    32     font-family: 'Neurial Grotesk';
    33     font-weight: 700;
    34     src: url(../fonts/neurial-grotesk-bold.otf) format('opentype');
     31.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-close::before {
     32    display: none;
    3533}
    3634
    37 @import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&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;
     35@media screen and (min-width: 450px) {
     36    .restrict-content-bf-2024-banner {
     37        max-width: 428px;
    12638    }
    12739}
    12840
    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;
     41@media screen and (min-width: 1100px) {
     42    .restrict-content-bf-2024-banner {
     43        max-width: 768px;
    13744    }
    13845}
    13946
    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;
     47@media screen and (min-width: 1200px) {
     48    .restrict-content-bf-2024-banner {
     49        max-width: 1262px;
    15950    }
    16051}
    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.13/core/includes/css/rcp-global-admin.min.css

    r3120662 r3191557  
    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%}}
     1.restrict-content-bf-2024-banner{margin-top:20px;position:relative;z-index:10}.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-image{max-width:100%}.restrict-content-bf-2024-banner a:focus{box-shadow:none;outline:0}.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-close,.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-close:hover{background:0 0;border:none;box-shadow:none;cursor:pointer;position:absolute;right:4px;text-decoration:none;top:8px;z-index:100}.restrict-content-bf-2024-banner .restrict-content-bf-2024-banner-close::before{display:none}@media screen and (min-width:450px){.restrict-content-bf-2024-banner{max-width:428px}}@media screen and (min-width:1100px){.restrict-content-bf-2024-banner{max-width:768px}}@media screen and (min-width:1200px){.restrict-content-bf-2024-banner{max-width:1262px}}
  • restrict-content/tags/3.2.13/core/includes/js/restrict-content-pro-admin-notices.js

    r3120662 r3191557  
    5656    });
    5757
    58     $( document ).on( 'click', '.restrict-content-stellar-sale-notice .notice-dismiss', function() {
     58    $( document ).on( 'click', '.restrict-content-bf-2024-banner .notice-dismiss', function() {
    5959        $.ajax({
    6060            url: ajaxurl,
     
    6262            data: {
    6363                action: 'rcp_ajax_dismissed_notice_handler',
    64                 name: 'restrict-content-stellar-sale-notice',
     64                name: 'restrict-content-bf-2024-banner',
    6565                rcp_nonce: rcp_admin_notices_vars.rcp_dismissed_nonce
    6666            }
     67        }).done( function() {
     68            $( '.restrict-content-bf-2024-banner' ).fadeOut();
    6769        });
    6870    });
  • restrict-content/tags/3.2.13/core/includes/js/restrict-content-pro-admin-notices.min.js

    r3120662 r3191557  
    1 jQuery(document).ready((function(n){n(document).on("click",".rcp-plugin-migration-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"rcp-plugin-migration-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-upgrade-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-upgrade-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-bfcm-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-bfcm-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce},success:function(n){console.log(n)},error:function(n){console.log(n)}})})),n(document).on("click",".restrict-content-stellar-sale-notice .notice-dismiss",(function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-stellar-sale-notice",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce}})}))}));
     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-bf-2024-banner .notice-dismiss",function(){n.ajax({url:ajaxurl,method:"POST",data:{action:"rcp_ajax_dismissed_notice_handler",name:"restrict-content-bf-2024-banner",rcp_nonce:rcp_admin_notices_vars.rcp_dismissed_nonce}}).done(function(){n(".restrict-content-bf-2024-banner").fadeOut()})})});
  • restrict-content/tags/3.2.13/core/includes/scripts.php

    r3120662 r3191557  
    117117        && get_option( 'dismissed-restrict-content-upgrade-notice', false )
    118118        && get_option( 'dismissed-restrict-content-bfcm-notice', false )
    119         && get_option( 'dismissed-restrict-content-stellar-sale-notice', false )
     119        && get_option( 'dismissed-restrict-content-bf-2024-banner', false )
    120120    ) {
    121121        return;
     
    342342        'restrict-content-upgrade-notice',
    343343        'restrict-content-bfcm-notice',
    344         'restrict-content-stellar-sale-notice',
     344        'restrict-content-bf-2024-banner',
    345345    ];
    346346
  • restrict-content/tags/3.2.13/lang/restrict-content.pot

    r3123392 r3191557  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Restrict Content 3.2.12-release/R24.caramellos.1-458a4f2\n"
     5"Project-Id-Version: Restrict Content 3.2.13\n"
    66"Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
    7 "POT-Creation-Date: 2024-07-22 16:46:32+00:00\n"
     7"POT-Creation-Date: 2024-11-18 18:42:36+00:00\n"
    88"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n"
    99"MIME-Version: 1.0\n"
     
    70407040msgstr ""
    70417041
    7042 #: core/includes/shortcodes.php:934
     7042#: core/includes/shortcodes.php:934 restrictcontent.php:1052
    70437043msgid "Close"
    70447044msgstr ""
     
    78517851msgstr ""
    78527852
    7853 #: restrictcontent.php:1030
    7854 msgid "Make it yours."
    7855 msgstr ""
    7856 
    7857 #: restrictcontent.php:1033
    7858 msgid "Save 40% on Restrict Content Pro."
    7859 msgstr ""
    7860 
    7861 #: restrictcontent.php:1039
    7862 msgid "Shop Now"
    7863 msgstr ""
    7864 
    7865 #. translators: %s: Discount percentage.
    7866 
    7867 #: restrictcontent.php:1049
    7868 msgid "Take %s off all StellarWP brands during the annual Stellar Sale. <br />Now through July 30."
    7869 msgstr ""
    7870 
    7871 #: restrictcontent.php:1061
    7872 msgid "View all StellarWP Deals"
     7853#: restrictcontent.php:1045
     7854msgid "Black Friday Sale: Save 40% on Restrict Content Pro. Make your purchase before 12/3/24"
     7855msgstr ""
     7856
     7857#: restrictcontent.php:1056
     7858msgid "Close button"
    78737859msgstr ""
    78747860
  • restrict-content/tags/3.2.13/legacy/restrictcontent.php

    r3123392 r3191557  
    2222
    2323if ( ! defined( 'RC_PLUGIN_VERSION' ) ) {
    24     define( 'RC_PLUGIN_VERSION', '3.2.12' );
     24    define( 'RC_PLUGIN_VERSION', '3.2.13' );
    2525}
    2626
  • restrict-content/tags/3.2.13/package.json

    r3123392 r3191557  
    11{
    22  "name": "restrict-content",
    3   "version": "3.2.12",
     3  "version": "3.2.13",
    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.13/readme.txt

    r3123392 r3191557  
    77Requires PHP: 7.4
    88Tested up to: 6.4
    9 Stable tag: 3.2.12
     9Stable tag: 3.2.13
    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.13 =
     261* Tweak: Updated how notices are dismissed.
     262
    260263= 3.2.12 =
    261264* Fix: Prevent fatal errors in legacy mode.
  • restrict-content/tags/3.2.13/restrictcontent.php

    r3123392 r3191557  
    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.12
     6 * Version: 3.2.13
    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.12');
     21define('RCF_VERSION', '3.2.13');
    2222
    2323// Load Strauss autoload.
     
    997997    'admin_notices',
    998998    function () {
    999         // Stop if restrict_content_chosen_version is legacy.
    1000         if ( ! function_exists( 'rcp_is_rcp_admin_page' ) ) {
    1001             return;
    1002         }
    1003 
    1004999        // Stop if isn't a RCP page.
    10051000        if ( ! rcp_is_rcp_admin_page() ) {
     
    10081003
    10091004        // Bail if dismissed.
    1010         if ( get_option( 'dismissed-restrict-content-stellar-sale-notice', false ) ) {
     1005        if ( get_option( 'dismissed-restrict-content-bf-2024-banner', false ) ) {
    10111006            return;
    10121007        }
    10131008
    10141009        $date  = gmdate( 'Ymd' );
    1015         $start = 20240723;
    1016         $end   = 20240730;
     1010        $start = 20241127;
     1011        $end   = 20241205;
    10171012
    10181013        if (
     
    10241019
    10251020        ?>
    1026         <div class="notice is-dismissible restrict-content-stellar-sale-notice">
    1027             <div class="rcp-notice-header">
    1028                 <h3>
    1029                     <strong>
    1030                         <?php esc_html_e( 'Make it yours.', 'rcp' ); ?>
    1031                     </strong>
    1032                     <span>
    1033                         <?php esc_html_e( 'Save 40% on Restrict Content Pro.', 'rcp' ); ?>
    1034                     </span>
    1035                 </h3>
    1036             </div>
    1037             <div class="rcp-notice-button">
    1038                 <a href="https://go.learndash.com/rcpstellarsale" target="_blank" rel="noopener noreferrer">
    1039                     <?php esc_html_e( 'Shop Now', 'rcp' ); ?>
    1040                 </a>
    1041             </div>
    1042 
    1043             <div class="rcp-notice-content">
    1044                 <p>
    1045                     <?php
    1046                     echo wp_kses(
    1047                         sprintf(
    1048                             // translators: %s: Discount percentage.
    1049                             __( 'Take %s off all StellarWP brands during the annual Stellar Sale. <br />Now through July 30.', 'rcp' ),
    1050                             '<strong>40%</strong>'
    1051                         ),
    1052                         [
    1053                             'strong' => [],
    1054                             'br'     => [],
    1055                         ]
    1056                     );
    1057                     ?>
    1058                 </p>
    1059 
    1060                 <a href="https://go.learndash.com/rcpstellarsale" target="_blank" rel="noopener noreferrer">
    1061                     <?php esc_html_e( 'View all StellarWP Deals', 'rcp' ); ?>
    1062                 </a>
    1063             </div>
     1021        <div
     1022            class="restrict-content-bf-2024-banner"
     1023        >
     1024            <a
     1025                href="https://restrictcontentpro.com/black-friday/ "
     1026                target="_blank"
     1027                rel="noopener noreferrer"
     1028            >
     1029                <picture>
     1030                    <source
     1031                        srcset="<?php echo esc_url( RCP_PLUGIN_URL . 'core/includes/images/banners/bf2024/full.svg' ); ?>"
     1032                        media="(min-width: 1200px)"
     1033                    >
     1034                    <source
     1035                        srcset="<?php echo esc_url( RCP_PLUGIN_URL . 'core/includes/images/banners/bf2024/regular.svg' ); ?>"
     1036                        media="(min-width: 1100px)"
     1037                    >
     1038                    <source
     1039                        srcset="<?php echo esc_url( RCP_PLUGIN_URL . 'core/includes/images/banners/bf2024/mobile.svg' ); ?>"
     1040                        media="(min-width: 450px)"
     1041                    >
     1042                    <img
     1043                        class="restrict-content-bf-2024-banner-image"
     1044                        src="<?php echo esc_url( RCP_PLUGIN_URL . 'core/includes/images/banners/bf2024/full.svg' ); ?>"
     1045                        alt="<?php esc_html_e( 'Black Friday Sale: Save 40% on Restrict Content Pro. Make your purchase before 12/3/24', 'rcp' ); ?>"
     1046                    >
     1047                </picture>
     1048            </a>
     1049            <button
     1050                class="restrict-content-bf-2024-banner-close notice-dismiss"
     1051                data-notice-id="restrict-content-bf-2024-notice"
     1052                aria-label="<?php esc_attr_e( 'Close', 'rcp' ); ?>"
     1053            >
     1054                <img
     1055                    src="<?php echo esc_url( RCP_PLUGIN_URL . 'core/includes/images/banners/bf2024/close.svg' ); ?>"
     1056                    alt="<?php esc_html_e( 'Close button', 'rcp' ); ?>"
     1057                >
     1058            </button>
    10641059        </div>
    10651060        <?php
Note: See TracChangeset for help on using the changeset viewer.