[wp-trac] [WordPress Trac] #30875: enforce integers in add_filter priority

WordPress Trac noreply at wordpress.org
Thu Jan 1 22:53:31 UTC 2015


#30875: enforce integers in add_filter priority
------------------------------------------+------------------------------
 Reporter:  drrobotnik                    |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Plugins                       |     Version:  4.1
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch dev-feedback close  |     Focuses:
------------------------------------------+------------------------------

Comment (by boonebgorges):

 Adherence to "intended usage" is not a sufficient reason to make breaking
 changes. We'll only make changes that break backward compatibility if the
 current usage patterns - even if those patterns are "unintended" - are
 causing practical problems. Aside from the mild confusion that might
 result from PHP's sorting algorithms, I can't think of any actual bugs
 that would come out of the current behavior. We should not make breaking
 changes for academic reasons.

 If the problem is that the actual behavior doesn't match the docs, then we
 should update the docs.

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


More information about the wp-trac mailing list