Make WordPress Core


Ignore:
Timestamp:
02/11/2024 07:12:42 PM (10 months ago)
Author:
joedolson
Message:

General: Remove ableist language from code comments.

Remove a handful of occurrences of ableist terms in code comments; omits external libraries.

Props dartiss, upadalavipul, SergeyBiryukov, shailu25, jorbin, dmsnell, joedolson, manfcarlo.
Fixes #60247.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r56637 r57584  
    69406940        }
    69416941
    6942         // Very stupid, but gives time to the 'from' server to publish!
     6942        /*
     6943         * The remote site may have sent the pingback before it finished publishing its own content
     6944         * containing this pingback URL. If that happens then it won't be immediately possible to fetch
     6945         * the pinging post; adding a small delay reduces the likelihood of this happening.
     6946         *
     6947         * While there are more robust methods than calling `sleep()` here (because `sleep()` merely
     6948         * mitigates the risk of requesting the remote post before it's available), this is effective
     6949         * enough for most cases and avoids introducing more complexity into this code.
     6950         *
     6951         * One way to improve the reliability of this code might be to add failure-handling to the remote
     6952         * fetch and retry up to a set number of times if it receives a 404. This could also handle 401 and
     6953         * 403 responses to differentiate the "does not exist" failure from the "may not access" failure.
     6954         */
    69436955        sleep( 1 );
    69446956
Note: See TracChangeset for help on using the changeset viewer.