File Editor
Directories:
.. (Back)
carousel
cloudflare-analytics
comment-likes
comments
custom-post-types
geo-location
google-fonts
gravatar
infinite-scroll
likes
markdown
memberships
photon-cdn
plugin-search
post-by-email
related-posts
scan
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
stats
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-tos
Files:
blaze.php
blocks.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
geo-location.php
google-fonts.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
likes.php
markdown.php
masterbar.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
post-list.php
protect.php
publicize.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
waf.php
widget-visibility.php
widgets.php
woocommerce-analytics.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: markdown.php
<?php /** * Module Name: Markdown * Module Description: Write posts or pages in plain-text Markdown syntax * Sort Order: 31 * First Introduced: 2.8 * Requires Connection: No * Auto Activate: No * Module Tags: Writing * Feature: Writing * Additional Search Queries: md, markdown * * @package automattic/jetpack */ // Require the markdown class file. require __DIR__ . '/markdown/easy-markdown.php'; /** * Remove checkbox set in modules/markdown/easy-markdown.php. * We don't just remove the register_setting call there because the checkbox is * needed on WordPress.com, where the file is sync'ed verbatim. */ function jetpack_markdown_posting_always_on() { // why oh why isn't there a remove_settings_field? global $wp_settings_fields; if ( isset( $wp_settings_fields['writing']['default'][ WPCom_Markdown::POST_OPTION ] ) ) { unset( $wp_settings_fields['writing']['default'][ WPCom_Markdown::POST_OPTION ] ); } } add_action( 'admin_init', 'jetpack_markdown_posting_always_on', 11 );
Save Changes
Rename File
Rename