Commit Graph

27701 Commits

Author SHA1 Message Date
Boone Gorges 40ec420689 Allow ORDER BY in `WP_Comment_Query::query()` to be disabled.
Disable ORDER BY by passing boolean false, an empty array, or the string
'none' to the 'orderby parameter. This mirrors the behavior of `WP_Query`.

Props psycleuk.
Fixes #29902.
Built from https://develop.svn.wordpress.org/trunk@30004


git-svn-id: http://core.svn.wordpress.org/trunk@30004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 02:51:19 +00:00
Boone Gorges f780d0d09b Add unit tests for WP_Comment_Query 'orderby' param.
For better testability, the SQL string generated in `WP_Comment_Query::get_posts()`
is now stored as a 'request' property on the object.

See #29902.
Built from https://develop.svn.wordpress.org/trunk@30003


git-svn-id: http://core.svn.wordpress.org/trunk@30003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 02:34:18 +00:00
Andrew Ozz 8681dc786c Editor: use <button> instead of <a> for the Visual/Text buttons, make them focusable. Props afercia, fixes #27553
Built from https://develop.svn.wordpress.org/trunk@30002


git-svn-id: http://core.svn.wordpress.org/trunk@30002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 01:21:18 +00:00
Boone Gorges 34f3c6faf2 Set current user to 0 after each unit test.
This prevents $current_user, $userdata, and other user-related globals from
being polluted if a previous test does not properly reset the current user.

Props nacin, mnelson4.
Fixes #29712.
Built from https://develop.svn.wordpress.org/trunk@30001


git-svn-id: http://core.svn.wordpress.org/trunk@30001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 00:59:18 +00:00
Andrew Nacin 1df979dea5 4.1-alpha-30000 (!)
Built from https://develop.svn.wordpress.org/trunk@30000


git-svn-id: http://core.svn.wordpress.org/trunk@30000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 23:32:19 +00:00
Andrew Nacin 23bcdc8089 4.1-alpha-29999
Built from https://develop.svn.wordpress.org/trunk@29999


git-svn-id: http://core.svn.wordpress.org/trunk@29999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 23:27:20 +00:00
Andrew Nacin 49729f6e35 4.1-alpha-29998. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:40 +00:00
Andrew Nacin d6f37c2f9b 4.1-alpha-29997. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:39 +00:00
Andrew Nacin d134bb7f42 4.1-alpha-29996. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:38 +00:00
Andrew Nacin a9c72f0ccf 4.1-alpha-29995. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:37 +00:00
Andrew Nacin dc259efd77 4.1-alpha-29994. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:36 +00:00
Andrew Nacin 661676d57d 4.1-alpha-29993. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:35 +00:00
Andrew Nacin f76901b8b1 4.1-alpha-29992. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:34 +00:00
Andrew Nacin be954c2ac9 4.1-alpha-29991. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:33 +00:00
Andrew Nacin 4520bfd83a 4.1-alpha-29990. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:32 +00:00
Andrew Nacin 4e50e1ae47 4.1-alpha-29989. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:31 +00:00
Andrew Nacin fa13230216 4.1-alpha-29988. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:30 +00:00
Andrew Nacin 54eefdf23f 4.1-alpha-29987. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:29 +00:00
Andrew Nacin f2aa96c821 4.1-alpha-29986. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:28 +00:00
Andrew Nacin 0dc211f9e8 4.1-alpha-29985. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:27 +00:00
Andrew Nacin 3dcd08fc9e 4.1-alpha-29984. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:26 +00:00
Andrew Nacin 72549de5b1 4.1-alpha-29983. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:25 +00:00
Andrew Nacin 0a31a051c1 4.1-alpha-29982. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:24 +00:00
Andrew Nacin 65f1326d97 4.1-alpha-29981. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:23 +00:00
Andrew Nacin 1a89790c7c 4.1-alpha-29980. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:22 +00:00
Andrew Nacin d3c19bc09c 4.1-alpha-29979. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:21 +00:00
Andrew Nacin 8b4e0394da 4.1-alpha-29978. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:20 +00:00
Andrew Nacin de3e1f8f2c 4.1-alpha-29977. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:19 +00:00
Andrew Nacin 799b982ce5 4.1-alpha-29976. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:18 +00:00
Andrew Nacin 85815a3f2a 4.1-alpha-29975. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:17 +00:00
Andrew Nacin 91275eb4a3 4.1-alpha-29974. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:16 +00:00
Andrew Nacin 04b0ce56fb 4.1-alpha-29973. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:15 +00:00
Andrew Nacin db7bff6266 4.1-alpha-29972. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:14 +00:00
Andrew Nacin 037dea021e 4.1-alpha-29971. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:13 +00:00
Andrew Nacin 100abf04db 4.1-alpha-29970. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:12 +00:00
Andrew Nacin a330de3b7c 4.1-alpha-29969. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:11 +00:00
Andrew Nacin 78a01b262c 4.1-alpha-29968. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:10 +00:00
Andrew Nacin c3020b5082 4.1-alpha-29967. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:09 +00:00
Andrew Nacin 471e276490 4.1-alpha-29966. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:08 +00:00
Andrew Nacin 16781a7c58 4.1-alpha-29965. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:07 +00:00
Andrew Nacin c680300e19 4.1-alpha-29964. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:06 +00:00
Andrew Nacin e80f82606b 4.1-alpha-29963. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:05 +00:00
Andrew Nacin 74cd92f4c8 4.1-alpha-29962. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:04 +00:00
Andrew Nacin 25e66dca37 4.1-alpha-29961. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:03 +00:00
Andrew Nacin 480c52dde1 4.1-alpha-29960. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:02 +00:00
Andrew Nacin d7a2acda0b 4.1-alpha-29959. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:01 +00:00
Andrew Nacin 369b1e87f5 4.1-alpha-29958. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:00 +00:00
Andrew Nacin 9bb73fcbf4 4.1-alpha-29957. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:00:59 +00:00
Andrew Nacin 6a787e8992 4.1-alpha-29956. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:00:58 +00:00
Andrew Nacin 943fc26c4f 4.1-alpha-29955. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:00:57 +00:00