• Resolved pugwonk

    (@pugwonk)


    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>');
                 }

    https://wordpress.org/plugins/frontier-post/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author finnj

    (@finnj)

    Hmm – let me think sbout this one.

    This is very useful for many to check that users do not accidentally posts without content

    Plugin Author finnj

    (@finnj)

    Hi,

    Implemented in version 4.0.6 – New option in Frontier Post advanced option:
    Allow empty content in posts
    (you need to check the above option).

    You can download version 4.0.6 from the developer tab (or here)

    It needs some more testing before I can make it a stable version.

    Please test and let me know, if it solves your issue

    Thanks

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.