mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +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
|
||||
*/
|
||||
$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.
|
||||
|
Loading…
Reference in New Issue
Block a user