mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 18:08:09 +01:00
Widgets: Create WP_Widget_Mock
as a mock of WP_Widget
which can be used for widget tests.
You cannot instantiate an abstract class. Not even in WordPress world. See #35981. Built from https://develop.svn.wordpress.org/trunk@37427 git-svn-id: http://core.svn.wordpress.org/trunk@37393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b036bf1012
commit
65f5fe6fb2
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-alpha-37426';
|
$wp_version = '4.6-alpha-37427';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user