Commit Graph

1980 Commits

Author SHA1 Message Date
ryan
7ba967ebd2 Update comment date gmt when updating comment date. Props mm6. fixes #3503
git-svn-id: http://svn.automattic.com/wordpress/trunk@4705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 08:22:28 +00:00
ryan
1c45b9c473 TinyMCE updates from andy. fixes #3505
git-svn-id: http://svn.automattic.com/wordpress/trunk@4704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 01:16:40 +00:00
ryan
9ed4ad213b Scriptaculous loader changes from mdawaffe. fixes #3519
git-svn-id: http://svn.automattic.com/wordpress/trunk@4701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 03:03:36 +00:00
ryan
3e26469375 Load locale specific php code in global context. fixes #3488
git-svn-id: http://svn.automattic.com/wordpress/trunk@4699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 00:11:06 +00:00
matt
05c6094a2b Use CDATA to avoid validation errors, fixes #3496. Hat tip: JeremyVisser
git-svn-id: http://svn.automattic.com/wordpress/trunk@4691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 02:25:03 +00:00
matt
5128d39344 Consistent name for our autosave JS file, fixes #3469. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 02:16:11 +00:00
ryan
4d2ab530cb Fiddle with object destruction and shutdown. Curses upon php 5.2. fixes #3354
git-svn-id: http://svn.automattic.com/wordpress/trunk@4686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-06 23:36:51 +00:00
markjaquith
7b18a414db burn in Hades, status_header(), destroyer of souls. fixes #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-06 08:22:12 +00:00
ryan
c5e22b5098 wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-05 20:54:55 +00:00
ryan
6befacf8f7 wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-04 18:16:33 +00:00
matt
7b0d0d180c OMG BETA!
git-svn-id: http://svn.automattic.com/wordpress/trunk@4674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-04 02:48:55 +00:00
ryan
26fff7a52e Custom Image Header. fixes #3465
git-svn-id: http://svn.automattic.com/wordpress/trunk@4673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-03 23:49:34 +00:00
ryan
f5c184f843 Add kses protocol checking to clean_url. Props Andy. fixes #3515
git-svn-id: http://svn.automattic.com/wordpress/trunk@4672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 21:22:41 +00:00
ryan
716e89b369 Now with less bugs. fixes #3411
git-svn-id: http://svn.automattic.com/wordpress/trunk@4671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:51:36 +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
markjaquith
504cf9100c __ngettext() correction by nbachiyski. fixes #3508
git-svn-id: http://svn.automattic.com/wordpress/trunk@4669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-31 06:11:24 +00:00
markjaquith
6dfff141ec Remove unused is_comment param in balanceTags() relates to #2714
git-svn-id: http://svn.automattic.com/wordpress/trunk@4662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-23 06:14:34 +00:00
ryan
f2665b2cb2 Add js_escape and attribute_escape filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-22 05:26:43 +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
markjaquith
d99f7eaf96 Reverse backport (?) from 2.0.x of KSES filters
git-svn-id: http://svn.automattic.com/wordpress/trunk@4654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 04:44:34 +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
6c31c17921 Avoid infinite loop when getting attachment link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 22:50:54 +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
ryan
da1c8e1df5 Select http when linking. Props markjaquith. fixes #3462
git-svn-id: http://svn.automattic.com/wordpress/trunk@4642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 07:48:04 +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
markjaquith
19801dc2f8 Revert overzealous i18n from [4545]. Props nbachiyski. fixes #3438
git-svn-id: http://svn.automattic.com/wordpress/trunk@4636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 00:23:10 +00:00
markjaquith
49565cf608 Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: http://svn.automattic.com/wordpress/trunk@4634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-09 06:35:22 +00:00
ryan
7b5a39561d Fix path to cropper. fixes #3455
git-svn-id: http://svn.automattic.com/wordpress/trunk@4633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 23:01:08 +00:00
ryan
203f6c5ab4 Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 07:35:45 +00:00
ryan
b81bf35aad did_action()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 03:45:34 +00:00
ryan
245fa326d7 Include cropper and scriptaculous since lots of themes are using them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 00:10:58 +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
60fdec501d Check link_count not category_count when doing link hierarchy. Props mdawaffe. fixes #3453
git-svn-id: http://svn.automattic.com/wordpress/trunk@4627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:38:27 +00:00
markjaquith
0aa19529f9 Bunch of whitespace and coding standardization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:57:23 +00:00
markjaquith
010379dd52 get_page() logic re-ordering and inline comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@4625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:10:47 +00:00
ryan
1b9c2ead05 Fix up get_page cache handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 01:06:28 +00:00
markjaquith
fec072e555 Disable RTE when editing comments. Props mdawaffe. fixes #3449
git-svn-id: http://svn.automattic.com/wordpress/trunk@4622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:38:54 +00:00
markjaquith
842741c81d Add überpowerful "query" filter, for SQL queries. fixes #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:02:03 +00:00
ryan
4d72cff3fe Ignore nopaging for feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 23:14:37 +00:00
ryan
1c1b7a2df6 Autosave fix up for duplicate drafts from andy. fixes #3379
git-svn-id: http://svn.automattic.com/wordpress/trunk@4614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 05:33:52 +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
ryan
175dd7bca7 Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
git-svn-id: http://svn.automattic.com/wordpress/trunk@4606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 06:45:48 +00:00
markjaquith
1877fbb867 trailingslashit() fix for paged posts links from activeingredient. fixes #3163
git-svn-id: http://svn.automattic.com/wordpress/trunk@4603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 14:42:34 +00:00
markjaquith
84ec7763be change post_parent on orphaned attachments. props ryanscheuermann. fixes #2681
git-svn-id: http://svn.automattic.com/wordpress/trunk@4601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 14:25:21 +00:00
markjaquith
df98461b02 Typo fix from tacker. fixes #3431
git-svn-id: http://svn.automattic.com/wordpress/trunk@4598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 12:02:30 +00:00
ryan
78968b6bff Pre-fill http:// when inserting new links. Props andy. fixes #2579
git-svn-id: http://svn.automattic.com/wordpress/trunk@4597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 02:35:17 +00:00
matt
4e52293cc9 MSN Spaces seems to like exclamation points in their URLs, they must be pandering to Yahoo! ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:55:42 +00:00
matt
936dfdd36f Prototype compressed doesn't seem to be working out so well :/
Fixes #3414

