Changeset 2094938
- Timestamp:
- 05/25/2019 10:12:23 AM (7 years ago)
- Location:
- pushe-webpush/trunk
- Files:
-
- 4 edited
-
inc/base/BaseController.php (modified) (1 diff)
-
inc/base/WebpushScripts.php (modified) (1 diff)
-
pushe-webpush.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pushe-webpush/trunk/inc/base/BaseController.php
r2094918 r2094938 14 14 function __construct() 15 15 { 16 $this->plugin_path = plugin_dir_path(dirname( __FILE__, 2));17 $this->plugin_url = plugin_dir_url(dirname( __FILE__, 2));18 $this->plugin = plugin_basename(dirname( __FILE__, 3) . '/pushe-webpush.php');16 $this->plugin_path = plugin_dir_path(dirname(dirname(__FILE__))); 17 $this->plugin_url = plugin_dir_url(dirname(dirname(__FILE__))); 18 $this->plugin = plugin_basename(dirname(dirname(dirname(__FILE__))) . '/pushe-webpush.php'); 19 19 } 20 20 } -
pushe-webpush/trunk/inc/base/WebpushScripts.php
r2094918 r2094938 48 48 $appId = $this->getSettingValue('app_id'); 49 49 $showDialog = $this->getModalOptionsValue('showDialog'); 50 $showDialog = isset($showDialog) ? $this->getModalOptionsValue('showDialog') : true;50 $showDialog = boolval($showDialog) ? 'true' : 'false'; 51 51 $title = $this->getModalOptionsValue('title'); 52 52 $content = $this->getModalOptionsValue('content'); -
pushe-webpush/trunk/pushe-webpush.php
r2094918 r2094938 6 6 * Plugin Name: Pushe Webpush 7 7 * Description: Official Pushe.co's webpush plugin for wordpress. 8 * version: 0. 2.08 * version: 0.3.0 9 9 * Author: pushe.co 10 10 * Author URI: https://pushe.co -
pushe-webpush/trunk/readme.txt
r2094918 r2094938 20 20 == changelog == 21 21 22 == 0.3.0 == 23 * Fix some minor bugs 24 * Fix modal options show dialog bug 25 22 26 = 0.2.0 = 23 27 * Fix some minor bugs
Note: See TracChangeset
for help on using the changeset viewer.