@@ -14,10 +14,10 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | function wordpoints_importer_load_textdomain() { |
| 16 | 16 | |
| 17 | - wordpoints_load_module_textdomain( |
|
| 18 | - 'wordpointsorg' |
|
| 19 | - , wordpoints_module_basename( dirname( dirname( __FILE__ ) ) ) . '/languages' |
|
| 20 | - ); |
|
| 17 | + wordpoints_load_module_textdomain( |
|
| 18 | + 'wordpointsorg' |
|
| 19 | + , wordpoints_module_basename( dirname( dirname( __FILE__ ) ) ) . '/languages' |
|
| 20 | + ); |
|
| 21 | 21 | } |
| 22 | 22 | add_action( 'wordpoints_modules_loaded', 'wordpoints_importer_load_textdomain' ); |
| 23 | 23 | |
@@ -28,19 +28,19 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | function wordpoints_importer_register_importers() { |
| 30 | 30 | |
| 31 | - /** |
|
| 32 | - * The CubePoints importer. |
|
| 33 | - * |
|
| 34 | - * @since 1.0.0 |
|
| 35 | - */ |
|
| 36 | - require_once( dirname( __FILE__ ) . '/importers/cubepoints.php' ); |
|
| 31 | + /** |
|
| 32 | + * The CubePoints importer. |
|
| 33 | + * |
|
| 34 | + * @since 1.0.0 |
|
| 35 | + */ |
|
| 36 | + require_once( dirname( __FILE__ ) . '/importers/cubepoints.php' ); |
|
| 37 | 37 | |
| 38 | - $args = array( |
|
| 39 | - 'class' => 'WordPoints_CubePoints_Importer', |
|
| 40 | - 'name' => __( 'CubePoints', 'wordpoints-importer' ), |
|
| 41 | - ); |
|
| 38 | + $args = array( |
|
| 39 | + 'class' => 'WordPoints_CubePoints_Importer', |
|
| 40 | + 'name' => __( 'CubePoints', 'wordpoints-importer' ), |
|
| 41 | + ); |
|
| 42 | 42 | |
| 43 | - WordPoints_Importers::register( 'cubepoints', $args ); |
|
| 43 | + WordPoints_Importers::register( 'cubepoints', $args ); |
|
| 44 | 44 | } |
| 45 | 45 | add_action( 'wordpoints_register_importers', 'wordpoints_importer_register_importers' ); |
| 46 | 46 | |
@@ -16,10 +16,10 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | wordpoints_load_module_textdomain( |
| 18 | 18 | 'wordpointsorg' |
| 19 | - , wordpoints_module_basename( dirname( dirname( __FILE__ ) ) ) . '/languages' |
|
| 19 | + , wordpoints_module_basename(dirname(dirname(__FILE__))).'/languages' |
|
| 20 | 20 | ); |
| 21 | 21 | } |
| 22 | -add_action( 'wordpoints_modules_loaded', 'wordpoints_importer_load_textdomain' ); |
|
| 22 | +add_action('wordpoints_modules_loaded', 'wordpoints_importer_load_textdomain'); |
|
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Register the included importers. |
@@ -33,15 +33,15 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @since 1.0.0 |
| 35 | 35 | */ |
| 36 | - require_once( dirname( __FILE__ ) . '/importers/cubepoints.php' ); |
|
| 36 | + require_once(dirname(__FILE__).'/importers/cubepoints.php'); |
|
| 37 | 37 | |
| 38 | 38 | $args = array( |
| 39 | 39 | 'class' => 'WordPoints_CubePoints_Importer', |
| 40 | - 'name' => __( 'CubePoints', 'wordpoints-importer' ), |
|
| 40 | + 'name' => __('CubePoints', 'wordpoints-importer'), |
|
| 41 | 41 | ); |
| 42 | 42 | |
| 43 | - WordPoints_Importers::register( 'cubepoints', $args ); |
|
| 43 | + WordPoints_Importers::register('cubepoints', $args); |
|
| 44 | 44 | } |
| 45 | -add_action( 'wordpoints_register_importers', 'wordpoints_importer_register_importers' ); |
|
| 45 | +add_action('wordpoints_register_importers', 'wordpoints_importer_register_importers'); |
|
| 46 | 46 | |
| 47 | 47 | // EOF |