REST API: Fix version number in _doing_it_wrong()
call.
`_doing_it_wrong()`, indeed. Props joehoyle. See #39965. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43741 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b45675d59
commit
76468d6516
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user