Plugin Directory

Changeset 2688681


Ignore:
Timestamp:
03/04/2022 06:36:25 AM (4 years ago)
Author:
pushalert
Message:

Added support for WordPress v5.9.1

Location:
pushalert-web-push-notifications/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pushalert-web-push-notifications/trunk/javascript.js

    r2011482 r2688681  
    1313    jQuery('#pa_copy_title').click(function() {
    1414        if(jQuery("input[name=post_title]").length>0){
    15             jQuery("#pushalert_notification_message").val(jQuery("input[name=post_title]").val());
    16         }
    17         else{
    18             jQuery("#pushalert_notification_message").val(jQuery("#post-title-0").val());
    19         }
     15            jQuery("#pushalert_notification_message").val(jQuery("input[name=post_title]").val());
     16        }
     17        else if(jQuery(".wp-block-post-title").length>0){
     18            jQuery("#pushalert_notification_message").val(jQuery(".wp-block-post-title").text());
     19        }
     20        else{
     21            jQuery("#pushalert_notification_message").val(jQuery("#post-title-0").val());
     22        }
    2023    });
    2124});
  • pushalert-web-push-notifications/trunk/pushalert.php

    r2381938 r2688681  
    66 * Author: PushAlert
    77 * Author URI: https://pushalert.co
    8  * Version: 2.6.1
     8 * Version: 2.6.2
    99 */
    1010
     
    134134    }
    135135
    136     $style_js_css_ver = 8;
     136    $style_js_css_ver = 9;
    137137    wp_register_style('pushalert_style_css', plugins_url('style.css', __FILE__), array(), $style_js_css_ver);
    138138    wp_register_script('pushalert_javascript_js', plugins_url('javascript.js', __FILE__), array(), $style_js_css_ver);
  • pushalert-web-push-notifications/trunk/readme.txt

    r2578520 r2688681  
    44Tags: push notifications, pushalert, chrome, firefox, browser notification, mobile push notification, web push notification, chrome push, safari push, firefox push, mobile notifications, desktop notification, android push, android notifications, woocommerce, abandoned cart recovery, in-stock notifications, price drop alerts, shipment notifications, recover woocommerce cart, abandon cart, increase sales with woocommerce
    55Requires at least: 2.7
    6 Tested up to: 5.8
    7 Stable tag: 2.6.1
     6Tested up to: 5.9
     7Stable tag: 2.6.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8585== Changelog ==
    8686
     87= 2.6.2 =
     88* Added support for WordPress v5.9
     89
    8790= 2.6.1 =
    8891* Minor bug fixes.
Note: See TracChangeset for help on using the changeset viewer.