Plugin Directory

Changeset 2011572


Ignore:
Timestamp:
01/13/2019 06:05:08 PM (7 years ago)
Author:
collimarco
Message:

Remove max length from notification fields

Location:
pushpad-web-push-notifications/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pushpad-web-push-notifications/trunk/includes/metabox.php

    r1462192 r2011572  
    6060  $notification_url = get_permalink ( $post_id );
    6161
    62   if ( strlen( $notification_title ) > 30 ) {
    63     $notification_title = substr( $notification_title, 0, 27 ) . '...';
    64   }
    65 
    66   if ( strlen( $notification_body ) > 90 ) {
    67     $notification_body = substr( $notification_body, 0, 87 ) . '...';
    68   }
    69 
    7062  Pushpad::$auth_token = $pushpad_settings ['token'];
    7163  Pushpad::$project_id = $pushpad_settings ['project_id'];
  • pushpad-web-push-notifications/trunk/pushpad.php

    r1988133 r2011572  
    44 * Plugin URI: https://pushpad.xyz/docs/wordpress
    55 * Description: Real push notifications for your website. Uses the W3C Push API for Chrome, Firefox, Opera, Edge and supports Safari.
    6  * Version: 1.7.0
     6 * Version: 1.7.1
    77 * Author: Pushpad
    88 * Author URI: https://pushpad.xyz
Note: See TracChangeset for help on using the changeset viewer.