monero-integrations / monerowp

Monero WooCommerce Plugin for Wordpress
MIT License
105 stars 74 forks source link

Latest code #65

Closed ghost closed 4 years ago

ghost commented 6 years ago

Hey guys,

Where is the latest code?

The Wordpress plugin has a version of 2.1.1 but this cloned repo shows v 2.0 with SerHack as the author.

serhack commented 6 years ago

Hey. This is the latest code. I don't really know why Wordpress has an old version. I'm going to update that too!

Thanks, SerHack

ghost commented 6 years ago

No the WordPress version thinks it has newer code

On Sun, 22 Jul 2018, 11:16 PM SerHack, notifications@github.com wrote:

Hey. This is the latest code. I don't really know why Wordpress has an old version. I'm going to update that too!

Thanks, SerHack

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/monero-integrations/monerowp/issues/65#issuecomment-406878628, or mute the thread https://github.com/notifications/unsubscribe-auth/ATo8kzJg8UhSPr6py6FSD4wMHkjPmT4Sks5uJKVxgaJpZM4VZ95S .

DrCryptoKey commented 6 years ago

Perhaps line 27 in monerowp/monero/include/monero_payments.php needs to be updated from "$this->version = "2.0";" to the current updated version number?

ghost commented 6 years ago

Here is the code on my live Wordpress installation, installed via the Wordpress Plugin Installer:

<?php
/*
Plugin Name: Monero - WooCommerce Gateway
Plugin URI: https://monerointegrations.com
Description: Extends WooCommerce by Adding the Monero Payment Gateway
Version: 2.1.1
Author: Monero Integrations Team
Author URI: https://monerointegrations.com
*/

// This code isn't for Dark Net Markets, please report them to Authority!
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

Here the code I synced yesterday from this repo:

<?php
/*
Plugin Name: Monero - WooCommerce Gateway
Plugin URI: https://monerointegrations.com
Description: Extends WooCommerce by Adding the Monero Gateway
Version: 2.0
Author: SerHack
Author URI: https://monerointegrations.com
*/

// This code isn't for Dark Net Markets, please report them to Authority!
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}
cryptochangements34 commented 6 years ago

The code here at this repo is the latest code. Even though the code you got from wordpress has a higher minor version, it is actually older.

ghost commented 6 years ago

What is the process for the code making it from here to WordPress?

On 24/07/2018 11:14 PM, "cryptochangements34" notifications@github.com wrote:

The code here at this repo is the latest code. Even though the code you got from wordpress has a higher minor version, it is actually older.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/monero-integrations/monerowp/issues/65#issuecomment-407464197, or mute the thread https://github.com/notifications/unsubscribe-auth/ATo8k6dfGiGU52Tdz328ANx1qsWQMZfGks5uJ0ffgaJpZM4VZ95S .

cryptochangements34 commented 6 years ago

Typically @serhack just takes the code from here and uploads it to wordpress. Idk how they ended up with different versions but it should be corrected soon