Commit Graph

3280 Commits

Author SHA1 Message Date
Ryan Boren
7321cfa5a1 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: https://develop.svn.wordpress.org/trunk@3311 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 20:31:29 +00:00
Ryan Boren
44fc04c42e Don't treat a numeric user name as an id.
git-svn-id: https://develop.svn.wordpress.org/trunk@3310 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:45:20 +00:00
Ryan Boren
ecea3fad26 is_user_logged_in()
git-svn-id: https://develop.svn.wordpress.org/trunk@3309 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:31:41 +00:00
Ryan Boren
8b4c730141 Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@3308 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 01:17:46 +00:00
Ryan Boren
33f045c3df noscript support for uploading. fixes #2078
git-svn-id: https://develop.svn.wordpress.org/trunk@3307 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-14 08:29:43 +00:00
Ryan Boren
75e382c0e4 JS init changes. fixes #2077
git-svn-id: https://develop.svn.wordpress.org/trunk@3306 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-14 06:27:30 +00:00
Ryan Boren
8e9acf0511 More inline uploading tweaks. fixes #2076
git-svn-id: https://develop.svn.wordpress.org/trunk@3305 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-14 04:24:05 +00:00
Ryan Boren
f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren
e7b4d38f78 Better user check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3302 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 18:18:07 +00:00
Ryan Boren
afd6d33bf2 Remove lang attribute. fixes #2072
git-svn-id: https://develop.svn.wordpress.org/trunk@3301 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 08:47:55 +00:00
Ryan Boren
f4579af67b Update post cache before running the_posts filter. Since we already retrieved them, might as well cache them even if they are filtered out by plugins later.
git-svn-id: https://develop.svn.wordpress.org/trunk@3300 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:49:09 +00:00
Ryan Boren
5a02ae79af If no user is logged in, setup an empty user.
git-svn-id: https://develop.svn.wordpress.org/trunk@3299 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:40 +00:00
Ryan Boren
b1b88e415f Add optional user_id arg.
git-svn-id: https://develop.svn.wordpress.org/trunk@3298 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:08 +00:00
Ryan Boren
73edfc7c20 Add read_post meta cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3297 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 00:54:52 +00:00
Ryan Boren
53271cf5ac role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: https://develop.svn.wordpress.org/trunk@3296 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 23:20:44 +00:00
Ryan Boren
56e626673e i18n updates from nbachiyski. fixes #2069
git-svn-id: https://develop.svn.wordpress.org/trunk@3295 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 22:48:30 +00:00
Ryan Boren
c0c4222938 Use 'were' for past subjunctive. fixes #2000
git-svn-id: https://develop.svn.wordpress.org/trunk@3294 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:48:12 +00:00
Ryan Boren
2907e6aade Fix attachment queries. fixes #2041
git-svn-id: https://develop.svn.wordpress.org/trunk@3293 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:33:46 +00:00
Ryan Boren
baeac0c8ee MCE improvements from skeltoac. fixes #2058
git-svn-id: https://develop.svn.wordpress.org/trunk@3292 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:27:56 +00:00
Ryan Boren
b74a303ec5 Resurrect save_post action for back compat. fixes #2063
git-svn-id: https://develop.svn.wordpress.org/trunk@3291 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 00:30:14 +00:00
Ryan Boren
e225cc0e92 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: https://develop.svn.wordpress.org/trunk@3290 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 19:14:29 +00:00
Ryan Boren
bbf06ccf54 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: https://develop.svn.wordpress.org/trunk@3289 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 18:01:19 +00:00
Ryan Boren
2ca271695a Remove debug cruft. fixes #2056
git-svn-id: https://develop.svn.wordpress.org/trunk@3288 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 17:57:50 +00:00
Ryan Boren
a0fd8d74eb Gecko paste fix. fixes #2051
git-svn-id: https://develop.svn.wordpress.org/trunk@3287 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 01:32:05 +00:00
Ryan Boren
2c6e4421b4 Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: https://develop.svn.wordpress.org/trunk@3286 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:29:39 +00:00
Ryan Boren
2ec76f2801 Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: https://develop.svn.wordpress.org/trunk@3285 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:22:47 +00:00
Ryan Boren
d7e8fb6b25 Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: https://develop.svn.wordpress.org/trunk@3284 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 19:03:22 +00:00
Ryan Boren
d9c8d0818a MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: https://develop.svn.wordpress.org/trunk@3283 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:24:14 +00:00
Ryan Boren
fcb2a69feb Peekaboo, I see you. fixes #2008
git-svn-id: https://develop.svn.wordpress.org/trunk@3282 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:21:39 +00:00
Ryan Boren
743ac5a1b8 TEXT fields cannot have defaults. #1953
git-svn-id: https://develop.svn.wordpress.org/trunk@3281 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:04:12 +00:00
Ryan Boren
be4624c49b Remove debug cruft. fixes #2040
git-svn-id: https://develop.svn.wordpress.org/trunk@3280 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-08 23:54:24 +00:00
Ryan Boren
3f81a79727 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: https://develop.svn.wordpress.org/trunk@3279 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-08 00:08:12 +00:00
Ryan Boren
de15eae87a gzdeflate unnecessary. fixes #2038
git-svn-id: https://develop.svn.wordpress.org/trunk@3278 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 23:53:02 +00:00
Ryan Boren
1a2ed535e9 Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: https://develop.svn.wordpress.org/trunk@3277 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 19:02:05 +00:00
Ryan Boren
6f6e018161 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: https://develop.svn.wordpress.org/trunk@3276 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 00:36:07 +00:00
Ryan Boren
10f9717448 Enable rich editing for comment form.
git-svn-id: https://develop.svn.wordpress.org/trunk@3275 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 00:30:39 +00:00
Ryan Boren
77a91d9096 Add wp_title filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@3274 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 23:57:41 +00:00
Ryan Boren
579e426260 autop fixes from skeltoac. fixes #2022
git-svn-id: https://develop.svn.wordpress.org/trunk@3273 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 17:00:01 +00:00
Ryan Boren
8cc3fefe8f i18n fix from pandem. fixes #2028
git-svn-id: https://develop.svn.wordpress.org/trunk@3272 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 16:58:26 +00:00
Ryan Boren
94bc2195d4 Decrease comment count only when deleting approved comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@3271 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 05:31:27 +00:00
Ryan Boren
35dcc72e9b Delete user's usermeta when deleting the user.
git-svn-id: https://develop.svn.wordpress.org/trunk@3270 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 05:17:28 +00:00
Ryan Boren
3edb82141a Add edit_pages checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3269 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 04:04:23 +00:00
Ryan Boren
89fb46bcce Check for publish_posts cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3268 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:38:35 +00:00
Ryan Boren
163b423722 Relocate wp_upload_dir(). fixes #2019
git-svn-id: https://develop.svn.wordpress.org/trunk@3267 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:17:03 +00:00
Ryan Boren
0e5c4ea5b6 Role fixup from David House. fixes #2024
git-svn-id: https://develop.svn.wordpress.org/trunk@3266 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:11:55 +00:00
Ryan Boren
0ea01ba67c tinyMCE updates from skeltoac. fixes #1991
git-svn-id: https://develop.svn.wordpress.org/trunk@3265 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:04:25 +00:00
Ryan Boren
fc196300e4 Alignment fix from skeltoac. fixes #2007
git-svn-id: https://develop.svn.wordpress.org/trunk@3264 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:41:11 +00:00
Ryan Boren
69b25f7c4e Eliminate eval. Props ringmaster. fixes #2002
git-svn-id: https://develop.svn.wordpress.org/trunk@3263 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:39:41 +00:00
Ryan Boren
f8f9acc610 i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:37:02 +00:00
Ryan Boren
34bc7627e0 Remove extra paren. fixes #2018
git-svn-id: https://develop.svn.wordpress.org/trunk@3261 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 18:00:36 +00:00