Skip to content

Commit

Permalink
Merge pull request #4 from grappler/patch-1
Browse files Browse the repository at this point in the history
Replace deprecated TEMPLATEPATH with get_stylesheet_directory()
  • Loading branch information
A5hleyRich authored Mar 7, 2017
2 parents 7194d6b + 5e5718d commit 5c9d380
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ $ composer install
You'll also need to add the following to your functions.php file:

```php
require_once TEMPLATEPATH . '/image-processing-queue/vendor/a5hleyrich/wp-background-processing/classes/wp-async-request.php';
require_once TEMPLATEPATH . '/image-processing-queue/vendor/a5hleyrich/wp-background-processing/classes/wp-background-process.php';
require_once TEMPLATEPATH . '/image-processing-queue/includes/class-ipq-process.php';
require_once TEMPLATEPATH . '/image-processing-queue/includes/class-image-processing-queue.php';
require_once TEMPLATEPATH . '/image-processing-queue/includes/ipq-template-functions.php';
require_once get_stylesheet_directory() . '/image-processing-queue/vendor/a5hleyrich/wp-background-processing/classes/wp-async-request.php';
require_once get_stylesheet_directory() . '/image-processing-queue/vendor/a5hleyrich/wp-background-processing/classes/wp-background-process.php';
require_once get_stylesheet_directory() . '/image-processing-queue/includes/class-ipq-process.php';
require_once get_stylesheet_directory() . '/image-processing-queue/includes/class-image-processing-queue.php';
require_once get_stylesheet_directory() . '/image-processing-queue/includes/ipq-template-functions.php';

Image_Processing_Queue::instance();

Expand All @@ -61,4 +61,4 @@ echo ipq_get_theme_image( $post_id, array(

## License

[GPLv2+](http://www.gnu.org/licenses/gpl-2.0.html)
[GPLv2+](http://www.gnu.org/licenses/gpl-2.0.html)

0 comments on commit 5c9d380

Please sign in to comment.