Plugin Directory

Timestamp:
04/10/2024 08:25:49 PM (3 months ago)
Author:
zinigor
Message:

Updating trunk to version 13.3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-endpoint.php

    r3067143 r3068647  
    77
    88namespace Automattic\Jetpack\Forms\ContactForm;
    9 
    10 use WP_Error;
    11 use WP_REST_Request;
    129
    1310/**
     
    2421    public function get_items_permissions_check( $request ) { //phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
    2522        if ( ! is_user_member_of_blog( get_current_user_id(), get_current_blog_id() ) ) {
    26             return new WP_Error(
     23            return new WP_Error(
    2724                'rest_cannot_view',
    2825                esc_html__( 'Sorry, you cannot view this resource.', 'jetpack-forms' ),
     
    4239    public function get_item_permissions_check( $request ) { //phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
    4340        if ( ! is_user_member_of_blog( get_current_user_id(), get_current_blog_id() ) ) {
    44             return new WP_Error(
     41            return new WP_Error(
    4542                'rest_cannot_view',
    4643                esc_html__( 'Sorry, you cannot view this resource.', 'jetpack-forms' ),
Note: See TracChangeset for help on using the changeset viewer.