• Hi dear WP community,

    actually i`m developing a wordpress based social network. My first question is:

    – How “heavy” are comments compared to custom posts? (only text content)
    [Reason: i want to have special comment types – so i made allready a mod of “comment popularity plugin” with pro and contra comment meta – but its not propper loading as template part, and i want to have it in Ajax. Does it make sence to make custom post types with children for child comments?

    Second question:

    – I have a custom post type “messages” – not public queryeable. How save is it from beeing read?

    All love to WordPress!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The size of the table is a large part of what dictates “heaviness” of queries. On some sites, comments are much greater, other sites, posts are greater.

    I don’t see the point of trying to make posts children of comments. It would need to be done through meta data or a custom table, making related queries much “heavier”. The built in child/parent relationship of same type objects is much more efficient to query for.

    Non-public posts are safe from URL hacking and similar trivial attempts. If there is a vulnerability somewhere, SQL injection for example, no data is safe.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom post type as comment & more crasy stuff’ is closed to new replies.