Commit Graph

326 Commits

Author SHA1 Message Date
Ryan Boren 8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
rob1n fa0b7d4690 Take out useless preg_match()'s and ignore directories starting with ".". Props m0n5t3r. fixes #4047
git-svn-id: https://develop.svn.wordpress.org/trunk@5152 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 19:30:18 +00:00
Ryan Boren 51cd99bb02 More clean_url and int casts for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +00:00
Ryan Boren 8a15ffc657 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: https://develop.svn.wordpress.org/trunk@5118 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 21:20:16 +00:00
Matt Mullenweg b7debfb42b A backend interface for tagging.
git-svn-id: https://develop.svn.wordpress.org/trunk@5110 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 07:28:29 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren b4cb2c9cf0 clean_url only REQUEST_URI to avoid breaking the edit link. see #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5072 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 06:23:22 +00:00
Ryan Boren f4a63dac75 Don't translate .thumbnail extension. fixes #2942
git-svn-id: https://develop.svn.wordpress.org/trunk@5071 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 06:07:17 +00:00
Ryan Boren 2c7201f057 Use clean_url instead of inline preg. Props rob1n. fixes #3983 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5068 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 03:58:31 +00:00
Mark Jaquith d8336eed5c 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: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren 55d0aa30a5 Rephrase category delete AYS prompt. Props rob1n. fixes #3464
git-svn-id: https://develop.svn.wordpress.org/trunk@5033 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-13 23:54:45 +00:00
Ryan Boren 9768611dc1 Make sure imageantialias exists. Props rob1n and jeppe. fixes #3939
git-svn-id: https://develop.svn.wordpress.org/trunk@5016 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:26:28 +00:00
Ryan Boren e57eea2390 Add missing filters. Props jhodgdon. fixes #3599
git-svn-id: https://develop.svn.wordpress.org/trunk@5015 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:25:33 +00:00
Mark Jaquith db67d51e29 Sanitize browser-bound add_query_arg() outputs. fixes #3937
git-svn-id: https://develop.svn.wordpress.org/trunk@5007 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:36:24 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5b1ff4fbd5 add_users_page() to address changing top-level menu item. fixes #3706
git-svn-id: https://develop.svn.wordpress.org/trunk@4987 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:03:32 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Mark Jaquith 03b8080356 Make sure attachments uploaded on unsaved drafts get reunited with their parent post. Props mdawaffe. fixes #3757
git-svn-id: https://develop.svn.wordpress.org/trunk@4884 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 01:03:06 +00:00
Mark Jaquith ffdb5a89ef Template Name: regex fixup by gjorgensen. fixes #3674
git-svn-id: https://develop.svn.wordpress.org/trunk@4809 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 19:42:30 +00:00
Ryan Boren 4de9fef5c6 Make some date/time formats translateable. Props teknoseyir and nbachiyski. fixes #3661
git-svn-id: https://develop.svn.wordpress.org/trunk@4802 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 02:08:54 +00:00
Ryan Boren e03fb2e4eb Fix wp_create_thumbnail filter. Props filosofo. fixes #3654
git-svn-id: https://develop.svn.wordpress.org/trunk@4796 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-24 07:17:14 +00:00
Ryan Boren d3c162e0e5 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: https://develop.svn.wordpress.org/trunk@4760 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 03:32:54 +00:00
Ryan Boren 7e357f96c0 Thumbnail creation fix from mdawaffe. fixes #3588
git-svn-id: https://develop.svn.wordpress.org/trunk@4759 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-17 06:23:18 +00:00
Ryan Boren f2bb5877ef Thumbnail creation fixes from mdawaffe. fixes #3588
git-svn-id: https://develop.svn.wordpress.org/trunk@4751 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:34:31 +00:00
Ryan Boren a4d511017c Show cats that have neither links or posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@4712 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-10 00:22:17 +00:00
Ryan Boren 192a3d47be js_escape and quot fixes from nbachiyski. fixes #3524
git-svn-id: https://develop.svn.wordpress.org/trunk@4700 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-08 03:02:33 +00:00
Mark Jaquith c1cc3d6dc7 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: https://develop.svn.wordpress.org/trunk@4693 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-07 07:52:57 +00:00
Matt Mullenweg e555c51adb Don't show categories that are exclusively for either posts or links, unless it's used for both.
git-svn-id: https://develop.svn.wordpress.org/trunk@4687 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-07 02:10:50 +00:00
Ryan Boren 368695f87d Attachment fixes from mdawaffe. fixes #3411
git-svn-id: https://develop.svn.wordpress.org/trunk@4670 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:28:30 +00:00
Ryan Boren 4942019a9c Typo fixes from mdawaffe. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4664 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-27 00:51:00 +00:00
Mark Jaquith 2c190706cd Categories with zero posts and posts with no comments no longer link to those empty views in the admin. fixes #3493
git-svn-id: https://develop.svn.wordpress.org/trunk@4659 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 23:40:16 +00:00
Mark Jaquith f95b191dab i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4658 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 23:06:18 +00:00
Mark Jaquith a011b23b47 Whitespace cleanup for [4656]
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:45:58 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren 0620ac2076 Enable RTE for new users. fixes #3485
git-svn-id: https://develop.svn.wordpress.org/trunk@4651 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-19 23:19:12 +00:00
Ryan Boren 1b7d2a91d8 Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@4643 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-12 08:36:16 +00:00
Mark Jaquith dc22bfe6f6 Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
git-svn-id: https://develop.svn.wordpress.org/trunk@4637 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-10 17:17:39 +00:00
Ryan Boren e8184e1027 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: https://develop.svn.wordpress.org/trunk@4628 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 22:42:22 +00:00
Ryan Boren 32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Mark Jaquith b86eca3e1f Fix Template Name and Description metadata regex typo. Props devil1591. fixes #3437
git-svn-id: https://develop.svn.wordpress.org/trunk@4610 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 12:29:08 +00:00
Ryan Boren 9220699686 upload-js gettext. Props nbachiyski. fixes #3224
git-svn-id: https://develop.svn.wordpress.org/trunk@4605 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 02:29:45 +00:00
Ryan Boren 50442c5914 Hooks needed to allow alternate category admin inteface. Props alexkingorg. fixes #3408
git-svn-id: https://develop.svn.wordpress.org/trunk@4595 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 00:48:03 +00:00
Ryan Boren f906c003c6 Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: https://develop.svn.wordpress.org/trunk@4583 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 23:00:04 +00:00
Ryan Boren 70d72e9942 Return status from save_mod_rewrite_rules(). Props Viper007Bond. fixes #3409
git-svn-id: https://develop.svn.wordpress.org/trunk@4577 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 12:07:01 +00:00
Mark Jaquith 41696e78d5 cast to array when checking for old post slugs. fixes #3202
git-svn-id: https://develop.svn.wordpress.org/trunk@4571 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 04:51:09 +00:00
Mark Jaquith be11dbe438 Remember old post slugs and automatically redirect to the new slug. fixes #3202
git-svn-id: https://develop.svn.wordpress.org/trunk@4556 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 08:48:56 +00:00
Ryan Boren 80203b1777 Don't use 'import' as a mime type. Props mdawaffe and westi. fixes #3219
git-svn-id: https://develop.svn.wordpress.org/trunk@4552 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:56:06 +00:00
Ryan Boren 01cfb71b45 Update allowed protocols. fixes #2726
git-svn-id: https://develop.svn.wordpress.org/trunk@4550 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:50:48 +00:00