WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 3 years ago

#1508 closed enhancement (maybelater)

DevHub Switch to Private Parser Post Content

Reported by: lkwdwrd Owned by:
Milestone: Priority: low
Component: Developer Hub Keywords: has-patch dev-feedback
Cc:

Description

If this Github pull request for the parser is accepted (https://github.com/WordPress/phpdoc-parser/pull/165), the next time content is parsed for DevHub, things may look a little funny because there is an expectation in the DevHub theme that the content will get run through wpautop. However, post PR that is no longer the case. To fix that, this updates to remove wpautop form the_content and adds a filter that only runs wpautop on non-parser post types and provides a pre-autop in the instance a Trac ticket is attached and the content is updated.

Attachments (1)

private-content.patch (6.6 KB) - added by lkwdwrd 4 years ago.
Switches parser post types to not use wpautop on the_content

Download all attachments as: .zip

Change History (2)

@lkwdwrd
4 years ago

Switches parser post types to not use wpautop on the_content

#1 @DrewAPicture
3 years ago

  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.