WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #31045, comment 24


Ignore:
Timestamp:
01/31/2015 07:28:13 PM (3 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31045, comment 24

    v1 v2  
    22
    33The purpose of the discussion is to -- as simply as possible -- draw a line between setting the value in the clause and referencing it in the orderby. By avoiding the use of the word "orderby" in the new argument name, we also don't lock ourselves into that vernacular should we find another good use for this argument in the future.
     4
     5I'd also recommend updating the docs for the `orderby` argument in `WP_Query`.