Skip to content

Password protected sites producing an error (and more problems) #9

Open
@Zodiac1978

Description

@Zodiac1978

I think 401 should be ignored too, like 405:
https://github.com/pluginkollektiv/spcl/blob/develop/inc/class-spcl.php#L230

People could want to link on password protected sites which need authorization.
See also: https://core.trac.wordpress.org/ticket/36638#comment:5

Maybe just rejecting 404 and 410 as suggested here:
https://core.trac.wordpress.org/ticket/36638#comment:7

On the other hand the whole check is not very reliable at all:
https://core.trac.wordpress.org/ticket/36638#comment:28

Linkedin pages are returning 999 as status code for example.
Medium seems to reject Requests from WordPress with a 403.
https://core.trac.wordpress.org/ticket/36638#comment:32

And more reasons to skip the whole thing altogether:
https://core.trac.wordpress.org/ticket/36638#comment:46

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions