REST API: Fix version number in `_doing_it_wrong()` call.
`_doing_it_wrong()`, indeed. Props joehoyle. See #39965. Built from https://develop.svn.wordpress.org/branches/5.0@43741 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a943d902c1
commit
e4b0ddbf4d
|
@ -70,7 +70,7 @@ class WP_REST_Search_Controller extends WP_REST_Controller {
|
|||
if ( ! $search_handler instanceof WP_REST_Search_Handler ) {
|
||||
|
||||
/* translators: %s: PHP class name */
|
||||
_doing_it_wrong( __METHOD__, sprintf( __( 'REST search handlers must extend the %s class.' ), 'WP_REST_Search_Handler' ), '5.5.0' );
|
||||
_doing_it_wrong( __METHOD__, sprintf( __( 'REST search handlers must extend the %s class.' ), 'WP_REST_Search_Handler' ), '5.0.0' );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43740';
|
||||
$wp_version = '5.0-alpha-43741';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue