[wp-trac] [WordPress Trac] #57987: Introduce new `wp_word_count` function

WordPress Trac noreply at wordpress.org
Mon Aug 25 10:12:25 UTC 2025


#57987: Introduce new `wp_word_count` function
-------------------------------------------------+-------------------------
 Reporter:  wildworks                            |       Owner:  pbearne
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.9
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by wildworks):

 Thanks to everyone who contributed to the ticket.

 As [https://core.trac.wordpress.org/ticket/57987#comment:5 I commented],
 the `wp_word_count` function was needed for the Time to Read block.
 However, the block has not been decided to ship to the core. Therefore,
 the `wp_word_count` function is no longer necessary.

 I think we need to audit whether the function itself is useful or not
 first. Personally, I suggest closing this patch as "Maybe later".

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


More information about the wp-trac mailing list