This topic contains 3 replies, has 3 voices, and was last updated by  Steve 7 months, 4 weeks ago.

  • Author
    Posts
  • #8297

    dameer
    Participant

    Hi,
    I’ve noticed the problem when Piklist used with SiteOrigin page builder plugin…
    It’s not possible to save SiteOrigin composed page with any other Custom Template but default one. “class-piklist-revision.php” file is the only one using ‘save_post’ WP hook/action with the very strange priority of -1 (haven’t seen anything alike yet nor I know the purpose of it). Later priority solves the problem tho!

    add_action('save_post', array('piklist_revision', 'save_post'), 99, 2);

    The latest Piklist 0.10 beta suffers from the same problem!

  • #8301

    Jason
    Keymaster

    Hi @dameer!

    We just fixed this issue which will be in the next version of the 0.10 beta. We’re also pretty excited because in fixing this bug we got to do some really good optimization with revisions. It’s the little things. 🙂

    Thank you for reporting!

  • #8302

    dameer
    Participant

    That’s great news! I’m glad to be helpful Jason. Keep up the great work!

  • #9205

    Steve
    Keymaster

    Pull request has been merged: https://github.com/piklist/piklist/pull/113

The topic ‘class Piklist_Revision issue’ is closed to new replies.