[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
Thu Nov 18 00:07:30 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          |     Focuses:  multisite
-------------------------------+------------------------

Comment (by audrasjb):

 @dlh @henrywright do we agree on the patch proposed in comment11 ?
 {{{
 if ( is_multisite() ) {
         update_posts_count();
 }
 }}}

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


More information about the wp-trac mailing list