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

Leo Baiano ljunior2005 at gmail.com
Tue Jan 7 14:41:30 UTC 2014


I believe you are mistaken Guus, it makes little sense to discourage the
use of Static calls


2014/1/7 Gabriel Acosta <gabo.acosta624 at gmail.com>

> Static calls are discouraged? will be disallowed? o my god this list does
> gets hilarious from time to time. What is actually discouraged, not from
> the PHP standard but from other methodologies like OOP is the use of
> globals, but clearly that's just the way WP is so...
>
>
> On Tue, Jan 7, 2014 at 7:30 AM, Chris Williams <chris at clwill.com> wrote:
>
> > Evidence please?
> >
> > On 1/7/14 1:09 AM, "Guus (IFS)" <guus at inspiration-for-success.com>
> wrote:
> >
> > >In newer PHP versions static calls are discouraged. Guess in future
> > >versions
> > >even disallowed.
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Amplexos,

Leo Baiano
Web Developer


More information about the wp-hackers mailing list