Skip to content

v0.8.125

Choose a tag to compare

@fahdi fahdi released this 30 Sep 21:59
· 1194 commits to main since this release
  • Security: the content tools now require each post type's own capabilities. A non-public post type needs that type's edit capability, and one without an admin screen is refused below administrator, so Contributors, Authors and Editors can no longer read other plugins' private records (such as enrollments, orders or form entries) through the generic post tools. Some calls that used to succeed are now refused.
  • New filter wpmcp_agent_readable_hidden_post_types opens specific non-public types without an admin screen to users who hold their capabilities.
  • list-posts with post_type "any", search-content and count-content now leave out post types the caller may not read.