From 43885a303ea426685f347d828a5475d383019c25 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 30 Nov 2014 22:24:49 +0000 Subject: [PATCH] Improve the `@param` docs for `src/includes/rewrite.php`. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30669 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/rewrite.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wp-includes/rewrite.php b/src/wp-includes/rewrite.php index 8ad1b8498c..db66ff6617 100644 --- a/src/wp-includes/rewrite.php +++ b/src/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) )