Commit aa9c0175 authored by Kevin Langley's avatar Kevin Langley
Browse files

Merge branch 'master' of github.com:voceconnect/cdn-rewrite

* 'master' of github.com:voceconnect/cdn-rewrite:
  Adding the required parameter and returning to prevent fatal error
parents 28b88eb9 6cb7776b
......@@ -46,7 +46,7 @@ if( !class_exists( 'CDN_Rewrite' ) ){
public function initialize() {
if( !class_exists( 'Voce_Settings_API' ) )
_doing_it_wrong( __CLASS__, 'The Voce Settings API plugin must be active for the CDN Rewrite plugin to work' );
return _doing_it_wrong( __CLASS__, 'The Voce Settings API plugin must be active for the CDN Rewrite plugin to work', NULL );
$this->add_options_page();
if ('' == $this->file_extensions || '' == $this->cdn_root_url) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment