Commit Graph

2057 Commits

Author SHA1 Message Date
Ryan Boren e015e21650 Disambiguate queries. Props mhyk25. fixes #3747
git-svn-id: https://develop.svn.wordpress.org/trunk@4866 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-05 21:29:39 +00:00
Ryan Boren 81cadfe118 Typo fix from charleshooper. fixes #3743
git-svn-id: https://develop.svn.wordpress.org/trunk@4865 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-03 00:56:23 +00:00
Ryan Boren ae8cc717ac Check page ID only if is_page. fixes #3049
git-svn-id: https://develop.svn.wordpress.org/trunk@4863 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 16:38:26 +00:00
Ryan Boren 10550fe0cd More XMLRPC updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4862 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 07:43:59 +00:00
Matt Mullenweg 8143eac144 Filter for tweaking scripts srcs that go through the script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@4861 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 06:12:18 +00:00
Ryan Boren ab76209618 First cut at mysql utf-8 charset suport. Props to sehh, drupal, and textpattern. fixes #3517
git-svn-id: https://develop.svn.wordpress.org/trunk@4860 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 00:04:35 +00:00
Ryan Boren 609db68a78 Cache user id instead of full user object in the userlogins cache. Props charleshooper. fixes #3716
git-svn-id: https://develop.svn.wordpress.org/trunk@4859 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 00:00:36 +00:00
Mark Jaquith 26f5beaa3d make sure nothing going into the object cache is being passed by reference. fixes #3726
git-svn-id: https://develop.svn.wordpress.org/trunk@4856 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 09:16:15 +00:00
Mark Jaquith ea8fc7def2 Introduce Notoptions and Alloptions caching, so that all options (and previously attempted Notoptions) are read from the cache in one go. Should reduce cache misses to zero or close to it. fixes #3726
git-svn-id: https://develop.svn.wordpress.org/trunk@4855 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 08:53:08 +00:00
Ryan Boren 53bf1a03d7 s/table_prefix/prefix/
git-svn-id: https://develop.svn.wordpress.org/trunk@4853 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 07:26:13 +00:00
Ryan Boren 7a8b3c121c Add get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@4852 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 01:19:36 +00:00
Mark Jaquith fd18faabf1 run get_categories filter on cached get_categories hits. fixes #3728
git-svn-id: https://develop.svn.wordpress.org/trunk@4848 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-31 05:57:54 +00:00
Mark Jaquith fb8f9d400a get_post() should check post cache before page cache. fixes #3724
git-svn-id: https://develop.svn.wordpress.org/trunk@4847 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-31 03:43:02 +00:00
Ryan Boren 0db117a5b6 Set charset for MCE. Props nbachiyski. fixes #3574
git-svn-id: https://develop.svn.wordpress.org/trunk@4845 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-31 02:07:21 +00:00
Ryan Boren 3301510db8 Add pre_option_* filter that allows plugins to short-circuit fetches.
git-svn-id: https://develop.svn.wordpress.org/trunk@4842 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 18:34:18 +00:00
Mark Jaquith 61ce0809a7 Prevent a missing wp-cron.php from causing an infinite loop. Props jan. fixes #3713
git-svn-id: https://develop.svn.wordpress.org/trunk@4834 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 13:06:56 +00:00
Ryan Boren 53b8aa18e4 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@4832 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 01:46:05 +00:00
Ryan Boren b0f28a6dff Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4831 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 01:43:39 +00:00
Ryan Boren 375aab4c00 Fix typo in read_pages conditional. Props McShelby. fixes #3705
git-svn-id: https://develop.svn.wordpress.org/trunk@4825 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-28 21:58:01 +00:00
Ryan Boren 34a1911cce Move to js dir.
git-svn-id: https://develop.svn.wordpress.org/trunk@4824 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-28 21:14:54 +00:00
Mark Jaquith 24e66041c0 Make <!--more--> regex non-greedy. Props Curloso and Viper007Bond. fixes #3698
git-svn-id: https://develop.svn.wordpress.org/trunk@4821 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-27 23:31:42 +00:00
Mark Jaquith 2fd34af717 Have add_option() for options whose non-existence has been cached clear that cached non-existence before adding the option. Nice catch by Westi. fixes #3692
git-svn-id: https://develop.svn.wordpress.org/trunk@4820 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-27 23:06:46 +00:00
Matt Mullenweg e0eb6c809a Bringing in the jquery goodness
git-svn-id: https://develop.svn.wordpress.org/trunk@4816 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-27 18:45:54 +00:00
Ryan Boren 2aee25e27e Update to prototype 1.5.0 and scriptaculous 1.7.0. Fix some AJAXy bits. Props mdawaffe. fixes #3645 #3676 #3519
git-svn-id: https://develop.svn.wordpress.org/trunk@4813 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-26 03:41:17 +00:00
Mark Jaquith eadcf2f4cc Link to TinyMCE css file with http scheme on all server setups. Props MichaelH and Andy. fixes #3646
git-svn-id: https://develop.svn.wordpress.org/trunk@4812 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-26 02:57:07 +00:00
Matt Mullenweg 06804aaf72 This is what I get for commiting remotely, should fix currently known issues with atom 1.0
git-svn-id: https://develop.svn.wordpress.org/trunk@4805 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 08:48:18 +00:00
Matt Mullenweg c348336b89 Missed a file and an easy mistake.
git-svn-id: https://develop.svn.wordpress.org/trunk@4804 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 08:37:26 +00:00
Ryan Boren 04a3b1c246 Don't output ul when title_li is empty. Props m0n5t3r. fixes #3664
git-svn-id: https://develop.svn.wordpress.org/trunk@4800 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 02:02:21 +00:00
Ryan Boren ee4e6927a4 TinyMCE 2.0.9. fixes #3564
git-svn-id: https://develop.svn.wordpress.org/trunk@4799 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 01:20:47 +00:00
Mark Jaquith 58ee51abe9 Cache the non-existence of options to prevent redundant queries. props davidhouse. fixes #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4798 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 00:12:08 +00:00
Mark Jaquith a6a04bb76f Typo in [4790] caught by Znuff. fixes #3644
git-svn-id: https://develop.svn.wordpress.org/trunk@4795 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-24 05:44:24 +00:00
Mark Jaquith ebbe900f42 Tending the graveyard. Memento mori.
git-svn-id: https://develop.svn.wordpress.org/trunk@4791 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-23 09:15:17 +00:00
Mark Jaquith 35e2f47f5f Do not attempt to use rel-tag for URL schemes that do not support it. fixes #3265
git-svn-id: https://develop.svn.wordpress.org/trunk@4790 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-23 08:21:28 +00:00
Ryan Boren ddda423d89 Trunk is now for 2.2 development.
git-svn-id: https://develop.svn.wordpress.org/trunk@4785 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-23 06:30:37 +00:00
Matt Mullenweg 9d138a1954 It's that time again.
git-svn-id: https://develop.svn.wordpress.org/trunk@4782 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-22 21:51:38 +00:00
Ryan Boren 81ccfa17f6 Walker fix ups. fixes #3080
git-svn-id: https://develop.svn.wordpress.org/trunk@4779 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-22 07:05:48 +00:00
Ryan Boren e8e964482d Make sure is_array before extract. Props idle. fixes #3626
git-svn-id: https://develop.svn.wordpress.org/trunk@4778 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-21 20:03:02 +00:00
Ryan Boren bf8655a25f RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@4776 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-20 06:48:56 +00:00
Mark Jaquith c408fe6afa use lang for text/html and xml:lang for all others. Props nickshanks. fixes #3608
git-svn-id: https://develop.svn.wordpress.org/trunk@4775 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 22:10:33 +00:00
Ryan Boren e842aa31f7 Check style. Props nickshanks. fixes #3610
git-svn-id: https://develop.svn.wordpress.org/trunk@4774 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 20:58:56 +00:00
Ryan Boren a41ca94341 Delete page_uris option before updating it to avoid possibly expensive array comparison. #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@4773 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 20:36:35 +00:00
Ryan Boren f8241d6c37 Drop linkcategories table for those upgrading from previous alphas and betas.
git-svn-id: https://develop.svn.wordpress.org/trunk@4772 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 20:33:11 +00:00
Ryan Boren 821b816f01 Lose all JS compression. Save it for another day.
git-svn-id: https://develop.svn.wordpress.org/trunk@4770 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 01:10:32 +00:00
Ryan Boren 63618ea814 Lose quicktags.compressed.js since many people customize quicktags.
git-svn-id: https://develop.svn.wordpress.org/trunk@4769 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 01:05:20 +00:00
Ryan Boren 3e8513baea Category AJAX fixes from mdawaffe. fixes #3343
git-svn-id: https://develop.svn.wordpress.org/trunk@4768 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 00:49:01 +00:00
Ryan Boren 11f6d0247b If WPLANG is empty leave empty. fixes #3611
git-svn-id: https://develop.svn.wordpress.org/trunk@4764 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 17:40:05 +00:00
Ryan Boren 6442428434 RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@4761 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 03:35:01 +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 ebc82b1be2 Add wp_list_categories filter. Props Mark Jaquith. fixes #3586
git-svn-id: https://develop.svn.wordpress.org/trunk@4755 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 22:50:30 +00:00
Ryan Boren fb8bd1dbec Fix SQL error when excluding empty cat. fixes #3598
git-svn-id: https://develop.svn.wordpress.org/trunk@4754 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 22:37:15 +00:00
Ryan Boren 22f99849eb Discard non-scalars when building query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@4753 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 19:05:01 +00:00
Ryan Boren de62091671 Restrict wp_remote_fopen to remote files.
git-svn-id: https://develop.svn.wordpress.org/trunk@4752 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:41:05 +00:00
Ryan Boren 3f2795b691 beta4
git-svn-id: https://develop.svn.wordpress.org/trunk@4750 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:16:20 +00:00
Ryan Boren 21fdc53a8f Send to Editor fixes from mdawaffe. fixes #3594
git-svn-id: https://develop.svn.wordpress.org/trunk@4748 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:10:54 +00:00
Ryan Boren a1a8f1af2e Set eol-style to native.
git-svn-id: https://develop.svn.wordpress.org/trunk@4747 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 17:52:13 +00:00
Ryan Boren fd1a5d4139 Doh! fixes #3587
git-svn-id: https://develop.svn.wordpress.org/trunk@4745 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 07:38:08 +00:00
Ryan Boren 87c05c47fc beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@4744 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 07:19:40 +00:00
Ryan Boren 2a139cd3ca Pass resource to mysql_error. Props jgough. fixes #3544
git-svn-id: https://develop.svn.wordpress.org/trunk@4741 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 02:32:42 +00:00
Ryan Boren 9a5fb19219 Remove empty files.
git-svn-id: https://develop.svn.wordpress.org/trunk@4739 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 02:13:23 +00:00
Ryan Boren 0f2b6b07b9 Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: https://develop.svn.wordpress.org/trunk@4738 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 01:54:50 +00:00
Ryan Boren 51eab57361 Fix plural form parsing. Props nbachiyski. fixes #3577
git-svn-id: https://develop.svn.wordpress.org/trunk@4736 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 01:37:48 +00:00
Ryan Boren 905c34258b gettext fix from Kirin_Lin. fixes #3558
git-svn-id: https://develop.svn.wordpress.org/trunk@4733 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-15 23:09:07 +00:00
Ryan Boren 74e2144f05 Bad cut-and-paste.
git-svn-id: https://develop.svn.wordpress.org/trunk@4728 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-14 01:15:32 +00:00
Ryan Boren 9af63f6f99 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@4727 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-13 21:32:33 +00:00
Ryan Boren f7a60ab956 Add some back compat files and vars. Use is deprecated.
git-svn-id: https://develop.svn.wordpress.org/trunk@4726 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-13 21:23:41 +00:00
Mark Jaquith 6dde066c14 That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4725 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 21:46:29 +00:00
Mark Jaquith 61133b735f Use http_response_code for in status_header() on PHP >= 4.3.0 per Ryan's suggestion. relates to #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4724 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 21:41:48 +00:00
Ryan Boren b9719b9a71 Pass all args to the page walker.
git-svn-id: https://develop.svn.wordpress.org/trunk@4723 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 03:54:22 +00:00
Ryan Boren b232f9b7c4 Use cache sets instead of adds. Props andy. fixes #3562
git-svn-id: https://develop.svn.wordpress.org/trunk@4722 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 22:34:18 +00:00
Ryan Boren 22094458d9 Prev/next query filters. Props mdwaffe. fixes #2415
git-svn-id: https://develop.svn.wordpress.org/trunk@4721 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 04:30:44 +00:00
Ryan Boren dd6274152a RTE link behavior fix from andy. fixes #3466
git-svn-id: https://develop.svn.wordpress.org/trunk@4719 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 03:26:48 +00:00
Ryan Boren e72325a22a Fix typos in get_rss(). Props zuzara. fixes #3527
git-svn-id: https://develop.svn.wordpress.org/trunk@4718 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 03:21:35 +00:00
Ryan Boren 827a32de28 Cast to array to avoid warning. fixes #3556
git-svn-id: https://develop.svn.wordpress.org/trunk@4716 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-10 20:42:17 +00:00
Ryan Boren 2bbd69a21e Fix list cats style arg. Props Dickie. fixes #3552
git-svn-id: https://develop.svn.wordpress.org/trunk@4713 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-10 09:19:02 +00:00
Ryan Boren f9f5f4d372 Beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@4711 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 22:55:32 +00:00
Ryan Boren c9f49bbbb9 sanitize_file_name(). fixes #3382 #3554
git-svn-id: https://develop.svn.wordpress.org/trunk@4710 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 22:53:14 +00:00
Ryan Boren 9fb0fa48fb Hierarchical category count fixes from andy. fixes #2738
git-svn-id: https://develop.svn.wordpress.org/trunk@4707 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 08:45:05 +00:00
Ryan Boren ec1ca7975e Update comment date gmt when updating comment date. Props mm6. fixes #3503
git-svn-id: https://develop.svn.wordpress.org/trunk@4705 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 08:22:28 +00:00
Ryan Boren 12df24f94a TinyMCE updates from andy. fixes #3505
git-svn-id: https://develop.svn.wordpress.org/trunk@4704 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 01:16:40 +00:00
Ryan Boren e3eed95161 Scriptaculous loader changes from mdawaffe. fixes #3519
git-svn-id: https://develop.svn.wordpress.org/trunk@4701 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-08 03:03:36 +00:00
Ryan Boren ee3f4cde4e Load locale specific php code in global context. fixes #3488
git-svn-id: https://develop.svn.wordpress.org/trunk@4699 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-08 00:11:06 +00:00
Matt Mullenweg 85892d3aab Use CDATA to avoid validation errors, fixes #3496. Hat tip: JeremyVisser
git-svn-id: https://develop.svn.wordpress.org/trunk@4691 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-07 02:25:03 +00:00
Matt Mullenweg edc25c4406 Consistent name for our autosave JS file, fixes #3469. Hat tip: nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@4689 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-07 02:16:11 +00:00
Ryan Boren a4ff55c30a Fiddle with object destruction and shutdown. Curses upon php 5.2. fixes #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@4686 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-06 23:36:51 +00:00
Mark Jaquith 6fad793587 burn in Hades, status_header(), destroyer of souls. fixes #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4684 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-06 08:22:12 +00:00
Ryan Boren ac7d4b46cc wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: https://develop.svn.wordpress.org/trunk@4682 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-05 20:54:55 +00:00
Ryan Boren bb14ecda53 wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: https://develop.svn.wordpress.org/trunk@4675 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-04 18:16:33 +00:00
Matt Mullenweg 61692694b1 OMG BETA!
git-svn-id: https://develop.svn.wordpress.org/trunk@4674 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-04 02:48:55 +00:00
Ryan Boren bc8bc5bf09 Custom Image Header. fixes #3465
git-svn-id: https://develop.svn.wordpress.org/trunk@4673 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-03 23:49:34 +00:00
Ryan Boren c34c29d935 Add kses protocol checking to clean_url. Props Andy. fixes #3515
git-svn-id: https://develop.svn.wordpress.org/trunk@4672 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 21:22:41 +00:00
Ryan Boren 29d5c032ce Now with less bugs. fixes #3411
git-svn-id: https://develop.svn.wordpress.org/trunk@4671 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:51:36 +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
Mark Jaquith e576c9a998 __ngettext() correction by nbachiyski. fixes #3508
git-svn-id: https://develop.svn.wordpress.org/trunk@4669 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-31 06:11:24 +00:00
Mark Jaquith d57cc26c58 Remove unused is_comment param in balanceTags() relates to #2714
git-svn-id: https://develop.svn.wordpress.org/trunk@4662 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-23 06:14:34 +00:00
Ryan Boren 0ca0aee18e Add js_escape and attribute_escape filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@4660 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-22 05:26:43 +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
Mark Jaquith 3357b71e0e Reverse backport (?) from 2.0.x of KSES filters
git-svn-id: https://develop.svn.wordpress.org/trunk@4654 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 04:44:34 +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 0fc7ecbc1d Avoid infinite loop when getting attachment link.
git-svn-id: https://develop.svn.wordpress.org/trunk@4644 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-12 22:50:54 +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
Ryan Boren 971402a730 Select http when linking. Props markjaquith. fixes #3462
git-svn-id: https://develop.svn.wordpress.org/trunk@4642 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-12 07:48:04 +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
Mark Jaquith 323a1ac1f3 Revert overzealous i18n from [4545]. Props nbachiyski. fixes #3438
git-svn-id: https://develop.svn.wordpress.org/trunk@4636 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-10 00:23:10 +00:00
Mark Jaquith d4c163f52b Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: https://develop.svn.wordpress.org/trunk@4634 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-09 06:35:22 +00:00
Ryan Boren f769cec548 Fix path to cropper. fixes #3455
git-svn-id: https://develop.svn.wordpress.org/trunk@4633 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 23:01:08 +00:00
Ryan Boren ba54bd7839 Some caching cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4631 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 07:35:45 +00:00
Ryan Boren 664f8de0db did_action()
git-svn-id: https://develop.svn.wordpress.org/trunk@4630 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 03:45:34 +00:00
Ryan Boren 39318c3299 Include cropper and scriptaculous since lots of themes are using them.
git-svn-id: https://develop.svn.wordpress.org/trunk@4629 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 00:10:58 +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 bc386e1784 Check link_count not category_count when doing link hierarchy. Props mdawaffe. fixes #3453
git-svn-id: https://develop.svn.wordpress.org/trunk@4627 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 22:38:27 +00:00
Mark Jaquith db44b0a561 Bunch of whitespace and coding standardization.
git-svn-id: https://develop.svn.wordpress.org/trunk@4626 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:57:23 +00:00
Mark Jaquith 7c07cdc944 get_page() logic re-ordering and inline comments
git-svn-id: https://develop.svn.wordpress.org/trunk@4625 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:10:47 +00:00
Ryan Boren 9271589a5a Fix up get_page cache handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@4624 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 01:06:28 +00:00
Mark Jaquith dd36543bce Disable RTE when editing comments. Props mdawaffe. fixes #3449
git-svn-id: https://develop.svn.wordpress.org/trunk@4622 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 00:38:54 +00:00
Mark Jaquith c0b9ade921 Add überpowerful "query" filter, for SQL queries. fixes #2721
git-svn-id: https://develop.svn.wordpress.org/trunk@4619 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 00:02:03 +00:00
Ryan Boren c6ff4d8f99 Ignore nopaging for feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4618 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-06 23:14:37 +00:00
Ryan Boren d1721ba4d7 Autosave fix up for duplicate drafts from andy. fixes #3379
git-svn-id: https://develop.svn.wordpress.org/trunk@4614 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-06 05:33:52 +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
Ryan Boren 653cfd2f5e Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
git-svn-id: https://develop.svn.wordpress.org/trunk@4606 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 06:45:48 +00:00
Mark Jaquith 8ac738081e trailingslashit() fix for paged posts links from activeingredient. fixes #3163
git-svn-id: https://develop.svn.wordpress.org/trunk@4603 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 14:42:34 +00:00
Mark Jaquith f2659c992f change post_parent on orphaned attachments. props ryanscheuermann. fixes #2681
git-svn-id: https://develop.svn.wordpress.org/trunk@4601 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 14:25:21 +00:00
Mark Jaquith 1dd63dd9e8 Typo fix from tacker. fixes #3431
git-svn-id: https://develop.svn.wordpress.org/trunk@4598 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 12:02:30 +00:00
Ryan Boren 35c79e0a07 Pre-fill http:// when inserting new links. Props andy. fixes #2579
git-svn-id: https://develop.svn.wordpress.org/trunk@4597 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 02:35:17 +00:00
Matt Mullenweg 546425227b MSN Spaces seems to like exclamation points in their URLs, they must be pandering to Yahoo! ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@4593 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 21:55:42 +00:00
Matt Mullenweg 1b25902ffa Prototype compressed doesn't seem to be working out so well :/
Fixes #3414

