Make WordPress Core

Changeset 57374


Ignore:
Timestamp:
01/29/2024 12:32:26 PM (11 months ago)
Author:
jorgefilipecosta
Message:

Coding Standards: Remove unnecessary access and internal annotations from two functions in WP_REST_Templates_Controller.

This commit removes unnecessary access and internal annotations from two functions that are private and as such don't require the annotation. It also adds the since annotation with the 6.5 release given that the annotation may be useful.

Props swissspidy.
See #60358.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php

    r57366 r57374  
    760760     * Returns the source from where the template originally comes from.
    761761     *
    762      * @access private
    763      * @internal
     762     * @since 6.5.0
    764763     *
    765764     * @param WP_Block_Template $template_object Template instance.
     
    809808     * Returns a human readable text for the author of the template.
    810809     *
    811      * @access private
    812      * @internal
     810     * @since 6.5.0
    813811     *
    814812     * @param WP_Block_Template $template_object Template instance.
Note: See TracChangeset for help on using the changeset viewer.