Changeset 2626899
- Timestamp:
- 11/09/2021 06:18:34 PM (4 years ago)
- Location:
- wp-rest-api-controller
- Files:
-
- 8 edited
- 1 copied
-
tags/2.0.6 (copied) (copied from wp-rest-api-controller/trunk)
-
tags/2.0.6/admin/partials/settings-functions.php (modified) (1 diff)
-
tags/2.0.6/includes/class-wp-rest-api-controller.php (modified) (4 diffs)
-
tags/2.0.6/readme.txt (modified) (1 diff)
-
tags/2.0.6/wp-rest-api-controller.php (modified) (1 diff)
-
trunk/admin/partials/settings-functions.php (modified) (1 diff)
-
trunk/includes/class-wp-rest-api-controller.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-rest-api-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-rest-api-controller/tags/2.0.6/admin/partials/settings-functions.php
r2122081 r2626899 4 4 // ------------------------------------------------------------------ 5 5 // 6 7 use wp_rest_api_controller; 8 6 9 class wp_rest_api_controller_Settings { 7 10 -
wp-rest-api-controller/tags/2.0.6/includes/class-wp-rest-api-controller.php
r2489950 r2626899 88 88 89 89 $this->plugin_name = 'WP REST API Controller'; 90 $this->version = '2.0. 5';91 $this->enabled_post_types = $this->get_stored_post_types();90 $this->version = '2.0.6'; 91 $this->enabled_post_types = self::get_stored_post_types(); 92 92 $this->enabled_taxonomies = $this->get_stored_taxonomies(); 93 93 … … 234 234 * @since 1.0.0 235 235 */ 236 public function get_stored_post_types() {236 public static function get_stored_post_types() { 237 237 $stored_post_types = get_option( 'wp_rest_api_controller_post_types', false ); 238 238 … … 358 358 } 359 359 360 $rest_base = $this->get_post_type_rest_base( $post_type_slug );360 $rest_base = self::get_post_type_rest_base( $post_type_slug ); 361 361 362 362 if ( 'enabled' !== $enabled ) { … … 498 498 499 499 $original_meta_key_name = $this->get_original_meta_key_name( $object_type, $field_name, $is_tax ); 500 501 // If we can't find the original meta key name, then return. 500 501 // If we can't find the original meta key name, then return. 502 502 // We do not want our get_post_meta() call to look like get_post_meta( $id, NULL, true ) or all meta fields will be returned 503 503 if ( empty( $original_meta_key_name ) ) { -
wp-rest-api-controller/tags/2.0.6/readme.txt
r2596924 r2626899 4 4 Requires at least: WordPress 4.7 5 5 Tested up to: 5.8.1 6 Stable tag: 2.0. 56 Stable tag: 2.0.6 7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.txt -
wp-rest-api-controller/tags/2.0.6/wp-rest-api-controller.php
r2489950 r2626899 4 4 * Plugin URI: https://www.yikesplugins.com 5 5 * Description: WP REST API Controller enables a UI to toggle endpoints in the REST API. 6 * Version: 2.0. 56 * Version: 2.0.6 7 7 * Author: YIKES, Inc. 8 8 * Author URI: https://www.yikesinc.com -
wp-rest-api-controller/trunk/admin/partials/settings-functions.php
r2122081 r2626899 4 4 // ------------------------------------------------------------------ 5 5 // 6 7 use wp_rest_api_controller; 8 6 9 class wp_rest_api_controller_Settings { 7 10 -
wp-rest-api-controller/trunk/includes/class-wp-rest-api-controller.php
r2489950 r2626899 88 88 89 89 $this->plugin_name = 'WP REST API Controller'; 90 $this->version = '2.0. 5';91 $this->enabled_post_types = $this->get_stored_post_types();90 $this->version = '2.0.6'; 91 $this->enabled_post_types = self::get_stored_post_types(); 92 92 $this->enabled_taxonomies = $this->get_stored_taxonomies(); 93 93 … … 234 234 * @since 1.0.0 235 235 */ 236 public function get_stored_post_types() {236 public static function get_stored_post_types() { 237 237 $stored_post_types = get_option( 'wp_rest_api_controller_post_types', false ); 238 238 … … 358 358 } 359 359 360 $rest_base = $this->get_post_type_rest_base( $post_type_slug );360 $rest_base = self::get_post_type_rest_base( $post_type_slug ); 361 361 362 362 if ( 'enabled' !== $enabled ) { … … 498 498 499 499 $original_meta_key_name = $this->get_original_meta_key_name( $object_type, $field_name, $is_tax ); 500 501 // If we can't find the original meta key name, then return. 500 501 // If we can't find the original meta key name, then return. 502 502 // We do not want our get_post_meta() call to look like get_post_meta( $id, NULL, true ) or all meta fields will be returned 503 503 if ( empty( $original_meta_key_name ) ) { -
wp-rest-api-controller/trunk/readme.txt
r2596924 r2626899 4 4 Requires at least: WordPress 4.7 5 5 Tested up to: 5.8.1 6 Stable tag: 2.0. 56 Stable tag: 2.0.6 7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.txt -
wp-rest-api-controller/trunk/wp-rest-api-controller.php
r2489950 r2626899 4 4 * Plugin URI: https://www.yikesplugins.com 5 5 * Description: WP REST API Controller enables a UI to toggle endpoints in the REST API. 6 * Version: 2.0. 56 * Version: 2.0.6 7 7 * Author: YIKES, Inc. 8 8 * Author URI: https://www.yikesinc.com
Note: See TracChangeset
for help on using the changeset viewer.