Change @since 3.0 to @since 3.0.0.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-03-26 19:13:36 +00:00
parent d138bc1f38
commit a7feaed0e6
22 changed files with 68 additions and 67 deletions

View File

@ -9,7 +9,7 @@
/** /**
* The custom background class. * The custom background class.
* *
* @since 3.0 * @since 3.0.0
* @package WordPress * @package WordPress
* @subpackage Administration * @subpackage Administration
*/ */
@ -28,7 +28,7 @@ class Custom_Background {
* Callback for header div. * Callback for header div.
* *
* @var callback * @var callback
* @since 3.0 * @since 3.0.0
* @access private * @access private
*/ */
var $admin_image_div_callback; var $admin_image_div_callback;
@ -36,7 +36,7 @@ class Custom_Background {
/** /**
* PHP4 Constructor - Register administration header callback. * PHP4 Constructor - Register administration header callback.
* *
* @since 3.0 * @since 3.0.0
* @param callback $admin_header_callback * @param callback $admin_header_callback
* @param callback $admin_image_div_callback Optional custom image div output callback. * @param callback $admin_image_div_callback Optional custom image div output callback.
* @return Custom_Background * @return Custom_Background
@ -49,7 +49,7 @@ class Custom_Background {
/** /**
* Set up the hooks for the Custom Background admin page. * Set up the hooks for the Custom Background admin page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function init() { function init() {
if ( ! current_user_can('switch_themes') ) if ( ! current_user_can('switch_themes') )
@ -68,7 +68,7 @@ class Custom_Background {
/** /**
* Set up the enqueue for the CSS & JavaScript files. * Set up the enqueue for the CSS & JavaScript files.
* *
* @since 3.0 * @since 3.0.0
*/ */
function admin_load() { function admin_load() {
wp_enqueue_script('custom-background'); wp_enqueue_script('custom-background');
@ -78,7 +78,7 @@ class Custom_Background {
/** /**
* Execute custom background modification. * Execute custom background modification.
* *
* @since 3.0 * @since 3.0.0
*/ */
function take_action() { function take_action() {
@ -132,7 +132,7 @@ class Custom_Background {
/** /**
* Display the custom background page. * Display the custom background page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function admin_page() { function admin_page() {
?> ?>
@ -252,7 +252,7 @@ class Custom_Background {
/** /**
* Handle a Image upload for the background image. * Handle a Image upload for the background image.
* *
* @since 3.0 * @since 3.0.0
*/ */
function handle_upload() { function handle_upload() {

View File

@ -9,7 +9,7 @@
/** /**
* The custom header image class. * The custom header image class.
* *
* @since 3.0 * @since 3.0.0
* @package WordPress * @package WordPress
* @subpackage Administration * @subpackage Administration
*/ */
@ -19,7 +19,7 @@ class Custom_Image_Header {
* Callback for administration header. * Callback for administration header.
* *
* @var callback * @var callback
* @since 3.0 * @since 3.0.0
* @access private * @access private
*/ */
var $admin_header_callback; var $admin_header_callback;
@ -28,7 +28,7 @@ class Custom_Image_Header {
* Callback for header div. * Callback for header div.
* *
* @var callback * @var callback
* @since 3.0 * @since 3.0.0
* @access private * @access private
*/ */
var $admin_image_div_callback; var $admin_image_div_callback;
@ -38,7 +38,7 @@ class Custom_Image_Header {
/** /**
* PHP4 Constructor - Register administration header callback. * PHP4 Constructor - Register administration header callback.
* *
* @since 3.0 * @since 3.0.0
* @param callback $admin_header_callback * @param callback $admin_header_callback
* @param callback $admin_image_div_callback Optional custom image div output callback. * @param callback $admin_image_div_callback Optional custom image div output callback.
* @return Custom_Image_Header * @return Custom_Image_Header
@ -51,7 +51,7 @@ class Custom_Image_Header {
/** /**
* Set up the hooks for the Custom Header admin page. * Set up the hooks for the Custom Header admin page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function init() { function init() {
if ( ! current_user_can('switch_themes') ) if ( ! current_user_can('switch_themes') )
@ -69,7 +69,7 @@ class Custom_Image_Header {
/** /**
* Get the current step. * Get the current step.
* *
* @since 3.0 * @since 3.0.0
* *
* @return int Current step * @return int Current step
*/ */
@ -87,7 +87,7 @@ class Custom_Image_Header {
/** /**
* Set up the enqueue for the JavaScript files. * Set up the enqueue for the JavaScript files.
* *
* @since 3.0 * @since 3.0.0
*/ */
function js_includes() { function js_includes() {
$step = $this->step(); $step = $this->step();
@ -115,7 +115,7 @@ class Custom_Image_Header {
/** /**
* Execute custom header modification. * Execute custom header modification.
* *
* @since 3.0 * @since 3.0.0
*/ */
function take_action() { function take_action() {
if ( ! current_user_can('switch_themes') ) if ( ! current_user_can('switch_themes') )
@ -210,7 +210,7 @@ class Custom_Image_Header {
/** /**
* Execute Javascript depending on step. * Execute Javascript depending on step.
* *
* @since 3.0 * @since 3.0.0
*/ */
function js() { function js() {
$step = $this->step(); $step = $this->step();
@ -223,7 +223,7 @@ class Custom_Image_Header {
/** /**
* Display Javascript based on Step 1. * Display Javascript based on Step 1.
* *
* @since 3.0 * @since 3.0.0
*/ */
function js_1() { ?> function js_1() { ?>
<script type="text/javascript"> <script type="text/javascript">
@ -301,7 +301,7 @@ class Custom_Image_Header {
/** /**
* Display Javascript based on Step 2. * Display Javascript based on Step 2.
* *
* @since 3.0 * @since 3.0.0
*/ */
function js_2() { ?> function js_2() { ?>
<script type="text/javascript"> <script type="text/javascript">
@ -353,7 +353,7 @@ class Custom_Image_Header {
/** /**
* Display first step of custom header image page. * Display first step of custom header image page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function step_1() { function step_1() {
$this->process_default_headers(); $this->process_default_headers();
@ -448,7 +448,7 @@ if ( !empty($this->default_headers) ) {
/** /**
* Display second step of custom header image page. * Display second step of custom header image page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function step_2() { function step_2() {
check_admin_referer('custom-header'); check_admin_referer('custom-header');
@ -528,7 +528,7 @@ if ( !empty($this->default_headers) ) {
/** /**
* Display third step of custom header image page. * Display third step of custom header image page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function step_3() { function step_3() {
check_admin_referer('custom-header'); check_admin_referer('custom-header');
@ -577,7 +577,7 @@ if ( !empty($this->default_headers) ) {
/** /**
* Display last step of custom header image page. * Display last step of custom header image page.
* *
* @since 3.0 * @since 3.0.0
*/ */
function finished() { function finished() {
$_GET['updated'] = 1; $_GET['updated'] = 1;
@ -587,7 +587,7 @@ if ( !empty($this->default_headers) ) {
/** /**
* Display the page based on the current step. * Display the page based on the current step.
* *
* @since 3.0 * @since 3.0.0
*/ */
function admin_page() { function admin_page() {
if ( ! current_user_can('switch_themes') ) if ( ! current_user_can('switch_themes') )

View File

@ -1035,7 +1035,7 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
* *
* @package WordPress * @package WordPress
* @subpackage Upgrader * @subpackage Upgrader
* @since 3.0 * @since 3.0.0
*/ */
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { class Bulk_Upgrader_Skin extends WP_Upgrader_Skin {
var $in_loop = false; var $in_loop = false;

View File

@ -550,7 +550,7 @@ function unzip_file($file, $to) {
* This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the ZipArchive class. * This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the ZipArchive class.
* Assumes that WP_Filesystem() has already been called and set up. * Assumes that WP_Filesystem() has already been called and set up.
* *
* @since 3.0 * @since 3.0.0
* @see unzip_file * @see unzip_file
* @access private * @access private
* *
@ -612,7 +612,7 @@ function _unzip_file_ziparchive($file, $to, $needed_dirs = array() ) {
* This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the PclZip library. * This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the PclZip library.
* Assumes that WP_Filesystem() has already been called and set up. * Assumes that WP_Filesystem() has already been called and set up.
* *
* @since 3.0 * @since 3.0.0
* @see unzip_file * @see unzip_file
* @access private * @access private
* *

View File

@ -408,7 +408,7 @@ function post_comment_status_meta_box($post) {
/** /**
* Display comments for post table header * Display comments for post table header
* *
* @since 3.0 * @since 3.0.0
* *
* @param $result table header rows * @param $result table header rows
* @return * @return

View File

@ -3,7 +3,7 @@
/** /**
* Determine if uploaded file exceeds space quota. * Determine if uploaded file exceeds space quota.
* *
* @since 3.0 * @since 3.0.0
* *
* @param array $file $_FILES array for a given file. * @param array $file $_FILES array for a given file.
* @return array $_FILES array with 'error' key set if file exceeds quota. 'error' is empty otherwise. * @return array $_FILES array with 'error' key set if file exceeds quota. 'error' is empty otherwise.
@ -39,7 +39,7 @@ add_filter( 'wp_handle_upload_prefilter', 'check_upload_size' );
/** /**
* Delete a blog * Delete a blog
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $blog_id Blog ID * @param int $blog_id Blog ID
* @param bool $drop True if blog's table should be dropped. Default is false. * @param bool $drop True if blog's table should be dropped. Default is false.
@ -514,7 +514,8 @@ function refresh_user_details($id) {
function format_code_lang( $code = '' ) { function format_code_lang( $code = '' ) {
$code = strtolower(substr($code, 0, 2)); $code = strtolower(substr($code, 0, 2));
$lang_codes = array('aa' => 'Afar', 'ab' => 'Abkhazian', 'af' => 'Afrikaans', 'ak' => 'Akan', 'sq' => 'Albanian', 'am' => 'Amharic', 'ar' => 'Arabic', 'an' => 'Aragonese', 'hy' => 'Armenian', 'as' => 'Assamese', 'av' => 'Avaric', 'ae' => 'Avestan', 'ay' => 'Aymara', 'az' => 'Azerbaijani', 'ba' => 'Bashkir', 'bm' => 'Bambara', 'eu' => 'Basque', 'be' => 'Belarusian', 'bn' => 'Bengali', 'bh' => 'Bihari', 'bi' => 'Bislama', 'bs' => 'Bosnian', 'br' => 'Breton', 'bg' => 'Bulgarian', 'my' => 'Burmese', 'ca' => 'Catalan; Valencian', 'ch' => 'Chamorro', 'ce' => 'Chechen', 'zh' => 'Chinese', 'cu' => 'Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic', 'cv' => 'Chuvash', 'kw' => 'Cornish', 'co' => 'Corsican', 'cr' => 'Cree', 'cs' => 'Czech', 'da' => 'Danish', 'dv' => 'Divehi; Dhivehi; Maldivian', 'nl' => 'Dutch; Flemish', 'dz' => 'Dzongkha', 'en' => 'English', 'eo' => 'Esperanto', 'et' => 'Estonian', 'ee' => 'Ewe', 'fo' => 'Faroese', 'fj' => 'Fijian', 'fi' => 'Finnish', 'fr' => 'French', 'fy' => 'Western Frisian', 'ff' => 'Fulah', 'ka' => 'Georgian', 'de' => 'German', 'gd' => 'Gaelic; Scottish Gaelic', 'ga' => 'Irish', 'gl' => 'Galician', 'gv' => 'Manx', 'el' => 'Greek, Modern', 'gn' => 'Guarani', 'gu' => 'Gujarati', 'ht' => 'Haitian; Haitian Creole', 'ha' => 'Hausa', 'he' => 'Hebrew', 'hz' => 'Herero', 'hi' => 'Hindi', 'ho' => 'Hiri Motu', 'hu' => 'Hungarian', 'ig' => 'Igbo', 'is' => 'Icelandic', 'io' => 'Ido', 'ii' => 'Sichuan Yi', 'iu' => 'Inuktitut', 'ie' => 'Interlingue', 'ia' => 'Interlingua (International Auxiliary Language Association)', 'id' => 'Indonesian', 'ik' => 'Inupiaq', 'it' => 'Italian', 'jv' => 'Javanese', 'ja' => 'Japanese', 'kl' => 'Kalaallisut; Greenlandic', 'kn' => 'Kannada', 'ks' => 'Kashmiri', 'kr' => 'Kanuri', 'kk' => 'Kazakh', 'km' => 'Central Khmer', 'ki' => 'Kikuyu; Gikuyu', 'rw' => 'Kinyarwanda', 'ky' => 'Kirghiz; Kyrgyz', 'kv' => 'Komi', 'kg' => 'Kongo', 'ko' => 'Korean', 'kj' => 'Kuanyama; Kwanyama', 'ku' => 'Kurdish', 'lo' => 'Lao', 'la' => 'Latin', 'lv' => 'Latvian', 'li' => 'Limburgan; Limburger; Limburgish', 'ln' => 'Lingala', 'lt' => 'Lithuanian', 'lb' => 'Luxembourgish; Letzeburgesch', 'lu' => 'Luba-Katanga', 'lg' => 'Ganda', 'mk' => 'Macedonian', 'mh' => 'Marshallese', 'ml' => 'Malayalam', 'mi' => 'Maori', 'mr' => 'Marathi', 'ms' => 'Malay', 'mg' => 'Malagasy', 'mt' => 'Maltese', 'mo' => 'Moldavian', 'mn' => 'Mongolian', 'na' => 'Nauru', 'nv' => 'Navajo; Navaho', 'nr' => 'Ndebele, South; South Ndebele', 'nd' => 'Ndebele, North; North Ndebele', 'ng' => 'Ndonga', 'ne' => 'Nepali', 'nn' => 'Norwegian Nynorsk; Nynorsk, Norwegian', 'nb' => 'Bokmål, Norwegian, Norwegian Bokmål', 'no' => 'Norwegian', 'ny' => 'Chichewa; Chewa; Nyanja', 'oc' => 'Occitan, Provençal', 'oj' => 'Ojibwa', 'or' => 'Oriya', 'om' => 'Oromo', 'os' => 'Ossetian; Ossetic', 'pa' => 'Panjabi; Punjabi', 'fa' => 'Persian', 'pi' => 'Pali', 'pl' => 'Polish', 'pt' => 'Portuguese', 'ps' => 'Pushto', 'qu' => 'Quechua', 'rm' => 'Romansh', 'ro' => 'Romanian', 'rn' => 'Rundi', 'ru' => 'Russian', 'sg' => 'Sango', 'sa' => 'Sanskrit', 'sr' => 'Serbian', 'hr' => 'Croatian', 'si' => 'Sinhala; Sinhalese', 'sk' => 'Slovak', 'sl' => 'Slovenian', 'se' => 'Northern Sami', 'sm' => 'Samoan', 'sn' => 'Shona', 'sd' => 'Sindhi', 'so' => 'Somali', 'st' => 'Sotho, Southern', 'es' => 'Spanish; Castilian', 'sc' => 'Sardinian', 'ss' => 'Swati', 'su' => 'Sundanese', 'sw' => 'Swahili', 'sv' => 'Swedish', 'ty' => 'Tahitian', 'ta' => 'Tamil', 'tt' => 'Tatar', 'te' => 'Telugu', 'tg' => 'Tajik', 'tl' => 'Tagalog', 'th' => 'Thai', 'bo' => 'Tibetan', 'ti' => 'Tigrinya', 'to' => 'Tonga (Tonga Islands)', 'tn' => 'Tswana', 'ts' => 'Tsonga', 'tk' => 'Turkmen', 'tr' => 'Turkish', 'tw' => 'Twi', 'ug' => 'Uighur; Uyghur', 'uk' => 'Ukrainian', 'ur' => 'Urdu', 'uz' => 'Uzbek', 've' => 'Venda', 'vi' => 'Vietnamese', 'vo' => 'Volapük', 'cy' => 'Welsh', 'wa' => 'Walloon', 'wo' => 'Wolof', 'xh' => 'Xhosa', 'yi' => 'Yiddish', 'yo' => 'Yoruba', 'za' => 'Zhuang; Chuang', 'zu' => 'Zulu'); $lang_codes = array('aa' => 'Afar', 'ab' => 'Abkhazian', 'af' => 'Afrikaans', 'ak' => 'Akan', 'sq' => 'Albanian', 'am' => 'Amharic', 'ar' => 'Arabic', 'an' => 'Aragonese', 'hy' => 'Armenian', 'as' => 'Assamese', 'av' => 'Avaric', 'ae' => 'Avestan', 'ay' => 'Aymara', 'az' => 'Azerbaijani', 'ba' => 'Bashkir', 'bm' => 'Bambara', 'eu' => 'Basque', 'be' => 'Belarusian', 'bn' => 'Bengali', 'bh' => 'Bihari', 'bi' => 'Bislama', 'bs' => 'Bosnian', 'br' => 'Breton', 'bg' => 'Bulgarian', 'my' => 'Burmese', 'ca' => 'Catalan; Valencian', 'ch' => 'Chamorro', 'ce' => 'Chechen', 'zh' => 'Chinese', 'cu' => 'Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic', 'cv' => 'Chuvash', 'kw' => 'Cornish', 'co' => 'Corsican', 'cr' => 'Cree', 'cs' => 'Czech', 'da' => 'Danish', 'dv' => 'Divehi; Dhivehi; Maldivian', 'nl' => 'Dutch; Flemish', 'dz' => 'Dzongkha', 'en' => 'English', 'eo' => 'Esperanto', 'et' => 'Estonian', 'ee' => 'Ewe', 'fo' => 'Faroese', 'fj' => 'Fijian', 'fi' => 'Finnish', 'fr' => 'French', 'fy' => 'Western Frisian', 'ff' => 'Fulah', 'ka' => 'Georgian', 'de' => 'German', 'gd' => 'Gaelic; Scottish Gaelic', 'ga' => 'Irish', 'gl' => 'Galician', 'gv' => 'Manx', 'el' => 'Greek, Modern', 'gn' => 'Guarani', 'gu' => 'Gujarati', 'ht' => 'Haitian; Haitian Creole', 'ha' => 'Hausa', 'he' => 'Hebrew', 'hz' => 'Herero', 'hi' => 'Hindi', 'ho' => 'Hiri Motu', 'hu' => 'Hungarian', 'ig' => 'Igbo', 'is' => 'Icelandic', 'io' => 'Ido', 'ii' => 'Sichuan Yi', 'iu' => 'Inuktitut', 'ie' => 'Interlingue', 'ia' => 'Interlingua (International Auxiliary Language Association)', 'id' => 'Indonesian', 'ik' => 'Inupiaq', 'it' => 'Italian', 'jv' => 'Javanese', 'ja' => 'Japanese', 'kl' => 'Kalaallisut; Greenlandic', 'kn' => 'Kannada', 'ks' => 'Kashmiri', 'kr' => 'Kanuri', 'kk' => 'Kazakh', 'km' => 'Central Khmer', 'ki' => 'Kikuyu; Gikuyu', 'rw' => 'Kinyarwanda', 'ky' => 'Kirghiz; Kyrgyz', 'kv' => 'Komi', 'kg' => 'Kongo', 'ko' => 'Korean', 'kj' => 'Kuanyama; Kwanyama', 'ku' => 'Kurdish', 'lo' => 'Lao', 'la' => 'Latin', 'lv' => 'Latvian', 'li' => 'Limburgan; Limburger; Limburgish', 'ln' => 'Lingala', 'lt' => 'Lithuanian', 'lb' => 'Luxembourgish; Letzeburgesch', 'lu' => 'Luba-Katanga', 'lg' => 'Ganda', 'mk' => 'Macedonian', 'mh' => 'Marshallese', 'ml' => 'Malayalam', 'mi' => 'Maori', 'mr' => 'Marathi', 'ms' => 'Malay', 'mg' => 'Malagasy', 'mt' => 'Maltese', 'mo' => 'Moldavian', 'mn' => 'Mongolian', 'na' => 'Nauru', 'nv' => 'Navajo; Navaho', 'nr' => 'Ndebele, South; South Ndebele', 'nd' => 'Ndebele, North; North Ndebele', 'ng' => 'Ndonga', 'ne' => 'Nepali', 'nn' => 'Norwegian Nynorsk; Nynorsk, Norwegian', 'nb' => 'Bokmål, Norwegian, Norwegian Bokmål', 'no' => 'Norwegian', 'ny' => 'Chichewa; Chewa; Nyanja', 'oc' => 'Occitan, Provençal', 'oj' => 'Ojibwa', 'or' => 'Oriya', 'om' => 'Oromo', 'os' => 'Ossetian; Ossetic', 'pa' => 'Panjabi; Punjabi', 'fa' => 'Persian', 'pi' => 'Pali', 'pl' => 'Polish', 'pt' => 'Portuguese', 'ps' => 'Pushto', 'qu' => 'Quechua', 'rm' => 'Romansh', 'ro' => 'Romanian', 'rn' => 'Rundi', 'ru' => 'Russian', 'sg' => 'Sango', 'sa' => 'Sanskrit', 'sr' => 'Serbian', 'hr' => 'Croatian', 'si' => 'Sinhala; Sinhalese', 'sk' => 'Slovak', 'sl' => 'Slovenian', 'se' => 'Northern Sami', 'sm' => 'Samoan', 'sn' => 'Shona', 'sd' => 'Sindhi', 'so' => 'Somali', 'st' => 'Sotho, Southern', 'es' => 'Spanish; Castilian', 'sc' => 'Sardinian', 'ss' => 'Swati', 'su' => 'Sundanese', 'sw' => 'Swahili', 'sv' => 'Swedish', 'ty' => 'Tahitian', 'ta' => 'Tamil', 'tt' => 'Tatar', 'te' => 'Telugu', 'tg' => 'Tajik', 'tl' => 'Tagalog', 'th' => 'Thai', 'bo' => 'Tibetan', 'ti' => 'Tigrinya', 'to' => 'Tonga (Tonga Islands)', 'tn' => 'Tswana', 'ts' => 'Tsonga', 'tk' => 'Turkmen', 'tr' => 'Turkish', 'tw' => 'Twi', 'ug' => 'Uighur; Uyghur', 'uk' => 'Ukrainian', 'ur' => 'Urdu', 'uz' => 'Uzbek', 've' => 'Venda', 'vi' => 'Vietnamese', 'vo' => 'Volapük', 'cy' => 'Welsh', 'wa' => 'Walloon'
, 'wo' => 'Wolof', 'xh' => 'Xhosa', 'yi' => 'Yiddish', 'yo' => 'Yoruba', 'za' => 'Zhuang; Chuang', 'zu' => 'Zulu');
$lang_codes = apply_filters('lang_codes', $lang_codes, $code); $lang_codes = apply_filters('lang_codes', $lang_codes, $code);
return strtr( $code, $lang_codes ); return strtr( $code, $lang_codes );
} }
@ -756,7 +757,7 @@ add_action( 'admin_notices', 'ms_deprecated_blogs_file' );
/** /**
* Outputs the notice message for multisite regarding activation of plugin page. * Outputs the notice message for multisite regarding activation of plugin page.
* *
* @since 3.0 * @since 3.0.0
* @return none * @return none
*/ */
function _admin_notice_multisite_activate_plugins_page() { function _admin_notice_multisite_activate_plugins_page() {

View File

@ -600,7 +600,7 @@ function populate_roles_280() {
/** /**
* Create and modify WordPress roles for WordPress 3.0. * Create and modify WordPress roles for WordPress 3.0.
* *
* @since 3.0 * @since 3.0.0
*/ */
function populate_roles_300() { function populate_roles_300() {
$role =& get_role( 'administrator' ); $role =& get_role( 'administrator' );
@ -615,7 +615,7 @@ function populate_roles_300() {
/** /**
* populate network settings * populate network settings
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $network_id id of network to populate * @param int $network_id id of network to populate
* @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful, * @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful,

View File

@ -3879,7 +3879,7 @@ function compression_test() {
/** /**
* Set the current screen object * Set the current screen object
* *
* @since 3.0 * @since 3.0.0
* *
* @uses $current_screen * @uses $current_screen
* *

View File

@ -120,7 +120,7 @@ function get_broken_themes() {
/** /**
* Get the allowed themes for the current blog. * Get the allowed themes for the current blog.
* *
* @since 3.0 * @since 3.0.0
* *
* @uses get_themes() * @uses get_themes()
* @uses current_theme_info() * @uses current_theme_info()

View File

@ -1858,7 +1858,7 @@ function pre_schema_upgrade() {
/** /**
* Install Network. * Install Network.
* *
* @since 3.0 * @since 3.0.0
* *
*/ */
if ( !function_exists( 'install_network' ) ) : if ( !function_exists( 'install_network' ) ) :
@ -1954,7 +1954,7 @@ endif;
/** /**
* Install global terms. * Install global terms.
* *
* @since 3.0 * @since 3.0.0
* *
*/ */
if ( !function_exists( 'install_global_terms' ) ) : if ( !function_exists( 'install_global_terms' ) ) :

View File

@ -573,7 +573,7 @@ class WP_User_Search {
/** /**
* {@internal Missing Description}} * {@internal Missing Description}}
* *
* @since 3.0 * @since 3.0.0
* @access private * @access private
* @var string * @var string
*/ */
@ -582,7 +582,7 @@ class WP_User_Search {
/** /**
* {@internal Missing Description}} * {@internal Missing Description}}
* *
* @since 3.0 * @since 3.0.0
* @access private * @access private
* @var string * @var string
*/ */
@ -591,7 +591,7 @@ class WP_User_Search {
/** /**
* {@internal Missing Description}} * {@internal Missing Description}}
* *
* @since 3.0 * @since 3.0.0
* @access private * @access private
* @var string * @var string
*/ */

View File

@ -763,7 +763,7 @@ class WP_User {
/** /**
* Set the blog to operate on. Defaults to the current blog. * Set the blog to operate on. Defaults to the current blog.
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $blog_id Optional Blog ID, defaults to current blog. * @param int $blog_id Optional Blog ID, defaults to current blog.
*/ */
@ -1153,7 +1153,7 @@ function remove_role( $role ) {
/** /**
* Determine if user is a site admin. * Determine if user is a site admin.
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $user_id (Optional) The ID of a user. Defaults to the current user. * @param int $user_id (Optional) The ID of a user. Defaults to the current user.
* @return bool True if the user is a site admin. * @return bool True if the user is a site admin.

View File

@ -1451,7 +1451,7 @@ function wp_list_comments($args = array(), $comments = null ) {
* a filter of the form comments_form_field_$name where $name is the key used * a filter of the form comments_form_field_$name where $name is the key used
* in the array of fields. * in the array of fields.
* *
* @since 3.0 * @since 3.0.0
* @param array $args Options for strings, fields etc in the form * @param array $args Options for strings, fields etc in the form
* @param mixed $post_id Post ID to generate the form for, uses the current post if null * @param mixed $post_id Post ID to generate the form for, uses the current post if null
* @return void * @return void

View File

@ -387,7 +387,7 @@ function load_plugin_textdomain( $domain, $abs_rel_path = false, $plugin_rel_pat
/** /**
* Load the translated strings for a plugin residing in the mu-plugins dir. * Load the translated strings for a plugin residing in the mu-plugins dir.
* *
* @since 3.0 * @since 3.0.0
* *
* @param string $domain Unique identifier for retrieving translated strings * @param string $domain Unique identifier for retrieving translated strings
*/ */

View File

@ -2040,7 +2040,7 @@ function rel_canonical() {
/** /**
* Prints the ajax url on the front end * Prints the ajax url on the front end
* *
* @since 3.0 * @since 3.0.0
**/ **/
function _wp_ajaxurl() { function _wp_ajaxurl() {
echo '<script type="text/javascript">', echo '<script type="text/javascript">',
@ -2051,7 +2051,7 @@ function _wp_ajaxurl() {
/** /**
* Hooks _wp_ajaxurl() to wp_head * Hooks _wp_ajaxurl() to wp_head
* *
* @since 3.0 * @since 3.0.0
**/ **/
function wp_ajaxurl() { function wp_ajaxurl() {
add_action('wp_head', '_wp_ajaxurl', 1); add_action('wp_head', '_wp_ajaxurl', 1);

View File

@ -514,7 +514,7 @@ function image_get_intermediate_size($post_id, $size='thumbnail') {
/** /**
* Get the available image sizes * Get the available image sizes
* @since 3.0 * @since 3.0.0
* @return array Returns a filtered array of image size strings * @return array Returns a filtered array of image size strings
*/ */
function get_intermediate_image_sizes() { function get_intermediate_image_sizes() {

View File

@ -73,7 +73,7 @@ function get_id_from_blogname( $name ) {
/** /**
* Retrieve the details for a blog from the blogs table and blog options. * Retrieve the details for a blog from the blogs table and blog options.
* *
* @since 3.0 * @since 3.0.0
* @param int|string|array $fields A blog ID, a blog name, or an array of fields to query against. * @param int|string|array $fields A blog ID, a blog name, or an array of fields to query against.
* @param bool $get_all Whether to retrieve all details or only the details in the blogs table. Default is true. * @param bool $get_all Whether to retrieve all details or only the details in the blogs table. Default is true.
* @return object Blog details. * @return object Blog details.
@ -183,7 +183,7 @@ function get_blog_details( $fields, $get_all = true ) {
/** /**
* Clear the blog details cache. * Clear the blog details cache.
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $blog_id Blog ID * @param int $blog_id Blog ID
*/ */
@ -201,7 +201,7 @@ function refresh_blog_details( $blog_id ) {
/** /**
* Update the details for a blog. Updates the blogs table for a given blog id. * Update the details for a blog. Updates the blogs table for a given blog id.
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $blog_id Blog ID * @param int $blog_id Blog ID
* @param array $details Array of details keyed by blogs table field names. * @param array $details Array of details keyed by blogs table field names.
@ -477,7 +477,7 @@ function update_archived( $id, $archived ) {
/** /**
* Update a blog details field. * Update a blog details field.
* *
* @since 3.0 * @since 3.0.0
* *
* @param int $blog_id BLog ID * @param int $blog_id BLog ID
* @param string $pref A field name * @param string $pref A field name

View File

@ -11,7 +11,7 @@
/** /**
* Whether a subdomain configuration is enabled. * Whether a subdomain configuration is enabled.
* *
* @since 3.0 * @since 3.0.0
* *
* @return bool True if subdomain configuration is enabled, false otherwise. * @return bool True if subdomain configuration is enabled, false otherwise.
*/ */
@ -209,4 +209,4 @@ function ms_not_installed() {
$msg .= '<p>' . /*WP_I18N_MS_FORUMS*/'If you suspect a problem please report it to the support forums but you must include the information asked for in the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">WPMU bug reporting guidelines</a>!'/*/WP_I18N_MS_FORUMS*/ . '</p>'; $msg .= '<p>' . /*WP_I18N_MS_FORUMS*/'If you suspect a problem please report it to the support forums but you must include the information asked for in the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">WPMU bug reporting guidelines</a>!'/*/WP_I18N_MS_FORUMS*/ . '</p>';
die( $msg ); die( $msg );
} }

View File

@ -181,7 +181,7 @@ function apply_filters($tag, $value) {
* *
* @package WordPress * @package WordPress
* @subpackage Plugin * @subpackage Plugin
* @since 3.0 * @since 3.0.0
* @global array $wp_filter Stores all of the filters * @global array $wp_filter Stores all of the filters
* @global array $merged_filters Merges the filter hooks using this function. * @global array $merged_filters Merges the filter hooks using this function.
* @global array $wp_current_filter stores the list of current filters with the current one last * @global array $wp_current_filter stores the list of current filters with the current one last

View File

@ -529,7 +529,7 @@ function get_page_statuses( ) {
* *
* @package WordPress * @package WordPress
* @subpackage Post * @subpackage Post
* @since 3.0 * @since 3.0.0
* @uses $wp_post_statuses Inserts new post status object into the list * @uses $wp_post_statuses Inserts new post status object into the list
* *
* @param string $post_status Name of the post status. * @param string $post_status Name of the post status.
@ -595,7 +595,7 @@ function register_post_status($post_status, $args = array()) {
* *
* @package WordPress * @package WordPress
* @subpackage Post * @subpackage Post
* @since 3.0 * @since 3.0.0
* @uses $wp_post_statuses * @uses $wp_post_statuses
* @see register_post_status * @see register_post_status
* @see get_post_statuses * @see get_post_statuses
@ -617,7 +617,7 @@ function get_post_status_object( $post_status ) {
* *
* @package WordPress * @package WordPress
* @subpackage Post * @subpackage Post
* @since 3.0 * @since 3.0.0
* @uses $wp_post_statuses * @uses $wp_post_statuses
* @see register_post_status * @see register_post_status
* @see get_post_status_object * @see get_post_status_object
@ -690,7 +690,7 @@ function get_post_type($post = false) {
* *
* @package WordPress * @package WordPress
* @subpackage Post * @subpackage Post
* @since 3.0 * @since 3.0.0
* @uses $wp_post_types * @uses $wp_post_types
* @see register_post_type * @see register_post_type
* @see get_post_types * @see get_post_types
@ -878,7 +878,7 @@ function register_post_type($post_type, $args = array()) {
/** /**
* Register support of certain features for a post type. * Register support of certain features for a post type.
* *
* @since 3.0 * @since 3.0.0
* @param string $post_type The post type for which to add the feature * @param string $post_type The post type for which to add the feature
* @param string|array $feature the feature being added, can be an array of feature strings or a single string * @param string|array $feature the feature being added, can be an array of feature strings or a single string
*/ */
@ -897,7 +897,7 @@ function add_post_type_support( $post_type, $feature ) {
/** /**
* Remove support for a feature from a post type. * Remove support for a feature from a post type.
* *
* @since 3.0 * @since 3.0.0
* @param string $post_type The post type for which to remove the feature * @param string $post_type The post type for which to remove the feature
* @param string $feature The feature being removed * @param string $feature The feature being removed
*/ */
@ -914,7 +914,7 @@ function remove_post_type_support( $post_type, $feature ) {
/** /**
* Checks a post type's support for a given feature * Checks a post type's support for a given feature
* *
* @since 3.0 * @since 3.0.0
* @param string $post_type The post type being checked * @param string $post_type The post type being checked
* @param string $feature the feature being checked * @param string $feature the feature being checked
* @return boolean * @return boolean
@ -4006,7 +4006,7 @@ function update_postmeta_cache($post_ids) {
* *
* @package WordPress * @package WordPress
* @subpackage Cache * @subpackage Cache
* @since 3.0 * @since 3.0.0
* *
* @uses do_action() Calls 'clean_attachment_cache' on $id. * @uses do_action() Calls 'clean_attachment_cache' on $id.
* *
@ -4585,4 +4585,4 @@ function _show_post_preview() {
add_filter('the_preview', '_set_preview'); add_filter('the_preview', '_set_preview');
} }
} }

View File

@ -304,7 +304,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
* *
* @package WordPress * @package WordPress
* @subpackage Taxonomy * @subpackage Taxonomy
* @since 3.0 * @since 3.0.0
* @uses $wp_taxonomies Modifies taxonomy object * @uses $wp_taxonomies Modifies taxonomy object
* *
* @param string $taxonomy Name of taxonomy object * @param string $taxonomy Name of taxonomy object
@ -2566,7 +2566,7 @@ function is_object_in_term( $object_id, $taxonomy, $terms = null ) {
/** /**
* Determine if the given object type is associated with the given taxonomy. * Determine if the given object type is associated with the given taxonomy.
* *
* @since 3.0 * @since 3.0.0
* @uses get_object_taxonomies() * @uses get_object_taxonomies()
* *
* @param string $object_type Object type string * @param string $object_type Object type string

View File

@ -384,7 +384,7 @@ function get_user_meta($user_id, $key, $single = false) {
* *
* If the meta field for the user does not exist, it will be added. * If the meta field for the user does not exist, it will be added.
* *
* @since 3.0 * @since 3.0.0
* @uses update_metadata * @uses update_metadata
* @link http://codex.wordpress.org/Function_Reference/update_user_meta * @link http://codex.wordpress.org/Function_Reference/update_user_meta
* *