Commit Graph

3570 Commits

Author SHA1 Message Date
ryan 3671c6786d 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: http://svn.automattic.com/wordpress/trunk@3300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:49:09 +00:00
ryan 2343663e0b If no user is logged in, setup an empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:40 +00:00
ryan f2d7c06c6d Add optional user_id arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:08 +00:00
ryan f588d966bd Add read_post meta cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 00:54:52 +00:00
ryan 72650ed6b7 role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: http://svn.automattic.com/wordpress/trunk@3296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 23:20:44 +00:00
ryan ece625403c i18n updates from nbachiyski. fixes #2069
git-svn-id: http://svn.automattic.com/wordpress/trunk@3295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 22:48:30 +00:00
ryan ea090d6f91 Use 'were' for past subjunctive. fixes #2000
git-svn-id: http://svn.automattic.com/wordpress/trunk@3294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:48:12 +00:00
ryan 2a4aafe9b9 Fix attachment queries. fixes #2041
git-svn-id: http://svn.automattic.com/wordpress/trunk@3293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:33:46 +00:00
ryan 9d75e305a2 MCE improvements from skeltoac. fixes #2058
git-svn-id: http://svn.automattic.com/wordpress/trunk@3292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:27:56 +00:00
ryan b5da83787d Resurrect save_post action for back compat. fixes #2063
git-svn-id: http://svn.automattic.com/wordpress/trunk@3291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 00:30:14 +00:00
ryan 93cd8402f2 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: http://svn.automattic.com/wordpress/trunk@3290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 19:14:29 +00:00
ryan 931ee9ff74 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: http://svn.automattic.com/wordpress/trunk@3289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 18:01:19 +00:00
ryan ffcfc84b78 Remove debug cruft. fixes #2056
git-svn-id: http://svn.automattic.com/wordpress/trunk@3288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 17:57:50 +00:00
ryan 4e4739b918 Gecko paste fix. fixes #2051
git-svn-id: http://svn.automattic.com/wordpress/trunk@3287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 01:32:05 +00:00
ryan e6bcf0632d Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: http://svn.automattic.com/wordpress/trunk@3286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:29:39 +00:00
ryan 157aecdf6e Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:22:47 +00:00
ryan 0ace9024cd Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: http://svn.automattic.com/wordpress/trunk@3284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 19:03:22 +00:00
ryan 06c51d01c2 MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: http://svn.automattic.com/wordpress/trunk@3283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:24:14 +00:00
ryan 25887cc8bc Peekaboo, I see you. fixes #2008
git-svn-id: http://svn.automattic.com/wordpress/trunk@3282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:21:39 +00:00
ryan 8bb98038ab TEXT fields cannot have defaults. #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:04:12 +00:00
ryan ec0b1a8602 Remove debug cruft. fixes #2040
git-svn-id: http://svn.automattic.com/wordpress/trunk@3280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 23:54:24 +00:00
ryan 1f2e257074 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: http://svn.automattic.com/wordpress/trunk@3279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 00:08:12 +00:00
ryan 3221e7d7df gzdeflate unnecessary. fixes #2038
git-svn-id: http://svn.automattic.com/wordpress/trunk@3278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 23:53:02 +00:00
ryan c8b54e3bba Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: http://svn.automattic.com/wordpress/trunk@3277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 19:02:05 +00:00
ryan 1547da4733 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: http://svn.automattic.com/wordpress/trunk@3276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:36:07 +00:00
ryan 0d0c51e8fe Enable rich editing for comment form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:30:39 +00:00
ryan 181dd79885 Add wp_title filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 23:57:41 +00:00
ryan 3d55d1e28c autop fixes from skeltoac. fixes #2022
git-svn-id: http://svn.automattic.com/wordpress/trunk@3273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 17:00:01 +00:00
ryan 9d4c41b823 i18n fix from pandem. fixes #2028
git-svn-id: http://svn.automattic.com/wordpress/trunk@3272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 16:58:26 +00:00
ryan 9dc3881715 Decrease comment count only when deleting approved comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 05:31:27 +00:00
ryan fbaf9428a0 Delete user's usermeta when deleting the user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 05:17:28 +00:00
ryan 1a44970d3a Add edit_pages checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 04:04:23 +00:00
ryan 37bd0472b1 Check for publish_posts cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:38:35 +00:00
ryan bd31c21f83 Relocate wp_upload_dir(). fixes #2019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:17:03 +00:00
ryan 6fbd70fcdb Role fixup from David House. fixes #2024
git-svn-id: http://svn.automattic.com/wordpress/trunk@3266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:11:55 +00:00
ryan 57ce56e8f4 tinyMCE updates from skeltoac. fixes #1991
git-svn-id: http://svn.automattic.com/wordpress/trunk@3265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:04:25 +00:00
ryan 38fbb47e77 Alignment fix from skeltoac. fixes #2007
git-svn-id: http://svn.automattic.com/wordpress/trunk@3264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:41:11 +00:00
ryan f0d0e69648 Eliminate eval. Props ringmaster. fixes #2002
git-svn-id: http://svn.automattic.com/wordpress/trunk@3263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:39:41 +00:00
ryan 843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan 3f1e55afc3 Remove extra paren. fixes #2018
git-svn-id: http://svn.automattic.com/wordpress/trunk@3261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 18:00:36 +00:00
ryan d77b5659aa i18n updates from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 17:42:12 +00:00
ryan a06b4a86cf i18n updates from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 17:39:36 +00:00
ryan 7023eb3f59 i18n updates from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 17:35:36 +00:00
ryan 68b055fdd8 Use correct ids. Props filosofo. fixes #2016
git-svn-id: http://svn.automattic.com/wordpress/trunk@3257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 17:32:07 +00:00
ryan 18b3f7f749 Use link_rel id. Props filosofo. fixes #2017
git-svn-id: http://svn.automattic.com/wordpress/trunk@3256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 17:30:49 +00:00
ryan 30a8b614b2 Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 22:51:40 +00:00
ryan 9de108b9bf Make sure user_login keyed caches are cleared upon change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 17:38:37 +00:00
ryan 7fc3f04fc1 Textpattern importer updates from technosailor. #1944
git-svn-id: http://svn.automattic.com/wordpress/trunk@3253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 17:12:22 +00:00
ryan 40a83116c2 Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 01:34:29 +00:00
ryan 3e14966b54 Attachment cleanups from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 22:44:00 +00:00