Changeset 1182478
- Timestamp:
- 06/17/2015 10:21:29 AM (11 years ago)
- Location:
- freshmail-newsletter/trunk
- Files:
-
- 5 edited
-
CHANGELOG.md (modified) (1 diff)
-
languages/en_EN.mo (modified) (previous)
-
languages/en_EN.po (modified) (5 diffs)
-
src/Plugin/Newsletter/Freshmail.php (modified) (2 diffs)
-
wp-freshmail.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
freshmail-newsletter/trunk/CHANGELOG.md
r1181908 r1182478 1 1 ### Changelog 2 3 - 2.0.1 - 2015-06-17 4 * Fix: Displaying shortcode in custom place of content 5 * Fix: Freshmail version compare 6 * Fix: Database converting to freshmail 2.x standard 2 7 3 8 - 2.0 - 2015-06-15 -
freshmail-newsletter/trunk/languages/en_EN.po
r1181908 r1182478 2 2 msgstr "" 3 3 "Project-Id-Version: wp_freshmail\n" 4 "POT-Creation-Date: 2015-06-1 6 16:08+0100\n"5 "PO-Revision-Date: 2015-06-1 6 16:08+0100\n"4 "POT-Creation-Date: 2015-06-17 12:12+0100\n" 5 "PO-Revision-Date: 2015-06-17 12:12+0100\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 42 42 msgstr "" 43 43 44 #: ../src/Plugin/Newsletter/Freshmail.php:50 644 #: ../src/Plugin/Newsletter/Freshmail.php:509 45 45 #: ../templates/form_messages.php:10 46 46 msgid "Subscribe to our newsletter" 47 47 msgstr "" 48 48 49 #: ../src/Plugin/Newsletter/Freshmail.php:5 0749 #: ../src/Plugin/Newsletter/Freshmail.php:510 50 50 #: ../templates/form_messages.php:24 51 51 msgid "Get updates direct to your inbox." 52 52 msgstr "" 53 53 54 #: ../src/Plugin/Newsletter/Freshmail.php:5 0854 #: ../src/Plugin/Newsletter/Freshmail.php:511 55 55 #: ../templates/form_messages.php:29 56 56 msgid "Send me your newsletter (you can unsubscribe at any time)." 57 57 msgstr "" 58 58 59 #: ../src/Plugin/Newsletter/Freshmail.php:5 0959 #: ../src/Plugin/Newsletter/Freshmail.php:512 60 60 #: ../templates/form_messages.php:34 61 61 msgid "Sign me up!" 62 62 msgstr "" 63 63 64 #: ../src/Plugin/Newsletter/Freshmail.php:51 064 #: ../src/Plugin/Newsletter/Freshmail.php:513 65 65 #: ../templates/form_messages.php:43 66 66 msgid "Your sign up request was successful! Please check your email inbox." 67 67 msgstr "" 68 68 69 #: ../src/Plugin/Newsletter/Freshmail.php:51 169 #: ../src/Plugin/Newsletter/Freshmail.php:514 70 70 #: ../templates/form_messages.php:48 71 71 msgid "Oops. Something went wrong. Please try again later." 72 72 msgstr "" 73 73 74 #: ../src/Plugin/Newsletter/Freshmail.php:51 274 #: ../src/Plugin/Newsletter/Freshmail.php:515 75 75 #: ../templates/form_messages.php:54 76 76 msgid "Given email address is already subscribed, thank you!" 77 77 msgstr "" 78 78 79 #: ../src/Plugin/Newsletter/Freshmail.php:51 379 #: ../src/Plugin/Newsletter/Freshmail.php:516 80 80 #: ../templates/form_messages.php:60 81 81 msgid "Please provide a valid email address" 82 82 msgstr "" 83 83 84 #: ../src/Plugin/Newsletter/Freshmail.php:51 484 #: ../src/Plugin/Newsletter/Freshmail.php:517 85 85 #: ../templates/form_messages.php:65 86 86 msgid "Please fill all the required fields" 87 87 msgstr "" 88 88 89 #: ../src/Plugin/Newsletter/Freshmail.php:54 089 #: ../src/Plugin/Newsletter/Freshmail.php:543 90 90 msgid "The Sign Up Form has been updated!" 91 91 msgstr "" 92 92 93 #: ../src/Plugin/Newsletter/Freshmail.php:5 5993 #: ../src/Plugin/Newsletter/Freshmail.php:562 94 94 msgid "The Sign Up Form has been added!" 95 95 msgstr "" 96 96 97 #: ../src/Plugin/Newsletter/Freshmail.php:5 5997 #: ../src/Plugin/Newsletter/Freshmail.php:562 98 98 msgid "Show" 99 99 msgstr "" 100 100 101 #: ../src/Plugin/Newsletter/Freshmail.php:68 1101 #: ../src/Plugin/Newsletter/Freshmail.php:684 102 102 msgid "There are no added an email via the sign up form!" 103 103 msgstr "" 104 104 105 #: ../src/Plugin/Newsletter/Freshmail.php:729 106 #: ../src/Plugin/Newsletter/Freshmail.php:762 107 #: ../src/Plugin/Newsletter/Freshmail.php:763 105 #: ../src/Plugin/Newsletter/Freshmail.php:732 108 106 #: ../src/Plugin/Newsletter/Freshmail.php:765 109 #: ../src/Plugin/Newsletter/Freshmail.php:787 107 #: ../src/Plugin/Newsletter/Freshmail.php:766 108 #: ../src/Plugin/Newsletter/Freshmail.php:768 109 #: ../src/Plugin/Newsletter/Freshmail.php:790 110 110 #: ../templates/admin_reports.php:100 ../templates/admin_reports.php:101 111 111 msgid "Total subscriptions" 112 112 msgstr "" 113 113 114 #: ../src/Plugin/Newsletter/Freshmail.php:730 115 #: ../src/Plugin/Newsletter/Freshmail.php:749 116 #: ../src/Plugin/Newsletter/Freshmail.php:750 114 #: ../src/Plugin/Newsletter/Freshmail.php:733 117 115 #: ../src/Plugin/Newsletter/Freshmail.php:752 118 #: ../src/Plugin/Newsletter/Freshmail.php:788 116 #: ../src/Plugin/Newsletter/Freshmail.php:753 117 #: ../src/Plugin/Newsletter/Freshmail.php:755 118 #: ../src/Plugin/Newsletter/Freshmail.php:791 119 119 #: ../templates/admin_reports.php:109 ../templates/admin_reports.php:110 120 120 msgid "Using Form" 121 121 msgstr "" 122 122 123 #: ../src/Plugin/Newsletter/Freshmail.php:731 124 #: ../src/Plugin/Newsletter/Freshmail.php:755 125 #: ../src/Plugin/Newsletter/Freshmail.php:756 123 #: ../src/Plugin/Newsletter/Freshmail.php:734 126 124 #: ../src/Plugin/Newsletter/Freshmail.php:758 127 #: ../src/Plugin/Newsletter/Freshmail.php:789 125 #: ../src/Plugin/Newsletter/Freshmail.php:759 126 #: ../src/Plugin/Newsletter/Freshmail.php:761 127 #: ../src/Plugin/Newsletter/Freshmail.php:792 128 128 #: ../templates/admin_reports.php:119 ../templates/admin_reports.php:120 129 129 msgid "Using Checkbox" 130 130 msgstr "" 131 131 132 #: ../src/Plugin/Newsletter/Freshmail.php:80 5133 #: ../src/Plugin/Newsletter/Freshmail.php:8 69132 #: ../src/Plugin/Newsletter/Freshmail.php:808 133 #: ../src/Plugin/Newsletter/Freshmail.php:872 134 134 #: ../templates/admin_reports.php:88 135 135 msgid "Sign-Up Form" 136 136 msgstr "" 137 137 138 #: ../src/Plugin/Newsletter/Freshmail.php:91 3138 #: ../src/Plugin/Newsletter/Freshmail.php:916 139 139 msgid "Deleted" 140 140 msgstr "" 141 141 142 #: ../src/Plugin/Newsletter/Freshmail.php:9 27142 #: ../src/Plugin/Newsletter/Freshmail.php:930 143 143 msgid "The Sign Up Checkboxes has been updated!" 144 144 msgstr "" 145 145 146 #: ../src/Plugin/Newsletter/Freshmail.php:96 5146 #: ../src/Plugin/Newsletter/Freshmail.php:968 147 147 #: ../templates/admin_checkboxes.php:40 148 148 msgid "Comment Form" 149 149 msgstr "" 150 150 151 #: ../src/Plugin/Newsletter/Freshmail.php:9 87151 #: ../src/Plugin/Newsletter/Freshmail.php:990 152 152 #: ../templates/admin_checkboxes.php:49 153 153 msgid "Registration Form" 154 154 msgstr "" 155 155 156 #: ../src/Plugin/Newsletter/Freshmail.php:100 4156 #: ../src/Plugin/Newsletter/Freshmail.php:1007 157 157 #: ../templates/admin_checkboxes.php:59 158 158 msgid "WooCommerce Checkout" 159 159 msgstr "" 160 160 161 #: ../src/Plugin/Newsletter/Freshmail.php:102 1161 #: ../src/Plugin/Newsletter/Freshmail.php:1024 162 162 msgid "Easy Digital Download Checkout " 163 163 msgstr "" 164 164 165 #: ../src/Plugin/Newsletter/Freshmail.php:106 3165 #: ../src/Plugin/Newsletter/Freshmail.php:1066 166 166 msgid "bbPress new topic" 167 167 msgstr "" 168 168 169 #: ../src/Plugin/Newsletter/Freshmail.php:108 2169 #: ../src/Plugin/Newsletter/Freshmail.php:1085 170 170 msgid "bbPress new reply" 171 171 msgstr "" 172 172 173 #: ../src/Plugin/Newsletter/Freshmail.php:11 19174 #: ../src/Plugin/Newsletter/Freshmail.php:113 5173 #: ../src/Plugin/Newsletter/Freshmail.php:1122 174 #: ../src/Plugin/Newsletter/Freshmail.php:1138 175 175 msgid "Multisite Form" 176 176 msgstr "" 177 177 178 #: ../src/Plugin/Newsletter/Freshmail.php:116 4178 #: ../src/Plugin/Newsletter/Freshmail.php:1167 179 179 #: ../templates/admin_checkboxes.php:99 180 180 msgid "BuddyPress registration" 181 181 msgstr "" 182 182 183 #: ../src/Plugin/Newsletter/Freshmail.php:11 88183 #: ../src/Plugin/Newsletter/Freshmail.php:1191 184 184 #: ../templates/admin_checkboxes.php:123 ../templates/form_appearance.php:68 185 185 #: ../templates/form_appearance.php:109 ../templates/form_appearance.php:255 … … 189 189 msgstr "" 190 190 191 #: ../src/Plugin/Newsletter/Freshmail.php:11 88191 #: ../src/Plugin/Newsletter/Freshmail.php:1191 192 192 #: ../templates/admin_checkboxes.php:126 ../templates/form_appearance.php:69 193 193 #: ../templates/form_appearance.php:110 ../templates/form_appearance.php:256 … … 197 197 msgstr "" 198 198 199 #: ../src/Plugin/Newsletter/Freshmail.php:119 0199 #: ../src/Plugin/Newsletter/Freshmail.php:1193 200 200 #: ../templates/admin_checkboxes.php:110 201 201 msgid "Contact form 7" … … 1062 1062 msgstr "" 1063 1063 1064 #: ../wp-freshmail.php:11 51064 #: ../wp-freshmail.php:117 1065 1065 msgid "Black_and_white" 1066 1066 msgstr "" 1067 1067 1068 #: ../wp-freshmail.php:1 881068 #: ../wp-freshmail.php:190 1069 1069 msgid "Yellow" 1070 1070 msgstr "" 1071 1071 1072 #: ../wp-freshmail.php:26 11072 #: ../wp-freshmail.php:263 1073 1073 msgid "Grey" 1074 1074 msgstr "" 1075 1075 1076 #: ../wp-freshmail.php:33 41076 #: ../wp-freshmail.php:336 1077 1077 msgid "Blue" 1078 1078 msgstr "" 1079 1079 1080 #: ../wp-freshmail.php:40 71080 #: ../wp-freshmail.php:409 1081 1081 msgid "White_and_Red" 1082 1082 msgstr "" 1083 1083 1084 #: ../wp-freshmail.php:48 01084 #: ../wp-freshmail.php:482 1085 1085 msgid "Green" 1086 1086 msgstr "" 1087 1087 1088 #: ../wp-freshmail.php:55 31088 #: ../wp-freshmail.php:555 1089 1089 msgid "Black" 1090 1090 msgstr "" 1091 1091 1092 #: ../wp-freshmail.php:62 61092 #: ../wp-freshmail.php:628 1093 1093 msgid "green_only_placeholders" 1094 1094 msgstr "" 1095 1095 1096 #: ../wp-freshmail.php: 6991096 #: ../wp-freshmail.php:701 1097 1097 msgid "black_only_placeholders" 1098 1098 msgstr "" 1099 1099 1100 #: ../wp-freshmail.php:77 21100 #: ../wp-freshmail.php:774 1101 1101 msgid "blue_only_placeholders" 1102 1102 msgstr "" -
freshmail-newsletter/trunk/src/Plugin/Newsletter/Freshmail.php
r1181908 r1182478 372 372 public function shortcode($fmFormId) 373 373 { 374 ob_start(); 374 375 global $wpdb; 375 376 … … 396 397 $errorSuccess = $freshmailForm['appearance']['error_success']; 397 398 require(WP_FRESHMAIL_DIR.'/templates/shortcode.php'); 399 400 return ob_get_clean(); 398 401 } 399 402 -
freshmail-newsletter/trunk/wp-freshmail.php
r1181908 r1182478 4 4 * Plugin URI: http://freshmail.com/plugin/wordpress-newsletter/ 5 5 * Description: FreshMail is an email marketing tool for creating and sending amazing newsletters. Our intuitive system leads users from campaign planning and creation to final reports. A free account lets you send up to 2000 messages to a maximum of 500 recipients each month. 6 * Version: 2.0 6 * Version: 2.0.1 7 7 * Author: Borbis Media 8 8 * Author URI: http://www.borbis.com … … 21 21 // Define plugin version for upgrade 22 22 if (!defined('WP_FRESHMAIL_VERSION')) { 23 define('WP_FRESHMAIL_VERSION', '2.0 ');23 define('WP_FRESHMAIL_VERSION', '2.0.1'); 24 24 } 25 25 … … 34 34 35 35 $currentVersion = get_option('WP_FRESHMAIL_VERSION', 0); 36 if ( $currentVersion < WP_FRESHMAIL_VERSION) {36 if (version_compare($currentVersion, WP_FRESHMAIL_VERSION, '<')) { 37 37 38 38 global $wpdb; … … 58 58 dbDelta($sql); 59 59 60 61 // check if old table exist 60 // check if old table fm_form exist 62 61 $fm_forms = $wpdb->get_row('SELECT table_name FROM information_schema.tables WHERE table_name LIKE "'.$wpdb->prefix.'fm_forms"'); 63 62 if (!empty($fm_forms)) { … … 81 80 } 82 81 } 83 84 $stats = $wpdb->get_row('SELECT table_name FROM information_schema.tables WHERE table_name LIKE "'.$wpdb->prefix.'fm_forms"'); 82 $wpdb->query('DROP TABLE IF EXISTS '.$wpdb->prefix.'fm_forms'); 83 84 // check if old table fm_mails exist 85 $stats = $wpdb->get_row('SELECT table_name FROM information_schema.tables WHERE table_name LIKE "'.$wpdb->prefix.'fm_mails"'); 85 86 if (!empty($stats)) { 86 $data = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.'f reshmail_stats', ARRAY_A);87 $data = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.'fm_mails', ARRAY_A); 87 88 88 89 if (!empty($data)) { … … 107 108 } 108 109 } 110 $wpdb->query('DROP TABLE IF EXISTS '.$wpdb->prefix.'fm_mails'); 109 111 110 112 $oldCustomThemes = get_option('freshmail_custom_theme');
Note: See TracChangeset
for help on using the changeset viewer.