[wp-trac] [WordPress Trac] #45435: Port Gutenberg's `removep` Function to Php
WordPress Trac
noreply at wordpress.org
Tue Nov 27 19:15:23 UTC 2018
#45435: Port Gutenberg's `removep` Function to Php
-------------------------+-----------------------------
Reporter: conner_bw | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.9.8
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Gutenberg has `autop` and `removep` functions, code is here:
https://github.com/WordPress/gutenberg/tree/master/packages/autop
`autop` in JS is equivalent to `wpautop` in PHP.
There is no `removep` or `wpremovep` in PHP.
I have often needed it. Please port it into WordPress for PHP developers.
Thank you for your consideration.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45435>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list