From: Laury GvR Date: Mon, 28 Sep 2015 17:09:38 +0000 (-0400) Subject: Replacing _GET with _REQUEST, see previous commit X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=441a21269309053c196d84af1a79e6d11f95fb37;p=WP-Themes%2Fglmthemes%2Fmountpleasant-theme.git Replacing _GET with _REQUEST, see previous commit --- diff --git a/functions.php b/functions.php index 0cd884f..0d8b7e5 100644 --- a/functions.php +++ b/functions.php @@ -421,7 +421,7 @@ add_action('thematic_searchloop', 'mytheme_search_loop'); function custom_content($content) { global $post; - if ('a' == "detail" ) { + if ($_REQUEST['glm_action'] == "detail" ) { if ( preg_match_all( '/'. get_shortcode_regex() .'/s', $post->post_content, $matches ) && array_key_exists( 2, $matches ) && in_array( 'glm-members-list', $matches[2] ) )