Skip to content

Commit

Permalink
Fixed Clear cache wasn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Sep 5, 2014
1 parent 0ae9449 commit 3547afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contextual-related-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ function crp_max_formatted_content( $content, $no_of_char = -1 ) {
* Dashboard and Administrative Functionality
*----------------------------------------------------------------------------*/

if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {

require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );

Expand Down

0 comments on commit 3547afe

Please sign in to comment.