PluginProbe
WPGet API – Connect to any external REST API / 1.8.9
WPGet API – Connect to any external REST API v1.8.9
1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.10 2.2.2 2.2.3 All 97 releases
← All changes | wpgetapi.php +4 -7 2.2.31.8.9 View file →
@@ -4,9 +4,9 @@
4 4 * Plugin URI: https://wordpress.org/plugins/wpgetapi/
5 5 * Description: Connect to external API's and display the API data.
6 6 * Author: WPGetAPI
7 7 * Author URI: https://wpgetapi.com/
8 - * Version: 2.2.3
8 + * Version: 1.8.9
9 9 * Text Domain: wpgetapi
10 10 * License: GPL2 or later
11 11 *
12 12 */
@@ -26,9 +26,9 @@
26 26 * @since 1.0.0
27 27 */
28 28 protected static $_instance = null;
29 29
30 - public $version = '2.2.3';
30 + public $version = '1.8.9';
31 31
32 32 /**
33 33 * Main Instance.
34 34 */
@@ -108,13 +108,10 @@
108 108 * Include required files.
109 109 * @since 1.0.0
110 110 */
111 111 public function includes() {
112 -
113 - if( isset( $_GET['page'] ) && strpos( $_GET['page'], 'wpgetapi_' ) !== false ) {
114 - require_once ( WPGETAPIDIR . '/lib/cmb2/init.php' );
115 - }
116 -
112 +
113 + require_once ( WPGETAPIDIR . '/lib/cmb2/init.php' );
117 114 require_once ( WPGETAPIDIR . '/includes/block-editor/block-editor.php' );
118 115
119 116 include_once ( WPGETAPIDIR . 'includes/class-encryption.php' );
120 117 include_once ( WPGETAPIDIR . 'includes/class-admin-options.php' );