Skip to content

Commit

Permalink
Moves files into separate directories
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstandiford committed Aug 25, 2021
1 parent 67ab359 commit b9e66e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Option.php → lib/abstracts/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function __get( $key ) {
if ( isset( $this->$key ) ) {
return $this->$key;
} else {
return new WP_Error( 'batch_task_param_not_set', 'The batch task key ' . $key . ' could not be found.' );
return new WP_Error( 'post_template_param_not_set', 'The batch task key ' . $key . ' could not be found.' );
}
}

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions options.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

// Add this loader.
add_action( 'underpin/before_setup', function ( $file, $class ) {
require_once( plugin_dir_path( __FILE__ ) . 'Option.php' );
require_once( plugin_dir_path( __FILE__ ) . 'Options.php' );
require_once( plugin_dir_path( __FILE__ ) . 'Option_Instance.php' );
require_once( plugin_dir_path( __FILE__ ) . 'lib/abstracts/Option.php' );
require_once( plugin_dir_path( __FILE__ ) . 'lib/loaders/Options.php' );
require_once( plugin_dir_path( __FILE__ ) . 'lib/factories/Option_Instance.php' );
Underpin\underpin()->get( $file, $class )->loaders()->add( 'options', [
'registry' => 'Underpin_Options\Loaders\Options',
] );
Expand Down

0 comments on commit b9e66e1

Please sign in to comment.