diff --git a/wp-includes/rewrite-functions.php b/wp-includes/rewrite-functions.php index 9b5a4f90df..9cfb89cd2a 100644 --- a/wp-includes/rewrite-functions.php +++ b/wp-includes/rewrite-functions.php @@ -16,7 +16,8 @@ * * @param string $regex Regular Expression to match request against. * @param string|array $redirect Page to redirect to, or array of query vars and values. - * @param string $after Optional, default is 'bottom'. Where to add rule, can also be 'top'. + * @param string $after Optional. Location where to insert the new rule. Accepts 'top', + * or 'bottom'. Default 'bottom'. */ function add_rewrite_rule( $regex, $redirect, $after = 'bottom' ) { global $wp_rewrite; @@ -38,7 +39,7 @@ function add_rewrite_rule( $regex, $redirect, $after = 'bottom' ) { * * @param string $tag Name of the new rewrite tag. * @param string $regex Regular expression to substitute the tag for in rewrite rules. - * @param string $query String to append to the rewritten query. Must end in '='. Optional. + * @param string $query Optional. String to append to the rewritten query. Must end in '='. Default empty. */ function add_rewrite_tag( $tag, $regex, $query = '' ) { // validate the tag's name @@ -61,12 +62,13 @@ function add_rewrite_tag( $tag, $regex, $query = '' ) { * * @since 3.0.0 * + * @see WP_Rewrite::add_permastruct() * @global WP_Rewrite $wp_rewrite * * @param string $name Name for permalink structure. * @param string $struct Permalink structure. - * @param array $args Optional configuration for building the rules from the permalink structure, - * see {@link WP_Rewrite::add_permastruct()} for full details. + * @param array $args Optional. Arguments for building the rules from the permalink structure, + * see WP_Rewrite::add_permastruct() for full details. Default empty array. */ function add_permastruct( $name, $struct, $args = array() ) { global $wp_rewrite; diff --git a/wp-includes/version.php b/wp-includes/version.php index 1998764a9d..8c58e1048b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34711'; +$wp_version = '4.4-alpha-34712'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.