Skip to content

Conversation

kean
Copy link
Contributor

@kean kean commented Oct 17, 2025

Refactor foreignID to use PostMetadataContainer introduced in #24946.

It can be tested by setting a breakpoint and saving a post. We do have unit tests coverage as well.

Screenshot 2025-10-17 at 11 19 27 AM

@kean kean added this to the 26.5 milestone Oct 17, 2025
@kean kean added the General label Oct 17, 2025
@kean kean requested a review from crazytonyli October 17, 2025 15:21

extension PostHelper {
@objc public static let foreignIDKey = "wp_jp_foreign_id"
@objc public static let foreignIDKey = PostMetadataContainer.Key.foreignID.rawValue
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's still used in one more place – will address later.

Copy link

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number29541
VersionPR #24951
Bundle IDorg.wordpress.alpha
Commitf3d6613
Installation URL3a76ptiqln3q8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number29541
VersionPR #24951
Bundle IDcom.jetpack.alpha
Commitf3d6613
Installation URL6f5irr905qgn8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@kean kean enabled auto-merge October 17, 2025 15:43
@kean kean added this pull request to the merge queue Oct 19, 2025
Merged via the queue into trunk with commit 73c3f0c Oct 19, 2025
32 of 34 checks passed
@kean kean deleted the task/refactor-foreign-id branch October 19, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants