Make WordPress Core

Changes between Initial Version and Version 7 of Ticket #46641


Ignore:
Timestamp:
10/26/2022 01:50:49 PM (18 months ago)
Author:
SergeyBiryukov
Comment:

Renaming the ticket per comment:3.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46641

    • Property Summary changed from Add blog_id to post object to Add site_id to WP_Post object
  • Ticket #46641 – Description

    initial v7  
    22
    33I 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)
     4It seem interesting to add new line in object response (get_post() for example) : "site_id" (where site_id is an int)
    55
    6 - blog_id is 1 per default (if no multisite)
     6- site_id is 1 per default (if no multisite)
    77
    88{{{
     
    3333    [comment_count] =>
    3434    [filter] =>
    35     [blog_id] =>
     35    [site_id] =>
    3636)
    3737}}}