[wp-trac] [WordPress Trac] #51677: Limit param not consistent between object query classes.

WordPress Trac noreply at wordpress.org
Tue Nov 3 21:52:18 UTC 2020


#51677: Limit param not consistent between object query classes.
--------------------------+----------------------
 Reporter:  keraweb       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by keraweb):

 Replying to [comment:4 markparnell]:
 > If anyone is (incorrectly) passing a negative value right now, changing
 it to return all results for `-1` would alter the results they get.

 Are you saying WordPress even considers incorrect function usages for
 backwards compatibility?
 Read through the Slack discussion and I have to say though I'm very much
 pro backwards compatibility, that seems a bit overdone to me..

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


More information about the wp-trac mailing list