Skip to content

Add get_page_by_path() warning to VIP restricted function sniffs.#447

Merged
rebeccahum merged 1 commit intoAutomattic:developfrom
jenkoian:add-get-page-by-path-to-restricted-functions
Dec 3, 2019
Merged

Add get_page_by_path() warning to VIP restricted function sniffs.#447
rebeccahum merged 1 commit intoAutomattic:developfrom
jenkoian:add-get-page-by-path-to-restricted-functions

Conversation

@jenkoian
Copy link
Contributor

On VIP there is an alternative which should be used for caching
wpcom_vip_get_page_by_path() make developers aware of this by warning
of usage of get_page_by_path().

On VIP there is an alternative which should be used for caching
`wpcom_vip_get_page_by_path()` make developers aware of this by warning
of usage of `get_page_by_path()`.
Copy link
Contributor

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rebeccahum rebeccahum merged commit bf8558a into Automattic:develop Dec 3, 2019
@jenkoian jenkoian deleted the add-get-page-by-path-to-restricted-functions branch December 3, 2019 14:50
@GaryJones GaryJones added this to the 2.0.1 milestone Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants