Giter Site home page Giter Site logo

Comments (3)

XedinUnknown avatar XedinUnknown commented on June 17, 2024 1

Currently, this is not causing problems because the [query][1] has only 1 field, which presumably gets picked up automatically by WP, disregarding the column passed to get_col() completely. This does not mean that it is not an issue, however. I will continue the investigation later.

from transient-cache.

XedinUnknown avatar XedinUnknown commented on June 17, 2024 1

This is now a problem. wpdb#get_var() explicitly does array_values() on the row. This is IMHO pretty stupid, because nobody retrieves column values by index: column order in a table may easily change. Nevertheless, this in fact breaks the functionality. I'll be looking into this.

from transient-cache.

szepeviktor avatar szepeviktor commented on June 17, 2024

The Fun begins on Level 6! @phpstan's benefit is far greater than its price.

from transient-cache.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.