Changeset 206734
- Timestamp:
- 02/16/2010 09:15:41 PM (16 years ago)
- File:
-
- 1 edited
-
lifestream/trunk/inc/core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lifestream/trunk/inc/core.php
r206733 r206734 1725 1725 // First let's see if they have a legacy page: 1726 1726 1727 $results = $wpdb->get_results($wpdb->prepare("SELECT `ID` FROM `".$wpdb->prefix."posts` WHERE `post_type` = 'page' AND `post_content` LIKE '%%[lifestream]%%'AND `post_author` = %d AND `post_status` != 'trash' LIMIT 2", $userdata->ID));1727 $results = $wpdb->get_results($wpdb->prepare("SELECT `ID` FROM `".$wpdb->prefix."posts` WHERE `post_type` = 'page' AND (`post_content` LIKE '%%[lifestream]%%' OR `post_title` LIKE 'Lifestream') AND `post_author` = %d AND `post_status` != 'trash' LIMIT 2", $userdata->ID)); 1728 1728 if (count($results) == 1) 1729 1729 {
Note: See TracChangeset
for help on using the changeset viewer.