Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum committed Dec 14, 2023
1 parent 4e8d238 commit d7181a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vip-helpers/vip-deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ function wpcom_vip_disable_instapost() {
function wpcom_vip_get_page_by_path( $page_path, $output = OBJECT, $post_type = 'page' ) {
_deprecated_function( __FUNCTION__, '6.1', 'get_page_by_path' );

return get_page_by_path( $page_path, $output, $post_type );
return get_page_by_path( $page_path, $output, $post_type ); // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.get_page_by_path_get_page_by_path
}

/**
Expand All @@ -1337,7 +1337,7 @@ function wpcom_vip_get_page_by_path( $page_path, $output = OBJECT, $post_type =
function wpcom_vip_get_page_by_title( $title, $output = OBJECT, $post_type = 'page' ) {
_deprecated_function( __FUNCTION__, '6.2', 'WP_Query' );

$query = new WP_Query(
$query = new WP_Query(
array(
'title' => $title,
'post_type' => $post_type,
Expand Down Expand Up @@ -1373,5 +1373,5 @@ function wpcom_vip_get_page_by_title( $title, $output = OBJECT, $post_type = 'pa
function wpcom_vip_term_exists( $term, $taxonomy = '', $parent = null ) {
_deprecated_function( __FUNCTION__, '6.0', 'term_exists' );

return term_exists( $term, $taxonomy, $parent );
return term_exists( $term, $taxonomy, $parent ); // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.term_exists_term_exists
}

0 comments on commit d7181a7

Please sign in to comment.