Changeset 3084935
- Timestamp:
- 05/11/2024 11:04:21 AM (22 months ago)
- Location:
- optinable/trunk
- Files:
-
- 7 edited
-
admin/class-optinable-admin.php (modified) (3 diffs)
-
admin/partials/optinable-admin-foot.php (modified) (1 diff)
-
admin/partials/optinable-admin-sidebar.php (modified) (1 diff)
-
includes/class-optinable.php (modified) (2 diffs)
-
languages/optinable-en_US.mo (modified) (previous)
-
languages/optinable-en_US.po (modified) (21 diffs)
-
languages/optinable.pot (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
-
optinable/trunk/admin/class-optinable-admin.php
r3084873 r3084935 1592 1592 1593 1593 /** 1594 * Register all of the hooks related to the public-facing functionality1594 * Register all of the hooks related to the admin 1595 1595 * of the plugin. 1596 1596 * 1597 * @since 1.0. 11597 * @since 1.0.2 1598 1598 * @access private 1599 1599 */ 1600 1600 1601 function optinable_check_upgrade() { 1601 1602 // Get the current plugin version saved in the database … … 1605 1606 if (version_compare($current_version_in_db, OPTINABLE_PLUGIN_VERSION, '<')) { 1606 1607 // Perform the upgrade 1607 1608 1608 update_option('optinable_rating_data', ''); 1609 1609 optinable_share_data_api(); … … 1614 1614 } 1615 1615 } 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">★★★★★</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 } 1616 1661 } -
optinable/trunk/admin/partials/optinable-admin-foot.php
r3084873 r3084935 4 4 <?php esc_html_e( 'Made with', 'optinable' ); ?> <i class="fa fa-heart" aria-hidden="true" style="color:red"></i> 5 5 <?php esc_html_e( 'by', 'optinable' );?> 6 <a href="https:// codeleftover.com/" target="_blank" style="color: #666;font-weight: bold;">7 Code Leftover6 <a href="https://optinable.com/" target="_blank" style="color: #666;font-weight: bold;"> 7 OptinAble Popup Builder Team 8 8 </a> 9 9 </div> -
optinable/trunk/admin/partials/optinable-admin-sidebar.php
r3084873 r3084935 53 53 <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> 54 54 </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> 55 69 56 70 </div> -
optinable/trunk/includes/class-optinable.php
r3084873 r3084935 167 167 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-optinable-popups.php'; 168 168 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-optinable-public.php'; 169 169 170 $this->loader = new Optinable_Loader(); 170 171 … … 228 229 // check version 229 230 $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 230 241 } 231 242 -
optinable/trunk/languages/optinable-en_US.po
r3029953 r3084935 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2023-12-23 11:03+0000\n" 6 "PO-Revision-Date: 202 3-12-23 12:07+0000\n"6 "PO-Revision-Date: 2024-05-11 11:02+0000\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: English (United States)\n" … … 243 243 msgstr "" 244 244 245 #: admin/partials/optinable-admin-foot.php: 6245 #: admin/partials/optinable-admin-foot.php:5 246 246 msgid "by" 247 247 msgstr "" … … 291 291 msgstr "" 292 292 293 #: admin/partials/optinable-admin-sidebar.php: 35293 #: admin/partials/optinable-admin-sidebar.php:43 294 294 msgid "Check out Documentation" 295 295 msgstr "" … … 303 303 msgstr "" 304 304 305 #: admin/partials/optinable-admin-edit-campaign.php:32 3305 #: admin/partials/optinable-admin-edit-campaign.php:320 306 306 msgid "Choose your desired layout" 307 307 msgstr "" … … 383 383 msgstr "" 384 384 385 #: admin/partials/optinable-admin-sidebar.php: 45385 #: admin/partials/optinable-admin-sidebar.php:53 386 386 msgid "Contact Plugin Developer" 387 387 msgstr "" … … 500 500 msgstr "" 501 501 502 #: admin/partials/optinable-admin-sidebar.php:3 1502 #: admin/partials/optinable-admin-sidebar.php:39 503 503 msgid "Documentation" 504 504 msgstr "" … … 612 612 msgstr "" 613 613 614 #: admin/partials/optinable-admin-sidebar.php: 43614 #: admin/partials/optinable-admin-sidebar.php:51 615 615 msgid "Explore Plugin Support" 616 616 msgstr "" … … 628 628 msgstr "" 629 629 630 #: admin/partials/optinable-admin-sidebar.php:59 631 msgid "Features" 632 msgstr "" 633 630 634 #: admin/partials/edit-campaign-block-prop.php:141 631 635 msgid "Fields Margin" … … 664 668 msgstr "" 665 669 670 #: admin/class-optinable-admin.php:1626 671 msgid "Give us a 5-star rating!" 672 msgstr "" 673 666 674 #: admin/partials/optinable-admin-edit-campaign.php:115 667 675 msgid "Global Settings" … … 680 688 msgstr "" 681 689 682 #: admin/partials/optinable-admin-sidebar.php:4 0690 #: admin/partials/optinable-admin-sidebar.php:48 683 691 msgid "Have some questions? Contact us today and let us help you get the most out of OptinAble." 684 692 msgstr "" … … 714 722 msgstr "" 715 723 724 #. Author URI of the plugin 725 msgid "https://optinable.com/" 726 msgstr "" 727 716 728 #. URI of the plugin 717 729 msgid "https://optinable.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=plugin-uri" 718 730 msgstr "" 719 731 720 #. Author URI of the plugin721 msgid "https://99Points.info/"722 msgstr ""723 724 732 #: admin/partials/edit-campaign-block-prop.php:403 admin/partials/edit-campaign-block-prop.php:443 725 733 msgid "Icon" … … 814 822 msgstr "" 815 823 816 #: admin/partials/optinable-admin-sidebar.php:1 0824 #: admin/partials/optinable-admin-sidebar.php:18 817 825 msgid "Join our exclusive email list to be the first to know about our upcoming features, ad-ons and much more." 818 826 msgstr "" 819 827 820 #: admin/partials/optinable-admin-sidebar.php: 9828 #: admin/partials/optinable-admin-sidebar.php:17 821 829 msgid "Join the Club" 822 830 msgstr "" … … 879 887 msgstr "" 880 888 881 #: admin/partials/optinable-admin-foot.php: 5889 #: admin/partials/optinable-admin-foot.php:4 882 890 msgid "Made with" 883 891 msgstr "" … … 978 986 msgstr "" 979 987 988 #. Author of the plugin 989 msgid "OptinAble Popup Builder Team" 990 msgstr "" 991 980 992 #: admin/partials/edit-campaign-global-prop.php:243 981 993 msgid "Outside the Container" … … 1007 1019 msgstr "" 1008 1020 1021 #: admin/class-optinable-admin.php:1640 1022 #, php-format 1023 msgid "Please rate %1$s %2$s on %3$s to help us spread the word." 1024 msgstr "" 1025 1009 1026 #: 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 1010 1027 #: admin/partials/placeholders/templates.php:24 … … 1045 1062 msgstr "" 1046 1063 1047 #: admin/partials/optinable-admin-sidebar.php: 491064 #: admin/partials/optinable-admin-sidebar.php:7 1048 1065 msgid "Rate Us" 1049 1066 msgstr "" … … 1332 1349 msgstr "" 1333 1350 1334 #: admin/partials/edit-campaign-new-blocks.php:92 admin/partials/optinable-admin-sidebar.php: 23admin/partials/placeholders/Buttons.php:41 admin/partials/placeholders/Buttons.php:491351 #: 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 1335 1352 #: admin/partials/placeholders/Buttons.php:56 admin/partials/placeholders/Buttons.php:63 admin/partials/placeholders/Buttons.php:73 1336 1353 msgid "Submit" 1337 1354 msgstr "" 1338 1355 1339 #: admin/partials/optinable-admin-sidebar.php: 531356 #: admin/partials/optinable-admin-sidebar.php:11 1340 1357 msgid "Submit a Review" 1341 1358 msgstr "" … … 1358 1375 msgstr "" 1359 1376 1360 #: admin/partials/optinable-admin-sidebar.php: 391377 #: admin/partials/optinable-admin-sidebar.php:47 1361 1378 msgid "Support" 1362 1379 msgstr "" … … 1430 1447 msgstr "" 1431 1448 1432 #: admin/partials/optinable-admin-sidebar.php: 181449 #: admin/partials/optinable-admin-sidebar.php:26 1433 1450 msgid "Thank you for joining the list." 1434 1451 msgstr "" … … 1544 1561 msgstr "" 1545 1562 1546 #: admin/partials/optinable-admin-sidebar.php: 321563 #: admin/partials/optinable-admin-sidebar.php:40 1547 1564 msgid "We offer an extensive documentation that covers everything about OptinAble." 1548 1565 msgstr "" 1549 1566 1550 #: admin/partials/optinable-admin-sidebar.php: 511567 #: admin/partials/optinable-admin-sidebar.php:9 1551 1568 msgid "We value your opinion and really appreciate every single review. Thank you for your support!" 1552 1569 msgstr "" … … 1568 1585 msgstr "" 1569 1586 1570 # . Author of the plugin1571 # : admin/partials/optinable-admin-foot.php:81572 msgid " 99Points"1587 #: admin/class-optinable-admin.php:1653 1588 #, php-format 1589 msgid "WordPress %1$s | OptinAble %2$s" 1573 1590 msgstr "" 1574 1591 -
optinable/trunk/languages/optinable.pot
r3029954 r3084935 4 4 "Project-Id-Version: OptinAble\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 202 3-12-23 11:03+0000\n"6 "POT-Creation-Date: 2024-05-11 11:02+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 244 244 msgstr "" 245 245 246 #: admin/partials/optinable-admin-foot.php: 6246 #: admin/partials/optinable-admin-foot.php:5 247 247 msgid "by" 248 248 msgstr "" … … 292 292 msgstr "" 293 293 294 #: admin/partials/optinable-admin-sidebar.php: 35294 #: admin/partials/optinable-admin-sidebar.php:43 295 295 msgid "Check out Documentation" 296 296 msgstr "" … … 304 304 msgstr "" 305 305 306 #: admin/partials/optinable-admin-edit-campaign.php:32 3306 #: admin/partials/optinable-admin-edit-campaign.php:320 307 307 msgid "Choose your desired layout" 308 308 msgstr "" … … 384 384 msgstr "" 385 385 386 #: admin/partials/optinable-admin-sidebar.php: 45386 #: admin/partials/optinable-admin-sidebar.php:53 387 387 msgid "Contact Plugin Developer" 388 388 msgstr "" … … 501 501 msgstr "" 502 502 503 #: admin/partials/optinable-admin-sidebar.php:3 1503 #: admin/partials/optinable-admin-sidebar.php:39 504 504 msgid "Documentation" 505 505 msgstr "" … … 613 613 msgstr "" 614 614 615 #: admin/partials/optinable-admin-sidebar.php: 43615 #: admin/partials/optinable-admin-sidebar.php:51 616 616 msgid "Explore Plugin Support" 617 617 msgstr "" … … 629 629 msgstr "" 630 630 631 #: admin/partials/optinable-admin-sidebar.php:59 632 msgid "Features" 633 msgstr "" 634 631 635 #: admin/partials/edit-campaign-block-prop.php:141 632 636 msgid "Fields Margin" … … 665 669 msgstr "" 666 670 671 #: admin/class-optinable-admin.php:1626 672 msgid "Give us a 5-star rating!" 673 msgstr "" 674 667 675 #: admin/partials/optinable-admin-edit-campaign.php:115 668 676 msgid "Global Settings" … … 681 689 msgstr "" 682 690 683 #: admin/partials/optinable-admin-sidebar.php:4 0691 #: admin/partials/optinable-admin-sidebar.php:48 684 692 msgid "Have some questions? Contact us today and let us help you get the most out of OptinAble." 685 693 msgstr "" … … 715 723 msgstr "" 716 724 725 #. Author URI of the plugin 726 msgid "https://optinable.com/" 727 msgstr "" 728 717 729 #. URI of the plugin 718 730 msgid "https://optinable.com/?utm_campaign=plugin-info&utm_source=plugin-header&utm_medium=plugin-uri" 719 731 msgstr "" 720 732 721 #. Author URI of the plugin722 msgid "https://99Points.info/"723 msgstr ""724 725 733 #: admin/partials/edit-campaign-block-prop.php:403 admin/partials/edit-campaign-block-prop.php:443 726 734 msgid "Icon" … … 815 823 msgstr "" 816 824 817 #: admin/partials/optinable-admin-sidebar.php:1 0825 #: admin/partials/optinable-admin-sidebar.php:18 818 826 msgid "Join our exclusive email list to be the first to know about our upcoming features, ad-ons and much more." 819 827 msgstr "" 820 828 821 #: admin/partials/optinable-admin-sidebar.php: 9829 #: admin/partials/optinable-admin-sidebar.php:17 822 830 msgid "Join the Club" 823 831 msgstr "" … … 880 888 msgstr "" 881 889 882 #: admin/partials/optinable-admin-foot.php: 5890 #: admin/partials/optinable-admin-foot.php:4 883 891 msgid "Made with" 884 892 msgstr "" … … 979 987 msgstr "" 980 988 989 #. Author of the plugin 990 msgid "OptinAble Popup Builder Team" 991 msgstr "" 992 981 993 #: admin/partials/edit-campaign-global-prop.php:243 982 994 msgid "Outside the Container" … … 1008 1020 msgstr "" 1009 1021 1022 #: admin/class-optinable-admin.php:1640 1023 #, php-format 1024 msgid "Please rate %1$s %2$s on %3$s to help us spread the word." 1025 msgstr "" 1026 1010 1027 #: 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 1011 1028 #: admin/partials/placeholders/templates.php:24 … … 1046 1063 msgstr "" 1047 1064 1048 #: admin/partials/optinable-admin-sidebar.php: 491065 #: admin/partials/optinable-admin-sidebar.php:7 1049 1066 msgid "Rate Us" 1050 1067 msgstr "" … … 1333 1350 msgstr "" 1334 1351 1335 #: admin/partials/edit-campaign-new-blocks.php:92 admin/partials/optinable-admin-sidebar.php: 23admin/partials/placeholders/Buttons.php:41 admin/partials/placeholders/Buttons.php:491352 #: 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 1336 1353 #: admin/partials/placeholders/Buttons.php:56 admin/partials/placeholders/Buttons.php:63 admin/partials/placeholders/Buttons.php:73 1337 1354 msgid "Submit" 1338 1355 msgstr "" 1339 1356 1340 #: admin/partials/optinable-admin-sidebar.php: 531357 #: admin/partials/optinable-admin-sidebar.php:11 1341 1358 msgid "Submit a Review" 1342 1359 msgstr "" … … 1359 1376 msgstr "" 1360 1377 1361 #: admin/partials/optinable-admin-sidebar.php: 391378 #: admin/partials/optinable-admin-sidebar.php:47 1362 1379 msgid "Support" 1363 1380 msgstr "" … … 1431 1448 msgstr "" 1432 1449 1433 #: admin/partials/optinable-admin-sidebar.php: 181450 #: admin/partials/optinable-admin-sidebar.php:26 1434 1451 msgid "Thank you for joining the list." 1435 1452 msgstr "" … … 1545 1562 msgstr "" 1546 1563 1547 #: admin/partials/optinable-admin-sidebar.php: 321564 #: admin/partials/optinable-admin-sidebar.php:40 1548 1565 msgid "We offer an extensive documentation that covers everything about OptinAble." 1549 1566 msgstr "" 1550 1567 1551 #: admin/partials/optinable-admin-sidebar.php: 511568 #: admin/partials/optinable-admin-sidebar.php:9 1552 1569 msgid "We value your opinion and really appreciate every single review. Thank you for your support!" 1553 1570 msgstr "" … … 1569 1586 msgstr "" 1570 1587 1571 # . Author of the plugin1572 # : admin/partials/optinable-admin-foot.php:81573 msgid " 99Points"1588 #: admin/class-optinable-admin.php:1653 1589 #, php-format 1590 msgid "WordPress %1$s | OptinAble %2$s" 1574 1591 msgstr "" 1575 1592
Note: See TracChangeset
for help on using the changeset viewer.