Changeset 1245641
- Timestamp:
- 09/15/2015 06:04:39 AM (10 years ago)
- Location:
- track-connect/trunk
- Files:
-
- 3 edited
-
includes/api/request.php (modified) (2 diffs)
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
track-connect/trunk/includes/api/request.php
r1244800 r1245641 69 69 $unitsUpdated++; 70 70 $post_id = $post->post_id; 71 $youtube_id = $wpdb->get_row("SELECT meta_value FROM wp_postmeta WHERE meta_key = '_listing_youtube_id' LIMIT 1;"); 71 $youtube_id = null; 72 $youtube = $wpdb->get_row("SELECT meta_value FROM wp_postmeta WHERE meta_key = '_listing_youtube_id' LIMIT 1;"); 73 if($youtube->meta_value){ 74 $youtube_id = $youtube->meta_value; 75 } 72 76 $wpdb->query("DELETE FROM wp_postmeta WHERE post_id = '".$post_id."' AND meta_key != '_thumbnail_id' ;"); 73 77 $wpdb->query( $wpdb->prepare( … … 109 113 $post_id,'_listing_domain', $domain, 110 114 $post_id,'_listing_first_image', $unit->images[0]->url, 111 $post_id,'_listing_youtube_id', (!$youtube_id ->meta_value)?null:$youtube_id->meta_value115 $post_id,'_listing_youtube_id', (!$youtube_id)?null:$youtube_id 112 116 ) 113 117 )); -
track-connect/trunk/plugin.php
r1244800 r1245641 7 7 Author URI: http://www.trackhs.com 8 8 9 Version: 1.7. 29 Version: 1.7.3 10 10 11 11 License: GNU General Public License v2.0 (or later) … … 55 55 56 56 define( 'WP_LISTINGS_URL', plugin_dir_url( __FILE__ ) ); 57 define( 'WP_LISTINGS_VERSION', '1.7. 2' );57 define( 'WP_LISTINGS_VERSION', '1.7.3' ); 58 58 59 59 /** Load textdomain for translation */ -
track-connect/trunk/readme.txt
r1244800 r1245641 4 4 Requires at least: 3.7 5 5 Tested up to: 4.2.3 6 Stable tag: 1.7. 26 Stable tag: 1.7.3 7 7 8 8 Creates and syncs listing-type posts from TRACK PM, a cloud-based property management system (www.trackhs.com).
Note: See TracChangeset
for help on using the changeset viewer.