Changeset 1339039
- Timestamp:
- 01/29/2016 04:41:09 PM (10 years ago)
- Location:
- wp-log-viewer
- Files:
-
- 33 added
- 4 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/api (added)
-
tags/1.0.3/api/index.php (added)
-
tags/1.0.3/assets (added)
-
tags/1.0.3/assets/css (added)
-
tags/1.0.3/assets/css/main.min.css (added)
-
tags/1.0.3/assets/fonts (added)
-
tags/1.0.3/assets/fonts/FontAwesome.otf (added)
-
tags/1.0.3/assets/fonts/fontawesome-webfont.eot (added)
-
tags/1.0.3/assets/fonts/fontawesome-webfont.svg (added)
-
tags/1.0.3/assets/fonts/fontawesome-webfont.ttf (added)
-
tags/1.0.3/assets/fonts/fontawesome-webfont.woff (added)
-
tags/1.0.3/assets/fonts/fontawesome-webfont.woff2 (added)
-
tags/1.0.3/assets/js (added)
-
tags/1.0.3/assets/js/main.min.js (added)
-
tags/1.0.3/autoload.php (added)
-
tags/1.0.3/humans.txt (added)
-
tags/1.0.3/libs (added)
-
tags/1.0.3/libs/Ajax.php (added)
-
tags/1.0.3/libs/Api.php (added)
-
tags/1.0.3/libs/Auth.php (added)
-
tags/1.0.3/libs/Characteristic (added)
-
tags/1.0.3/libs/Characteristic/IsSingleton.php (added)
-
tags/1.0.3/libs/Helper.php (added)
-
tags/1.0.3/libs/Http (added)
-
tags/1.0.3/libs/Http/Request.php (added)
-
tags/1.0.3/libs/Http/Response.php (added)
-
tags/1.0.3/libs/Log.php (added)
-
tags/1.0.3/libs/Plugin.php (added)
-
tags/1.0.3/libs/Router.php (added)
-
tags/1.0.3/libs/Settings.php (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/wp-log-viewer.php (added)
-
trunk/humans.txt (modified) (1 diff)
-
trunk/libs/Plugin.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-log-viewer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-log-viewer/trunk/humans.txt
r1318896 r1339039 6 6 7 7 /* META */ 8 Updated: 201 5/12/298 Updated: 2016/01/29 9 9 See: http://humanstxt.org/ -
wp-log-viewer/trunk/libs/Plugin.php
r1338445 r1339039 32 32 * @since 1.0.1 33 33 */ 34 var $user_authorized = false;34 var $user_authorized = true; 35 35 36 36 … … 63 63 */ 64 64 public function check_if_authorized() { 65 $this->user_authorized = apply_filters('wplv_user_authorized', \current_user_can('manage_options')); 65 $authorized = \current_user_can('manage_options'); 66 $this->user_authorized = apply_filters('wplv_user_authorized', $authorized); 66 67 } 67 68 … … 129 130 */ 130 131 public function register_dashboard_widgets() { 131 $show_dashboard_widget = apply_filters('wplv_show_dashboard_widget', true);132 133 if ($ this->user_authorized && $show_dashboard_widget) {132 $show_dashboard_widget = apply_filters('wplv_show_dashboard_widget', $this->user_authorized); 133 134 if ($show_dashboard_widget) { 134 135 \wp_add_dashboard_widget('wplv-widget', 'WP Log Viewer', [$this, 'display_dashboard_widget']); 135 136 } … … 153 154 */ 154 155 public function add_admin_bar_menu($admin_bar) { 155 $show_adminbar = apply_filters('wplv_show_adminbar_widget', true);156 157 if ($ this->user_authorized && $show_adminbar) {156 $show_adminbar = apply_filters('wplv_show_adminbar_widget', $this->user_authorized); 157 158 if ($show_adminbar) { 158 159 $admin_bar->add_node([ 159 160 'id' => 'wplv-menu', … … 180 181 181 182 if ($url_path == '/debugging/download/log/') { 182 $can_download = apply_filters('wplv_can_download_log', \current_user_can('manage_options'));183 $can_download = apply_filters('wplv_can_download_log', $this->user_authorized); 183 184 184 185 if ($can_download) { -
wp-log-viewer/trunk/readme.txt
r1338460 r1339039 6 6 Requires at least: 3.9 7 7 Tested up to: 4.4 8 Stable tag: 1.0. 28 Stable tag: 1.0.3 9 9 10 10 One click enable/disable debugging, clear debug.log, search, sort, and filter errors. See new errors automatically without refreshing. … … 219 219 All notable changes will be tracked in this change log. 220 220 221 = 1.0.3 = 222 Release date: 2016-01-29 223 224 * Fix 225 * Fixed a bug with permissions 226 221 227 = 1.0.2 = 222 228 Release date: 2016-01-28 -
wp-log-viewer/trunk/wp-log-viewer.php
r1338445 r1339039 10 10 * Plugin URI: https://github.com/allbitsnbytes/wp-log-viewer 11 11 * Description: Wordpress debug log viewer plugin 12 * Version: 1.0. 212 * Version: 1.0.3 13 13 * Author: Maxwell Berkel 14 14 * Author URI: http://allbitsnbytes.com
Note: See TracChangeset
for help on using the changeset viewer.