Changeset 2255003
- Timestamp:
- 03/05/2020 10:48:34 AM (6 years ago)
- Location:
- aopush/trunk
- Files:
-
- 3 edited
-
aopush_plugin.php (modified) (1 diff)
-
includes/AopushPushApi.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
aopush/trunk/aopush_plugin.php
r2179249 r2255003 5 5 Description: Плагин для лёгкого подключения push-уведомлений на вашем сайте. Пройдя двухминутную регистрацию прямо через Wordpress, вы сможете включить подписку на push на вашем сайте одной кнопкой. Плагин поддерживает два способа отправки пуш: автоматический - при создании или обновлении записи на блоге, и ручную рассылку по подписчикам. 6 6 Author: Autooffice 7 Version: 1.0. 097 Version: 1.0.10 8 8 Author URI: https://profiles.wordpress.org/autooffice#content-plugins 9 9 */ -
aopush/trunk/includes/AopushPushApi.php
r2108105 r2255003 364 364 private function aopush_request($method='', $data=[]) 365 365 { 366 if (empty($method) || empty($data) ) {366 if (empty($method) || empty($data) || empty($data['email'])) { 367 367 return false; 368 368 } … … 377 377 curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 378 378 $answer = curl_exec($ch); 379 380 error_log($answer."\r\n".PHP_EOL, 3, dirname(__FILE__).'/log.log'); 381 379 382 $array = json_decode($answer, true); 380 383 if (empty($array) || !is_array($array)) { -
aopush/trunk/readme.txt
r2179249 r2255003 5 5 Tested up to: 7.3.10 6 6 Requires PHP: 5.2 7 Stable tag: 1.0. 097 Stable tag: 1.0.10 8 8 9 9 ===Description===
Note: See TracChangeset
for help on using the changeset viewer.