“Hey there! Nice work on this plugin/widget code. However, it wonâ€™t work on future versions of WordPress because youâ€™ve queried a table that will no longer be available. Links are tricky business these daysâ€¦ “
Interesting. The widget I just wrote also queries the database table directly. The API doesn’t allow for much manipulation of the links, as it has anchor tags hard-coded in (not viable for use in a drop down list).
I’m wondering if there is a reference online for how newer versions will change in regards to this? I’m assuming he’s referring to WP 2.1.
It would also be nice if the API allowed for a way to use the data like I am, without needing to re-implement the functions to format them appropriately. get_archives() was designed intelligently for this type of use. Unfortunately get_links() and list_cats() are not.