[wp-hackers] How to use $wpdb in plugins

Chris Williams chris at clwill.com
Tue Jan 7 17:20:51 UTC 2014


And completely different from "discouraged" and/or "disallowed".

Static methods are a common OOP technology, it makes no sense to
"discourage" let alone "disallow" them.

<sheesh>

On 1/7/14 8:58 AM, "Gabriel Acosta" <gabo.acosta624 at gmail.com> wrote:

>It's not:
>http://www.php.net/manual/en/language.oop5.static.php
>
>Calling non-static methods statically generates an *E_STRICT* level
>warning.
>
>That is completely different than "PHP 5.4 and higher or something gives
>notices on static calls."



More information about the wp-hackers mailing list