Changeset 890198
- Timestamp:
- 04/09/2014 04:24:48 PM (12 years ago)
- Location:
- bookinglive/trunk
- Files:
-
- 2 edited
-
bookingLive.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bookinglive/trunk/bookingLive.php
r886247 r890198 1 <?php 2 /* 1 <?php 2 /* 3 3 Plugin Name: Booking Live Plugin 4 4 Plugin URI: http://wordpress.org/plugins/bookinglive/ … … 6 6 Author: BookingLive. 7 7 Author URI: http://www.bookinglive.com 8 Version: 0. 28 Version: 0.4 9 9 */ 10 10 if ( ! defined( 'WP_PLUGIN_URL' ) ) define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' ); … … 174 174 if(!preg_match('~^http://|https://~',$newInput)) $newInput = 'http://' . $newInput; 175 175 $file_headers = @get_headers($newInput); 176 if( $file_headers[0] != 'HTTP/1.0 200 OK') {177 add_settings_error( 'bookingLive_siteHost_name', esc_attr( 'settings_updated' ),' The URL for the host is incorrect');176 if(strpos($file_headers[0], '200') === false) { 177 add_settings_error( 'bookingLive_siteHost_name', esc_attr( 'settings_updated' ),'Error: Could not connect to the host URL'); 178 178 $newInput=''; 179 179 return $newInput; … … 197 197 else{ 198 198 if($arrCurlReturn['body']=='false'){ 199 add_settings_error( 'bookingLive_siteHost_name', esc_attr( 'settings_updated' ),' The URL for the host is incorrect');199 add_settings_error( 'bookingLive_siteHost_name', esc_attr( 'settings_updated' ),'Error: Unable to register wih host site'); 200 200 } 201 201 else{ -
bookinglive/trunk/readme.txt
r886247 r890198 4 4 Requires at least: 3.3 5 5 Tested up to: 3.7 6 Stable tag: 0. 36 Stable tag: 0.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 49 49 == Changelog == 50 50 51 = 0.4 = 52 * Improvements to plugin site registration process 53 54 = 0.3 = 55 * Fixed bug preventing javascript loading 56 51 57 = 0.2 = 52 58 * Changes to the user interface
Note: See TracChangeset
for help on using the changeset viewer.