Make WordPress Core

Changeset 57584

Timestamp:
02/11/2024 07:12:42 PM (6 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.

Location:
trunk/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/comment.js

    r50547 r57584  
    7171     * @return {void}
    7272     */
    73     $timestampdiv.find('.save-timestamp').on( 'click', function( event ) { // Crazyhorse - multiple OK cancels.
     73    $timestampdiv.find('.save-timestamp').on( 'click', function( event ) { // Crazyhorse - multiple OK cancels.
    7474        var aa = $('#aa').val(), mm = $('#mm').val(), jj = $('#jj').val(), hh = $('#hh').val(), mn = $('#mn').val(),
    7575            newD = new Date( aa, mm - 1, jj, hh, mn );
  • trunk/src/js/_enqueues/admin/post.js

    r57239 r57584  
    890890
    891891        // Set the selected visibility as current.
    892         $postVisibilitySelect.find('.save-post-visibility').on( 'click', function( event ) { // Crazyhorse - multiple OK cancels.
     892        $postVisibilitySelect.find('.save-post-visibility').on( 'click', function( event ) { // Crazyhorse - multiple OK cancels.
    893893            var visibilityLabel = '', selectedVisibility = $postVisibilitySelect.find('input:radio:checked').val();
    894894
     
    946946
    947947        // Save the changed timestamp.
    948         $timestampdiv.find('.save-timestamp').on( 'click', function( event ) { // Crazyhorse - multiple OK cancels.
     948        $timestampdiv.find('.save-timestamp').on( 'click', function( event ) { // Crazyhorse - multiple OK cancels.
    949949            if ( updateText() ) {
    950950                $timestampdiv.slideUp('fast');
  • trunk/src/wp-includes/class-simplepie.php

    r55753 r57584  
    341341/**
    342342 * RSS 2.0 Namespace
    343  * (Stupid, I know, but I'm certain it will confuse people less with support.)
     343 * (I know, but I'm certain it will confuse people less with support.)
    344344 */
    345345define('SIMPLEPIE_NAMESPACE_RSS_20', '');
     
    12091209     *
    12101210     * Forgoes a substantial amount of data sanitization in favor of speed. This
    1211      * turns SimplePie into a dumb parser of feeds.
     1211     * turns SimplePie into a dumb parser of feeds.
    12121212     *
    12131213     * @param bool $set Whether to set them or not
  • trunk/src/wp-includes/class-wp-theme.php

    r57524 r57584  
    508508                return;
    509509            }
    510             // Set the parent. Pass the current instance so we can do the crazy checks above and assess errors.
     510            // Set the parent. Pass the current instance so we can do the checks above and assess errors.
    511511            $this->parent = new WP_Theme( $this->template, isset( $theme_root_template ) ? $theme_root_template : $this->theme_root, $this );
    512512        }
  • 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
  • trunk/src/wp-includes/shortcodes.php

    r57239 r57584  
    505505            }
    506506
    507             // Looks like we found some crazy unfiltered HTML. Skipping it for confidence.
     507            // Looks like we found some unfiltered HTML. Skipping it for confidence.
    508508            $element = strtr( $element, $trans );
    509509            continue;
  • trunk/src/wp-includes/theme.php

    r57573 r57584  
    28032803             * As stated above, the first value wins.
    28042804             * Once we get to wp_loaded (just-in-time), define any constants we haven't already.
    2805              * Constants are lame. Don't reference them. This is just for backward compatibility.
     2805             * Constants . Don't reference them. This is just for backward compatibility.
    28062806             */
    28072807
Note: See TracChangeset for help on using the changeset viewer.