Changeset 827433
- Timestamp:
- 12/23/2013 12:55:24 PM (12 years ago)
- Location:
- push-notifications/trunk
- Files:
-
- 4 edited
-
html/pushwoosh.html (modified) (1 diff)
-
lib/pushwoosh.php (modified) (2 diffs)
-
pushwoosh.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
push-notifications/trunk/html/pushwoosh.html
r823324 r827433 2 2 <b>Safari Title:</b> 3 3 <br/> 4 <input id="pushwoosh_safari_title" maxlength="25" onshow="showLengthOver()" onkeyup="showLengthOver()" name="safari_title" value= "%s"type="text" placeholder="%s" />4 <input id="pushwoosh_safari_title" maxlength="25" onshow="showLengthOver()" onkeyup="showLengthOver()" name="safari_title" value='%s' type="text" placeholder="%s" /> 5 5 <div id="pushwoosh_length_over"></div> 6 6 <br/> -
push-notifications/trunk/lib/pushwoosh.php
r823324 r827433 5 5 * Plugin URI: http://pushwoosh.com 6 6 * Description: Pushwoosh API lib for wordpress 7 * Version: 2.0.08 7 * Author: Arello Mobile 9 8 * Author URI: http://www.arello-mobile.com/ … … 41 40 if (!($response = file_get_contents($url, false, $ctx))) { 42 41 throw new PushwooshInternalErrorException('Connection to PushWoosh failed'); 43 }44 if (!$response) {45 throw new PushwooshInternalErrorException('stream_get_contents() failed');46 42 } 47 43 -
push-notifications/trunk/pushwoosh.php
r826080 r827433 5 5 * Plugin URI: http://pushwoosh.com 6 6 * Description: Push notifications plugin for wordpress by Pushwoosh 7 * Version: 2.0.08 7 * Author: Arello Mobile 9 8 * Author URI: http://www.arello-mobile.com/ … … 72 71 $safari_title = get_post_meta($post->ID, 'safari_title', true); 73 72 } 74 75 73 $plugin_content = file_get_contents(plugins_url('/html/pushwoosh.html', __FILE__)); 76 74 echo sprintf($plugin_content, … … 105 103 function pushwoosh_save_post($post_id) { 106 104 107 if (array_key_exists('action', $_GET) && $_GET['action']=='-1') { 105 /* 106 * if update many posts, don't send push 107 */ 108 if (array_key_exists('post_status', $_GET) && $_GET['post_status']=='all') { 108 109 return; 109 110 } … … 157 158 } 158 159 $options['safari_title'] = stripslashes($options['safari_title']); 159 $message_content = stripslashes($message_content);160 $message_content = stripslashes($message_content); 160 161 $post = get_post($post_id); 161 162 if ($post->post_status !== 'publish') { -
push-notifications/trunk/readme.txt
r823324 r827433 6 6 Requires at least: 3.0.1 7 7 Tested up to: 3.7 8 Stable tag: 2. 08 Stable tag: 2.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 25 25 2.0 Integration Safari notifications 26 26 27 2.1 Fixed bugs 28 27 29 == Installation == 28 30
Note: See TracChangeset
for help on using the changeset viewer.