Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor-gd.php

    r49751 r49927  
    8080     * @since 3.5.0
    8181     *
    82      * @return bool|WP_Error True if loaded successfully; WP_Error on failure.
     82     * @return true|WP_Error True if loaded successfully; WP_Error on failure.
    8383     */
    8484    public function load() {
     
    312312     * @param int  $dst_h   Optional. The destination height.
    313313     * @param bool $src_abs Optional. If the source crop points are absolute.
    314      * @return bool|WP_Error
     314     * @return true|WP_Error
    315315     */
    316316    public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) {
Note: See TracChangeset for help on using the changeset viewer.