I’m getting an error on my debug.log everytime I click to add a new post on my Custom Post Type. Please see the attached image.
I made some debug to find where the problem is and can’t understand what the line 228 on post-submit-meta-box.php should do because it always pass false (on new post) to the WordPress function touch_time on the second argument and it cause the error.
File: piklist/parts/shared/post-submit-meta-box.php
Line: 228
<?php touch_time(($action == 'edit'), ($pagenow != 'post-new.php'), 4); ?>
Attachments:
You must be
logged in to view attached files.