Plugin Directory

Changeset 2363690


Ignore:
Timestamp:
08/18/2020 07:21:20 AM (6 years ago)
Author:
nekojira
Message:

Committing 1.3.2 to trunk

Location:
wp-api-menus/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-api-menus/trunk/includes/wp-api-menus-v2.php

    r1507557 r2363690  
    5757                    'methods'  => WP_REST_Server::READABLE,
    5858                    'callback' => array( $this, 'get_menus' ),
     59                    'permission_callback' => '__return_true',
    5960                )
    6061            ) );
     
    6465                    'methods'  => WP_REST_Server::READABLE,
    6566                    'callback' => array( $this, 'get_menu' ),
     67                    'permission_callback' => '__return_true',
    6668                    'args'     => array(
    6769                        'context' => array(
     
    7678                    'methods'  => WP_REST_Server::READABLE,
    7779                    'callback' => array( $this, 'get_menu_locations' ),
     80                    'permission_callback' => '__return_true',
    7881                )
    7982            ) );
     
    8386                    'methods'  => WP_REST_Server::READABLE,
    8487                    'callback' => array( $this, 'get_menu_location' ),
     88                    'permission_callback' => '__return_true',
    8589                )
    8690            ) );
  • wp-api-menus/trunk/readme.txt

    r1507557 r2363690  
    11=== WP API Menus ===
    2 Contributors: nekojira
     2Contributors: nekojira, austyfrosty
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=P64V9NTEYFKDL
    44Tags: wp-api, wp-rest-api, json-rest-api, json, menus, rest, api, menu-routes
    55Requires at least: 3.6.0
    6 Tested up to: 4.4.2
    7 Stable tag: 1.3.1
     6Tested up to: 5.5.0
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5959== Changelog ==
    6060
     61= 1.3.2 =
     62* Fix: Address V2 register_rest_route compatibility issue with WP 5.5 (missing permission_callback arg) - props @thefrosty
     63
    6164= 1.3.1 =
    6265* 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  
    55 * Description: Extends WP API with WordPress menu routes.
    66 *
    7  * Version:     1.3.1
     7 * Version:     1.3.2
    88 *
    99 * Author:      Fulvio Notarstefano
Note: See TracChangeset for help on using the changeset viewer.