Changes between Initial Version and Version 7 of Ticket #46641
- Timestamp:
- 10/26/2022 01:50:49 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46641
-
Property
Summary
changed from
Add blog_id to post object
toAdd site_id to WP_Post object
-
Property
Summary
changed from
-
Ticket #46641 – Description
initial v7 2 2 3 3 I work on a multisite, where each website can get all posts (from one post type or not). 4 It seem interesting to add new line in object response (get_post() for example) : " blog_id" (where blog_id is an int)4 It seem interesting to add new line in object response (get_post() for example) : "site_id" (where site_id is an int) 5 5 6 - blog_id is 1 per default (if no multisite)6 - site_id is 1 per default (if no multisite) 7 7 8 8 {{{ … … 33 33 [comment_count] => 34 34 [filter] => 35 [ blog_id] =>35 [site_id] => 36 36 ) 37 37 }}}