Changeset 2245907
- Timestamp:
- 02/17/2020 11:19:55 PM (6 years ago)
- Location:
- acf-to-rest-api
- Files:
-
- 55 added
- 1 deleted
- 5 edited
-
tags/3.2.0 (added)
-
tags/3.2.0/class-acf-to-rest-api.php (added)
-
tags/3.2.0/composer.json (added)
-
tags/3.2.0/languages (added)
-
tags/3.2.0/languages/pt_BR.mo (added)
-
tags/3.2.0/legacy (added)
-
tags/3.2.0/legacy/v2 (added)
-
tags/3.2.0/legacy/v2/class-acf-to-rest-api-v2.php (added)
-
tags/3.2.0/legacy/v2/lib (added)
-
tags/3.2.0/legacy/v2/lib/endpoints (added)
-
tags/3.2.0/legacy/v2/lib/endpoints/class-acf-to-rest-api-attachment-controller.php (added)
-
tags/3.2.0/legacy/v2/lib/endpoints/class-acf-to-rest-api-controller.php (added)
-
tags/3.2.0/legacy/v2/lib/endpoints/class-acf-to-rest-api-option-controller.php (added)
-
tags/3.2.0/legacy/v2/lib/endpoints/class-acf-to-rest-api-term-controller.php (added)
-
tags/3.2.0/readme.md (added)
-
tags/3.2.0/readme.txt (added)
-
tags/3.2.0/shared (added)
-
tags/3.2.0/shared/assets (added)
-
tags/3.2.0/shared/assets/css (added)
-
tags/3.2.0/shared/assets/css/acf-to-rest-api-donation.css (added)
-
tags/3.2.0/shared/assets/js (added)
-
tags/3.2.0/shared/assets/js/acf-to-rest-api-donation.js (added)
-
tags/3.2.0/shared/includes (added)
-
tags/3.2.0/shared/includes/admin (added)
-
tags/3.2.0/shared/includes/admin/classes (added)
-
tags/3.2.0/shared/includes/admin/classes/class-acf-to-rest-api-donation.php (added)
-
tags/3.2.0/shared/includes/admin/classes/class-acf-to-rest-api-settings.php (added)
-
tags/3.2.0/shared/includes/admin/views (added)
-
tags/3.2.0/shared/includes/admin/views/html-notice-donation.php (added)
-
tags/3.2.0/shared/includes/admin/views/html-notice-missing-acf.php (added)
-
tags/3.2.0/shared/includes/admin/views/html-notice-missing-rest-api.php (added)
-
tags/3.2.0/shared/includes/admin/views/html-settings-field.php (added)
-
tags/3.2.0/shared/includes/admin/views/html-settings-section.php (added)
-
tags/3.2.0/v3 (added)
-
tags/3.2.0/v3/class-acf-to-rest-api-v3.php (added)
-
tags/3.2.0/v3/lib (added)
-
tags/3.2.0/v3/lib/class-acf-to-rest-api-acf-api.php (added)
-
tags/3.2.0/v3/lib/class-acf-to-rest-api-acf-field-settings.php (added)
-
tags/3.2.0/v3/lib/endpoints (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-attachments-controller.php (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-comments-controller.php (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-controller.php (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-options-controller.php (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-posts-controller.php (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-terms-controller.php (added)
-
tags/3.2.0/v3/lib/endpoints/class-acf-to-rest-api-users-controller.php (added)
-
trunk/class-acf-to-rest-api.php (modified) (4 diffs)
-
trunk/composer.json (modified) (1 diff)
-
trunk/readme.md (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/shared/assets (added)
-
trunk/shared/assets/css (added)
-
trunk/shared/assets/css/acf-to-rest-api-donation.css (added)
-
trunk/shared/assets/js (added)
-
trunk/shared/assets/js/acf-to-rest-api-donation.js (added)
-
trunk/shared/includes/admin/classes (added)
-
trunk/shared/includes/admin/classes/class-acf-to-rest-api-donation.php (added)
-
trunk/shared/includes/admin/classes/class-acf-to-rest-api-settings.php (added)
-
trunk/shared/includes/admin/views/html-notice-donation.php (added)
-
trunk/shared/includes/admin/views/html-settings-field.php (modified) (1 diff)
-
trunk/shared/lib (deleted)
Legend:
- Unmodified
- Added
- Removed
-
acf-to-rest-api/trunk/class-acf-to-rest-api.php
r1752896 r2245907 5 5 * Author: Aires Gonçalves 6 6 * Author URI: http://github.com/airesvsg 7 * Version: 3. 1.07 * Version: 3.2.0 8 8 * Plugin URI: http://github.com/airesvsg/acf-to-rest-api 9 9 */ … … 17 17 class ACF_To_REST_API { 18 18 19 const VERSION = '3. 1.0';19 const VERSION = '3.2.0'; 20 20 21 21 private static $old_request_version = 2; … … 49 49 if ( self::is_plugin_active( 'all' ) ) { 50 50 if ( is_admin() ) { 51 require_once dirname( __FILE__ ) . '/shared/lib/class-acf-to-rest-api-settings.php'; 51 require_once dirname( __FILE__ ) . '/shared/includes/admin/classes/class-acf-to-rest-api-settings.php'; 52 require_once dirname( __FILE__ ) . '/shared/includes/admin/classes/class-acf-to-rest-api-donation.php'; 52 53 } 53 54 self::instance()->includes(); … … 77 78 add_action( 'admin_notices', array( __CLASS__, 'missing_notice' ) ); 78 79 } 79 80 80 } 81 81 -
acf-to-rest-api/trunk/composer.json
r1752896 r2245907 3 3 "description": "Exposes Advanced Custom Fields Endpoints in the WordPress REST API", 4 4 "type": "wordpress-plugin", 5 "version": "3. 1.0",5 "version": "3.2.0", 6 6 "keywords": ["wordpress", "wp", "rest-api", "acf", "wp-api", "json", "wordpres-plugin", "fields"], 7 7 "homepage": "https://github.com/airesvsg/acf-to-rest-api", 8 "license": "GPL v2.0+",8 "license": "GPL-2.0-only", 9 9 "authors": [ 10 10 { -
acf-to-rest-api/trunk/readme.md
r1752896 r2245907 13 13 - [Editing the Fields](#editing-the-fields) 14 14 - [Examples](#examples) 15 - [Get ACF Fields Recursively ](#get-acf-fields-recursively) 15 16 - [Cache](#cache) 16 17 … … 177 178 https://github.com/airesvsg/to-do-list-acf-to-rest-api 178 179 180 181 Get ACF Fields Recursively 182 ==== 183 https://github.com/airesvsg/acf-to-rest-api-recursive 184 185 More details: 186 187 - Issues 188 - https://github.com/airesvsg/acf-to-rest-api/issues/109 189 - https://github.com/airesvsg/acf-to-rest-api/issues/223 190 - https://github.com/airesvsg/acf-to-rest-api/issues/9 191 192 - Pull Request 193 - https://github.com/airesvsg/acf-to-rest-api/pull/95 194 179 195 Cache 180 196 ==== -
acf-to-rest-api/trunk/readme.txt
r1780442 r2245907 1 1 === ACF to REST API === 2 2 Contributors: airesvsg 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business= airesvsg%40gmail%2ecom&lc=BR&item_name=Aires%20Goncalves&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=E5M7HDWNPFVF4&lc=BR&item_name=Aires%20Goncalves&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest 4 4 Tags: acf, api, rest, wp-api, wp-rest-api, json, wp, wordpress, wp-rest-api, wordpress-rest-api 5 5 Requires at least: 4.6 6 Tested up to: 4.9.17 Stable tag: 3. 1.06 Tested up to: 5.3.2 7 Stable tag: 3.2.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 Exposes [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/) Endpoints in the [WordPress REST API](https://developer.wordpress.org/rest-api/) 15 15 16 **See details on GitHub:** http://github.com/airesvsg/acf-to-rest-api16 **See details on GitHub:** [https://github.com/airesvsg/acf-to-rest-api/](https://github.com/airesvsg/acf-to-rest-api/) 17 17 18 18 == Installation == … … 21 21 22 22 == Changelog == 23 24 = 3.2.0 = 25 moving class-acf-to-rest-api-settings.php to shared/include/admin/classes 26 adding donation notice 27 update tested up 23 28 24 29 = 3.1.0 = -
acf-to-rest-api/trunk/shared/includes/admin/views/html-settings-field.php
r1752896 r2245907 8 8 9 9 <div id="acf-to-rest-api-settings"> 10 <code><?php echo esc_url( site_url( 'wp-json/acf/' ) ); ?></code>10 <code><?php echo esc_url( home_url( 'wp-json/acf/' ) ); ?></code> 11 11 <select name="acf_to_rest_api_settings[request_version]"> 12 12 <option value="2"<?php selected( 2, $request_version ); ?>>v2</option> 13 13 <option value="3"<?php selected( 3, $request_version ); ?>>v3</option> 14 14 </select> 15 <p><a href="<?php echo esc_url( self::$donation_url ); ?>" target="_blank"><?php esc_html_e( 'Click here', 'acf-to-rest-api' ); ?></a> <?php esc_html_e( 'to make a donation and help to improve theplugin.', 'acf-to-rest-api' ); ?></p>15 <p><a href="<?php echo esc_url( ACF_To_REST_API_Donation::DONATION_URL ); ?>" target="_blank" class="acf-to-rest-api-donation-button"><span class="dashicons dashicons-heart"></span> <?php esc_html_e( 'Make a donation', 'acf-to-rest-api' ); ?></a> <?php esc_html_e( 'and help to improve the ACF to REST-API plugin.', 'acf-to-rest-api' ); ?></p> 16 16 </div>
Note: See TracChangeset
for help on using the changeset viewer.