Plugin Directory

Changeset 1880154


Ignore:
Timestamp:
05/23/2018 03:10:15 PM (8 years ago)
Author:
mariobalca
Message:

1.5.3

Location:
pushnews/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pushnews/trunk/CHANGELOG.md

    r1864961 r1880154  
    11CHANGELOG
    22=========
     3
     4# 1.5.3
     5- Fixed some issues regarding updated posts
     6
    37# 1.5.2
    48- Fixed some issues regarding scheduled posts
  • pushnews/trunk/class.pushnews.php

    r1864961 r1880154  
    2323
    2424class Pushnews {
    25     const VERSION = '1.5.2';
     25    const VERSION = '1.5.3';
    2626    const RESOURCES_VERSION = '1';
    2727    const API_URL = 'https://app.pushnews.eu/api.php/v1';
     
    115115        $options            = get_option( 'pushnews_options' );
    116116
    117         if(isset($options['auth_token']) && $options['auth_token'] != "") {
     117        if($post->post_date == $post->post_modified && isset($options['auth_token']) && $options['auth_token'] != "") {
    118118            $notification = array(
    119119                "message" => array(
     
    128128                    $notification['message']['icon'] = get_the_post_thumbnail_url($post);
    129129                }
    130 
    131130                wp_remote_post("https://api.pushnews.eu/v2/push/" . $options['app_id'], array(
    132131                    "body" => json_encode($notification),
  • pushnews/trunk/pushnews.php

    r1864961 r1880154  
    66* Plugin URI:         https://www.pushnews.eu/
    77* Description:        Send Web Push Notifications to your visitors. Increase your website traffic - Simple and fast UI - Automate push notifications via Facebook Page integration.
    8 * Version:            1.5.2
     8* Version:            1.5.3
    99* Author URI:         https://www.pushnews.eu/
    1010* License:            GPLv2 or later
     
    2929*/
    3030
    31 define( 'PUSHNEWS_VERSION', '1.5.2' );
     31define( 'PUSHNEWS_VERSION', '1.5.3' );
    3232define( 'PUSHNEWS__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    3333
  • pushnews/trunk/readme.txt

    r1864966 r1880154  
    66Tested up to: 4.9.4
    77Requires PHP: 5.3
    8 Stable tag: 1.5.2
     8Stable tag: 1.5.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6060
    6161== Changelog ==
     62= 1.5.3 =
     63* Fixed some issues regarding updated posts
     64
    6265= 1.5.2 =
    6366* Fixed some issues regarding scheduled posts
Note: See TracChangeset for help on using the changeset viewer.