Changeset 360 for trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
- Timestamp:
- Aug 11, 2009, 4:31:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r286 r360 250 250 } 251 251 } else { 252 if(xpress_is_wp 20()){252 if(xpress_is_wp_version('<','2.1')){ // Maybe, I think that it is ver2.1 or less. 253 253 if (!empty($wp->matched_query) ){ 254 254 if (strpos($wp->matched_query,'author_name') !== false ){ … … 303 303 $query = preg_replace('/\s\s+/', ' ', $query); 304 304 if (!empty($_COOKIE[$author_cookie])){ 305 if(xpress_is_wp 20()){305 if(xpress_is_wp_version('<','2.1')){ 306 306 $pattern = "WHERE.*AND\s?\(*post_author\s*="; 307 307 if ( preg_match ( "/".$pattern."/i", $query, $match ) ){
Note: See TracChangeset
for help on using the changeset viewer.