Docs: Remove unnecessary variables names from @return tags.

See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@48100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-06-19 22:53:54 +00:00
parent b34efdd38a
commit 1db25e3d38
35 changed files with 61 additions and 61 deletions

View File

@@ -1090,7 +1090,7 @@ function wp_old_slug_redirect() {
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $post_type The current post type based on the query vars.
* @return int $id The Post ID.
* @return int The Post ID.
*/
function _find_post_by_old_slug( $post_type ) {
global $wpdb;
@@ -1125,7 +1125,7 @@ function _find_post_by_old_slug( $post_type ) {
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $post_type The current post type based on the query vars.
* @return int $id The Post ID.
* @return int The Post ID.
*/
function _find_post_by_old_date( $post_type ) {
global $wpdb;