Fix a typo, props @billzhong
<?php
/**
 * Plugin Name:       Geo Query
 * Description:       Modify the WP_Query to support the geo_query parameter. Uses the Haversine SQL implementation by Ollie Jones.
 * Plugin URI:        https://github.com/birgire/geo-query
 * GitHub Plugin URI: https://github.com/birgire/geo-query.git
 * Author:	      Birgir Erlendsson (birgire)
 * Version:           0.0.4
 * Licence:           MIT
 */

namespace Birgir\Geo;

/**
 * Autoload
 */

\add_action( 'plugins_loaded', function()
{
    require __DIR__ . '/vendor/autoload.php';
});


/**
 * Init
 */

\add_action( 'init', function()
{    
    if( class_exists( __NAMESPACE__ . '\\GeoQueryContext' ) )
    {
     	$o = new GeoQueryContext();
        $o->setup( $GLOBALS['wpdb'] )->activate();
    }

});


<?php
/**
 * Plugin Name:       Geo Query
 * Description:       Modify the WP_Query to support the geo_query parameter. Uses the Haversine SQL implementation by Ollie Jones.
 * Plugin URI:        https://github.com/birgire/geo-query
 * GitHub Plugin URI: https://github.com/birgire/geo-query.git
 * Author:	      Birgir Erlendsson (birgire)
 * Version:           0.0.3
 * Licence:           MIT
 */

namespace Birgir\Geo;

/**
 * Autoload
 */

\add_action( 'plugins_loaded', function()
{
    require __DIR__ . '/vendor/autoload.php';
});


/**
 * Init
 */

\add_action( 'init', function()
{    
    if( class_exists( __NAMESPACE__ . '\\GeoQueryContext' ) )
    {
     	$o = new GeoQueryContext();
        $o->setup( $GLOBALS['wpdb'] )->activate();
    }

});

