Skip to content

Commit f1ccbad

Browse files
committed
= 4.3.7 =
1 parent 867a628 commit f1ccbad

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

inc/Helpers/Config.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@ protected function __construct( array $items = array() ) {
4646
* @param string $path | from folder 'config'
4747
*
4848
* @return array|mixed
49-
* @version 1.0.0
49+
* @version 1.0.1
5050
* @since 4.1.6.4
5151
*/
5252
public function get( string $key = '', string $path = '', array $args = [] ) {
53-
extract( $args );
53+
// Extract args
54+
foreach ( $args as $arg_key => $arg_value ) {
55+
$$arg_key = $arg_value;
56+
}
5457
$data_config = array();
5558
$data_config_by_key = array();
5659

learnpress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://thimpress.com/learnpress
55
* Description: LearnPress is a WordPress complete solution for creating a Learning Management System (LMS). It can help you to create courses, lessons and quizzes.
66
* Author: ThimPress
7-
* Version: 4.3.6
7+
* Version: 4.3.7-beta-1
88
* Author URI: http://thimpress.com
99
* Requires at least: 6.0
1010
* Requires PHP: 7.4

0 commit comments

Comments
 (0)