Plugin Directory

Changeset 3135988


Ignore:
Timestamp:
08/15/2024 07:46:52 AM (20 months ago)
Author:
alpipego
Message:

Update to version 1.1.8 from GitHub

Location:
ultimate-410
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ultimate-410/tags/1.1.8/readme.txt

    r3092669 r3135988  
    44Tags: 410, http-status
    55Requires at least: 5.1
    6 Tested up to: 6.5
     6Tested up to: 6.6
    77Requires PHP: 7.0
    8 Stable tag: 1.1.7
     8Stable tag: 1.1.8
    99License: MIT
    1010License URI: https://opensource.org/licenses/MIT
     
    6060== Changelog ==
    6161
     62= 1.1.8  =
     63
     64* * Remove deprecated ini_set() calls with `auto_detect_line_endings`.
     65
    6266= 1.1.7 =
    6367
  • ultimate-410/tags/1.1.8/src/UploadOption.php

    r2845780 r3135988  
    5555        ];
    5656
    57         ini_set('auto_detect_line_endings', true);
    5857        $f         = fopen($file['tmp_name'], 'r');
    5958        $firstLine = trim(fgets($f));
    6059        fclose($f);
    61         ini_set('auto_detect_line_endings', false);
    6260        foreach ($delimiters as $delimiter => &$count) {
    6361            $count = count(str_getcsv($firstLine, $delimiter));
     
    108106        $data      = [];
    109107
    110         ini_set('auto_detect_line_endings', true);
    111108        $f        = fopen($file['tmp_name'], 'rb');
    112109        $rowCount = 0;
     110        $value    = '';
    113111        while (($row = fgetcsv($f, 0, $delimiter)) !== false) {
    114112            if ($rowCount === 0) {
     
    124122        }
    125123        fclose($f);
    126         ini_set('auto_detect_line_endings', false);
    127124
    128125        // remove all remaining fq URLs and empty values.
  • ultimate-410/trunk/readme.txt

    r3092669 r3135988  
    44Tags: 410, http-status
    55Requires at least: 5.1
    6 Tested up to: 6.5
     6Tested up to: 6.6
    77Requires PHP: 7.0
    8 Stable tag: 1.1.7
     8Stable tag: 1.1.8
    99License: MIT
    1010License URI: https://opensource.org/licenses/MIT
     
    6060== Changelog ==
    6161
     62= 1.1.8  =
     63
     64* * Remove deprecated ini_set() calls with `auto_detect_line_endings`.
     65
    6266= 1.1.7 =
    6367
  • ultimate-410/trunk/src/UploadOption.php

    r2845780 r3135988  
    5555        ];
    5656
    57         ini_set('auto_detect_line_endings', true);
    5857        $f         = fopen($file['tmp_name'], 'r');
    5958        $firstLine = trim(fgets($f));
    6059        fclose($f);
    61         ini_set('auto_detect_line_endings', false);
    6260        foreach ($delimiters as $delimiter => &$count) {
    6361            $count = count(str_getcsv($firstLine, $delimiter));
     
    108106        $data      = [];
    109107
    110         ini_set('auto_detect_line_endings', true);
    111108        $f        = fopen($file['tmp_name'], 'rb');
    112109        $rowCount = 0;
     110        $value    = '';
    113111        while (($row = fgetcsv($f, 0, $delimiter)) !== false) {
    114112            if ($rowCount === 0) {
     
    124122        }
    125123        fclose($f);
    126         ini_set('auto_detect_line_endings', false);
    127124
    128125        // remove all remaining fq URLs and empty values.
Note: See TracChangeset for help on using the changeset viewer.