Changeset 3377688 for cf7-database/trunk/cf7-database.php
- Timestamp:
- 10/13/2025 05:49:01 PM (6 months ago)
- File:
-
- 1 edited
-
cf7-database/trunk/cf7-database.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cf7-database/trunk/cf7-database.php
r3056615 r3377688 2 2 /* 3 3 * Plugin Name: Contact Form 7 Database Lite 4 * Plugin URI: https://ninjateam.org 4 * Plugin URI: https://ninjateam.org/contact-form-7-database/ 5 5 * Description: Contact Form 7 Database is a plugin for WordPress allows you save all submitted from contact form 7 to database and display in Contact > Database menu 6 * Version: 3.0. 86 * Version: 3.0.9 7 7 * Author: NinjaTeam 8 8 * Author URI: http://ninjateam.org … … 24 24 ); 25 25 return; 26 } 27 28 if ( ! defined( 'CF7D_VERSION' ) ) { 29 define( 'CF7D_VERSION', '3.0.9' ); 26 30 } 27 31 … … 47 51 if ( ! function_exists( 'wpcf7db_plugin_init' ) ) { 48 52 function wpcf7db_plugin_init() { 53 if ( ! class_exists( 'WPCF7' ) ) { 54 add_action( 'admin_notices', function() { 55 ?> 56 <div class="notice notice-error"> 57 <p> 58 <?php 59 printf( 60 /* translators: 1: Contact Form 7, 2: Contact Form 7 Database */ 61 esc_html__( 'Please activate %1$s to use %2$s.', 'cf7-database' ), 62 '<strong>Contact Form 7</strong>', 63 '<strong>Contact Form 7 Database</strong>' 64 ); 65 ?> 66 </p> 67 </div> 68 <?php 69 } ); 70 return; 71 } 72 49 73 require_once CF7D_PLUGIN_DIR . '/functions.php'; 50 74 require_once CF7D_PLUGIN_DIR . '/frontend/init.php';
Note: See TracChangeset
for help on using the changeset viewer.