[wp-trac] [WordPress Trac] #35892: Small issue in "get_calendar" function
WordPress Trac
noreply at wordpress.org
Mon Feb 22 01:29:30 UTC 2016
#35892: Small issue in "get_calendar" function
------------------------------+----------------------
Reporter: yetAnotherDaniel | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
------------------------------+----------------------
Changes (by pento):
* status: new => closed
* version: 4.4.2 =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Thanks for the bug report!
The query in `get_calendar()` is written as `SELECT 1 as test...`, which
does work correctly with `mysqli_fetch_object()`.
It would require significant re-engineering and edge case handling in WPDB
to handle the `SELECT 1...` case, which doesn't seem to have much payoff
when there are simple workarounds available.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35892#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list