Changeset 984984
- Timestamp:
- 09/09/2014 06:24:23 AM (12 years ago)
- Location:
- push-notifications/trunk
- Files:
-
- 2 edited
-
pushwoosh.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
push-notifications/trunk/pushwoosh.php
r952156 r984984 3 3 /** 4 4 * @package Pushwoosh 5 * @version 2.3. 85 * @version 2.3.9 6 6 */ 7 7 … … 12 12 * Author: Arello Mobile 13 13 * Author URI: http://www.arello-mobile.com/ 14 * Version: 2.3. 814 * Version: 2.3.9 15 15 * 16 16 * Copyright 2014 Arello Mobile (email: support@arello-mobile.com) … … 163 163 164 164 $message_content = null; 165 $url = wp_get_shortlink(); 166 167 if (!empty($url)) { 168 $url_array = explode('?', $url); 169 if(is_array($url_array) && array_key_exists(1, $url_array)) { 170 $post_url = '?' . $url_array[1]; 171 } else { 172 $post_url = ''; 173 } 174 }else { 175 $post_url = ''; 176 } 177 178 $options['safari_url_args'] = array($post_url); 165 166 $options['safari_url_args'] = array('?p=' . $post_id); 179 167 180 168 $post = null; -
push-notifications/trunk/readme.txt
r952156 r984984 50 50 * Saving push notification data in widget for pending post 51 51 52 = 2.3.9 = 53 * Refactoring get URL logic 54 52 55 == Installation == 53 56 1. Download the Pushwoosh plugin.
Note: See TracChangeset
for help on using the changeset viewer.