Skip to content

Commit

Permalink
fix 7.4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Nov 12, 2023
1 parent 81b6182 commit d1ddcc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
logs
vendor
node_modules
croutonjs/dist/crouton.*
croutonjs/dist/crouton*
croutonjs/src/js/templates.js
*.orig
*.iml
tmp

croutonjs/dist/crouton-core.js
croutonjs/dist/crouton-core.min.js
.vscode/launch.json
4 changes: 2 additions & 2 deletions crouton.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: A tabbed based display for showing meeting information.
Author: bmlt-enabled
Author URI: https://bmlt.app
Version: 3.17.1
Version: 3.17.2
*/
/* Disallow direct access to the plugin file */
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {
Expand Down Expand Up @@ -956,7 +956,7 @@ private function getAllFields($root_server)
try {
$results = wp_remote_get($root_server . "/client_interface/json/?switcher=GetFieldKeys");
return json_decode(wp_remote_retrieve_body($results), true);
} catch (Exception) {
} catch (Exception $e) {
return [];
}
}
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: na, meeting list, meeting finder, maps, recovery, addiction, webservant, b
Requires at least: 4.0
Required PHP: 5.6
Tested up to: 6.2.2
Stable tag: 3.17.1
Stable tag: 3.17.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
crouton implements a Tabbed UI for BMLT.
Expand Down

0 comments on commit d1ddcc6

Please sign in to comment.