Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54462, comment 15


Ignore:
Timestamp:
11/17/2021 11:53:12 PM (3 years ago)
Author:
dlh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54462, comment 15

    initial v1  
    11@audrasjb Sure, either works. The function call is just a small amount of future-proofing should it become possible to change the default content or should core install two posts by default.
    22
    3 @henrywright For one thing, I don't think the value would be incremented properly on a single-site installation, would it? The only two calls to it currently are in `ms-blogs.php`. Expanding `post_count` to work in single-site installations might still make sense, but it seems like a separate effort.
     3@henrywright For one thing, I don't think the value would be incremented properly on a single-site installation, would it? The only two calls to `update_posts_count()` currently are in `ms-blogs.php`. Expanding `post_count` to work in single-site installations might still make sense, but it seems like a separate effort.