62
DevKev
7y

Need to debug a plugin a Client purchased. Just saw:
if (true) {
$a =1+1;
} else {
$a = 1+1;
}
What the fuck. Don't want to imagine how the rest looks like...

Comments
  • 9
    There is even a variable named "phan_nguyen"... gonna be a long night
  • 2
    Learn where the developer is from. You know, in PHP the scope operator :: has hebrew name as a symbol. For a long time it was the main error info. Imagine my WTF when I saw this the first time.
  • 11
    Reasons I don't use wordshit
  • 1
    @mt3o what Hebrew symbol are you talking about?
    i know the vast majority of them as i speak and read Hebrew daily..
  • 4
    Paamayim Nekudotaim ( :: )
  • 1
    Once worked with one WP plugin that randomly insertes a blanck row in the users table, new users were un able to crete an acc
  • 2
    @bioDan two times two dots. As stated above.
  • 2
    Don't slag WP. This guy who wrote it obviously was paid by LOC.
    WP itself isn't bad. It's the idiots who write shitty plugins.
  • 1
    @mt3o @Demitpi omfg that's unnecessarily long 😳
  • 0
    @bioDan The developers of PHP didn't find a proper english name for that operator, so they left it with the hebrew(english) translation😅
  • 1
    @Demitpi how do they prefer that to simply "doubleColon" or something? I'm inclined to think it was an intentional troll 😈
  • 1
    @bioDan it's the Scope Operator. Now it's named that way, however it's symbol name is T_PAASOMETHING. And this won't change :-)
    For what is worth, error messages regarding this operator are more descriptive these days.
  • 0
    In PHP OctoberCMS is quite cool, built on Laravel. I like it much more, coming for 5.5 soon too. Just my opinion, and I haven't had any happiness with WP myself.
Add Comment