5 ms·
I haven't looked at wordpress code in a really long time, but 5 or so years ago I had to hack up a wordpress install for a client. There was one giant monolithi
by jshen 16y ago
I haven't looked at wordpress code in a really long time, but 5 or so years ago I had to hack up a wordpress install for a client. There was one giant monolithic method that created a string for the sql query to get the posts for pretty much every imaginable part of a wordpress site that is an index of posts. there was a combinatorial explosion of options you could pass this monolith and it was nearly impossible as someone who didn't write it to figure out how to make it do something really simple like add paging to the RSS url.
There is no reason any code in any language should have this sort of problem. It isn't merely cruft from a long legacy of existence.