-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecations: fix version number for get_page_by_path() #5868
Conversation
The WordPress core function `get_page_by_path()` had caching added in WP 4.6.0 via https://core.trac.wordpress.org/ticket/36711. The confusing bit is that the effort to make the function use WP_Query (adds priming of caches) internally is the bit that was tried and reverted in https://core.trac.wordpress.org/ticket/56689#comment:19 for WP 6.1. See #5224.
Quality Gate passedIssues Measures |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5868 +/- ##
=============================================
+ Coverage 29.64% 29.66% +0.01%
Complexity 4760 4760
=============================================
Files 281 281
Lines 20534 20522 -12
=============================================
Hits 6087 6087
+ Misses 14447 14435 -12 ☔ View full report in Codecov by Sentry. |
* Deprecations: fix version number for get_page_by_path() (#5868) The WordPress core function `get_page_by_path()` had caching added in WP 4.6.0 via https://core.trac.wordpress.org/ticket/36711. The confusing bit is that the effort to make the function use WP_Query (adds priming of caches) internally is the bit that was tried and reverted in https://core.trac.wordpress.org/ticket/56689#comment:19 for WP 6.1. See #5224. * Jetpack: Update to 13.8 (#5871) * Jetpack: Update to 13.8 (#5871) * chore(deps): Bump send and express (#5867) Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `send` from 0.18.0 to 0.19.0 - [Release notes](https://github.com/pillarjs/send/releases) - [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md) - [Commits](pillarjs/send@0.18.0...0.19.0) Updates `express` from 4.19.2 to 4.21.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: send dependency-type: indirect - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump serve-static and express in /search/search-dev-tools (#5864) Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `serve-static` from 1.15.0 to 1.16.2 - [Release notes](https://github.com/expressjs/serve-static/releases) - [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md) - [Commits](expressjs/serve-static@v1.15.0...v1.16.2) Updates `express` from 4.19.2 to 4.21.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: serve-static dependency-type: indirect - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump send and express in /search/search-dev-tools (#5865) Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `send` from 0.18.0 to 0.19.0 - [Release notes](https://github.com/pillarjs/send/releases) - [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md) - [Commits](pillarjs/send@0.18.0...0.19.0) Updates `express` from 4.19.2 to 4.21.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: send dependency-type: indirect - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump eslint (#5860) Bumps the eslint group in /search/search-dev-tools with 1 update: [eslint](https://github.com/eslint/eslint). Updates `eslint` from 8.57.0 to 8.57.1 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.0...v8.57.1) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-patch dependency-group: eslint ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump babel-loader (#5858) Bumps the babel group in /search/search-dev-tools with 1 update: [babel-loader](https://github.com/babel/babel-loader). Updates `babel-loader` from 9.1.3 to 9.2.1 - [Release notes](https://github.com/babel/babel-loader/releases) - [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md) - [Commits](babel/babel-loader@v9.1.3...v9.2.1) --- updated-dependencies: - dependency-name: babel-loader dependency-type: direct:development update-type: version-update:semver-minor dependency-group: babel ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump postcss-preset-env from 10.0.3 to 10.0.5 (#5876) Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 10.0.3 to 10.0.5. - [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md) - [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env) --- updated-dependencies: - dependency-name: postcss-preset-env dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump react-select from 5.8.0 to 5.8.1 (#5877) Bumps [react-select](https://github.com/JedWatson/react-select) from 5.8.0 to 5.8.1. - [Release notes](https://github.com/JedWatson/react-select/releases) - [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/JedWatson/react-select/compare/[email protected]@5.8.1) --- updated-dependencies: - dependency-name: react-select dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump github/codeql-action from 3.26.6 to 3.26.7 (#5862) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v3.26.6...v3.26.7) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump @wordpress/i18n from 5.7.0 to 5.8.0 (#5879) Bumps [@wordpress/i18n](https://github.com/WordPress/gutenberg/tree/HEAD/packages/i18n) from 5.7.0 to 5.8.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/i18n/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/i18n) --- updated-dependencies: - dependency-name: "@wordpress/i18n" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump johnpbloch/wordpress-core from 6.6.1 to 6.6.2 (#5857) Bumps [johnpbloch/wordpress-core](https://github.com/johnpbloch/wordpress-core) from 6.6.1 to 6.6.2. - [Commits](johnpbloch/wordpress-core@6.6.1...6.6.2) --- updated-dependencies: - dependency-name: johnpbloch/wordpress-core dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump @playwright/test in /__tests__/e2e (#5856) Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.47.0 to 1.47.1. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.47.0...v1.47.1) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump wp-phpunit/wp-phpunit from 6.6.1 to 6.6.2 (#5859) Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit) from 6.6.1 to 6.6.2. - [Commits](wp-phpunit/wp-phpunit@6.6.1...6.6.2) --- updated-dependencies: - dependency-name: wp-phpunit/wp-phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump @types/node in /__tests__/e2e (#5854) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.4 to 22.5.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump @wordpress/env from 10.7.0 to 10.8.0 (#5878) Bumps [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env) from 10.7.0 to 10.8.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/env) --- updated-dependencies: - dependency-name: "@wordpress/env" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump eslint from 8.57.0 to 8.57.1 in /__tests__/e2e (#5855) Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 8.57.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.0...v8.57.1) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump husky from 9.1.5 to 9.1.6 (#5853) Bumps [husky](https://github.com/typicode/husky) from 9.1.5 to 9.1.6. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v9.1.5...v9.1.6) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump actions/setup-node from 4.0.3 to 4.0.4 (#5885) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.3 to 4.0.4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4.0.3...v4.0.4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump sass in /search/search-dev-tools (#5884) Bumps [sass](https://github.com/sass/dart-sass) from 1.78.0 to 1.79.3. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.78.0...1.79.3) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump @wordpress/api-fetch from 7.7.0 to 7.8.0 (#5875) Bumps [@wordpress/api-fetch](https://github.com/WordPress/gutenberg/tree/HEAD/packages/api-fetch) from 7.7.0 to 7.8.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/api-fetch/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/api-fetch) --- updated-dependencies: - dependency-name: "@wordpress/api-fetch" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump @playwright/test in /__tests__/e2e (#5880) Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.47.1 to 1.47.2. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.47.1...v1.47.2) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): Bump @types/node in /__tests__/e2e (#5881) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.5 to 22.6.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump github/codeql-action from 3.26.7 to 3.26.8 (#5886) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v3.26.7...v3.26.8) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): Bump preact from 10.23.2 to 10.24.0 in /search/search-dev-tools (#5861) * chore(deps): Bump preact in /search/search-dev-tools Bumps [preact](https://github.com/preactjs/preact) from 10.23.2 to 10.24.0. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](preactjs/preact@10.23.2...10.24.0) --- updated-dependencies: - dependency-name: preact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Regenerate the bundle --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: WordPress VIP Bot <[email protected]> * chore(deps-dev): Bump eslint-config-preact (#5882) Bumps the eslint group in /search/search-dev-tools with 1 update: [eslint-config-preact](https://github.com/preactjs/eslint-config-preact). Updates `eslint-config-preact` from 1.4.0 to 1.5.0 - [Release notes](https://github.com/preactjs/eslint-config-preact/releases) - [Commits](preactjs/eslint-config-preact@v1.4.0...1.5.0) --- updated-dependencies: - dependency-name: eslint-config-preact dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Integrations: Temporarily disable loading of ES until backfilling is complete (#5889) * Add Jetpack 13.3 as default (#5453) * Production release v20230507.0 (#5549) * Exclude versioned Jetpacks from the `-built` version. (#5496) * Don't delete jetpack-* recursively, do the root only. Supply --delete-excluded flag (#5498) * CI: Preserve the .git folder when running --delete-excluded (#5500) * Don't delete jetpack-* recursively, do the root only. Supply --delete-excluded flag * Preserve .git * Use full path * Add debug to rsync output in Deploy workflow (#5501) * Move backup one folder up to prevent the deletion during the rsync (#5502) * Add debug to rsync output in Deploy workflow * Move .git backup one level up * Remove debug info from Deploy action (#5503) * fix: `count_users()` returns an array (#5499) * fix: `count_users()` returns an array * test: fix tests * CI: set minimum Parse.ly version to 3.5 (#5506) * CI: update Parse.ly minimum version, fix some typos * Remove debug-bar and debug-bar-cron as they're not the part of mu-plugins * Add the ability to define a custom VIP integrations config directory (#5505) * Search: Defaults Enterprise Search to ElasticPress 4.2.2 (#4607) * Search: Remove exception list * Search: Switch to new EP as default * Sync changes down * Update submodule change to latest one * Update the PR template to include the new Changelog format (#5477) * Remove limitation on "wp db size" (#5507) * Revert "Remove limitation on "wp db size" (#5507)" (#5522) This reverts commit 2efcab4. Revert "Remove limitation on "wp db size" (#5507)" This reverts commit 720c8b9. * Search: Fix potential prolonged rate-limiting (#5524) * Fix potential prolonged rate-limiting: the rate-limit start time object didn't have an expiration which may prevent the ratelimit window reset * Fix context * Apply settings on after_setup_theme to make sure customer code is included * Only consider requests in current window when enabling ratelimiting * Address feedback * Apply SonarCloud suggestions * remove ttl for indexing ratelimit start. More static over self. --------- Co-authored-by: Rinat K <[email protected]> Co-authored-by: Volodymyr Kolesnykov <[email protected]> Co-authored-by: Luis Henrique Mulinari <[email protected]> Co-authored-by: Luiz Tiago Oliveira <[email protected]> * Jetpack: Update default to 13.4 from 13.3 (#5551) * Jetpack: Update default to 13.4 from 13.3 * Bump version in file meta * Jetpack: Update submodule to 13.4.2 (#5557) * Jetpack 13.4.2 bump (#5556) * Jetpack: Update to 13.5 (#5648) * Jetpack: Update to 13.6 as default (#5725) * Jetpack: Update to 13.6 as default (#5725) * Adds support for the TWILIO_MESSAGING_SERVICE_SID when sending SMS (#5737) * rename TWILIO_MESSAGING_SERVICE_SID to VIP_TWILIO_MESSAGING_SERVICE_SID (#5739) * ACL: Default to restricting all on non-prod if ACL is enabled but no options are set (#5796) * ACL: Default to restricting all on non-prod if ACL is enabled but no options are set (#5796) * Jetpack: Set 13.7 as default (for WP 6.5+) (#5809) * Jetpack: Set 13.7 as default * Account for min version bump * Jetpack: Update to 13.8 (#5871) * Integrations: Temporarily disable ES for now --------- Co-authored-by: Caleb Burks <[email protected]> Co-authored-by: Noah Allen <[email protected]> Co-authored-by: Rinat K <[email protected]> Co-authored-by: Luiz Tiago Oliveira <[email protected]> Co-authored-by: Volodymyr Kolesnykov <[email protected]> Co-authored-by: Luis Henrique Mulinari <[email protected]> Co-authored-by: Andrea Grassi <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Gary Jones <[email protected]> Co-authored-by: Rebecca Hum <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: WordPress VIP Bot <[email protected]> Co-authored-by: Luiz Tiago Oliveira <[email protected]> Co-authored-by: Caleb Burks <[email protected]> Co-authored-by: Noah Allen <[email protected]> Co-authored-by: Rinat K <[email protected]> Co-authored-by: Luis Henrique Mulinari <[email protected]> Co-authored-by: Andrea Grassi <[email protected]>
Description
The WordPress core function
get_page_by_path()
had caching added in WP 4.6.0 via https://core.trac.wordpress.org/ticket/36711.The confusing bit is that the effort to make the function use WP_Query (adds priming of caches) internally is the bit that was tried and reverted in https://core.trac.wordpress.org/ticket/56689#comment:19 for WP 6.1.
See #5224.
Changelog Description
Fixed
wpcom_vip_get_page_by_path()
to useget_page_by_path()
.Pre-review checklist
Please make sure the items below have been covered before requesting a review:
Pre-deploy checklist
Steps to Test
No testing is needed as there is no functional change—the correct WordPress version number is now being used in deprecated function calls and documentation to avoid confusion.