Forums

Logic behind creating wp-postmeta meta value (7 posts)

  1. stapuff106
    Member
    Posted 10 months ago #

    I am looking for the logic behind what creates the meta value in the wp-postmeta table. What does 1310953859:1 mean in the example below?

    here is an example

    meta_key: _edit_lock
    meta_value: 1310953859:1

  2. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    That's a value that is only used internally by WordPress.

  3. stapuff106
    Member
    Posted 10 months ago #

    Do you know or do you know where I can get the logic that actually creates it? Is it a converted date, time, someones birthday, combo of all the above? Can I place in that field anything I want as long as it is never used again (unique)?

    Does it have to be a certian length, numbers only, etc?

    Thanks,

    stapuff106

  4. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Perhaps you need to look at Using_Custom_Fields?

  5. stapuff106
    Member
    Posted 10 months ago #

    esmi -

    I am just trying to find the logic behind it.

    stapuff106

  6. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Then you need to start examining the WordPress core files. The field in question may be used to issue a warning when two users try to edit the same Post or Page

  7. stapuff106
    Member
    Posted 10 months ago #

    ok...I appreciate it. I am not trying to be difficult. I have code that I am working on that allows me to "pre" post via pushing the data directly to the database, however, I keep "missing schedule" and I feel this is the area of concern.

    When you publish a scheduled post through wp it works perfectly. When I pre post I miss schedule every time. I found that wp-postmeta database is being updated through the admin panel, but I was not through my code. So i feel this is the last area.

    I do not really understand the core files enough to understand where this could be getting created.

    Thanks,

    stapuff106

Reply

You must log in to post.

About this Topic