[wp-trac] [WordPress Trac] #54462: The `post_count` option value isn't incremented when the "Hello world!" post is inserted during blog creation

WordPress Trac noreply at wordpress.org
Wed Nov 17 23:52:29 UTC 2021


#54462: The `post_count` option value isn't incremented when the "Hello world!"
post is inserted during blog creation
------------------------------------+------------------------
 Reporter:  henry.wright            |       Owner:  audrasjb
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  5.9
Component:  Posts, Post Types       |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  multisite
------------------------------------+------------------------

Comment (by dlh):

 @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.

 @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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54462#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list