[wp-trac] [WordPress Trac] #29719: Connection error to WordPress.org when HTTP calls disabled
WordPress Trac
noreply at wordpress.org
Fri Jan 30 13:25:12 UTC 2015
#29719: Connection error to WordPress.org when HTTP calls disabled
-----------------------------+------------------------------
Reporter: grapplerulrich | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 4.0
Severity: minor | Resolution:
Keywords: | Focuses: administration
-----------------------------+------------------------------
Comment (by najamelan):
These are a few of the fixes I made for this:
https://github.com/najamelan/WordPress/commits/bugfix/block_ext_request_inconsistency
It might not be the best way, and it's definitely not complete. I
discovered another error message the other day somewhere in the dashboard,
but I don't remember where right at the moment.
In general the problem is the design choices of wordpress, I think it
wasn't build with flexibility in mind (eg. it assumes an internet
connection, it assumes your domain doesn't change, it assumes mysql as a
db, ...) and I think it has never been rewritten from scratch to make it
proper object oriented (eg. way less if else checks all over the place).
All that to say I couldn't make you a formal patch because I don't
understand nor agree with the current design choices of wp and I don't
know how this would best be fixed other than rewriting the entire core to
make less assumptions all over the place.
Hope it helps someone forward. I will try to hunt down that error I had
the other day and add it to that github branch for other people trying to
have a reference of all places where the core assumes internet.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29719#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list