Changeset 2248638
- Timestamp:
- 02/22/2020 08:47:52 AM (6 years ago)
- Location:
- message-to-author/trunk
- Files:
-
- 29 added
- 3 deleted
- 2 edited
- 2 copied
- 2 moved
-
LICENSE.txt (added)
-
README.txt (added)
-
admin/admin.php (deleted)
-
admin/class-message-to-author-admin.php (added)
-
admin/css (added)
-
admin/css/message-to-author-admin.css (added)
-
admin/index.php (added)
-
admin/js (added)
-
admin/js/message-to-author-admin.js (added)
-
admin/partials (added)
-
admin/partials/admin_message.php (moved) (moved from message-to-author/trunk/admin/admin_message.php) (1 prop)
-
admin/partials/m2a-admin-settings-display.php (moved) (moved from message-to-author/trunk/admin/option_page.php) (1 diff, 1 prop)
-
admin/partials/message-to-author-admin-display.php (added)
-
functions (deleted)
-
includes (added)
-
includes/class-message-to-author-activator.php (added)
-
includes/class-message-to-author-deactivator.php (added)
-
includes/class-message-to-author-i18n.php (added)
-
includes/class-message-to-author-loader.php (added)
-
includes/class-message-to-author.php (added)
-
includes/index.php (added)
-
index.php (added)
-
languages/message-to-author.pot (added)
-
message-to-author.php (modified) (1 diff)
-
public (added)
-
public/class-message-to-author-public.php (added)
-
public/css (added)
-
public/css/message-to-author-public.css (added)
-
public/index.php (added)
-
public/js (added)
-
public/js/message-to-author-public.js (added)
-
public/partials (added)
-
public/partials/message-to-author-public-display.php (added)
-
public/partials/messagebox.php (copied) (copied from message-to-author/trunk/templates/messagebox.php) (1 prop)
-
public/partials/popup.php (copied) (copied from message-to-author/trunk/templates/popup.php) (1 prop)
-
readme.txt (modified) (1 diff)
-
templates (deleted)
-
uninstall.php (added)
Legend:
- Unmodified
- Added
- Removed
-
message-to-author/trunk/admin/partials/admin_message.php
-
Property
svn:eol-style
set to
native
-
Property
svn:eol-style
set to
-
message-to-author/trunk/admin/partials/m2a-admin-settings-display.php
-
Property
svn:eol-style
set to
native
r1994906 r2248638 1 <?php 2 3 /** 4 * Provide a admin area view for the plugin 5 * 6 * This file is used to markup the admin-facing aspects of the plugin. 7 * 8 * @link https://codelab7.com 9 * @since 1.0.0 10 * 11 * @package Message_To_Author 12 * @subpackage Message_To_Author/admin/partials 13 */ 14 ?> 15 16 <!-- This file should primarily consist of HTML with a little bit of PHP. --> 1 17 <style> 2 18 .m2a-option { -
Property
svn:eol-style
set to
-
message-to-author/trunk/message-to-author.php
r1994901 r2248638 1 1 <?php 2 2 3 /** 4 * The plugin bootstrap file 5 * 6 * This file is read by WordPress to generate the plugin information in the plugin 7 * admin area. This file also includes all of the dependencies used by the plugin, 8 * registers the activation and deactivation functions, and defines a function 9 * that starts the plugin. 10 * 11 * @link https://codelab7.com 12 * @since 1.0.0 13 * @package Message_To_Author 14 * 15 * @wordpress-plugin 16 * Plugin Name: Message To Auhtor 17 * Plugin URI: https://wordpress.org/plugins/message-to-author/ 18 * Description: Just Message/feedback/query to Auther, You can Also ask for product to seller with woocommerce | enable from settings or use shortcode [message2author] for adding messagebox 19 * Version: 3.0.0 20 * Author: Parth Sutariya 21 * Author URI: https://codelab7.com 22 * License: GPL-2.0+ 23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 24 * Text Domain: message-to-author 25 * Domain Path: /languages 26 */ 27 28 // If this file is called directly, abort. 29 if ( ! defined( 'WPINC' ) ) { 30 die; 31 } 3 32 4 33 /** 5 * Plugin Name: Message to Auther 6 * Plugin URI: https://wordpress.org/plugins/message-to-author 7 * Description: Just Message/feedback/query to Auther, You can Also ask for product to seller with woocommerce | enable from settings or use shortcode [message2author] for adding messagebox 8 * Author: Parth Sutariya 9 * Version: 2.2.0 10 * Author URI: http://github.com/pathusutariya 11 * License: GPLv2+ 12 * Text Domain: message-to-author 13 * Domain Path: /languages 34 * Currently plugin version. 35 * Start at version 1.0.0 and use SemVer - https://semver.org 36 * Rename this for your plugin and update it as you release new versions. 14 37 */ 38 define( 'MESSAGE_TO_AUTHOR_VERSION', '3.0.0' ); 15 39 16 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 17 define( 'M2A_VERSION', '2.2.0' ); 18 define( 'M2A__MINIMUM_WP_VERSION', '4.7' ); 19 define( 'M2A__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 40 /** 41 * The code that runs during plugin activation. 42 * This action is documented in includes/class-message-to-author-activator.php 43 */ 44 function activate_message_to_author() { 45 require_once plugin_dir_path( __FILE__ ) . 'includes/class-message-to-author-activator.php'; 46 Message_To_Author_Activator::activate(); 47 } 20 48 21 require 'admin/admin.php'; 22 require 'functions/functions.php'; 49 /** 50 * The code that runs during plugin deactivation. 51 * This action is documented in includes/class-message-to-author-deactivator.php 52 */ 53 function deactivate_message_to_author() { 54 require_once plugin_dir_path( __FILE__ ) . 'includes/class-message-to-author-deactivator.php'; 55 Message_To_Author_Deactivator::deactivate(); 56 } 23 57 24 // On Active plugin creation of database table 25 register_ activation_hook( __FILE__ , 'm2a_activate' );58 register_activation_hook( __FILE__, 'activate_message_to_author' ); 59 register_deactivation_hook( __FILE__, 'deactivate_message_to_author' ); 26 60 61 /** 62 * The core plugin class that is used to define internationalization, 63 * admin-specific hooks, and public-facing site hooks. 64 */ 65 require plugin_dir_path( __FILE__ ) . 'includes/class-message-to-author.php'; 27 66 28 // this function is postponded to next version 29 register_uninstall_hook( __FILE__ , 'm2a_uninstall' ); 67 /** 68 * Begins execution of the plugin. 69 * 70 * Since everything within the plugin is registered via hooks, 71 * then kicking off the plugin from this point in the file does 72 * not affect the page life cycle. 73 * 74 * @since 1.0.0 75 */ 76 function run_message_to_author() { 30 77 31 ?> 78 $plugin = new Message_To_Author(); 79 $plugin->run(); 80 81 } 82 run_message_to_author(); -
message-to-author/trunk/public/partials/messagebox.php
-
Property
svn:eol-style
set to
native
-
Property
svn:eol-style
set to
-
message-to-author/trunk/public/partials/popup.php
-
Property
svn:eol-style
set to
native
-
Property
svn:eol-style
set to
-
message-to-author/trunk/readme.txt
r1994906 r2248638 4 4 Donate link: paypal.me/pathusutariya 5 5 Requires at least: 4.7 6 Tested up to: 5. 0.16 Tested up to: 5.3.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses
Note: See TracChangeset
for help on using the changeset viewer.