Should not flag posts with no content (but title present) as Draft
-
Frontier Post currently automatically flags posts with a title but no content as Draft. This isn’t necessary from WordPress’s point of view and can cause problems for people (like me!) who want to create custom post types which have no content present.
This can be fixed by removing the following from frontier-submit-form.php:
if ( empty( $tmp_content ) ) { $tmp_content = __("No content", "frontier-post"); $post_status = 'draft'; frontier_post_set_msg('<div id="frontier-post-alert">'.__("Warning", "frontier-post").': '.__("Content was empty", "frontier-post").' - '.__("Post status set to draft", "frontier-post").'</div>'); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Should not flag posts with no content (but title present) as Draft’ is closed to new replies.