WordPress.org

Ready to get started?Download WordPress

Forums

Multisite Language Switcher
[resolved] Same article repeated many times in relations select (7 posts)

  1. PoseLab
    Member
    Posted 1 year ago #

    I see many times repeated the same article in the select of relations and that is because the select is showing revisions of articles.

    http://wordpress.org/extend/plugins/multisite-language-switcher/

  2. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Please check again what's going on there. The select-menu shows posts which are published or draft but no revision.

  3. PoseLab
    Member
    Posted 1 year ago #

    Hi realloc

    I have just deleted all revisions from my database and I keep seeing the revisions on the select of relations

  4. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Please check if these "revisions" aren't drafts. As I said the selects (of the actual version) pull just published and draft posts. Which version do you have installed?

  5. PoseLab
    Member
    Posted 1 year ago #

    Hi

    I have WP 3.5.1 and the last version of Multisite Language Switcher. I did not deleted correctly my revisions because i used:

    DELETE FROM wp_posts WHERE post_type = "revision";

    and the post_type of my revisions is post that it is not correct (http://codex.wordpress.org/Revision_Management#Revision_Storage_Method)

    . An example of a revision in my database: post_status: inherit;post_name:508-revision;post_parent:508;post_type:post

  6. PoseLab
    Member
    Posted 1 year ago #

    Hi realloc

    I think this is the answer to my problem caused by Post Type Switcher plugin.

    http://wordpress.stackexchange.com/questions/47280/revision-records-in-wp-posts-have-original-post-type-instead-of-revision

    Thank you very much for your patience and your plugin

  7. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    OK, very good. Thanks for pointing this out because it may be useful for other users too.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.