Skip to content
Commits on Mar 30, 2015
  1. @cmmarslender

    Add composer.json file

    cmmarslender committed Mar 30, 2015
  2. @cmmarslender

    Add composer.json file

    cmmarslender committed Mar 30, 2015
Commits on Jun 18, 2014
  1. @cmmarslender
  2. @cmmarslender

    Check if the global $wp_query is null before using get_query_var. If …

    cmmarslender committed Jun 17, 2014
    …wp_query is null, then get_query_var is trying to call ->get on a non-object, which causes a fatal error. Some plugins perform a query on the 'plugins_loaded' action, which looking in wp-settings.php is called before the global wp_query object is set up. In cases like this (probably rare, but they happen), fatal errors cause the site to die.
Something went wrong with that request. Please try again.