Commit Graph

7932 Commits

Author SHA1 Message Date
Ryan Boren 5bfe6fa2b1 Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17455 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 16:25:52 +00:00
Ryan Boren d4e9bb7183 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17453 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 23:59:45 +00:00
Ryan Boren db31b732eb Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17451 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 23:57:13 +00:00
Andrew Nacin b6d982827e s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17448 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-14 22:57:18 +00:00
Ryan Boren a57952b5c9 Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17443 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 21:48:40 +00:00
Ryan Boren db54fd77fe Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17441 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:41:08 +00:00
Ryan Boren 81a1787248 Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17437 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:17:54 +00:00
Ryan Boren 451d7d8ffb Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Andrew Nacin 683912a877 Cleanup crew.
git-svn-id: https://develop.svn.wordpress.org/trunk@17434 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:24 +00:00
Ryan Boren 4d95849968 Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17429 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:13:28 +00:00
Ryan Boren 40ef969983 Return early if list is not an array. Props nacin. fixes #16499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17427 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:06:22 +00:00
Andrew Nacin 15ea5342e5 Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17422 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-08 20:17:09 +00:00
Ryan Boren 2adf4a0f7f RC4
git-svn-id: https://develop.svn.wordpress.org/trunk@17417 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 23:01:06 +00:00
Ryan Boren e3c732da0c Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17413 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:19:41 +00:00
Ryan Boren f98f93f137 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17409 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-06 19:20:00 +00:00
Ryan Boren 579eb2ab28 Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17404 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-06 18:37:20 +00:00
Mark Jaquith 118fb7f8ed Do not use PHP5-only array_combine. props duck_. see #16459 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17402 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:46:07 +00:00
Ryan Boren 777b15311d Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17398 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:31:05 +00:00
Mark Jaquith acfa8f4e60 No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17391 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:24:01 +00:00
Mark Jaquith 04ab78140f Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17385 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 20:42:00 +00:00
Mark Jaquith 5b5b5e7747 restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17379 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 00:17:30 +00:00
Mark Jaquith 17c837ee67 Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17377 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-01 01:42:09 +00:00
Andrew Nacin 0e87bd1f4d D'oh.
git-svn-id: https://develop.svn.wordpress.org/trunk@17375 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 17:28:27 +00:00
Andrew Nacin a8c4559c38 Keep trunk and branches/3.1 in sync for now, for the beta tester plugin. Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17374 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 17:27:29 +00:00
Andrew Nacin 861b32c855 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17372 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 12:18:57 +00:00
Mark Jaquith ad5baf38be Please switch to branches/3.1! See: http://wp.me/pbNCB-lf for background.
git-svn-id: https://develop.svn.wordpress.org/trunk@17371 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-30 21:23:55 +00:00
Ryan Boren 0d8d463048 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@17368 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-27 15:18:22 +00:00
Ryan Boren 10cd8cb856 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17365 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 20:04:24 +00:00
Ryan Boren e131cde02f Pagination fixes. Props garyc40. fixes #16357
git-svn-id: https://develop.svn.wordpress.org/trunk@17361 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 19:20:20 +00:00
Mark Jaquith e51e83d0c9 Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: https://develop.svn.wordpress.org/trunk@17358 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 21:15:50 +00:00
Mark Jaquith daecb5d36d Revert [16832]. see #9591. fixes #16282
git-svn-id: https://develop.svn.wordpress.org/trunk@17357 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 06:26:38 +00:00
Andrew Nacin b5de468b5b RC3.
git-svn-id: https://develop.svn.wordpress.org/trunk@17355 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:50:23 +00:00
Ryan Boren bdd25aad05 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Ryan Boren 9ab413e3fc Admin bar RTL fixes. Props ocean90. fixes #16340
git-svn-id: https://develop.svn.wordpress.org/trunk@17348 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 13:40:58 +00:00
Ryan Boren a73eee9c84 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: https://develop.svn.wordpress.org/trunk@17347 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 03:25:29 +00:00
Ryan Boren 9a0960f97a jQuery UI 1.8.9. Props demetris. fixes #16331
git-svn-id: https://develop.svn.wordpress.org/trunk@17346 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 02:30:03 +00:00
Mark Jaquith 4bca42b961 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith 19b385450e Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Andrew Nacin b5d92c4354 Correct the @return for get_term_link. It always has been able to return WP_Error. props SergeyBiryukov, see #16282.
git-svn-id: https://develop.svn.wordpress.org/trunk@17341 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 23:36:42 +00:00
Andrew Nacin a79c8d9715 Compress and bump, see #16308.
git-svn-id: https://develop.svn.wordpress.org/trunk@17335 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 20:59:53 +00:00
Ryan Boren 2e90e4c5e5 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17330 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 18:56:21 +00:00
Andrew Nacin 23b061fae6 Only show 'Edit %s' in the admin bar when show_ui. fixes #16304.
git-svn-id: https://develop.svn.wordpress.org/trunk@17329 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 16:58:30 +00:00
Andrew Nacin 01bf30c760 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: https://develop.svn.wordpress.org/trunk@17327 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 09:44:17 +00:00
Mark Jaquith 57571e6675 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17326 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 17:32:35 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Andrew Nacin 71b24d4577 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17321 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:34:38 +00:00
Andrew Nacin 4615ef1fa3 Remove cruft overflow:hidden from the admin bar items. props ocean90, fixes #15654.
git-svn-id: https://develop.svn.wordpress.org/trunk@17317 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 04:36:46 +00:00
Peter Westwood bdb4930bbe Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310.

git-svn-id: https://develop.svn.wordpress.org/trunk@17316 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 23:44:06 +00:00
Peter Westwood 3a069aab56 Things that go bump in the night
git-svn-id: https://develop.svn.wordpress.org/trunk@17315 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 22:39:35 +00:00
Andrew Nacin bda519ae53 Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: https://develop.svn.wordpress.org/trunk@17313 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 21:13:49 +00:00