wp-help icon indicating copy to clipboard operation
wp-help copied to clipboard

Address issue #59 - CWS_WP_Help_Plugin::api_slurp()

Open jibbius opened this issue 4 years ago • 2 comments

Resolves #59

jibbius avatar Sep 17 '20 07:09 jibbius

(Updated, to remove branch conflicts).

jibbius avatar Oct 15 '20 09:10 jibbius

Short version of the issue:

  • CWS_WP_Help_Plugin::api_slurp() doesn't register the wp-help post type.
  • CWS_WP_Help_Plugin::api_slurp() is capable of calling wp_update_post(), however.
  • Other plugins attach themselves to this hook (and/or) wp_insert_post... and can reasonably expect the post type to be registered.
  • Thus, this causes an error/warning in some cases.
  • The error/warning gets thrown in the other plugin... but ultimately the issue is in wp-help.

jibbius avatar Oct 15 '20 09:10 jibbius