Make WordPress Core


Ignore:
Timestamp:
03/22/2022 04:23:32 PM (2 years ago)
Author:
audrasjb
Message:

Administration: Replace contracted verb forms for better consistency.

This changeset replaces contracted verb forms like doesn't, can't, or isn't with non-contracted forms like does not, cannot, or is not, for better consistency across the WordPress administration. It also updates some corresponding unit tests strings.

Props Presskopp, socalchristina, aandrewdixon, francina, SergeyBiryukov, JeffPaul, audrasjb, hellofromTonya.
Fixes #38913.
See #39176.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-ftp-sockets.php

    r46626 r52978  
    140140        } else {
    141141            if(!@socket_getsockname($this->_ftp_control_sock, $addr, $port)) {
    142                 $this->PushError("_data_prepare","can't get control socket information", socket_strerror(socket_last_error($this->_ftp_control_sock)));
     142                $this->PushError("_data_prepare","cannot get control socket information", socket_strerror(socket_last_error($this->_ftp_control_sock)));
    143143                $this->_data_close();
    144144                return FALSE;
    145145            }
    146146            if(!@socket_bind($this->_ftp_data_sock,$addr)){
    147                 $this->PushError("_data_prepare","can't bind data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
     147                $this->PushError("_data_prepare","cannot bind data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
    148148                $this->_data_close();
    149149                return FALSE;
    150150            }
    151151            if(!@socket_listen($this->_ftp_data_sock)) {
    152                 $this->PushError("_data_prepare","can't listen data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
     152                $this->PushError("_data_prepare","cannot listen data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
    153153                $this->_data_close();
    154154                return FALSE;
    155155            }
    156156            if(!@socket_getsockname($this->_ftp_data_sock, $this->_datahost, $this->_dataport)) {
    157                 $this->PushError("_data_prepare","can't get data socket information", socket_strerror(socket_last_error($this->_ftp_data_sock)));
     157                $this->PushError("_data_prepare","cannot get data socket information", socket_strerror(socket_last_error($this->_ftp_data_sock)));
    158158                $this->_data_close();
    159159                return FALSE;
Note: See TracChangeset for help on using the changeset viewer.