Tuesday, February 8, 2011

Why does this line of script crash apache?

Programmer Question

Here's the branch of code I've isolated...



if ( !is_search() 
&& (get_option('option1')
&& !(is_page()
|| get_option('option2')
|| get_option('option3')
|| in_category('excludeme', $post )
)
)
)


I've inserted...



 


above and below this line to isolate the cause of the crash



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails