Changeset 3007296
- Timestamp:
- 12/08/2023 01:50:11 PM (2 years ago)
- Location:
- wonderpush-web-push-notifications
- Files:
-
- 8 edited
- 1 copied
-
tags/1.10.2 (copied) (copied from wonderpush-web-push-notifications/trunk)
-
tags/1.10.2/readme.txt (modified) (2 diffs)
-
tags/1.10.2/wonderpush-admin-page.css (modified) (2 diffs)
-
tags/1.10.2/wonderpush-admin.php (modified) (2 diffs)
-
tags/1.10.2/wonderpush.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wonderpush-admin-page.css (modified) (2 diffs)
-
trunk/wonderpush-admin.php (modified) (2 diffs)
-
trunk/wonderpush.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wonderpush-web-push-notifications/tags/1.10.2/readme.txt
r3007290 r3007296 4 4 Tags: push, notification, web, woocommerce, cart, AMP, android, GDPR, abandoned, reminder, basket 5 5 Requires at least: 5.0 6 Tested up to: 6. 2.27 Stable tag: 1.10. 16 Tested up to: 6.4.2 7 Stable tag: 1.10.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 90 90 91 91 == Changelog == 92 = 1.10.2 = 93 - Fix bug where selecting "Everybody" as audience did not select the right option after returning to the post editor 94 - Tested WordPress 6.4.2 95 92 96 = 1.10.1 = 93 97 - Old php compatibility -
wonderpush-web-push-notifications/tags/1.10.2/wonderpush-admin-page.css
r3007290 r3007296 43 43 transform: rotate(360deg); 44 44 } 45 }46 .metric {47 display: inline-block;48 text-align: center;49 padding: 0 10px;50 }51 .metric span {52 display: block;53 }54 .metric .legend {55 font-size: 0.8em;56 }57 .metric .number {58 font-size: 2em;59 padding: 5px;60 45 } 61 46 .access-token-form input[type=text] { … … 109 94 margin-left: 5px; 110 95 } 96 .metric { 97 display: inline-block; 98 text-align: center; 99 padding: 0 10px; 100 } 101 .metric span { 102 display: block; 103 } 104 .metric .legend { 105 font-size: 0.8em; 106 } 107 .metric .number { 108 font-size: 2em; 109 padding: 5px; 110 } 111 111 .configuration-form { 112 112 text-align: left; -
wonderpush-web-push-notifications/tags/1.10.2/wonderpush-admin.php
r3007290 r3007296 3 3 4 4 class WonderPushAdmin { 5 const RESOURCES_VERSION = '1.10. 1';5 const RESOURCES_VERSION = '1.10.2'; 6 6 const MENU_SLUG = 'wonderpush'; 7 7 const META_BOX_ID = 'wonderpush_meta_box'; … … 135 135 136 136 $notification_already_sent = !!(get_post_meta($post->ID, self::POST_META_LAST_NOTIFICATION_CONTENT, true)); 137 $wonderpush_audience = count($target_tags) ? 'tags' : (count($target_segment_ids) ? 'segments' : 'all'); 137 $wonderpush_audience = 'all'; 138 if (count($target_tags)) { 139 $wonderpush_audience = 'tags'; 140 } else if (count($target_segment_ids) > 1) { 141 $wonderpush_audience = 'segments'; 142 } else if (count($target_segment_ids) > 0 && $target_segment_ids[0] !== '@ALL') { 143 $wonderpush_audience = 'segments'; 144 } 138 145 ?> 139 146 <div id="wonderpush_editor"> -
wonderpush-web-push-notifications/tags/1.10.2/wonderpush.php
r3007290 r3007296 8 8 Author: WonderPush 9 9 Author URI: https://www.wonderpush.com/ 10 Version: 1.10. 110 Version: 1.10.2 11 11 License: GPLv2 or later 12 12 */ -
wonderpush-web-push-notifications/trunk/readme.txt
r3007290 r3007296 4 4 Tags: push, notification, web, woocommerce, cart, AMP, android, GDPR, abandoned, reminder, basket 5 5 Requires at least: 5.0 6 Tested up to: 6. 2.27 Stable tag: 1.10. 16 Tested up to: 6.4.2 7 Stable tag: 1.10.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 90 90 91 91 == Changelog == 92 = 1.10.2 = 93 - Fix bug where selecting "Everybody" as audience did not select the right option after returning to the post editor 94 - Tested WordPress 6.4.2 95 92 96 = 1.10.1 = 93 97 - Old php compatibility -
wonderpush-web-push-notifications/trunk/wonderpush-admin-page.css
r3007290 r3007296 43 43 transform: rotate(360deg); 44 44 } 45 }46 .metric {47 display: inline-block;48 text-align: center;49 padding: 0 10px;50 }51 .metric span {52 display: block;53 }54 .metric .legend {55 font-size: 0.8em;56 }57 .metric .number {58 font-size: 2em;59 padding: 5px;60 45 } 61 46 .access-token-form input[type=text] { … … 109 94 margin-left: 5px; 110 95 } 96 .metric { 97 display: inline-block; 98 text-align: center; 99 padding: 0 10px; 100 } 101 .metric span { 102 display: block; 103 } 104 .metric .legend { 105 font-size: 0.8em; 106 } 107 .metric .number { 108 font-size: 2em; 109 padding: 5px; 110 } 111 111 .configuration-form { 112 112 text-align: left; -
wonderpush-web-push-notifications/trunk/wonderpush-admin.php
r3007290 r3007296 3 3 4 4 class WonderPushAdmin { 5 const RESOURCES_VERSION = '1.10. 1';5 const RESOURCES_VERSION = '1.10.2'; 6 6 const MENU_SLUG = 'wonderpush'; 7 7 const META_BOX_ID = 'wonderpush_meta_box'; … … 135 135 136 136 $notification_already_sent = !!(get_post_meta($post->ID, self::POST_META_LAST_NOTIFICATION_CONTENT, true)); 137 $wonderpush_audience = count($target_tags) ? 'tags' : (count($target_segment_ids) ? 'segments' : 'all'); 137 $wonderpush_audience = 'all'; 138 if (count($target_tags)) { 139 $wonderpush_audience = 'tags'; 140 } else if (count($target_segment_ids) > 1) { 141 $wonderpush_audience = 'segments'; 142 } else if (count($target_segment_ids) > 0 && $target_segment_ids[0] !== '@ALL') { 143 $wonderpush_audience = 'segments'; 144 } 138 145 ?> 139 146 <div id="wonderpush_editor"> -
wonderpush-web-push-notifications/trunk/wonderpush.php
r3007290 r3007296 8 8 Author: WonderPush 9 9 Author URI: https://www.wonderpush.com/ 10 Version: 1.10. 110 Version: 1.10.2 11 11 License: GPLv2 or later 12 12 */
Note: See TracChangeset
for help on using the changeset viewer.