From 3752aa7ce848323e283aa08242f3db50f5db2790 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 30 Nov 2014 22:25:23 +0000 Subject: [PATCH] Improve the `@param` docs for `src/includes/rewrite.php`. See #30224. Built from https://develop.svn.wordpress.org/trunk@30669 git-svn-id: http://core.svn.wordpress.org/trunk@30659 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 16 ++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 8ad1b8498c..db66ff6617 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -909,7 +909,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return bool|string False on no permalink structure. Date permalink structure. + * @return string|false False on no permalink structure. Date permalink structure. */ public function get_date_permastruct() { if ( isset($this->date_structure) ) @@ -963,7 +963,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return bool|string False on failure. Year structure on success. + * @return false|string False on failure. Year structure on success. */ public function get_year_permastruct() { $structure = $this->get_date_permastruct(); @@ -988,7 +988,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return bool|string False on failure. Year/Month structure on success. + * @return false|string False on failure. Year/Month structure on success. */ public function get_month_permastruct() { $structure = $this->get_date_permastruct(); @@ -1011,7 +1011,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return bool|string False on failure. Year/Month/Day structure on success. + * @return string|false False on failure. Year/Month/Day structure on success. */ public function get_day_permastruct() { return $this->get_date_permastruct(); @@ -1080,7 +1080,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return string|bool False if not found. Permalink structure string. + * @return string|false False if not found. Permalink structure string. */ public function get_author_permastruct() { if ( isset($this->author_structure) ) @@ -1106,7 +1106,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return string|bool False if not found. Permalink structure string. + * @return string|false False if not found. Permalink structure string. */ public function get_search_permastruct() { if ( isset($this->search_structure) ) @@ -1132,7 +1132,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return string|bool False if not found. Permalink structure string. + * @return string|false False if not found. Permalink structure string. */ public function get_page_permastruct() { if ( isset($this->page_structure) ) @@ -1158,7 +1158,7 @@ class WP_Rewrite { * @since 1.5.0 * @access public * - * @return string|bool False if not found. Permalink structure string. + * @return string|false False if not found. Permalink structure string. */ public function get_feed_permastruct() { if ( isset($this->feed_structure) ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f52b7d323..2ee9c1a8fb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30668'; +$wp_version = '4.1-beta2-30669'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.