Commit Graph

326 Commits

Author SHA1 Message Date
ryan
00e9ff778a Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
ryan
7f0a905ee6 Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 20:44:45 +00:00
rob1n
f91c1016ef Take out useless preg_match()'s and ignore directories starting with ".". Props m0n5t3r. fixes #4047
git-svn-id: http://svn.automattic.com/wordpress/trunk@5152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 19:30:18 +00:00
ryan
4de9ca69c2 More clean_url and int casts for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:45:41 +00:00
ryan
f24f716775 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: http://svn.automattic.com/wordpress/trunk@5118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 21:20:16 +00:00
matt
613dbfcffa A backend interface for tagging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 07:28:29 +00:00
matt
3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan
1f09b04793 clean_url only REQUEST_URI to avoid breaking the edit link. see #4001
git-svn-id: http://svn.automattic.com/wordpress/trunk@5072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 06:23:22 +00:00
ryan
408b5ce591 Don't translate .thumbnail extension. fixes #2942
git-svn-id: http://svn.automattic.com/wordpress/trunk@5071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 06:07:17 +00:00
ryan
809a88a918 Use clean_url instead of inline preg. Props rob1n. fixes #3983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 03:58:31 +00:00
markjaquith
611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
ryan
5a64ea52c3 Rephrase category delete AYS prompt. Props rob1n. fixes #3464
git-svn-id: http://svn.automattic.com/wordpress/trunk@5033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-13 23:54:45 +00:00
ryan
d115b53371 Make sure imageantialias exists. Props rob1n and jeppe. fixes #3939
git-svn-id: http://svn.automattic.com/wordpress/trunk@5016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:26:28 +00:00
ryan
0f5ca2efcb Add missing filters. Props jhodgdon. fixes #3599
git-svn-id: http://svn.automattic.com/wordpress/trunk@5015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:25:33 +00:00
markjaquith
2a11c99459 Sanitize browser-bound add_query_arg() outputs. fixes #3937
git-svn-id: http://svn.automattic.com/wordpress/trunk@5007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:36:24 +00:00
markjaquith
3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith
00f7071af4 add_users_page() to address changing top-level menu item. fixes #3706
git-svn-id: http://svn.automattic.com/wordpress/trunk@4987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:03:32 +00:00
markjaquith
d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith
6e9a8afe6e Make sure attachments uploaded on unsaved drafts get reunited with their parent post. Props mdawaffe. fixes #3757
git-svn-id: http://svn.automattic.com/wordpress/trunk@4884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 01:03:06 +00:00
markjaquith
b0d10c7ad5 Template Name: regex fixup by gjorgensen. fixes #3674
git-svn-id: http://svn.automattic.com/wordpress/trunk@4809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 19:42:30 +00:00
ryan
06e9886777 Make some date/time formats translateable. Props teknoseyir and nbachiyski. fixes #3661
git-svn-id: http://svn.automattic.com/wordpress/trunk@4802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 02:08:54 +00:00
ryan
ed4186b15f Fix wp_create_thumbnail filter. Props filosofo. fixes #3654
git-svn-id: http://svn.automattic.com/wordpress/trunk@4796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-24 07:17:14 +00:00
ryan
8c6162e883 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: http://svn.automattic.com/wordpress/trunk@4760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 03:32:54 +00:00
ryan
0409c8671d Thumbnail creation fix from mdawaffe. fixes #3588
git-svn-id: http://svn.automattic.com/wordpress/trunk@4759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-17 06:23:18 +00:00
ryan
4f2db4c4f3 Thumbnail creation fixes from mdawaffe. fixes #3588
git-svn-id: http://svn.automattic.com/wordpress/trunk@4751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:34:31 +00:00
ryan
634eb771b7 Show cats that have neither links or posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-10 00:22:17 +00:00
ryan
d8d4ca14d0 js_escape and quot fixes from nbachiyski. fixes #3524
git-svn-id: http://svn.automattic.com/wordpress/trunk@4700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 03:02:33 +00:00
markjaquith
874234dc6f Don't re-validate the username when updating the profile (as it can't be edited anyway). Props killer-g. fixes #3531
git-svn-id: http://svn.automattic.com/wordpress/trunk@4693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 07:52:57 +00:00
matt
44691d34ca Don't show categories that are exclusively for either posts or links, unless it's used for both.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 02:10:50 +00:00
ryan
cd99ca7b90 Attachment fixes from mdawaffe. fixes #3411
git-svn-id: http://svn.automattic.com/wordpress/trunk@4670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:28:30 +00:00
ryan
ce655b96b8 Typo fixes from mdawaffe. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-27 00:51:00 +00:00
markjaquith
dc17d069c0 Categories with zero posts and posts with no comments no longer link to those empty views in the admin. fixes #3493
git-svn-id: http://svn.automattic.com/wordpress/trunk@4659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:40:16 +00:00
markjaquith
8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +00:00
markjaquith
bdd210972c Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith
5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
32cc2c3ef0 Enable RTE for new users. fixes #3485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-19 23:19:12 +00:00
ryan
4ea0406712 Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 08:36:16 +00:00
markjaquith
d0e0ceb748 Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
git-svn-id: http://svn.automattic.com/wordpress/trunk@4637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 17:17:39 +00:00
ryan
3b09e48f19 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: http://svn.automattic.com/wordpress/trunk@4628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:42:22 +00:00
ryan
995d839bfb Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
markjaquith
b6092da12a Fix Template Name and Description metadata regex typo. Props devil1591. fixes #3437
git-svn-id: http://svn.automattic.com/wordpress/trunk@4610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 12:29:08 +00:00
ryan
7d4c7408f5 upload-js gettext. Props nbachiyski. fixes #3224
git-svn-id: http://svn.automattic.com/wordpress/trunk@4605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 02:29:45 +00:00
ryan
bff928f8b8 Hooks needed to allow alternate category admin inteface. Props alexkingorg. fixes #3408
git-svn-id: http://svn.automattic.com/wordpress/trunk@4595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 00:48:03 +00:00
ryan
ccacbf47cd Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: http://svn.automattic.com/wordpress/trunk@4583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 23:00:04 +00:00
ryan
3026668de6 Return status from save_mod_rewrite_rules(). Props Viper007Bond. fixes #3409
git-svn-id: http://svn.automattic.com/wordpress/trunk@4577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 12:07:01 +00:00
markjaquith
7ed36f06aa cast to array when checking for old post slugs. fixes #3202
git-svn-id: http://svn.automattic.com/wordpress/trunk@4571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 04:51:09 +00:00
markjaquith
42529f4516 Remember old post slugs and automatically redirect to the new slug. fixes #3202
git-svn-id: http://svn.automattic.com/wordpress/trunk@4556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 08:48:56 +00:00
ryan
556b27b296 Don't use 'import' as a mime type. Props mdawaffe and westi. fixes #3219
git-svn-id: http://svn.automattic.com/wordpress/trunk@4552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:56:06 +00:00
ryan
832953ade7 Update allowed protocols. fixes #2726
git-svn-id: http://svn.automattic.com/wordpress/trunk@4550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:50:48 +00:00