| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | * @version 3.0.1 |
| 7 | 7 | * Addons: Assignments, H5P is using. |
| 8 | 8 | * Update all before not implements ArrayAccess |
| 9 | 9 | */ |
| 10 | -class LP_Query_List_Table implements ArrayAccess { | |
| 10 | +class LP_Query_List_Table { | |
| 11 | 11 | /** |
| 12 | 12 | * @var array|null |
| 13 | 13 | */ |
| 14 | 14 | protected $_data = null; |
| @@ -101,9 +101,9 @@ | ||
| 101 | 101 | * @return string |
| 102 | 102 | */ |
| 103 | 103 | public function get_nav_numbers( $echo = true, $base_url = '' ) { |
| 104 | 104 | if ( ! $base_url ) { |
| 105 | - $base_url = learn_press_get_current_url(); | |
| 105 | + $base_url = LP_Helper::getUrlCurrent(); | |
| 106 | 106 | } |
| 107 | 107 | if ( ! empty( $this->_data['nav_base'] ) ) { |
| 108 | 108 | if ( is_callable( $this->_data['nav_base'] ) ) { |
| 109 | 109 | $base = call_user_func_array( $this->_data['nav_base'], array( $this->_data['nav_format'] ) ); |