Re:Huge attack on WordPress sites could spawn never-before-s...
by namwen on Saturday April 13, 2013 @08:43AM
(#5543215)
Yeah that hits home. I build Wordpress websites daily and also manage a number of them which are years old and I had no hand in making. Pressing that update button on some of these sites really is like russian roulette.
Re:Huge attack on WordPress sites could spawn never-before-s...
by pbogdan on Saturday April 13, 2013 @02:13PM
(#5544049)
Not sure of the quality of it but Wordpress does have automated test suite: http://make.wordpress.org/core/handbook/automated-testing/ https://unit-tests.svn.wordpress.org/trunk. Do you have any experience with those?
Re:Huge attack on WordPress sites could spawn never-before-s...
by jacques_chester on Saturday April 13, 2013 @10:04PM
(#5545540)
Well I am happy to eat my hat on this one, with a side of crow.
Re:Huge attack on WordPress sites could spawn never-before-s...
by jakejake on Sunday April 14, 2013 @01:41AM
(#5546027)
Well the entire style of WordPress uses the global namespace for everything so you do have to get over that shock. But, once you do there's a kinda simplicity to the whole thing. That's my impression anyway.
Every time I duck under the hood to debug something I always come away stunned and disturbed by the frequent use of globals, the frequent interleaving of different concerns and basically the all-round untraceability of the design as soon as themes or plugins are added. It's horrid.
Oh! And there are still no unit or functional tests. And no concept of release management (such as having security patches released independently of feature patches), which is why every Wordpress administrator gets to play their favourite game when there's a new release: continue with known-security-flaw code, or install code that might just blow away your data?
Place yer bets, place yer beeeets!