[wp-trac] [WordPress Trac] #25615: Improve wording for wpautop code

WordPress Trac noreply at wordpress.org
Sun Jan 23 22:56:05 UTC 2022


#25615: Improve wording for wpautop code
-------------------------+-----------------------------
 Reporter:  ricomoorman  |       Owner:  hellofromTonya
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  6.0
Component:  Formatting   |     Version:  0.71
 Severity:  trivial      |  Resolution:
 Keywords:  wpautop      |     Focuses:
-------------------------+-----------------------------
Changes (by peterwilsoncc):

 * keywords:  wpautop has-patch => wpautop


Comment:

 In the [https://github.com/WordPress/wordpress-develop/pull/2215 linked
 pull request]:

 * basic refresh to account for function changes since original report
 * variable names use the original suggestions
 * followed the suggestion of `$text` instead of `$content` to keep the
 consistency identified in [comment:8 comment #8]

 Additionally, the JavaScript equivalents for both the classic and block
 editors appear to use `text`, etc for variable names so don't need any
 changes as best I can tell.

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


More information about the wp-trac mailing list