Skip to content

Commit

Permalink
Merge pull request #4 from zensimilia/patch-1
Browse files Browse the repository at this point in the history
Adding filter 'LD_404' for 404 template.
  • Loading branch information
srtfisher committed Jul 7, 2013
2 parents 2048df8 + cd4525b commit 831453e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lockdown-wp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ public function throw_404()
wp_dequeue_style( 'admin-bar' );

// Template
$four_tpl = get_404_template();
$four_tpl = apply_filters('LD_404', get_404_template());

// Handle the admin bar
@define('APP_REQUEST', TRUE);
Expand Down Expand Up @@ -687,4 +687,4 @@ function ld_setup_auth()
add_action('init', 'ld_setup_auth');

/* End of file: lockdown-wp-admin.php */
/* Code is poetry. */
/* Code is poetry. */

0 comments on commit 831453e

Please sign in to comment.