From 196d85a9f61bdd5ba82eb37a432e5f3313512d32 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 3 Nov 2014 06:01:24 +0000 Subject: [PATCH] Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/misc.php`. See #30224. Built from https://develop.svn.wordpress.org/trunk@30200 git-svn-id: http://core.svn.wordpress.org/trunk@30200 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/misc.php | 14 +++++++------- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 6e47d9d427..7b710cb047 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -58,8 +58,8 @@ function got_url_rewrite() { * * @since 1.5.0 * - * @param unknown_type $filename - * @param unknown_type $marker + * @param string $filename + * @param string $marker * @return array An array of strings from a file (.htaccess ) from between BEGIN and END markers. */ function extract_from_markers( $filename, $marker ) { @@ -94,9 +94,9 @@ function extract_from_markers( $filename, $marker ) { * * @since 1.5.0 * - * @param unknown_type $filename - * @param unknown_type $marker - * @param unknown_type $insertion + * @param string $filename + * @param string $marker + * @param array $insertion * @return bool True on write success, false on failure. */ function insert_with_markers( $filename, $marker, $insertion ) { @@ -211,7 +211,7 @@ function iis7_save_url_rewrite_rules(){ * * @since 1.5.0 * - * @param unknown_type $file + * @param string $file */ function update_recently_edited( $file ) { $oldfiles = (array ) get_option( 'recently_edited' ); @@ -294,7 +294,7 @@ function wp_reset_vars( $vars ) { * * @since 2.1.0 * - * @param unknown_type $message + * @param string|WP_Error $message */ function show_message($message) { if ( is_wp_error($message) ){ diff --git a/wp-includes/version.php b/wp-includes/version.php index 63b668bffe..fd921bf506 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30199'; +$wp_version = '4.1-alpha-30200'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.