3302 Commits

Author SHA1 Message Date
Ryan Boren
212cade30c New filter and phpdoc for get_image_tag(). Props jacobsantos. fixes #7065 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@8030 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-31 19:13:24 +00:00
Ryan Boren
9a401c2ef3 get_post_ancestors() fixes. fixes #7029 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@8020 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-30 20:31:58 +00:00
Ryan Boren
8dc54271c8 Fix duplicate comment notifications. Props MtDewVirus. fixes #6892 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@8005 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-28 15:42:04 +00:00
Ryan Boren
200d276ff9 Fix slashing in tag feed link. fixes #7044 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@8001 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:57:35 +00:00
Ryan Boren
2fecab30e7 Clean and escape
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7963 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 18:09:38 +00:00
Ryan Boren
366ecde9d6 get_archives_link filter. Props codealsatian. fixes #5530 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7960 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 16:44:01 +00:00
Ryan Boren
429ec2369a Use user_trailingslashit. Props Sam_a. fixes #6996 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7954 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 18:51:12 +00:00
Ryan Boren
49b691ed95 Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7953 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 18:47:48 +00:00
Ryan Boren
fdb7b9224e Clear out bad activation keys from 2.5.1. fixes #6842 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7937 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-15 20:10:07 +00:00
Ryan Boren
20a46a424f default is a valid page template. see #6098
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7926 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 21:03:46 +00:00
Ryan Boren
567273889c wp_insert_post() -- Validate page template, check return of insert and update queries, add option to return WP_Error. fixes #6227 see #6098. for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7920 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 23:43:40 +00:00
Ryan Boren
ddb46bdf16 Resurrect comment approval notification. Props chmac. fixes #6892 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7918 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 16:14:55 +00:00
Ryan Boren
b69603f16c Widget arrangement fix from azaozz. fixes #6876 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7882 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 02:05:38 +00:00
Ryan Boren
024de1d4c6 Fix post name check prepare. Props westi. see #6894 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7877 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 17:28:36 +00:00
Ryan Boren
dc75a8f47d Use array calling style. Props guillep2k for the find. fixes #6637 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7873 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 17:00:17 +00:00
Ryan Boren
fbb22bf9f0 Bump script vers. see #6843
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7865 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 23:34:20 +00:00
Ryan Boren
a3d5312f73 thickbox and media upload fixes from azaozz. fixes #6843 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7863 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 20:28:02 +00:00
Peter Westwood
d1630bd57f We have moved on now.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7844 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 06:22:58 +00:00
Peter Westwood
9bb706afea Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for the 2.5 branch props DD32.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7843 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 06:20:53 +00:00
Ryan Boren
f17e94a48b Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7839 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:59:12 +00:00
Ryan Boren
7fc0cde65a Add arg to make special chars optional when generating passwords. fixes #6842 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7837 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:12:56 +00:00
Ryan Boren
85394a3730 Bump
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7834 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:40:25 +00:00
Mark Jaquith
9c859e2e00 Still polishing 2.5.1, so let's unbump so our "for reals, this time" 2.5.1 bump matches the zip
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7824 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:29:37 +00:00
Ryan Boren
8444cfce96 Add some sanity checks
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7822 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:20:50 +00:00
Mark Jaquith
e8b010ba90 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7816 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:46:17 +00:00
Ryan Boren
f0498f91e1 Bump the autosave re-enable delay to 5 seconds, makes sure we manually re-enable the buttons on ajax success, and visually dim the disabled buttons for some UI feedback. Props mdawaffe. fixes #6707 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7812 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:32:16 +00:00
Ryan Boren
481af3b222 Revert [770] for 2.5 pending further discussion. see #6444
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7811 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 22:31:37 +00:00
Ryan Boren
1ca72dc781 Bumpity bump bump
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7806 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 05:45:34 +00:00
Ryan Boren
8fc9537888 Discard buffers. Props azaozz. fixes #6794 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7805 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:26:55 +00:00
Ryan Boren
ec6b2f4823 strlen - 1. Props mdawaffe. see #6146
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7803 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:13:59 +00:00
Ryan Boren
dd215a77da hash_hmac is always available. Drop function_exists check. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7799 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:33:47 +00:00
Ryan Boren
c5f5190646 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7798 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:33:19 +00:00
Ryan Boren
af8e40fae2 Reverting [7733]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7793 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:02:09 +00:00
Ryan Boren
73f8062193 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7791 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 02:23:07 +00:00
Ryan Boren
3a33d0d877 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7789 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:56:19 +00:00
Ryan Boren
3dd9f8e4ef wp_category_checklist() fixes from mdawaffe. fixes #6810 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7778 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 22:46:09 +00:00
Ryan Boren
df457d95bd Silence ini_get warnings. fixes #6787 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7773 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:23:57 +00:00
Ryan Boren
d7bf00e3d1 Typo fix from peaceablewhale. fixes #6579 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7771 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:16:25 +00:00
Ryan Boren
ca36bef609 Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7770 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:06:00 +00:00
Ryan Boren
d29256c38f Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7768 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 20:54:32 +00:00
Ryan Boren
3144acf0f1 Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7765 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:47:53 +00:00
Ryan Boren
dd02facd2e Consult the cached user object in get_usermeta to avoid queries. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7764 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:47:15 +00:00
Ryan Boren
0a09e8eb47 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7763 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:45:49 +00:00
Ryan Boren
1167e95422 Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7753 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 21:28:52 +00:00
Ryan Boren
7320c8f760 Fix pass by ref error. Props DD32. fixes #6776 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7748 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:44:56 +00:00
Ryan Boren
c3c4b32641 Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7744 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:24:35 +00:00
Ryan Boren
ad37cb0847 If widget ID not found, scan the entire registered widgets array looking for legacy IDs. Props Denis-de-Bernardy. fixes #6605
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7735 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 02:19:09 +00:00
Ryan Boren
94d350d502 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7733 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 01:53:14 +00:00
Ryan Boren
f30eba3b20 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7727 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:42:33 +00:00
Ryan Boren
88e53dacf5 Make link widget IDs unique. Props docwhat. fixes #4287 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7723 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:31:39 +00:00