Opened 5 years ago
Closed 5 years ago
#49980 closed defect (bug) (fixed)
lift error suppression flag from parse_url function calls
Reported by: | netpassprodsr | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | coding-standards | Cc: |
Description
This issue deals with just one of the PHP functions referenced in #24780.
Props to @howdy_mcgee for recent work with related PHP error suppression lifting (#49889)
This issue focuses on occurrances of the parse_url() function.
Research indicates that PHP version 5.3.3 removed the E_WARNING from cases where the URL parsing failed.
Also, the latest WordPress release has 5.6.20 as the minimum required PHP version.
This eliminates the purpose for error suppression on these function calls as there will never be one.
I will attach a patch file for this ticket once the formal number has been assigned.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
includes all the function calls modified plus inserted PHP Doc statements