WordPress.org

Ready to get started?Download WordPress

Forums

CronJob deletes my inputs (2 posts)

  1. Alexis-Mag
    Member
    Posted 1 year ago #

    Hello,

    I use the cron job to publish custom posts in the future. In some of the posts, i used inputs (text, hidden, and button) and these elements are all removed by the cron execution...

    If I publish myself the post, this is not happen : my post is the same i've wrote ; the trouble is just when the post is published by the cronJob.

    I think about a sanitize function which deletes itself the fields, but I can't find in what file it could be...

    Any ideas ?

  2. Alexis-Mag
    Member
    Posted 1 year ago #

    I reply to myself, it's a bug from v 3.5 : a ticket and a fix has already been posted :
    http://core.trac.wordpress.org/ticket/22944

Topic Closed

This topic has been closed to new replies.

About this Topic