Plugin Directory

Changeset 3084935


Ignore:
Timestamp:
05/11/2024 11:04:21 AM (22 months ago)
Author:
codeleftover
Message:

Version updated

Location:
optinable/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • optinable/trunk/admin/class-optinable-admin.php

    r3084873 r3084935  
    15921592
    15931593    /**
    1594      * Register all of the hooks related to the public-facing functionality
     1594     * Register all of the hooks related to the admin
    15951595     * of the plugin.
    15961596     *
    1597      * @since    1.0.1
     1597     * @since    1.0.2
    15981598     * @access   private
    15991599    */
     1600
    16001601    function optinable_check_upgrade() {
    16011602        // Get the current plugin version saved in the database
     
    16051606        if (version_compare($current_version_in_db, OPTINABLE_PLUGIN_VERSION, '<')) {
    16061607            // Perform the upgrade
    1607            
    16081608            update_option('optinable_rating_data', '');
    16091609            optinable_share_data_api();
     
    16141614        }
    16151615    }
     1616
     1617    /**
     1618     * Add footer text to the WordPress admin screens.
     1619     *
     1620     * @since    1.0.2
     1621     *
     1622     * @return void
     1623    */
     1624
     1625    public function replace_footer_text() {
     1626        $link_text = esc_html__( 'Give us a 5-star rating!', 'optinable' );
     1627        $href      = 'https://wordpress.org/support/plugin/optinable/reviews/?filter=5#new-post';
     1628        $link1     = sprintf(
     1629            '<a href="%1$s" target="_blank" title="%2$s">&#9733;&#9733;&#9733;&#9733;&#9733;</a>',
     1630            $href,
     1631            $link_text
     1632        );
     1633        $link2     = sprintf(
     1634            '<a href="%1$s" target="_blank" title="%2$s">WordPress.org</a>',
     1635            $href,
     1636            $link_text
     1637        );
     1638
     1639        printf(
     1640            esc_html__(
     1641                'Please rate %1$s %2$s on %3$s to help us spread the word.',
     1642                'optinable'
     1643            ),
     1644            sprintf( '<strong>%1$s</strong>', 'OptinAble' ),
     1645            wp_kses_post( $link1 ),
     1646            wp_kses_post( $link2 )
     1647        );
     1648
     1649        global $wp_version;
     1650        printf(
     1651            wp_kses_post( '<p class="alignright">%1$s</p>' ),
     1652            sprintf(
     1653                esc_html__( 'WordPress %1$s | OptinAble %2$s', 'optinable' ),
     1654                esc_html( $wp_version ),
     1655                esc_html( OPTINABLE_PLUGIN_VERSION )
     1656            )
     1657        );
     1658
     1659        remove_filter( 'update_footer', 'core_update_footer' );
     1660    }
    16161661}
  • optinable/trunk/admin/partials/optinable-admin-foot.php

    r3084873 r3084935  
    44        <?php esc_html_e( 'Made with', 'optinable' ); ?> <i class="fa fa-heart" aria-hidden="true" style="color:red"></i>
    55        <?php esc_html_e( 'by', 'optinable' );?>
    6         <a href="https://codeleftover.com/" target="_blank" style="color: #666;font-weight: bold;">
    7             Code Leftover
     6        <a href="https://optinable.com/" target="_blank" style="color: #666;font-weight: bold;">
     7            OptinAble Popup Builder Team
    88        </a>
    99    </div>
  • optinable/trunk/admin/partials/optinable-admin-sidebar.php

    r3084873 r3084935  
    5353        <a href="https://codeleftover.com/" target="_blank"><?php esc_html_e( 'Contact Plugin Developer', 'optinable' );?> <i class="fa-solid fa-arrow-up-right-from-square"></i></a>
    5454    </div>
     55
     56    <div class="opable_dashb_right">
     57       
     58        <label><i class="fa-regular fa-newspaper"></i></label>
     59        <h3><?php esc_html_e( 'Features', 'optinable' );?></h3>
     60        <p></p>
     61        <a href="https://optinable.com/exit-intent/" target="_blank">Exit-Intent Trigger</a>
     62        <br>
     63        <a href="https://optinable.com/drag-n-drop-builder/" target="_blank">Drag & Drop Builder</a>
     64        <br>
     65        <a href="https://optinable.com/campaign-targeting/" target="_blank">Campaign Targeting</a>
     66        <br>
     67        <a href="https://optinable.com/built-in-templates/" target="_blank">Built-in Templates</a>
     68    </div>
    5569   
    5670</div>
  • optinable/trunk/includes/class-optinable.php

    r3084873 r3084935  
    167167        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-optinable-popups.php';
    168168        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-optinable-public.php';
     169
    169170        $this->loader = new Optinable_Loader();
    170171       
     
    228229        // check version
    229230        $this->loader->add_action( 'admin_init', $plugin_admin, 'optinable_check_upgrade' );
     231
     232
     233        // Check if we are in the admin area
     234        if ( is_admin() ) {
     235
     236            if ( isset( $_GET['page'] ) && strpos( $_GET['page'], 'optinable' ) !== false ) {
     237                $this->loader->add_filter( 'admin_footer_text', $plugin_admin, 'replace_footer_text' );
     238            }
     239        }
     240       
    230241    }
    231242
  • optinable/trunk/languages/optinable-en_US.po

    r3029953 r3084935  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2023-12-23 11:03+0000\n"
    6 "PO-Revision-Date: 2023-12-23 12:07+0000\n"
     6"PO-Revision-Date: 2024-05-11 11:02+0000\n"
    77"Last-Translator: \n"
    88"Language-Team: English (United States)\n"
     
    243243msgstr ""
    244244
    245 #: admin/partials/optinable-admin-foot.php:6
     245#: admin/partials/optinable-admin-foot.php:5
    246246msgid "by"
    247247msgstr ""
     
    291291msgstr ""
    292292
    293 #: admin/partials/optinable-admin-sidebar.php:35
     293#: admin/partials/optinable-admin-sidebar.php:43
    294294msgid "Check out Documentation"
    295295msgstr ""
     
    303303msgstr ""
    304304
    305 #: admin/partials/optinable-admin-edit-campaign.php:323
     305#: admin/partials/optinable-admin-edit-campaign.php:320
    306306msgid "Choose your desired layout"
    307307msgstr ""
     
    383383msgstr ""
    384384
    385 #: admin/partials/optinable-admin-sidebar.php:45
     385#: admin/partials/optinable-admin-sidebar.php:53
    386386msgid "Contact Plugin Developer"
    387387msgstr ""
     
    500500msgstr ""
    501501
    502 #: admin/partials/optinable-admin-sidebar.php:31
     502#: admin/partials/optinable-admin-sidebar.php:39
    503503msgid "Documentation"
    504504msgstr ""
     
    612612msgstr ""
    613613
    614 #: admin/partials/optinable-admin-sidebar.php:43
     614#: admin/partials/optinable-admin-sidebar.php:51
    615615msgid "Explore Plugin Support"
    616616msgstr ""
     
    628628msgstr ""
    629629
     630#: admin/partials/optinable-admin-sidebar.php:59
     631msgid "Features"
     632msgstr ""
     633
    630634#: admin/partials/edit-campaign-block-prop.php:141
    631635msgid "Fields Margin"
     
    664668msgstr ""
    665669
     670#: admin/class-optinable-admin.php:1626
     671msgid "Give us a 5-star rating!"
     672msgstr ""
     673
    666674#: admin/partials/optinable-admin-edit-campaign.php:115
    667675msgid "Global Settings"
     
    680688msgstr ""
    681689
    682 #: admin/partials/optinable-admin-sidebar.php:40
     690#: admin/partials/optinable-admin-sidebar.php:48
    683691msgid "Have some questions? Contact us today and let us help you get the most out of OptinAble."
    684692msgstr ""
     
    714722msgstr ""
    715723
     724#. Author URI of the plugin
     725msgid "https://optinable.com/"
     726msgstr ""
     727
    716728#. URI of the plugin
    717729msgid "https://optinable.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=plugin-uri"
    718730msgstr ""
    719731
    720 #. Author URI of the plugin
    721 msgid "https://99Points.info/"
    722 msgstr ""
    723 
    724732#: admin/partials/edit-campaign-block-prop.php:403 admin/partials/edit-campaign-block-prop.php:443
    725733msgid "Icon"
     
    814822msgstr ""
    815823
    816 #: admin/partials/optinable-admin-sidebar.php:10
     824#: admin/partials/optinable-admin-sidebar.php:18
    817825msgid "Join our exclusive email list to be the first to know about our upcoming features, ad-ons and much more."
    818826msgstr ""
    819827
    820 #: admin/partials/optinable-admin-sidebar.php:9
     828#: admin/partials/optinable-admin-sidebar.php:17
    821829msgid "Join the Club"
    822830msgstr ""
     
    879887msgstr ""
    880888
    881 #: admin/partials/optinable-admin-foot.php:5
     889#: admin/partials/optinable-admin-foot.php:4
    882890msgid "Made with"
    883891msgstr ""
     
    978986msgstr ""
    979987
     988#. Author of the plugin
     989msgid "OptinAble Popup Builder Team"
     990msgstr ""
     991
    980992#: admin/partials/edit-campaign-global-prop.php:243
    981993msgid "Outside the Container"
     
    10071019msgstr ""
    10081020
     1021#: admin/class-optinable-admin.php:1640
     1022#, php-format
     1023msgid "Please rate %1$s %2$s on %3$s to help us spread the word."
     1024msgstr ""
     1025
    10091026#: admin/class-optinable-admin.php:103 admin/class-optinable-admin.php:104 admin/partials/optinable-admin-head.php:20 admin/partials/Tables/Lightbox.php:6 admin/partials/Tables/Lightbox.php:9
    10101027#: admin/partials/placeholders/templates.php:24
     
    10451062msgstr ""
    10461063
    1047 #: admin/partials/optinable-admin-sidebar.php:49
     1064#: admin/partials/optinable-admin-sidebar.php:7
    10481065msgid "Rate Us"
    10491066msgstr ""
     
    13321349msgstr ""
    13331350
    1334 #: admin/partials/edit-campaign-new-blocks.php:92 admin/partials/optinable-admin-sidebar.php:23 admin/partials/placeholders/Buttons.php:41 admin/partials/placeholders/Buttons.php:49
     1351#: admin/partials/edit-campaign-new-blocks.php:92 admin/partials/optinable-admin-sidebar.php:31 admin/partials/placeholders/Buttons.php:41 admin/partials/placeholders/Buttons.php:49
    13351352#: admin/partials/placeholders/Buttons.php:56 admin/partials/placeholders/Buttons.php:63 admin/partials/placeholders/Buttons.php:73
    13361353msgid "Submit"
    13371354msgstr ""
    13381355
    1339 #: admin/partials/optinable-admin-sidebar.php:53
     1356#: admin/partials/optinable-admin-sidebar.php:11
    13401357msgid "Submit a Review"
    13411358msgstr ""
     
    13581375msgstr ""
    13591376
    1360 #: admin/partials/optinable-admin-sidebar.php:39
     1377#: admin/partials/optinable-admin-sidebar.php:47
    13611378msgid "Support"
    13621379msgstr ""
     
    14301447msgstr ""
    14311448
    1432 #: admin/partials/optinable-admin-sidebar.php:18
     1449#: admin/partials/optinable-admin-sidebar.php:26
    14331450msgid "Thank you for joining the list."
    14341451msgstr ""
     
    15441561msgstr ""
    15451562
    1546 #: admin/partials/optinable-admin-sidebar.php:32
     1563#: admin/partials/optinable-admin-sidebar.php:40
    15471564msgid "We offer an extensive documentation that covers everything about OptinAble."
    15481565msgstr ""
    15491566
    1550 #: admin/partials/optinable-admin-sidebar.php:51
     1567#: admin/partials/optinable-admin-sidebar.php:9
    15511568msgid "We value your opinion and really appreciate every single review. Thank you for your support!"
    15521569msgstr ""
     
    15681585msgstr ""
    15691586
    1570 #. Author of the plugin
    1571 #: admin/partials/optinable-admin-foot.php:8
    1572 msgid "99Points"
     1587#: admin/class-optinable-admin.php:1653
     1588#, php-format
     1589msgid "WordPress %1$s | OptinAble %2$s"
    15731590msgstr ""
    15741591
  • optinable/trunk/languages/optinable.pot

    r3029954 r3084935  
    44"Project-Id-Version: OptinAble\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2023-12-23 11:03+0000\n"
     6"POT-Creation-Date: 2024-05-11 11:02+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    244244msgstr ""
    245245
    246 #: admin/partials/optinable-admin-foot.php:6
     246#: admin/partials/optinable-admin-foot.php:5
    247247msgid "by"
    248248msgstr ""
     
    292292msgstr ""
    293293
    294 #: admin/partials/optinable-admin-sidebar.php:35
     294#: admin/partials/optinable-admin-sidebar.php:43
    295295msgid "Check out Documentation"
    296296msgstr ""
     
    304304msgstr ""
    305305
    306 #: admin/partials/optinable-admin-edit-campaign.php:323
     306#: admin/partials/optinable-admin-edit-campaign.php:320
    307307msgid "Choose your desired layout"
    308308msgstr ""
     
    384384msgstr ""
    385385
    386 #: admin/partials/optinable-admin-sidebar.php:45
     386#: admin/partials/optinable-admin-sidebar.php:53
    387387msgid "Contact Plugin Developer"
    388388msgstr ""
     
    501501msgstr ""
    502502
    503 #: admin/partials/optinable-admin-sidebar.php:31
     503#: admin/partials/optinable-admin-sidebar.php:39
    504504msgid "Documentation"
    505505msgstr ""
     
    613613msgstr ""
    614614
    615 #: admin/partials/optinable-admin-sidebar.php:43
     615#: admin/partials/optinable-admin-sidebar.php:51
    616616msgid "Explore Plugin Support"
    617617msgstr ""
     
    629629msgstr ""
    630630
     631#: admin/partials/optinable-admin-sidebar.php:59
     632msgid "Features"
     633msgstr ""
     634
    631635#: admin/partials/edit-campaign-block-prop.php:141
    632636msgid "Fields Margin"
     
    665669msgstr ""
    666670
     671#: admin/class-optinable-admin.php:1626
     672msgid "Give us a 5-star rating!"
     673msgstr ""
     674
    667675#: admin/partials/optinable-admin-edit-campaign.php:115
    668676msgid "Global Settings"
     
    681689msgstr ""
    682690
    683 #: admin/partials/optinable-admin-sidebar.php:40
     691#: admin/partials/optinable-admin-sidebar.php:48
    684692msgid "Have some questions? Contact us today and let us help you get the most out of OptinAble."
    685693msgstr ""
     
    715723msgstr ""
    716724
     725#. Author URI of the plugin
     726msgid "https://optinable.com/"
     727msgstr ""
     728
    717729#. URI of the plugin
    718730msgid "https://optinable.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=plugin-uri"
    719731msgstr ""
    720732
    721 #. Author URI of the plugin
    722 msgid "https://99Points.info/"
    723 msgstr ""
    724 
    725733#: admin/partials/edit-campaign-block-prop.php:403 admin/partials/edit-campaign-block-prop.php:443
    726734msgid "Icon"
     
    815823msgstr ""
    816824
    817 #: admin/partials/optinable-admin-sidebar.php:10
     825#: admin/partials/optinable-admin-sidebar.php:18
    818826msgid "Join our exclusive email list to be the first to know about our upcoming features, ad-ons and much more."
    819827msgstr ""
    820828
    821 #: admin/partials/optinable-admin-sidebar.php:9
     829#: admin/partials/optinable-admin-sidebar.php:17
    822830msgid "Join the Club"
    823831msgstr ""
     
    880888msgstr ""
    881889
    882 #: admin/partials/optinable-admin-foot.php:5
     890#: admin/partials/optinable-admin-foot.php:4
    883891msgid "Made with"
    884892msgstr ""
     
    979987msgstr ""
    980988
     989#. Author of the plugin
     990msgid "OptinAble Popup Builder Team"
     991msgstr ""
     992
    981993#: admin/partials/edit-campaign-global-prop.php:243
    982994msgid "Outside the Container"
     
    10081020msgstr ""
    10091021
     1022#: admin/class-optinable-admin.php:1640
     1023#, php-format
     1024msgid "Please rate %1$s %2$s on %3$s to help us spread the word."
     1025msgstr ""
     1026
    10101027#: admin/class-optinable-admin.php:103 admin/class-optinable-admin.php:104 admin/partials/optinable-admin-head.php:20 admin/partials/Tables/Lightbox.php:6 admin/partials/Tables/Lightbox.php:9
    10111028#: admin/partials/placeholders/templates.php:24
     
    10461063msgstr ""
    10471064
    1048 #: admin/partials/optinable-admin-sidebar.php:49
     1065#: admin/partials/optinable-admin-sidebar.php:7
    10491066msgid "Rate Us"
    10501067msgstr ""
     
    13331350msgstr ""
    13341351
    1335 #: admin/partials/edit-campaign-new-blocks.php:92 admin/partials/optinable-admin-sidebar.php:23 admin/partials/placeholders/Buttons.php:41 admin/partials/placeholders/Buttons.php:49
     1352#: admin/partials/edit-campaign-new-blocks.php:92 admin/partials/optinable-admin-sidebar.php:31 admin/partials/placeholders/Buttons.php:41 admin/partials/placeholders/Buttons.php:49
    13361353#: admin/partials/placeholders/Buttons.php:56 admin/partials/placeholders/Buttons.php:63 admin/partials/placeholders/Buttons.php:73
    13371354msgid "Submit"
    13381355msgstr ""
    13391356
    1340 #: admin/partials/optinable-admin-sidebar.php:53
     1357#: admin/partials/optinable-admin-sidebar.php:11
    13411358msgid "Submit a Review"
    13421359msgstr ""
     
    13591376msgstr ""
    13601377
    1361 #: admin/partials/optinable-admin-sidebar.php:39
     1378#: admin/partials/optinable-admin-sidebar.php:47
    13621379msgid "Support"
    13631380msgstr ""
     
    14311448msgstr ""
    14321449
    1433 #: admin/partials/optinable-admin-sidebar.php:18
     1450#: admin/partials/optinable-admin-sidebar.php:26
    14341451msgid "Thank you for joining the list."
    14351452msgstr ""
     
    15451562msgstr ""
    15461563
    1547 #: admin/partials/optinable-admin-sidebar.php:32
     1564#: admin/partials/optinable-admin-sidebar.php:40
    15481565msgid "We offer an extensive documentation that covers everything about OptinAble."
    15491566msgstr ""
    15501567
    1551 #: admin/partials/optinable-admin-sidebar.php:51
     1568#: admin/partials/optinable-admin-sidebar.php:9
    15521569msgid "We value your opinion and really appreciate every single review. Thank you for your support!"
    15531570msgstr ""
     
    15691586msgstr ""
    15701587
    1571 #. Author of the plugin
    1572 #: admin/partials/optinable-admin-foot.php:8
    1573 msgid "99Points"
     1588#: admin/class-optinable-admin.php:1653
     1589#, php-format
     1590msgid "WordPress %1$s | OptinAble %2$s"
    15741591msgstr ""
    15751592
Note: See TracChangeset for help on using the changeset viewer.