WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/10/2020 08:00:30 PM (12 months ago)
Author:
johnbillion
Message:

Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

File:
1 edited

Legend:

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

    r48782 r49120  
    13711371     * @since 4.9.0 Added the `$validate` parameter.
    13721372     *
    1373      * @param string  $template Page template filename.
    1374      * @param integer $post_id  Post ID.
    1375      * @param bool    $validate Whether to validate that the template selected is valid.
     1373     * @param string $template Page template filename.
     1374     * @param int    $post_id  Post ID.
     1375     * @param bool   $validate Whether to validate that the template selected is valid.
    13761376     */
    13771377    public function handle_template( $template, $post_id, $validate = false ) {
Note: See TracChangeset for help on using the changeset viewer.