Make WordPress Core

Ticket #46507: 46507.diff

File 46507.diff, 2.4 KB (added by mukesh27, 5 years ago)

Added missing @since 2.5 to @since 2.5.0 inn class-ftp.php file

  • wp-admin/includes/class-ftp-pure.php

    diff --git a/wp-admin/includes/class-ftp-pure.php b/wp-admin/includes/class-ftp-pure.php
    index 38d348badf..affc5382fc 100644
    a b  
    11<?php
    22/**
    3  * PemFTP - A Ftp implementation in pure PHP
     3 * PemFTP - An FTP implementation in pure PHP
    44 *
    55 * @package PemFTP
    66 * @since 2.5.0
  • wp-admin/includes/class-ftp-sockets.php

    diff --git a/wp-admin/includes/class-ftp-sockets.php b/wp-admin/includes/class-ftp-sockets.php
    index 5ca4a2b579..088de4f95b 100644
    a b  
    11<?php
    22/**
    3  * PemFTP - A Ftp implementation in pure PHP
     3 * PemFTP - An FTP implementation in pure PHP
    44 *
    55 * @package PemFTP
    66 * @since 2.5.0
  • wp-admin/includes/class-ftp.php

    diff --git a/wp-admin/includes/class-ftp.php b/wp-admin/includes/class-ftp.php
    index c0a7dbc8c0..8bd9034f36 100644
    a b  
    11<?php
    22/**
    3  * PemFTP - A Ftp implementation in pure PHP
     3 * PemFTP - An FTP implementation in pure PHP
    44 *
    55 * @package PemFTP
    6  * @since 2.5
     6 * @since 2.5.0
    77 *
    88 * @version 1.0
    99 * @copyright Alexey Dotsenko
     
    1717 *
    1818 * This can be redefined.
    1919 *
    20  * @since 2.5
     20 * @since 2.5.0
    2121 * @var string
    2222 */
    2323if(!defined('CRLF')) define('CRLF',"\r\n");
    if(!defined('CRLF')) define('CRLF',"\r\n"); 
    2727 *
    2828 * This can be redefined.
    2929 *
    30  * @since 2.5
     30 * @since 2.5.0
    3131 * @var int
    3232 */
    3333if(!defined("FTP_AUTOASCII")) define("FTP_AUTOASCII", -1);
    if(!defined("FTP_AUTOASCII")) define("FTP_AUTOASCII", -1); 
    3535/**
    3636 *
    3737 * This can be redefined.
    38  * @since 2.5
     38 * @since 2.5.0
    3939 * @var int
    4040 */
    4141if(!defined("FTP_BINARY")) define("FTP_BINARY", 1);
    if(!defined("FTP_BINARY")) define("FTP_BINARY", 1); 
    4343/**
    4444 *
    4545 * This can be redefined.
    46  * @since 2.5
     46 * @since 2.5.0
    4747 * @var int
    4848 */
    4949if(!defined("FTP_ASCII")) define("FTP_ASCII", 0);
    if(!defined("FTP_ASCII")) define("FTP_ASCII", 0); 
    5353 *
    5454 * This can be redefined.
    5555 *
    56  * @since 2.5
     56 * @since 2.5.0
    5757 * @var bool
    5858 */
    5959if(!defined('FTP_FORCE')) define('FTP_FORCE', true);
    6060
    6161/**
    62  * @since 2.5
     62 * @since 2.5.0
    6363 * @var string
    6464 */
    6565define('FTP_OS_Unix','u');
    6666
    6767/**
    68  * @since 2.5
     68 * @since 2.5.0
    6969 * @var string
    7070 */
    7171define('FTP_OS_Windows','w');
    7272
    7373/**
    74  * @since 2.5
     74 * @since 2.5.0
    7575 * @var string
    7676 */
    7777define('FTP_OS_Mac','m');