git-svn-id: https://develop.svn.wordpress.org/trunk@4592 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 21:53:54 +00:00
Matt Mullenweg 3aa3af79c7 Apply filter on locale, fixes #2383
git-svn-id: https://develop.svn.wordpress.org/trunk@4588 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 21:09:24 +00:00
Mark Jaquith 5a35e93a0a global exclude filter for wp_list_pages(). fixes #3402
git-svn-id: https://develop.svn.wordpress.org/trunk@4586 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 09:23:17 +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 5f4d74ee74 Fix pregs. Props Mordred.
git-svn-id: https://develop.svn.wordpress.org/trunk@4582 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 22:44:50 +00:00
Ryan Boren 7b8f7aedc1 Avoid empty result category queries. Props andy. fixes #3416
git-svn-id: https://develop.svn.wordpress.org/trunk@4580 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 18:55:27 +00:00
Ryan Boren 893c5fa38e Fix category feed_img markup. Props mdawaffe. fixes #1207
git-svn-id: https://develop.svn.wordpress.org/trunk@4579 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 18:28:43 +00:00
Ryan Boren 9329aef5cd Give CSS class to parent of current page/cat. Props mdawaffe. fixes #3253
git-svn-id: https://develop.svn.wordpress.org/trunk@4576 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 12:05:21 +00:00
Matt Mullenweg 4185964e93 Some additional hooks for extensibility.
git-svn-id: https://develop.svn.wordpress.org/trunk@4572 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 10:15:15 +00:00
Matt Mullenweg 36e8aa39df Adding a hook for comments, fixes #3084
git-svn-id: https://develop.svn.wordpress.org/trunk@4568 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 03:30:26 +00:00
Matt Mullenweg 5e9ecfffb0 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: https://develop.svn.wordpress.org/trunk@4566 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 03:13:21 +00:00
Matt Mullenweg 1e969aed95 Don't texturize things inside of script or style tags, fixes #2647
git-svn-id: https://develop.svn.wordpress.org/trunk@4565 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 02:53:20 +00:00
Ryan Boren 56a74de876 Close previous element when depth is hit. fixes #3080
git-svn-id: https://develop.svn.wordpress.org/trunk@4564 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 00:38:25 +00:00
Matt Mullenweg f9138f65e7 Small cleanup to autop, fixes #3238
git-svn-id: https://develop.svn.wordpress.org/trunk@4562 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 23:32:45 +00:00
Ryan Boren e9142f3f05 Make sure multiple attachments for the same post have unique permalinks. Props filosofo. fixes #3033
git-svn-id: https://develop.svn.wordpress.org/trunk@4561 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 23:09:27 +00:00
Ryan Boren c539a41672 Truncate sanitized titles to the size of the post_name field without killing multibye characters.
git-svn-id: https://develop.svn.wordpress.org/trunk@4560 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 20:26:42 +00:00
Mark Jaquith 4952ea9672 Milestone for considering alternative feed parsing library was moved past 2.1, so dropping this for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@4557 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 08:53:33 +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 44e40092d5 Can't pass function return to array_shift.
git-svn-id: https://develop.svn.wordpress.org/trunk@4554 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 07:30:11 +00:00
Ryan Boren 798f6dd0d2 Spare input, param, and script from autop. fixes #3054
git-svn-id: https://develop.svn.wordpress.org/trunk@4553 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 02:00:40 +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 a92a6dea29 Fix feed links when using %category% permalink structure. Props westi. fixes #3214
git-svn-id: https://develop.svn.wordpress.org/trunk@4551 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:54:05 +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
Ryan Boren e4faef3550 Inline docs for wpdb. Props masquerade and davidhouse. #2474
git-svn-id: https://develop.svn.wordpress.org/trunk@4549 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:44:33 +00:00