[wp-trac] [WordPress Trac] #45435: Port Gutenberg's `removep` Function to Php

WordPress Trac noreply at wordpress.org
Tue Nov 24 02:44:43 UTC 2020


#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                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by noisysocks):

 Thanks for the patch!

 As a rule I'm always a little wary of adding new APIs to Core that aren't
 used in Core anywhere. Could you explain a little about your use case for
 `wpremovep`? Are there existing alternatives? What are the pros and cons
 of `wpremovep` versus any existing alternatives?

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


More information about the wp-trac mailing list