• 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

Viewing 6 replies - 1 through 6 (of 6 total)
  • That’s a value that is only used internally by WordPress.

    Thread Starter stapuff106

    (@stapuff106)

    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

    Perhaps you need to look at Using_Custom_Fields?

    Thread Starter stapuff106

    (@stapuff106)

    esmi –

    I am just trying to find the logic behind it.

    stapuff106

    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

    Thread Starter stapuff106

    (@stapuff106)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Logic behind creating wp-postmeta meta value’ is closed to new replies.