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
This commit is contained in:
Scott Taylor 2014-11-30 22:25:23 +00:00
parent 67417897ec
commit 3752aa7ce8
2 changed files with 9 additions and 9 deletions

View File

@ -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) )

View File

@ -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.