/* Plugin Name: MoreAffiliate Lite Plugin URI: https://morewptools.com/product/moreaffiliate Description: A modern responsive WooCommerce dashboard. Upgrade to Pro for affiliate features and support ticket system. Version: 1.0.1 Author: MoreWPTools Author URI: https://morewptools.com Text Domain: moreaffiliate-lite License: GPLv2 or later */ if (!defined('ABSPATH')) { exit; } // Define constants define('MOREAFFILIATE_LITE', true); define('MOREAFFILIATE_VERSION', '1.0.1'); define('MOREAFFILIATE_DIR', plugin_dir_path(__FILE__)); define('MOREAFFILIATE_URL', plugin_dir_url(__FILE__)); // Load essential classes require_once MOREAFFILIATE_DIR . 'includes/class-moreaffiliate-core.php'; require_once MOREAFFILIATE_DIR . 'includes/class-moreaffiliate-tracking.php'; require_once MOREAFFILIATE_DIR . 'includes/class-moreaffiliate-admin.php'; // Initialize the plugin function moreaffiliate_init() { // Check if WooCommerce is active if (!class_exists('WooCommerce')) { add_action('admin_notices', 'moreaffiliate_missing_wc_notice'); return; } // Proceed with plugin initialization new MoreAffiliate_Core(); new MoreAffiliate_Tracking(); new MoreAffiliate_Admin(); } add_action('plugins_loaded', 'moreaffiliate_init', 10); // Load text domain function moreaffiliate_load_textdomain() { load_plugin_textdomain('moreaffiliate', false, dirname(plugin_basename(__FILE__)) . '/languages/'); } add_action('plugins_loaded', 'moreaffiliate_load_textdomain'); // Admin notice if WooCommerce is not active function moreaffiliate_missing_wc_notice() { echo '

MoreAffiliate requires WooCommerce to be installed and active.

'; } // Deactivation feedback enqueue function moreaffiliate_enqueue_deactivation_scripts() { $screen = get_current_screen(); if ($screen && $screen->id === 'plugins') { wp_enqueue_style('moreaffiliate-feedback-css', MOREAFFILIATE_URL . 'assets/css/feedback.css', [], MOREAFFILIATE_VERSION); wp_enqueue_script('moreaffiliate-feedback-js', MOREAFFILIATE_URL . 'assets/js/feedback.js', ['jquery'], MOREAFFILIATE_VERSION, true); wp_localize_script('moreaffiliate-feedback-js', 'moreaffiliate_feedback', [ 'ajax_url' => admin_url('admin-ajax.php'), 'nonce' => wp_create_nonce('moreaffiliate_deactivation_feedback'), 'plugin' => plugin_basename(__FILE__) ]); } } add_action('admin_enqueue_scripts', 'moreaffiliate_enqueue_deactivation_scripts'); // Handle feedback submission via AJAX and send email function moreaffiliate_submit_feedback() { check_ajax_referer('moreaffiliate_deactivation_feedback', 'nonce'); $reason = sanitize_text_field($_POST['reason'] ?? ''); $details = sanitize_textarea_field($_POST['details'] ?? ''); $site_url = get_site_url(); $timestamp = current_time('mysql'); $to = 'support@morewptools.com'; $subject = 'MoreAffiliate Deactivation Feedback'; $message = "A user has deactivated MoreAffiliate. Here’s their feedback:\n\n"; $message .= "Reason: $reason\n"; $message .= "Details: $details\n"; $message .= "Site URL: $site_url\n"; $message .= "Timestamp: $timestamp\n"; $headers = ['Content-Type: text/plain; charset=UTF-8']; $sent = wp_mail($to, $subject, $message, $headers); if ($sent) { wp_send_json_success(); } else { wp_send_json_error(['message' => 'Failed to send feedback. Deactivation will proceed.']); } } add_action('wp_ajax_moreaffiliate_submit_feedback', 'moreaffiliate_submit_feedback'); function moreaffiliate_override_wc_templates($template, $template_name, $template_path) { if ($template_name === 'myaccount/orders.php') { $custom_template = MOREAFFILIATE_DIR . 'templates/myaccount/orders.php'; if (file_exists($custom_template)) { return $custom_template; } } return $template; } add_filter('wc_get_template', 'moreaffiliate_override_wc_templates', 10, 3); Influencer who snatched baby wombat from its mom issues apology – NNUForum

Influencer who snatched baby wombat from its mom issues apology



The U.S. influencer who drew criticism this week for stealing a baby wombat from its mother issued a lengthy apology on her Instagram account Saturday, saying she only picked up the animal because she was afraid it would be hit by a car.

Sam Jones, a self-described “outdoor enthusiast” with more than 96,000 Instagram followers, found herself in hot water this week after she posted video of the ordeal, which showed the baby wombat struggling and hissing at her as its mother ran after them.

The video has since been deleted.

Jones said she saw the wombats on the side of a road, not moving, and grew concerned. She said she tried to ensure they both got off of the road safely, but when she approached the animals, the baby did not move, Jones said, so she “made a snap judgment to pick up the joey” to see if it was sick.

“I ran, not to rip the joey from its mother, but from fear she might attack me. The snap judgment I made in these moments was never from a place of harm or stealing a joey,” Jones said.

Jones said she was excited to see the wombat and “looked it over” quickly before returning it to its mother and ensuring the pair got off the road.

Upon reflection, Jones said, she realized she could have handled the situation better, but that her intentions were good.

“I have learned from this situation, and am truly sorry for the distress I have caused,” Jones wrote. “I want to make it absolutely clear that this was never about social media or getting likes. This was not staged, nor was it done for entertainment.”

Wombats are a type of marsupial found only in Australia and are a protected species. It is an offense to harm a wombat without a license from the authorities, according to the Australian government.

The incident drew the ire of Prime Minister Anthony Albanese, who called it an “outrage.” Thousands signed an online petition calling for Jones to be immediately deported from Australia and to bar her from ever returning.

On Friday, Jones left the country.

“There’s never been a better day to be a baby wombat in Australia,” Home Affairs Minister Tony Burke said in a statement Friday.





NBC News

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *