[wp-trac] [WordPress Trac] #61987: Removed Unused Arguments From _wp_filter_build_unique_id Function

WordPress Trac noreply at wordpress.org
Thu Sep 19 00:15:04 UTC 2024


#61987: Removed Unused Arguments From _wp_filter_build_unique_id Function
--------------------------------------+------------------------------
 Reporter:  wpdebuglog                |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Plugins                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by peterwilsoncc):

 Replying to [comment:8 knutsp]:
 > Could a new function be created and used in core, and deprecate this
 one?

 I don't think there is much point as the function is very low level. For
 the million or so sites running plugins making use of the function, it
 would add noise to their logs without any real gain.

 I will keep this ticket open so a default can be added to the final unused
 argument to allow the function to be called without specifying it.

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


More information about the wp-trac mailing list