Make WordPress Core


Ignore:
Timestamp:
07/11/2024 06:22:51 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typos in various REST API DocBlocks and comments.

Follow-up to [34928], [43739], [46422], [50717], [51973], [54528].

Props antonvlasenko.
Fixes #61593.

File:
1 edited

Legend:

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

    r58326 r58706  
    184184     * @param bool    $required Whether the post requires a password check.
    185185     * @param WP_Post $post     The post been password checked.
    186      * @return bool Result of password check taking in to account REST API considerations.
     186     * @return bool Result of password check taking into account REST API considerations.
    187187     */
    188188    public function check_password_required( $required, $post ) {
     
    20522052     * By default, WordPress will show password protected posts with a title of
    20532053     * "Protected: %s", as the REST API communicates the protected status of a post
    2054      * in a machine readable format, we remove the "Protected: " prefix.
     2054     * in a machine-readable format, we remove the "Protected: " prefix.
    20552055     *
    20562056     * @since 4.7.0
Note: See TracChangeset for help on using the changeset viewer.