Plugin Directory

Changeset 1418143


Ignore:
Timestamp:
05/16/2016 08:44:04 PM (10 years ago)
Author:
rmb185
Message:

Version 1.2

Location:
getsentry-client/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • getsentry-client/trunk/class.wp-raven-client.php

    r1344200 r1418143  
    5656
    5757}
    58 
    59 ?>
  • getsentry-client/trunk/readme.txt

    r1418133 r1418143  
    55Requires at least: 3.0.1
    66Tested up to: 3.4
    7 Stable tag: 1.1
     7Stable tag: 1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828
    2929== Changelog ==
     30
     31= 1.2 =
     32
     33Adding the ability to access the Raven client directly to send custom error messages to sentry. Merge PR from @wk8.
    3034
    3135= 1.1 =
  • getsentry-client/trunk/wordpress-sentry.php

    r1344200 r1418143  
    1414class WPSentry extends WP_Raven_Client {
    1515
     16    private static $instance = null;
     17
    1618    public function __construct() {
    1719        add_action('admin_menu', array($this, 'addOptionsPage'));
     
    2123
    2224        parent::__construct();
     25
     26        static::$instance = $this;
    2327    }
    2428
     
    5559        }
    5660    }
     61
     62    public static function getInstance() {
     63        return self::$instance;
     64    }
    5765}
    5866
Note: See TracChangeset for help on using the changeset viewer.