git-svn-id: http://svn.automattic.com/wordpress/trunk@4592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:53:54 +00:00
matt
81654225ea Apply filter on locale, fixes #2383
git-svn-id: http://svn.automattic.com/wordpress/trunk@4588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:09:24 +00:00
markjaquith
b4a405db46 global exclude filter for wp_list_pages(). fixes #3402
git-svn-id: http://svn.automattic.com/wordpress/trunk@4586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 09:23:17 +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
d1245edae6 Fix pregs. Props Mordred.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 22:44:50 +00:00
ryan
aedf76aa2f Avoid empty result category queries. Props andy. fixes #3416
git-svn-id: http://svn.automattic.com/wordpress/trunk@4580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 18:55:27 +00:00
ryan
c198077fcc Fix category feed_img markup. Props mdawaffe. fixes #1207
git-svn-id: http://svn.automattic.com/wordpress/trunk@4579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 18:28:43 +00:00
ryan
ec850c8478 Give CSS class to parent of current page/cat. Props mdawaffe. fixes #3253
git-svn-id: http://svn.automattic.com/wordpress/trunk@4576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 12:05:21 +00:00
matt
51baba714f Some additional hooks for extensibility.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 10:15:15 +00:00
matt
b7746f62c2 Adding a hook for comments, fixes #3084
git-svn-id: http://svn.automattic.com/wordpress/trunk@4568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 03:30:26 +00:00
matt
089a4da361 Compress scripts using Dojo and link to the compressed versions, saving about 27kb total. Everything I tested still worked, except the colorpicker which is why it's not compressed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 03:13:21 +00:00
matt
c6531fe271 Don't texturize things inside of script or style tags, fixes #2647
git-svn-id: http://svn.automattic.com/wordpress/trunk@4565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 02:53:20 +00:00
ryan
d5e1cc7a6f Close previous element when depth is hit. fixes #3080
git-svn-id: http://svn.automattic.com/wordpress/trunk@4564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 00:38:25 +00:00
matt
162dcec906 Small cleanup to autop, fixes #3238
git-svn-id: http://svn.automattic.com/wordpress/trunk@4562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 23:32:45 +00:00
ryan
ca4b493965 Make sure multiple attachments for the same post have unique permalinks. Props filosofo. fixes #3033
git-svn-id: http://svn.automattic.com/wordpress/trunk@4561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 23:09:27 +00:00
ryan
f066f5ed43 Truncate sanitized titles to the size of the post_name field without killing multibye characters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 20:26:42 +00:00
markjaquith
b0a23b7940 Milestone for considering alternative feed parsing library was moved past 2.1, so dropping this for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 08:53:33 +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
9af8606115 Can't pass function return to array_shift.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 07:30:11 +00:00
ryan
b6e8b1f1c6 Spare input, param, and script from autop. fixes #3054
git-svn-id: http://svn.automattic.com/wordpress/trunk@4553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 02:00:40 +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
f068409a63 Fix feed links when using %category% permalink structure. Props westi. fixes #3214
git-svn-id: http://svn.automattic.com/wordpress/trunk@4551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:54:05 +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
ryan
1668b671ff Inline docs for wpdb. Props masquerade and davidhouse. #2474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:44:33 +00:00
matt
67bc138cfd Normalization of newlines fixes #1020, also did some minor reformatting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-29 23:18:35 +00:00
ryan
3a72d82880 gettext date format strings in wp_get_archives. fixes #1540
git-svn-id: http://svn.automattic.com/wordpress/trunk@4545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-29 21:34:51 +00:00
ryan
04b742e0a2 Bump ver number in MCE help dialog. Props Voper007Bond. fixes #3392
git-svn-id: http://svn.automattic.com/wordpress/trunk@4536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 22:00:10 +00:00
ryan
cc44db510d Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 21:51:13 +00:00
ryan
30af9648b5 Filter post_content_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@4533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-25 17:54:41 +00:00
markjaquith
64429cec1e whitespace tidying by Viper007Bond. fixes #3385
git-svn-id: http://svn.automattic.com/wordpress/trunk@4529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 22:55:28 +00:00
ryan
43fca5536b Caching fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 20:44:03 +00:00
ryan
d7c11f087d Typo. fixes #3389
git-svn-id: http://svn.automattic.com/wordpress/trunk@4527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:41:07 +00:00
ryan
889ff09208 cat_is_ancestor_of(). fixes #3387
git-svn-id: http://svn.automattic.com/wordpress/trunk@4525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:37:44 +00:00
ryan
814a2b0c1c Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
matt
3e5ade7a39 Typo in get_calendar
git-svn-id: http://svn.automattic.com/wordpress/trunk@4523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 18:31:27 +00:00
matt
3224300951 Caching for get_calendar
git-svn-id: http://svn.automattic.com/wordpress/trunk@4522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:56:53 +00:00
matt
226a7a48eb Caching for get_pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@4521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:21:08 +00:00
matt
b7d514be34 Caching for get_bookmarks
git-svn-id: http://svn.automattic.com/wordpress/trunk@4520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:04:05 +00:00
matt
e05b055337 Caching for get_categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@4519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 16:52:42 +00:00
matt
64b8121680 Typo in logic was causing extra page queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 16:06:16 +00:00
matt
624c94b57e This makes things a little more interesting and cacheable (sp?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 15:38:22 +00:00
matt
384ec6e6c5 Let's be a little less verbose here
git-svn-id: http://svn.automattic.com/wordpress/trunk@4516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 00:10:30 +00:00
markjaquith
16998c6bb3 trying Ryan's suggestion for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-22 04:58:31 +00:00
ryan
49281a1caf Bump autosave interval to 2 minutes for now. #3379
git-svn-id: http://svn.automattic.com/wordpress/trunk@4512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-22 02:54:04 +00:00
ryan
6f8d9c92a5 Make wptexturize faster. Props ecb29. fixes #2980
git-svn-id: http://svn.automattic.com/wordpress/trunk@4511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 22:00:10 +00:00
ryan
102885ebbc Upload JS fixes from mdawaffe. fixes #3378
git-svn-id: http://svn.automattic.com/wordpress/trunk@4510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 20:10:01 +00:00
ryan
4caa7051e8 Bump script ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 01:40:25 +00:00
ryan
29cb9128a7 Kill form submission during autosave.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 01:39:09 +00:00
ryan
f336d22da7 TinyMCE 2.0.8
git-svn-id: http://svn.automattic.com/wordpress/trunk@4506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 00:55:06 +00:00
ryan
84bef56f9d ID instead of id. Props Nazgul. fixes #3152
git-svn-id: http://svn.automattic.com/wordpress/trunk@4505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 05:01:57 +00:00
ryan
9a8391315a ID instead of id. Props Nazgul. fixes #3152
git-svn-id: http://svn.automattic.com/wordpress/trunk@4504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:29:06 +00:00
ryan
bb0d086933 get_children() uses get_posts(). Props mdawaffe. fixes #3189
git-svn-id: http://svn.automattic.com/wordpress/trunk@4503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:23:12 +00:00
ryan
761d46a887 Fix logo link and use install.css in wpdb bail. Props Sewar. fixes #3209
git-svn-id: http://svn.automattic.com/wordpress/trunk@4502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:07:34 +00:00
ryan
fff43b9dee Don't linebreak after Z. Props andy. fixes #3312
git-svn-id: http://svn.automattic.com/wordpress/trunk@4501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:02:40 +00:00
ryan
9952fe0bc4 Pass format string and gmtbool as args to data and time filters. Props sdiz. fixes #2754
git-svn-id: http://svn.automattic.com/wordpress/trunk@4498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 01:46:20 +00:00
ryan
4780071918 Handle empty authors list. Props MichaelH. fixes #2384
git-svn-id: http://svn.automattic.com/wordpress/trunk@4497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 08:06:03 +00:00
ryan
9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan
38e868257a i18n fix for comments_number(). Props Mark Jaquith. fixes #3244
git-svn-id: http://svn.automattic.com/wordpress/trunk@4494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:45:28 +00:00
ryan
422b5cd65c ceil() max_num_pages. Props MattRead. fixes #3368
git-svn-id: http://svn.automattic.com/wordpress/trunk@4488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 00:58:15 +00:00
ryan
92421de747 Ref more singletons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 00:12:57 +00:00
ryan
80550746c6 Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: http://svn.automattic.com/wordpress/trunk@4483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 20:46:43 +00:00
ryan
f9c7eadff4 Visual and Code. Props foolswisdom. fixes #3233
git-svn-id: http://svn.automattic.com/wordpress/trunk@4476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-17 21:16:17 +00:00
ryan
fd46e4b1f6 Fix attachment links for page on front. Props mdawaffe. fixes #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@4475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-17 20:00:11 +00:00
markjaquith
a8889fb947 silence the fopen() in wp_remote_fopen()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-15 22:46:35 +00:00
ryan
7684ebbeac Set extract type and rename car to avoid overwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-15 00:25:44 +00:00
ryan
bc46166de6 Inline uploader tweaks from mdawaffe. fixes #3360
git-svn-id: http://svn.automattic.com/wordpress/trunk@4466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-14 23:18:20 +00:00
ryan
1d8d18022e is_singular should be false for the posts page. Props mdawaffe. fixes #3351
git-svn-id: http://svn.automattic.com/wordpress/trunk@4463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-11 18:25:42 +00:00
markjaquith
ca63f7b35a valid XHTML for uploader. props tassoman and mdawaffe. fixes #3340
git-svn-id: http://svn.automattic.com/wordpress/trunk@4461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-09 19:02:40 +00:00
ryan
22bee1c9d7 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-09 06:50:58 +00:00
ryan
37a9660885 Bump script vers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:24:52 +00:00
ryan
f83762e87d Ajax plugin tweakage from mdawaffe. fixes #3334
git-svn-id: http://svn.automattic.com/wordpress/trunk@4458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:23:41 +00:00
ryan
92bacd1a91 Remove paging by days. fixes #3341
git-svn-id: http://svn.automattic.com/wordpress/trunk@4457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:22:35 +00:00
ryan
19942073ea Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 09:13:11 +00:00
ryan
70b9f6e5ed Wrap cat name in CDATA. props alexkingorg. fixes #3252
git-svn-id: http://svn.automattic.com/wordpress/trunk@4454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 06:57:26 +00:00
ryan
a5b7a24962 Fix amp handling. Props skeltoac. fixes #3328
git-svn-id: http://svn.automattic.com/wordpress/trunk@4451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 01:12:41 +00:00
ryan
1977863614 GROUP BY is hella faster than DISTINCT.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-07 23:43:59 +00:00
markjaquith
5cd38edafe possible solution for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-03 02:42:47 +00:00
ryan
db789c6f59 category_before and category_after
git-svn-id: http://svn.automattic.com/wordpress/trunk@4444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-02 22:12:13 +00:00
markjaquith
32815e5c71 Another autosave typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-02 02:47:59 +00:00
ryan
917e73da40 Seconds not milliseconds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-01 17:19:33 +00:00
ryan
4771a89e34 Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@4439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-01 16:49:23 +00:00
markjaquith
439538aa5b Catch NULL, bool, and integer values in is_serialized(). Props mdawaffe. fixes #3310
git-svn-id: http://svn.automattic.com/wordpress/trunk@4438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-31 08:24:09 +00:00
markjaquith
21586ee6b6 [4432] missed "comment => c" conversion in edit_comment_link(). Props tinyau. fixes #3309
git-svn-id: http://svn.automattic.com/wordpress/trunk@4436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-31 06:13:43 +00:00
markjaquith
9b0c765df6 Better preservation of query string when using add_query_arg(). Props in self- and Andy-flavored varieties. fixes #3308
git-svn-id: http://svn.automattic.com/wordpress/trunk@4435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-31 05:49:14 +00:00
ryan
5e605dfa5b Autosave periodical executor from masquerade. fixes #3195
git-svn-id: http://svn.automattic.com/wordpress/trunk@4433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-30 20:18:59 +00:00
matt
b6a531917e Make these links shorter and remove unneeded vars
git-svn-id: http://svn.automattic.com/wordpress/trunk@4432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-30 19:27:24 +00:00
markjaquith
1001b4c5b8 Allow "quoted strings" to be used in searches. mega free-beer-when-I-finally-meet-you-in-person props to ringmaster. fixes #3177
git-svn-id: http://svn.automattic.com/wordpress/trunk@4426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-27 03:47:43 +00:00
ryan
209ca583ff get_page_by_title()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-26 19:55:10 +00:00
markjaquith
3795560bc6 Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: http://svn.automattic.com/wordpress/trunk@4419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-24 10:52:59 +00:00
markjaquith
0fd28b6d83 Don't assume that TinyMCE exists, and degrade gracefully if it doesn't. fixes #3272
git-svn-id: http://svn.automattic.com/wordpress/trunk@4417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-24 03:57:19 +00:00
ryan
ea9df4eb3f Init query_vars as an array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-23 01:34:00 +00:00
markjaquith
e7b9e6ac2d Revert [3952] because it causes double slashing
git-svn-id: http://svn.automattic.com/wordpress/trunk@4409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-19 00:39:01 +00:00
markjaquith
5d42dae380 Add wp_redirect filter, with cancel ability. fixes #3250
git-svn-id: http://svn.automattic.com/wordpress/trunk@4407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-18 22:02:30 +00:00
ryan
fa133a0fce Fix handling of stylesheet only themes that live two-levels deep.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-18 20:24:59 +00:00
markjaquith
5aeac330dc Entity encode image title attribute. Props mdawaffe. fixes #3258
git-svn-id: http://svn.automattic.com/wordpress/trunk@4402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-17 18:24:36 +00:00
matt
fb64ee90ef Some helper functions for themes and images
git-svn-id: http://svn.automattic.com/wordpress/trunk@4401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-16 06:06:18 +00:00
matt
61aa085018 Allow themes in subdirectories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-16 05:57:33 +00:00
markjaquith
5d34552e04 SimplePie patch not ready for prime time. Need it to be a drop-in solution. Reverting to MagpieRSS for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-16 04:16:06 +00:00
markjaquith
997b5c7c3b Only run stripslashes() on strings in update_usermeta(). Props stm. fixes #3240
git-svn-id: http://svn.automattic.com/wordpress/trunk@4396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-14 05:35:50 +00:00
markjaquith
fd5492d87b Code cleanup: wp-includes/plugin.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@4394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 14:01:53 +00:00
markjaquith
6c7037a96d Code cleanup: wp-includes/feed.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@4393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 13:49:39 +00:00