Changeset 2363690
- Timestamp:
- 08/18/2020 07:21:20 AM (6 years ago)
- Location:
- wp-api-menus/trunk
- Files:
-
- 3 edited
-
includes/wp-api-menus-v2.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-api-menus.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-api-menus/trunk/includes/wp-api-menus-v2.php
r1507557 r2363690 57 57 'methods' => WP_REST_Server::READABLE, 58 58 'callback' => array( $this, 'get_menus' ), 59 'permission_callback' => '__return_true', 59 60 ) 60 61 ) ); … … 64 65 'methods' => WP_REST_Server::READABLE, 65 66 'callback' => array( $this, 'get_menu' ), 67 'permission_callback' => '__return_true', 66 68 'args' => array( 67 69 'context' => array( … … 76 78 'methods' => WP_REST_Server::READABLE, 77 79 'callback' => array( $this, 'get_menu_locations' ), 80 'permission_callback' => '__return_true', 78 81 ) 79 82 ) ); … … 83 86 'methods' => WP_REST_Server::READABLE, 84 87 'callback' => array( $this, 'get_menu_location' ), 88 'permission_callback' => '__return_true', 85 89 ) 86 90 ) ); -
wp-api-menus/trunk/readme.txt
r1507557 r2363690 1 1 === WP API Menus === 2 Contributors: nekojira 2 Contributors: nekojira, austyfrosty 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=P64V9NTEYFKDL 4 4 Tags: wp-api, wp-rest-api, json-rest-api, json, menus, rest, api, menu-routes 5 5 Requires at least: 3.6.0 6 Tested up to: 4.4.27 Stable tag: 1.3. 16 Tested up to: 5.5.0 7 Stable tag: 1.3.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 59 59 == Changelog == 60 60 61 = 1.3.2 = 62 * Fix: Address V2 register_rest_route compatibility issue with WP 5.5 (missing permission_callback arg) - props @thefrosty 63 61 64 = 1.3.1 = 62 65 * Tweak: The `object_slug` property is now available to get the slug for relative URLs - props @Fahrradflucht -
wp-api-menus/trunk/wp-api-menus.php
r1507557 r2363690 5 5 * Description: Extends WP API with WordPress menu routes. 6 6 * 7 * Version: 1.3. 17 * Version: 1.3.2 8 8 * 9 9 * Author: Fulvio Notarstefano
Note: See TracChangeset
for help on using the changeset viewer.