diff -r bf1778c34b9a -r d8a8807227e4 wp/wp-content/plugins/portfolio/bws_menu/bws_menu.php --- a/wp/wp-content/plugins/portfolio/bws_menu/bws_menu.php Mon Oct 14 18:35:50 2019 +0200 +++ b/wp/wp-content/plugins/portfolio/bws_menu/bws_menu.php Tue Oct 15 11:56:20 2019 +0200 @@ -1,7 +1,7 @@ get_results( "SHOW VARIABLES LIKE 'sql_mode'" ); - if ( is_array( $mysql_info ) ) - $sql_mode = $mysql_info[0]->Value; - if ( empty( $sql_mode ) ) - $sql_mode = __( 'Not set', 'bestwebsoft' ); + $mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" ); + if ( is_array( $mysql_info ) ) + $sql_mode = $mysql_info[0]->Value; + if ( empty( $sql_mode ) ) + $sql_mode = __( 'Not set', 'bestwebsoft' ); $allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' ); $upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' ); @@ -290,82 +290,82 @@ } } } ?> -
activated.' ) ?>
activated.' ) ?>
' . __( 'Return to BestWebSoft Panel', 'bestwebsoft' ) . '
'; } - } else { + } else { $category_href = $current_page; if ( 'all' != $plugin_category ) $category_href .= '&category=' . $plugin_category; ?> - - -- - +
++ + -
-- - - +
++ + + -
-- - - - | -|
---|---|
- | - |
+ + + + | +|
---|---|
+ | + |