PluginProbe
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar / 2.1.21
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar v2.1.21
2.1.21 2.1.20 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 trunk 1.1 2.0 2.0.1 2.0.10.2 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.18 2.0.2 2.0.20 2.0.21 2.0.22 All 55 releases
← All changes | core/wpbm-debug.php +19 -3 2.02.1.21 View file →
@@ -4,9 +4,9 @@
4 4 * @package Any
5 5 * @category Dubug info showing
6 6 * @author wpdevelop
7 7 *
8 - * @web-site http://oplugins.com/
8 + * @web-site https://oplugins.com/
9 9 * @email info@oplugins.com
10 10 *
11 11 * @modified 09.09.2015
12 12 */
@@ -25,9 +25,19 @@
25 25 $numargs = func_num_args();
26 26 $var = func_get_args();
27 27 $makeexit = is_bool( $var[count($var)-1] ) ? $var[ count($var) - 1 ]:false;
28 28 echo "<div><pre class='prettyprint linenums'>";
29 - print_r ( $var );
29 + //print_r($var);
30 + foreach ( $var as $ind => $item ) {
31 +
32 + echo "\n<strong> [$ind] " . gettype( $item ) . "</strong>\n";
33 +
34 + if ( 'string' === gettype( $item ) ) {
35 + echo( htmlentities( $item ) );
36 + } else {
37 + print_r( $item );
38 + }
39 + }
30 40 echo "</pre></div>";
31 41 echo '<script type="text/javascript"> jQuery(".ajax_respond_insert, .ajax_respond").show(); </script>';
32 42 if ( $makeexit ) {
33 43 echo '<div style="font-size:18px;float:right;">' . get_num_queries(). '/' . timer_stop(0, 3) . 'qps</div>';
@@ -57,9 +67,15 @@
57 67 $ver_num = ( ! defined('WPBM_VERSION') ) ? '' : '|V:' . WPBM_VERSION ;
58 68
59 69 $last_db_error = '';
60 70 global $EZSQL_ERROR;
61 - if (isset($EZSQL_ERROR[ (count($EZSQL_ERROR)-1)])) {
71 +
72 + //FixIn: 2.0.31.1
73 + if (
74 + ( ! empty( $EZSQL_ERROR ) )
75 + && ( is_array( $EZSQL_ERROR ) )
76 + && ( isset( $EZSQL_ERROR[ ( count( $EZSQL_ERROR ) - 1 ) ] ) )
77 + ){
62 78
63 79 $last_db_error2 = $EZSQL_ERROR[ (count($EZSQL_ERROR)-1)];
64 80
65 81 if ( (isset($last_db_error2['query'])) && (isset($last_db_error2['error_str'])) ) {