Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core.
Props metodiew. Fixes #36495. Built from https://develop.svn.wordpress.org/trunk@37985 git-svn-id: http://core.svn.wordpress.org/trunk@37926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -399,7 +399,7 @@ function add_option( $option, $value = '', $deprecated = '', $autoload = 'yes' )
|
||||
global $wpdb;
|
||||
|
||||
if ( !empty( $deprecated ) )
|
||||
_deprecated_argument( __FUNCTION__, '2.3' );
|
||||
_deprecated_argument( __FUNCTION__, '2.3.0' );
|
||||
|
||||
$option = trim($option);
|
||||
if ( empty($option) )
|
||||
|
||||
Reference in New Issue
Block a user