Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Make sure post_author is string in PHP but keep int in JS #251

Merged
merged 1 commit into from
Sep 9, 2016

Conversation

westonruter
Copy link
Contributor

Align with a core oddity of WP_Post that post_author is a string as opposed to an int. See https://core.trac.wordpress.org/ticket/22324

The post_author value will remain a Number in JavaScript and will not be casted to a String.

@westonruter westonruter added this to the 0.8.0 milestone Sep 9, 2016
@westonruter westonruter merged commit 0fd04c8 into develop Sep 9, 2016
@westonruter westonruter deleted the bugfix/post-author-type branch September 9, 2016 04:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant