Changeset 1418143
- Timestamp:
- 05/16/2016 08:44:04 PM (10 years ago)
- Location:
- getsentry-client/trunk
- Files:
-
- 3 edited
-
class.wp-raven-client.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wordpress-sentry.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
getsentry-client/trunk/class.wp-raven-client.php
r1344200 r1418143 56 56 57 57 } 58 59 ?> -
getsentry-client/trunk/readme.txt
r1418133 r1418143 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.4 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 28 28 29 29 == Changelog == 30 31 = 1.2 = 32 33 Adding the ability to access the Raven client directly to send custom error messages to sentry. Merge PR from @wk8. 30 34 31 35 = 1.1 = -
getsentry-client/trunk/wordpress-sentry.php
r1344200 r1418143 14 14 class WPSentry extends WP_Raven_Client { 15 15 16 private static $instance = null; 17 16 18 public function __construct() { 17 19 add_action('admin_menu', array($this, 'addOptionsPage')); … … 21 23 22 24 parent::__construct(); 25 26 static::$instance = $this; 23 27 } 24 28 … … 55 59 } 56 60 } 61 62 public static function getInstance() { 63 return self::$instance; 64 } 57 65 } 58 66
Note: See TracChangeset
for help on using the changeset viewer.