Forums

wp_postmeta for wp_attached_file (1 post)

  1. jsmoe
    Member
    Posted 4 years ago #

    I am trying to synchronize a test and production database and had a question on the wp_postmeta table.

    In the wp_postmeda table, there is an entry for an attached file (meta_key = _wp_attached_file) with a meta_value of the directory I uploaded the file from.

    For example, I uploaded the file from /temp and WordPress placed the file in the /wp-content/uploads directory. However, the meta_value in wp_postmeta table is still /temp.

    What is the meta_value used for? Why is it not the directory the file is in on the server?

Topic Closed

This topic has been closed to new replies.

About this Topic