wp-contact-form-7.php (1797B)
1 <?php 2 /* 3 Plugin Name: Contact Form 7 4 Plugin URI: https://contactform7.com/ 5 Description: Just another contact form plugin. Simple but flexible. 6 Author: Takayuki Miyoshi 7 Author URI: https://ideasilo.wordpress.com/ 8 Text Domain: contact-form-7 9 Domain Path: /languages/ 10 Version: 5.4.2 11 */ 12 13 define( 'WPCF7_VERSION', '5.4.2' ); 14 15 define( 'WPCF7_REQUIRED_WP_VERSION', '5.5' ); 16 17 define( 'WPCF7_TEXT_DOMAIN', 'contact-form-7' ); 18 19 define( 'WPCF7_PLUGIN', __FILE__ ); 20 21 define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( WPCF7_PLUGIN ) ); 22 23 define( 'WPCF7_PLUGIN_NAME', trim( dirname( WPCF7_PLUGIN_BASENAME ), '/' ) ); 24 25 define( 'WPCF7_PLUGIN_DIR', untrailingslashit( dirname( WPCF7_PLUGIN ) ) ); 26 27 define( 'WPCF7_PLUGIN_MODULES_DIR', WPCF7_PLUGIN_DIR . '/modules' ); 28 29 if ( ! defined( 'WPCF7_LOAD_JS' ) ) { 30 define( 'WPCF7_LOAD_JS', true ); 31 } 32 33 if ( ! defined( 'WPCF7_LOAD_CSS' ) ) { 34 define( 'WPCF7_LOAD_CSS', true ); 35 } 36 37 if ( ! defined( 'WPCF7_AUTOP' ) ) { 38 define( 'WPCF7_AUTOP', true ); 39 } 40 41 if ( ! defined( 'WPCF7_USE_PIPE' ) ) { 42 define( 'WPCF7_USE_PIPE', true ); 43 } 44 45 if ( ! defined( 'WPCF7_ADMIN_READ_CAPABILITY' ) ) { 46 define( 'WPCF7_ADMIN_READ_CAPABILITY', 'edit_posts' ); 47 } 48 49 if ( ! defined( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY' ) ) { 50 define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'publish_pages' ); 51 } 52 53 if ( ! defined( 'WPCF7_VERIFY_NONCE' ) ) { 54 define( 'WPCF7_VERIFY_NONCE', false ); 55 } 56 57 if ( ! defined( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA' ) ) { 58 define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false ); 59 } 60 61 if ( ! defined( 'WPCF7_VALIDATE_CONFIGURATION' ) ) { 62 define( 'WPCF7_VALIDATE_CONFIGURATION', true ); 63 } 64 65 // Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead. 66 define( 'WPCF7_PLUGIN_URL', 67 untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) 68 ); 69 70 require_once WPCF7_PLUGIN_DIR . '/load.php';