Singleton::__wakeup()

Description #

Unserializing instances of this class is forbidden.

Changelog #

VersionDescription
4.2.0Fixed: warning __wakeup must be public.
4.1.8Introduced.

Source #

File: includes/class/class-singleton.php

	public function __wakeup() {
		_doing_it_wrong( __FUNCTION__, esc_attr__( 'Cheatin’ huh?', 'anspress-question-answer' ), '1.0.0' );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment