WordPress.org

Ready to get started?Download WordPress

Forums

is my database a 2.6 database? (1 post)

  1. wpNewbie80
    Member
    Posted 5 years ago #

    hello, I recently upgraded from 2.5.1 to 2.6 and all seemed to go well.

    I had the page saying my database needed updating, I clicked the link and all seemed fine. However, I was looking in my database whilst making a querystring and noticed that my field names contradict the following taken from

    get_posts from codex

    Version 2.6 changed a number of the orderby options. Table fields that begin with post_ no longer have that part of the name. For example, post_title is now title and post_date is now date.

    when I view the wp_posts table, I still have fieldnames like post_title rather than title. Does this mean my database is wrong or is it the code itself that drops the 'post_' prefix rather than the database?

    Thanks for your time

    J

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.