diff --git a/wp-includes/post-functions.php b/wp-includes/post-functions.php index 2c4cda07ec..3933bbbc61 100644 --- a/wp-includes/post-functions.php +++ b/wp-includes/post-functions.php @@ -4288,7 +4288,15 @@ function get_page_uri( $page ) { } } - return $uri; + /** + * Filter the URI for a page. + * + * @since 4.4.0 + * + * @param string $uri Page URI. + * @param WP_Post $page Page object. + */ + return apply_filters( 'get_page_uri', $uri, $page ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 5fd14ad99d..7cac3fd489 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35509'; +$wp_version = '4.4-beta2-35510'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.