From e4388e4d5b9347a4a36eb40749f26c961538bd2e Mon Sep 17 00:00:00 2001 From: ozh Date: Mon, 13 Jan 2014 15:58:58 +0100 Subject: [PATCH] Preparing for 1.7.1 & fix Travis 5.2 --- includes/functions-formatting.php | 2 +- includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions-formatting.php b/includes/functions-formatting.php index f16219f..cf048ab 100644 --- a/includes/functions-formatting.php +++ b/includes/functions-formatting.php @@ -155,7 +155,7 @@ function yourls_escape( $data ) { */ function yourls_escape_real( $string ) { global $ydb; - if( isset( $ydb ) && is_a( $ydb, 'ezSQLcore' ) ) + if( isset( $ydb ) && ( $ydb instanceof ezSQLcore ) ) return $ydb->escape( $string ); // YOURLS DB classes have been bypassed by a custom DB engine or a custom cache layer diff --git a/includes/version.php b/includes/version.php index 4f02681..61303b9 100644 --- a/includes/version.php +++ b/includes/version.php @@ -3,7 +3,7 @@ * YOURLS version * */ -define( 'YOURLS_VERSION', '1.7' ); +define( 'YOURLS_VERSION', '1.7.1' ); /** * YOURLS DB version. Increments when changes are made to the DB schema, to trigger a DB update -- 2.45.0