bordoni / fakerpress

A WordPress plugin that implements an easy way to create fake data inside WordPress.
http://fakerpress.com
Other
338 stars 54 forks source link

Pingback setting displays comment metaboxes even if "Comments Status" is set to "Comments closed" #132

Open adriantoll opened 6 years ago

adriantoll commented 6 years ago

When faking posts for a post type without comment functionality (i.e. "comments" is not in the "supports" array of the post type declaration), even if "Comments Status" is set to "Comments closed" some of the posts have pingbacks enabled, which then causes the comments metaboxes to be displayed. I have two suggestions:

  1. If "comments" is not in the "supports" array of the post type declaration, this should override any settings in the Fakerpress form, with both comments and pingbacks disabled.

  2. Have the pingback status on a faked post reflect the Comments Status setting, or have a separate Pingbacks Status setting.