profile
viewpoint

Ask questionsWhen using LearnDash, posts of type "Question" can not be enabled to use markdown

First off, thank you very much for the excellent plugin!

Describe the bug

When using LearnDash (https://www.learndash.com/), there are a few custom post types created. In Githuber-md's settings, Markdown > Writing > Enable, almost all of the custom post types are listed. "Question" is not. It would help if that was possible.

To reproduce

Steps to reproduce the behavior:

  1. Install Learndash and githuber-md
  2. Click on .../wp-admin/options-general.php?page=githuber-md (settings for githuber-md)
  3. The list of post types does not include "Question"

Expected behavior

It's expected to be able to use markdown for all post types, including "Question"

Server environment

  • WordPress version [ 5.4.2 ]
  • WP Githuber MD plugin version [ e.g. 1.15.0 ]
terrylinooo/githuber-md

Answer questions jmound

It's related to the conditional here: https://github.com/terrylinooo/githuber-md/blob/40a2885250ff57e6555eeaf304b43b3c700809cc/src/Controllers/Setting.php#L151

From what I can tell, Questions are not public. I'm not sure of what a better conditional here is.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List