WordPress.org

Making WordPress.org

Changeset 4753


Ignore:
Timestamp:
01/21/17 10:16:57 (11 months ago)
Author:
pento
Message:

Handbook: Add wpcom-markdown support to the handbook post type.

This ensures Jetpack will render Markdown content (particularly in the WP-CLI handbook) correctly.

Props kraftbj.
Fixes #2417.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/handbook.php

    r4741 r4753  
    240240            ), 
    241241            'delete_with_user'  => false, 
    242             'supports'          => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes', 'custom-fields', 'revisions' ), 
     242            'supports'          => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes', 'custom-fields', 'revisions', 'wpcom-markdown' ), 
    243243        ); 
    244244        // Allow customization of the default post type configuration via filter. 
Note: See TracChangeset for help on using the changeset viewer.