Make WordPress Core

Changeset 47297


Ignore:
Timestamp:
02/17/2020 03:28:05 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in a comment in WP_REST_Attachments_Controller::create_item().

See #48303.

File:
1 edited

Legend:

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

    r47296 r47297  
    190190        require_once ABSPATH . 'wp-admin/includes/image.php';
    191191
    192         // Post-process the upload (create image sub-sizes, make PDF thumbnalis, etc.) and insert attachment meta.
     192        // Post-process the upload (create image sub-sizes, make PDF thumbnails, etc.) and insert attachment meta.
    193193        // At this point the server may run out of resources and post-processing of uploaded images may fail.
    194194        wp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $file ) );
Note: See TracChangeset for help on using the changeset viewer.