Commit Graph

7928 Commits

Author SHA1 Message Date
ryan
55c2425b3b 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: http://svn.automattic.com/wordpress/trunk@17443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 21:48:40 +00:00
ryan
035b775354 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:41:08 +00:00
ryan
6a8ff66305 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: http://svn.automattic.com/wordpress/trunk@17437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:17:54 +00:00
ryan
f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
nacin
3e569036a5 Cleanup crew.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:24 +00:00
ryan
3cd43bf6b8 Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:13:28 +00:00
ryan
6fbe3c685d Return early if list is not an array. Props nacin. fixes #16499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:06:22 +00:00
nacin
20c5d823bc Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-08 20:17:09 +00:00
ryan
2af129d664 RC4
git-svn-id: http://svn.automattic.com/wordpress/trunk@17417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 23:01:06 +00:00
ryan
c7dee15b3c Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:19:41 +00:00
ryan
f613349c98 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 19:20:00 +00:00
ryan
80f47f270b Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 18:37:20 +00:00
markjaquith
57eeed9f3e Do not use PHP5-only array_combine. props duck_. see #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:46:07 +00:00
ryan
322898f150 Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:31:05 +00:00
markjaquith
7cfc0088d6 No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:24:01 +00:00
markjaquith
b9487742e0 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: http://svn.automattic.com/wordpress/trunk@17385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:42:00 +00:00
markjaquith
c08a6a4044 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: http://svn.automattic.com/wordpress/trunk@17379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 00:17:30 +00:00
markjaquith
790f28fbe1 Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-01 01:42:09 +00:00
nacin
e656d1ab86 D'oh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:28:27 +00:00
nacin
d6a40438f6 Keep trunk and branches/3.1 in sync for now, for the beta tester plugin. Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:27:29 +00:00
nacin
95ef90de64 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 12:18:57 +00:00
markjaquith
9afb883ffa Please switch to branches/3.1! See: http://wp.me/pbNCB-lf for background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-30 21:23:55 +00:00
ryan
f2feff7453 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@17368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 15:18:22 +00:00
ryan
3d90dfb160 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:04:24 +00:00
ryan
b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
markjaquith
8e98240a80 Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: http://svn.automattic.com/wordpress/trunk@17358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 21:15:50 +00:00
markjaquith
4603a50cae Revert [16832]. see #9591. fixes #16282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 06:26:38 +00:00
nacin
7c2102556c RC3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:50:23 +00:00
ryan
862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
ryan
a0b442ede7 Admin bar RTL fixes. Props ocean90. fixes #16340
git-svn-id: http://svn.automattic.com/wordpress/trunk@17348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 13:40:58 +00:00
ryan
498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
ryan
9d0ec2454f jQuery UI 1.8.9. Props demetris. fixes #16331
git-svn-id: http://svn.automattic.com/wordpress/trunk@17346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 02:30:03 +00:00
markjaquith
47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith
acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin
f8c83ed7d3 Correct the @return for get_term_link. It always has been able to return WP_Error. props SergeyBiryukov, see #16282.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 23:36:42 +00:00
nacin
1dcd3afe46 Compress and bump, see #16308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 20:59:53 +00:00
ryan
4ca193fb7f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 18:56:21 +00:00
nacin
b642ea2c77 Only show 'Edit %s' in the admin bar when show_ui. fixes #16304.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:58:30 +00:00
nacin
d4dd0fe211 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 09:44:17 +00:00
markjaquith
fb6bed81c7 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 17:32:35 +00:00
nacin
37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin
94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin
f020f81261 Remove cruft overflow:hidden from the admin bar items. props ocean90, fixes #15654.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 04:36:46 +00:00
westi
42f57d4798 Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 23:44:06 +00:00
westi
3927f60c18 Things that go bump in the night
git-svn-id: http://svn.automattic.com/wordpress/trunk@17315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 22:39:35 +00:00
nacin
692a2c0ed2 Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 21:13:49 +00:00
westi
96736834de Add explit link to the licence for this file. Fixes #16078
git-svn-id: http://svn.automattic.com/wordpress/trunk@17312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 17:49:03 +00:00
nacin
6b50544ca5 jQuery UI 1.8.8. props demetris, fixes #16234.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:39:38 +00:00
markjaquith
2ebbbd7bdd WordPress contains libraries only available under the GPL v2 or later. No one cares about the GPL v1 anymore. We are now specifically saying that WordPress is available under the GPL version 2 or (at your option) any later version. This was discussed with the entire core team.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 19:26:43 +00:00
nacin
ccc6cfaafd For admin bar padding, use margin on the html element instead of padding on the body element. Causes far less conflicts. props aldenta, fixes #16222.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 17:52:51 +00:00