Server IP : 52.91.253.208 / Your IP : 18.119.138.202 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins_old/jetpack/modules/ |
Upload File : |
<?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 */ include dirname( __FILE__ ) . '/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 );