title: Wordpress not loading scripts for plugin at all
body: <p>So I have the action for loading my scripts in my plugin as so.</p>
  
  <pre><code>add_action( 'init', array( $this, 'loadAssets' ) );
  </code></pre>
  
  <p>And the corresponding function set as so:</p>
  
  <pre><code>public function loadAssets() {
          // add stylesheet to all pages
          wp_enqueue_style(
                  'styles', // handle
                  plugins_url( 'styles/main.css', __FILE__ ), // src for js                
                  array(),
                  WP_DEBUG ? time() : $this-&gt;version // version, null removes version, false uses wordpress version
                  );
  
          wp_register_script( 'jquery.ezmark.min', // handle
                  plugins_url( 'js/jquery.ezmark.min.js', __FILE__ ), // src for js
                  array( 'jquery' ), // dependancies
                  WP_DEBUG ? null : $this-&gt;version, // version, null removes version, false uses wordpress version
                  true
                  );
  }
  </code></pre>
  
  <p>Now the main.css load in perfectly fine but no matter what I do the Javascript files do not load at all.</p>
  
  <p>They where working perfectly fine yesterday and now when I loaded the site they stopped working.</p>
  
  <p>Any help would be greatly appreciated.</p>