Plugin Directory

Changeset 3007296


Ignore:
Timestamp:
12/08/2023 01:50:11 PM (2 years ago)
Author:
wonderpush
Message:

v1.10.2

Location:
wonderpush-web-push-notifications
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wonderpush-web-push-notifications/tags/1.10.2/readme.txt

    r3007290 r3007296  
    44Tags: push, notification, web, woocommerce, cart, AMP, android, GDPR, abandoned, reminder, basket
    55Requires at least: 5.0
    6 Tested up to: 6.2.2
    7 Stable tag: 1.10.1
     6Tested up to: 6.4.2
     7Stable tag: 1.10.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090
    9191== 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
    9296= 1.10.1 =
    9397- Old php compatibility
  • wonderpush-web-push-notifications/tags/1.10.2/wonderpush-admin-page.css

    r3007290 r3007296  
    4343    transform: rotate(360deg);
    4444  }
    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;
    6045}
    6146.access-token-form input[type=text] {
     
    10994  margin-left: 5px;
    11095}
     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}
    111111.configuration-form {
    112112  text-align: left;
  • wonderpush-web-push-notifications/tags/1.10.2/wonderpush-admin.php

    r3007290 r3007296  
    33
    44class WonderPushAdmin {
    5   const RESOURCES_VERSION = '1.10.1';
     5  const RESOURCES_VERSION = '1.10.2';
    66  const MENU_SLUG = 'wonderpush';
    77  const META_BOX_ID = 'wonderpush_meta_box';
     
    135135
    136136    $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    }
    138145    ?>
    139146      <div id="wonderpush_editor">
  • wonderpush-web-push-notifications/tags/1.10.2/wonderpush.php

    r3007290 r3007296  
    88Author: WonderPush
    99Author URI: https://www.wonderpush.com/
    10 Version: 1.10.1
     10Version: 1.10.2
    1111License: GPLv2 or later
    1212*/
  • wonderpush-web-push-notifications/trunk/readme.txt

    r3007290 r3007296  
    44Tags: push, notification, web, woocommerce, cart, AMP, android, GDPR, abandoned, reminder, basket
    55Requires at least: 5.0
    6 Tested up to: 6.2.2
    7 Stable tag: 1.10.1
     6Tested up to: 6.4.2
     7Stable tag: 1.10.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090
    9191== 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
    9296= 1.10.1 =
    9397- Old php compatibility
  • wonderpush-web-push-notifications/trunk/wonderpush-admin-page.css

    r3007290 r3007296  
    4343    transform: rotate(360deg);
    4444  }
    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;
    6045}
    6146.access-token-form input[type=text] {
     
    10994  margin-left: 5px;
    11095}
     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}
    111111.configuration-form {
    112112  text-align: left;
  • wonderpush-web-push-notifications/trunk/wonderpush-admin.php

    r3007290 r3007296  
    33
    44class WonderPushAdmin {
    5   const RESOURCES_VERSION = '1.10.1';
     5  const RESOURCES_VERSION = '1.10.2';
    66  const MENU_SLUG = 'wonderpush';
    77  const META_BOX_ID = 'wonderpush_meta_box';
     
    135135
    136136    $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    }
    138145    ?>
    139146      <div id="wonderpush_editor">
  • wonderpush-web-push-notifications/trunk/wonderpush.php

    r3007290 r3007296  
    88Author: WonderPush
    99Author URI: https://www.wonderpush.com/
    10 Version: 1.10.1
     10Version: 1.10.2
    1111License: GPLv2 or later
    1212*/
Note: See TracChangeset for help on using the changeset viewer.