Skip to content

Commit

Permalink
Merge pull request #948 from graphpaperpress/cm/wpsessionfix
Browse files Browse the repository at this point in the history
adding 7.4 fixes
  • Loading branch information
maharzan authored Sep 30, 2023
2 parents 77dab22 + de342c5 commit 8e041bc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://graphpaperpress.com/plugins/sell-media/
Tags: photography, photos, sell media, sell photos, sell videos, sell downloads, download, downloads, e-commerce, paypal, stock photos, photo gallery, photo cart
Requires at least: 6.2.1
Tested up to: 6.3.1
Stable tag: 2.5.8.1
Stable tag: 2.5.8.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -221,6 +221,9 @@ Action hooks available:

== Changelog ==

= 2.5.8.2 =
* Fix: PHP 8 Warnings fix

= 2.5.8.1 =
* Fix: PHP 7.4 Error fix

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://graphpaperpress.com/plugins/sell-media/
Tags: photography, photos, sell media, sell photos, sell videos, sell downloads, download, downloads, e-commerce, paypal, stock photos, photo gallery, photo cart
Requires at least: 6.2.1
Tested up to: 6.3.1
Stable tag: 2.5.8.1
Stable tag: 2.5.8.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -221,6 +221,9 @@ Action hooks available:

== Changelog ==

= 2.5.8.2 =
* Fix: PHP 8 Warnings fix

= 2.5.8.1 =
* Fix: PHP 7.4 Error fix

Expand Down
11 changes: 5 additions & 6 deletions sell-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
* Plugin Name: Sell Media
* Plugin URI: http://graphpaperpress.com/plugins/sell-media/
* Description: A plugin for selling photos, prints and other downloads.
* Version: 2.5.8.1
* Version: 2.5.8.2
* Author: Graph Paper Press
* Author URI: http://graphpaperpress.com
* Author Email: [email protected]
* Text Domain: sell_media
* Domain Path: languages
* License: GPL2
* Requires PHP: 8.0
*
* Copyright 2023 GRAPH PAPER PRESS (email: [email protected])
* This program is free software; you can redistribute it and/or modify
Expand All @@ -25,7 +24,7 @@
* @package SellMedia
* @category Core
* @author Thad Allender
* @version 2.5.8.1
* @version 2.5.8.2
*/

// Exit if accessed directly.
Expand Down Expand Up @@ -156,7 +155,7 @@ public static function instance() {
*/
public function __clone() {
// Cloning instances of the class is forbidden.
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sell_media' ), '2.5.8.1' );
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sell_media' ), '2.5.8.2' );
}

/**
Expand All @@ -168,7 +167,7 @@ public function __clone() {
*/
public function __wakeup() {
// Unserializing instances of the class is forbidden.
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sell_media' ), '2.5.8.1' );
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sell_media' ), '2.5.8.2' );
}

/**
Expand All @@ -182,7 +181,7 @@ private function constants() {

// Plugin version.
if ( ! defined( 'SELL_MEDIA_VERSION' ) ) {
define( 'SELL_MEDIA_VERSION', '2.5.8.1' );
define( 'SELL_MEDIA_VERSION', '2.5.8.2' );
}

// Plugin Folder Path.
Expand Down

0 comments on commit 8e041bc

Please sign in to comment.