Commit Graph

4175 Commits

Author SHA1 Message Date
Ryan Boren
44c5526505 Eliminate object_term_cache array. see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6243 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:23:59 +00:00
Mark Jaquith
23666ca104 Some foreach array casting
git-svn-id: https://develop.svn.wordpress.org/trunk@6242 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 05:33:39 +00:00
Mark Jaquith
00a44f580a prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6241 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 03:51:11 +00:00
Mark Jaquith
13758c870e Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@6240 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 02:36:38 +00:00
Mark Jaquith
05f7b9d773 Allow wpdb->update() to optionally take a named array of where column/value pairs (which will be ANDed)
git-svn-id: https://develop.svn.wordpress.org/trunk@6239 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 01:44:25 +00:00
Mark Jaquith
48c555d637 Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6238 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:54:26 +00:00
Mark Jaquith
ac2a4ed5dc More use of db_insert()/db_update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6237 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:48:52 +00:00
Mark Jaquith
1140390e17 Oops, within the class here.
git-svn-id: https://develop.svn.wordpress.org/trunk@6236 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:45:34 +00:00
Ryan Boren
a6076f7083 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6233 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:47:34 +00:00
Ryan Boren
770c20562c Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:12:34 +00:00
Peter Westwood
789b65933e Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
git-svn-id: https://develop.svn.wordpress.org/trunk@6228 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 20:01:16 +00:00
Peter Westwood
c0e3dc42d7 Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker
git-svn-id: https://develop.svn.wordpress.org/trunk@6227 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 19:49:25 +00:00
Ryan Boren
b6905da933 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: https://develop.svn.wordpress.org/trunk@6224 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 17:43:49 +00:00
Mark Jaquith
f1f150fd50 Code cleanup and standardization for functions.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6223 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 05:46:57 +00:00
Mark Jaquith
3cf979dd42 Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: https://develop.svn.wordpress.org/trunk@6222 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 22:11:18 +00:00
Mark Jaquith
67cb7b99ef Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6221 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 22:01:40 +00:00
Mark Jaquith
000bbba87b check for a match against a lowercase host in wp_safe_redirect(). props BoltClock. fixes #5114 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6219 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 19:25:23 +00:00
Ryan Boren
3df52cab4b Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6218 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 18:51:12 +00:00
Mark Jaquith
b467f930fd Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: https://develop.svn.wordpress.org/trunk@6216 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 23:16:35 +00:00
Ryan Boren
63299130a8 jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6214 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:51:25 +00:00
Ryan Boren
490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren
0fb24b1a07 Force prototype to load before jquery. Props mdawaffe. fixes #5067 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6209 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 21:04:26 +00:00
Mark Jaquith
b307377ea1 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: https://develop.svn.wordpress.org/trunk@6207 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 04:13:36 +00:00
Ryan Boren
15bfa9d2fb Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6204 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 22:25:33 +00:00
Peter Westwood
1a0fc27afc Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: https://develop.svn.wordpress.org/trunk@6202 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 20:21:29 +00:00
Peter Westwood
d36d0756e3 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6201 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-07 07:35:20 +00:00
Peter Westwood
6234be8d22 Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6200 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-07 07:31:14 +00:00
Peter Westwood
8fe6767f3b Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: https://develop.svn.wordpress.org/trunk@6199 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:40:54 +00:00
Peter Westwood
0919b3ca32 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: https://develop.svn.wordpress.org/trunk@6198 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:18:33 +00:00
Peter Westwood
3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +00:00
Ryan Boren
f1aa921ebf WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6192 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 17:29:34 +00:00
Ryan Boren
f027350b3f Add some spacing. fixes #5137 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6189 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 16:27:48 +00:00
Ryan Boren
766e620f90 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: https://develop.svn.wordpress.org/trunk@6186 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-04 18:10:03 +00:00
Ryan Boren
9c63ee1146 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6185 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:27:07 +00:00
Ryan Boren
c23298decb Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6182 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:16:55 +00:00
Mark Jaquith
11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00
Peter Westwood
c84e8726d1 We're working on bleeding edge 2.4 stuff now
git-svn-id: https://develop.svn.wordpress.org/trunk@6177 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-29 10:56:53 +00:00
Mark Jaquith
d9c7174ee2 prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6173 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-27 07:34:15 +00:00
Ryan Boren
20cb146746 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@6169 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-26 16:12:28 +00:00
Matt Mullenweg
a1dccaa866 bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@6164 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-25 00:34:43 +00:00
Ryan Boren
85a3aab65c Fix typo. fixes #5061
git-svn-id: https://develop.svn.wordpress.org/trunk@6161 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-24 01:48:36 +00:00
Ryan Boren
8e5f6a187e Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: https://develop.svn.wordpress.org/trunk@6160 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 19:25:15 +00:00
Ryan Boren
09e793a837 Fix term count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6159 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 00:35:59 +00:00
Ryan Boren
c93bdc05d1 Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren
4e45315a83 Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: https://develop.svn.wordpress.org/trunk@6155 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:30:40 +00:00
Mark Jaquith
1c934d962c Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: https://develop.svn.wordpress.org/trunk@6153 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:11:48 +00:00
Mark Jaquith
381dc189dd Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: https://develop.svn.wordpress.org/trunk@6152 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:07:03 +00:00
Mark Jaquith
ccad303433 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: https://develop.svn.wordpress.org/trunk@6151 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 00:08:50 +00:00
Ryan Boren
856779888e Revert [5969]. It can break permalinks. see #4739
git-svn-id: https://develop.svn.wordpress.org/trunk@6150 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 19:36:12 +00:00
Ryan Boren
5aecb8912f Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6148 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:51:00 +00:00
Mark Jaquith
a6b8fe6c3a Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6145 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 21:53:42 +00:00
Ryan Boren
4d35d6b824 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: https://develop.svn.wordpress.org/trunk@6144 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:56:22 +00:00
Mark Jaquith
2aa1dc4038 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: https://develop.svn.wordpress.org/trunk@6143 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:25:43 +00:00
Ryan Boren
759c182911 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: https://develop.svn.wordpress.org/trunk@6142 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:25:14 +00:00
Ryan Boren
59a07b76a9 Don't specialchars markup in term description. fixes #5021
git-svn-id: https://develop.svn.wordpress.org/trunk@6141 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:23:33 +00:00
Ryan Boren
6406e9bbeb Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: https://develop.svn.wordpress.org/trunk@6138 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 19:32:34 +00:00
Ryan Boren
6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Mark Jaquith
38a6848169 Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6136 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:53 +00:00
Ryan Boren
7738085d0f RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@6135 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:27 +00:00
Mark Jaquith
9b5fd1b17c More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6134 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 03:47:37 +00:00
Ryan Boren
776b930d7f Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: https://develop.svn.wordpress.org/trunk@6133 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 00:51:21 +00:00
Ryan Boren
ec05e6cfd7 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Mark Jaquith
421356b6b8 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:23:16 +00:00
Ryan Boren
7941b7160a Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren
7977cdd349 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: https://develop.svn.wordpress.org/trunk@6126 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:37:21 +00:00
Ryan Boren
5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Mark Jaquith
37d5915b8e Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: https://develop.svn.wordpress.org/trunk@6124 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-17 19:19:55 +00:00
Ryan Boren
aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Matt Mullenweg
092bbfb049 Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: https://develop.svn.wordpress.org/trunk@6120 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:52:37 +00:00
Matt Mullenweg
c1eda9c8c6 Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: https://develop.svn.wordpress.org/trunk@6119 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:50:53 +00:00
Peter Westwood
0675c6fc51 Set svn:eol-style on a few files.
git-svn-id: https://develop.svn.wordpress.org/trunk@6118 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 17:35:32 +00:00
Matt Mullenweg
9a1ce32a53 Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 16:48:29 +00:00
Mark Jaquith
f372b1dd05 Canonical fixes: Allow Pages to have /page/x/. Always trailing slash home when it is not paged. Strip extra trailing slashes off of /page/x///
git-svn-id: https://develop.svn.wordpress.org/trunk@6115 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 19:41:23 +00:00
Ryan Boren
3db6ccefb0 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Mark Jaquith
6f76f4865d Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: https://develop.svn.wordpress.org/trunk@6112 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:24:05 +00:00
Mark Jaquith
2b72a424fc Just some indent fixes in canonical.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6111 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:12:53 +00:00
Mark Jaquith
5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Ryan Boren
2e0f3b30e8 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: https://develop.svn.wordpress.org/trunk@6109 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:33:54 +00:00
Mark Jaquith
ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00
Mark Jaquith
15be7fdab8 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: https://develop.svn.wordpress.org/trunk@6107 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:00:46 +00:00
Ryan Boren
05d9662d3e no follow callback
git-svn-id: https://develop.svn.wordpress.org/trunk@6105 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:51:33 +00:00
Mark Jaquith
d2b1b4ec3b Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:48:41 +00:00
Mark Jaquith
f5821a6ff7 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: https://develop.svn.wordpress.org/trunk@6103 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:13:32 +00:00
Ryan Boren
e0b73aa55a Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: https://develop.svn.wordpress.org/trunk@6102 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:11:21 +00:00
Mark Jaquith
74cddbcf72 fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6100 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:24:28 +00:00
Mark Jaquith
23eba5ca0a Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: https://develop.svn.wordpress.org/trunk@6099 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:19:26 +00:00
Mark Jaquith
41f61e4056 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6098 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:48:21 +00:00
Mark Jaquith
88c31f17b1 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6097 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:44:41 +00:00
Peter Westwood
2c1f68efe3 Allow plugins to sanitize there own options easily.
git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 18:15:29 +00:00
Peter Westwood
41bd579f15 Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: https://develop.svn.wordpress.org/trunk@6095 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:46:13 +00:00
Peter Westwood
6eaa87a9a9 Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: https://develop.svn.wordpress.org/trunk@6094 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:15:17 +00:00
Peter Westwood
df7d8eaacd Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 16:26:39 +00:00
Ryan Boren
514fb8f764 More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6092 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:56:44 +00:00
Ryan Boren
a6fba8edcf Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: https://develop.svn.wordpress.org/trunk@6091 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:53:27 +00:00
Ryan Boren
dabc12fd93 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: https://develop.svn.wordpress.org/trunk@6088 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 01:01:48 +00:00
Ryan Boren
f29d32da27 Resurrect count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6087 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 00:49:16 +00:00
Ryan Boren
64bbc52982 Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: https://develop.svn.wordpress.org/trunk@6086 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 22:27:36 +00:00
Mark Jaquith
7eea02c12c Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6085 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 21:21:40 +00:00
Peter Westwood
e0a59804ee Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@6084 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:49:28 +00:00
Peter Westwood
c3b56d7710 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: https://develop.svn.wordpress.org/trunk@6082 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:05:52 +00:00
Ryan Boren
951354b6bc Add user_nicename key to users table. fixes #4937
git-svn-id: https://develop.svn.wordpress.org/trunk@6075 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:13:56 +00:00
Ryan Boren
11ed527c0d Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: https://develop.svn.wordpress.org/trunk@6074 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:06:52 +00:00
Ryan Boren
2df3796380 beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@6073 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 01:43:49 +00:00
Ryan Boren
5bd5234f8d References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6071 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 19:37:00 +00:00
Mark Jaquith
605d95b344 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6070 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:53:34 +00:00
Mark Jaquith
f88ae978d1 Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6069 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:34:13 +00:00
Mark Jaquith
4292b0af36 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: https://develop.svn.wordpress.org/trunk@6068 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:06:21 +00:00
Mark Jaquith
ed03cc32dc Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6064 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-08 14:27:24 +00:00
Mark Jaquith
d065fe3cb8 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: https://develop.svn.wordpress.org/trunk@6057 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:25:54 +00:00
Mark Jaquith
bb7b7901b9 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6054 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:27:16 +00:00
Ryan Boren
836ea54d21 Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
git-svn-id: https://develop.svn.wordpress.org/trunk@6050 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 22:07:23 +00:00
Ryan Boren
459a358e04 Resurrect hide_empty
git-svn-id: https://develop.svn.wordpress.org/trunk@6048 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 04:34:06 +00:00
Ryan Boren
397b2c28ba Add missing instance var. Props filosofo. see #4806
git-svn-id: https://develop.svn.wordpress.org/trunk@6046 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 23:17:41 +00:00
Ryan Boren
9efd32a426 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: https://develop.svn.wordpress.org/trunk@6045 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 23:14:39 +00:00
Ryan Boren
40fe936687 Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: https://develop.svn.wordpress.org/trunk@6044 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 22:55:38 +00:00
Ryan Boren
7f8b7c9859 Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: https://develop.svn.wordpress.org/trunk@6040 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 21:50:52 +00:00
Mark Jaquith
88a4c73ec2 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@6039 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 19:20:53 +00:00
Ryan Boren
85bec38507 Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@6035 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 03:11:04 +00:00
Peter Westwood
5593328ba6 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@6033 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 20:56:08 +00:00
Mark Jaquith
a2afc64e79 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6031 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:26:18 +00:00
Mark Jaquith
23bcbfcb05 Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6030 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:21:54 +00:00
Mark Jaquith
5a4c102696 Better $pagenow determination. fixes #4748
git-svn-id: https://develop.svn.wordpress.org/trunk@6029 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 03:21:04 +00:00
Ryan Boren
5140fb674b beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@6027 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 01:01:01 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Peter Westwood
9b621d42c6 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: https://develop.svn.wordpress.org/trunk@6024 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 20:20:18 +00:00
Mark Jaquith
0459826bd3 Check for wp-admin case-insensitively in is_admin()
git-svn-id: https://develop.svn.wordpress.org/trunk@6022 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 19:56:09 +00:00
Ryan Boren
c8e307e72f Tag unions and intersections. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6021 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 18:14:05 +00:00
Peter Westwood
a629aa8c5f Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6019 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:46:31 +00:00
Ryan Boren
0c1e57ff2b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: https://develop.svn.wordpress.org/trunk@6015 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 15:59:12 +00:00
Ryan Boren
2d3b05b2a6 tag_id not tag__id. see #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6012 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:26:57 +00:00
Ryan Boren
3e725d7a7d tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6011 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:24:23 +00:00
Mark Jaquith
2c6bb0bd0e Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: https://develop.svn.wordpress.org/trunk@6010 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 20:42:00 +00:00
Mark Jaquith
d0d887d09d Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: https://develop.svn.wordpress.org/trunk@6008 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:49:54 +00:00
Mark Jaquith
71820cb422 Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
git-svn-id: https://develop.svn.wordpress.org/trunk@6007 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:08:48 +00:00
Mark Jaquith
3308252f00 Turn & to & in add_query_arg(). fixes #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6005 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 22:12:17 +00:00
Peter Westwood
1b53aaa0ed Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: https://develop.svn.wordpress.org/trunk@6001 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 08:33:08 +00:00
Ryan Boren
963528d3cb get_tag() and get_tag_feed_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@6000 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 04:43:27 +00:00
Mark Jaquith
d5e3e96141 Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5999 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 03:41:50 +00:00
Ryan Boren
c6cef97007 Add some filtering. Props jhodgdon. see #4516
git-svn-id: https://develop.svn.wordpress.org/trunk@5998 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 23:55:56 +00:00
Ryan Boren
7cfadec3fa Don't use unavailable func. Props filosofo. fixes #4881
git-svn-id: https://develop.svn.wordpress.org/trunk@5997 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 22:36:16 +00:00
Mark Jaquith
b47f557a49 Kill %tag%-based permalinks. fixes #4875
git-svn-id: https://develop.svn.wordpress.org/trunk@5995 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 19:42:34 +00:00
Mark Jaquith
2cbc2f0e87 Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5993 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 18:13:48 +00:00
Mark Jaquith
00f5e9555d Better %0d/%0a sanitization for wp_redirect() from hakre. fixes #4819 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5990 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 17:46:09 +00:00
Ryan Boren
effcdff92b Escape special chars in regex. Props eightize and Otto42. fixes #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5986 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 15:42:26 +00:00
Ryan Boren
78c09303ac Make sure term cache is cleared when updating term counts.
git-svn-id: https://develop.svn.wordpress.org/trunk@5983 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 00:34:55 +00:00
Ryan Boren
3ff8ad1a47 Trackback fxn cleanup from Otto42. fixes #4800
git-svn-id: https://develop.svn.wordpress.org/trunk@5982 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 23:08:44 +00:00
Ryan Boren
3910be3880 Include tags in feeds. fixes #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5979 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:10:20 +00:00
Mark Jaquith
f6b019c8b6 More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5978 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:06:51 +00:00
Ryan Boren
7109e26194 delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: https://develop.svn.wordpress.org/trunk@5976 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:12:20 +00:00
Ryan Boren
d8381c8973 Remove hardcoded clean_url on comment_author_url since it is handled on the pre_comment_author_url filter. Props wnorris. fixes #4120
git-svn-id: https://develop.svn.wordpress.org/trunk@5975 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:04:14 +00:00
Mark Jaquith
31d9b33458 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: https://develop.svn.wordpress.org/trunk@5974 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:10:11 +00:00
Ryan Boren
0210464be1 Limit recent entries query to published posts. fixes #4786
git-svn-id: https://develop.svn.wordpress.org/trunk@5973 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:02:19 +00:00
Ryan Boren
6fc09cfd3b Take port into consideration when spawning cron. Props bchecketts. fixes #4782
git-svn-id: https://develop.svn.wordpress.org/trunk@5972 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:57:06 +00:00
Peter Westwood
84b76f6832 Remove dead code. Fixed #4791 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@5970 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:36:46 +00:00
Peter Westwood
c0e6a44fdf Add utf8->ascii mappings for icelandic letters. Fixes #4739 props einare
git-svn-id: https://develop.svn.wordpress.org/trunk@5969 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:34:15 +00:00
Peter Westwood
5ad60fe10f Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5968 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:28:07 +00:00
Ryan Boren
e38abfba84 Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: https://develop.svn.wordpress.org/trunk@5965 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 23:23:38 +00:00
Peter Westwood
f763c751d8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@5960 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 20:12:43 +00:00
Peter Westwood
3b74215727 Pass through the function argument so rules can actually be added to the top of the stack, props santos
git-svn-id: https://develop.svn.wordpress.org/trunk@5959 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:55:11 +00:00
Ryan Boren
37704dc738 explicitly check next() against FALSE in do_action_ref_array(). Props Denis-de-Bernardy, Otto42, Nazgul, santosj, DD32. fixes #4625 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5958 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:06:56 +00:00
Ryan Boren
ba8c7d12ba Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: https://develop.svn.wordpress.org/trunk@5956 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 18:58:54 +00:00
Ryan Boren
13ad64bad7 beta1
git-svn-id: https://develop.svn.wordpress.org/trunk@5954 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 00:18:36 +00:00
Ryan Boren
48120ed74b Add clean_url filter. see #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@5952 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 23:31:09 +00:00
Ryan Boren
db0b4d72c6 Bring in atomlib 0.4 and update wp-app to use it. Props eliast and placey. fixes #4191
git-svn-id: https://develop.svn.wordpress.org/trunk@5951 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 19:52:58 +00:00
Ryan Boren
f3e9670cfd Revert get_col behavior. Props mdawaffe. fixes #4826
git-svn-id: https://develop.svn.wordpress.org/trunk@5950 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 19:44:53 +00:00
Matt Mullenweg
7d95821088 Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: https://develop.svn.wordpress.org/trunk@5947 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 06:34:18 +00:00
Ryan Boren
06515b9839 Display tag name, not slug, in title. Props ionfish. fixes #4812
git-svn-id: https://develop.svn.wordpress.org/trunk@5945 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:18:00 +00:00
Ryan Boren
9b4a30290f Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: https://develop.svn.wordpress.org/trunk@5944 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:12:31 +00:00
Ryan Boren
d0c245d950 Update to jquery 1.1.4. Props mdawaffe. fixes #4810
git-svn-id: https://develop.svn.wordpress.org/trunk@5939 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 21:46:03 +00:00
Ryan Boren
a1b51966d7 Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: https://develop.svn.wordpress.org/trunk@5938 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 18:41:01 +00:00
Ryan Boren
aa0ab82ecd Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: https://develop.svn.wordpress.org/trunk@5937 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:44:26 +00:00
Ryan Boren
73d5479b43 Fix how wp_filter array is keyed. Props santosj/darkdragon. fixes #3875 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5936 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:18:08 +00:00
Peter Westwood
1532e450bb Enable plugins to override the cockney replace array, fixes #4804 props andihit
git-svn-id: https://develop.svn.wordpress.org/trunk@5930 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 21:02:31 +00:00
Peter Westwood
897531ee27 Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: https://develop.svn.wordpress.org/trunk@5929 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 18:28:14 +00:00
Ryan Boren
ca4e75cb57 Don't allow private query vars in url_to_postid
git-svn-id: https://develop.svn.wordpress.org/trunk@5925 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:09:37 +00:00
Peter Westwood
de6855386a Fix plugin basename for Windows servers. Fixes #3002 props Ozh
git-svn-id: https://develop.svn.wordpress.org/trunk@5924 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:07:21 +00:00
Mark Jaquith
ca9bea927b No canonical-ness for wp-admin. see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5921 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 03:40:51 +00:00
Ryan Boren
dac74f6c47 Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: https://develop.svn.wordpress.org/trunk@5920 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:59:45 +00:00
Ryan Boren
84df0a2453 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: https://develop.svn.wordpress.org/trunk@5919 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:42:57 +00:00
Ryan Boren
e77ed87b6c Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: https://develop.svn.wordpress.org/trunk@5918 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:30:06 +00:00
Ryan Boren
51592ad7f2 Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: https://develop.svn.wordpress.org/trunk@5917 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:28:00 +00:00
Ryan Boren
87234faca2 posts_results and posts_selection hooks. fixes #4799
git-svn-id: https://develop.svn.wordpress.org/trunk@5916 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 18:03:26 +00:00
Ryan Boren
c10c02374b Sanitize a few options
git-svn-id: https://develop.svn.wordpress.org/trunk@5914 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 17:57:36 +00:00
Ryan Boren
ece120b57f Some tag api additions from andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@5912 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:39:45 +00:00
Ryan Boren
fd11034748 commentsrss2_head action from joostdevalk. fixes #4694
git-svn-id: https://develop.svn.wordpress.org/trunk@5911 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:32:39 +00:00
Ryan Boren
6f03cac3d9 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: https://develop.svn.wordpress.org/trunk@5910 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:27:45 +00:00
Ryan Boren
a79d48ea1c wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: https://develop.svn.wordpress.org/trunk@5907 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:55:43 +00:00
Ryan Boren
d8adefe0b2 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:50:04 +00:00
Matt Mullenweg
76384e93f0 Don't run if installing, fixes $4772
git-svn-id: https://develop.svn.wordpress.org/trunk@5900 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-19 04:27:04 +00:00
Ryan Boren
df22fd9a58 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: https://develop.svn.wordpress.org/trunk@5899 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-18 17:21:51 +00:00
Ryan Boren
23efaffd94 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5897 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:23:39 +00:00
Ryan Boren
b2d8f1bd12 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@5896 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:22:37 +00:00
Matt Mullenweg
69a3980bc7 Switch to init action. Hat tip: westi. See #1476
git-svn-id: https://develop.svn.wordpress.org/trunk@5894 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 13:28:45 +00:00
Matt Mullenweg
f6c6582ff3 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5892 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 10:33:52 +00:00
Mark Jaquith
11da2ac829 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: https://develop.svn.wordpress.org/trunk@5891 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 03:45:59 +00:00
Ryan Boren
b6f4407016 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5885 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 19:26:01 +00:00
Ryan Boren
641e19c977 Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5881 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:34:57 +00:00
Ryan Boren
ff86e9f0c2 Advanced Toolbar shortcut hint fix from leonid. fixes #4707
git-svn-id: https://develop.svn.wordpress.org/trunk@5880 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:17:54 +00:00
Ryan Boren
820d43f538 Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
git-svn-id: https://develop.svn.wordpress.org/trunk@5879 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:12:12 +00:00
Ryan Boren
62f1de6322 Pass args as array instead of query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@5876 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:00:47 +00:00
Ryan Boren
669d471fed Category union and intersection query vars. fixes #4750
git-svn-id: https://develop.svn.wordpress.org/trunk@5873 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:08:51 +00:00
Ryan Boren
3fabbf07a6 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@5872 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 21:54:02 +00:00
Ryan Boren
1e61bd9879 get_the_tag_list from andy. fixes #4733
git-svn-id: https://develop.svn.wordpress.org/trunk@5871 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:44:49 +00:00
Ryan Boren
1b36113b6a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: https://develop.svn.wordpress.org/trunk@5870 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:12:24 +00:00
Ryan Boren
3927faeee5 wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: https://develop.svn.wordpress.org/trunk@5869 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:08:44 +00:00
Ryan Boren
44afc295c3 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: https://develop.svn.wordpress.org/trunk@5868 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:01:26 +00:00
Ryan Boren
3e5d2230d2 Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: https://develop.svn.wordpress.org/trunk@5867 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:58:33 +00:00
Ryan Boren
9d8324b07b wp_update_term_count fixes from cavemonkey50. fixes #4500
git-svn-id: https://develop.svn.wordpress.org/trunk@5866 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:54:02 +00:00
Ryan Boren
ebf9ab90b6 sanitize the value, not the field. Props cavemonkey50. fixes #4651
git-svn-id: https://develop.svn.wordpress.org/trunk@5865 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:46:06 +00:00
Matt Mullenweg
3b8b2a649a A more elegant way of doing get_col.
git-svn-id: https://develop.svn.wordpress.org/trunk@5861 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 19:30:24 +00:00
Mark Jaquith
91a88550f1 Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: https://develop.svn.wordpress.org/trunk@5860 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 18:08:04 +00:00
Mark Jaquith
c441bc3d96 globalize wp_version so Magpie can use it. props Nazgul, hakre. fixes #3996
git-svn-id: https://develop.svn.wordpress.org/trunk@5859 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 08:07:53 +00:00
Matt Mullenweg
5dfab7711f If you don't have anything nice to say, don't say anything at all. (And certainly don't return the results of a previous query to an empty query.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5858 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 01:33:56 +00:00
Mark Jaquith
8cdb0045f1 explicitly check next() against FALSE when iterating through filters. Props Denis-de-Bernardy, Otto42, Nazgul, santosj (go team effort!). fixes #4625 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5857 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 17:41:46 +00:00
Mark Jaquith
c974ff5406 Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: https://develop.svn.wordpress.org/trunk@5855 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 04:24:44 +00:00
Mark Jaquith
d2cc17e629 Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: https://develop.svn.wordpress.org/trunk@5853 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 04:08:06 +00:00
Mark Jaquith
d4e644f226 Fix class-smtp.php typo. Props Nazgul, tension7. fixes #4700
git-svn-id: https://develop.svn.wordpress.org/trunk@5852 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-05 18:13:24 +00:00
Mark Jaquith
0885f81d08 Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: https://develop.svn.wordpress.org/trunk@5848 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-04 16:30:27 +00:00
Matt Mullenweg
2ca236c045 If no user ID for whatever reason, bail early.
git-svn-id: https://develop.svn.wordpress.org/trunk@5847 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-04 03:58:42 +00:00
Mark Jaquith
e86bf7e19f function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5845 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-03 01:39:36 +00:00
Mark Jaquith
c82cd99e96 Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: https://develop.svn.wordpress.org/trunk@5842 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-02 22:51:42 +00:00
Mark Jaquith
c4889d1f21 add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5829 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-01 19:14:10 +00:00
Mark Jaquith
ac7bd8d13a Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5823 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-30 16:23:04 +00:00
Mark Jaquith
593eca6f21 ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: https://develop.svn.wordpress.org/trunk@5820 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-27 21:28:01 +00:00
Ryan Boren
e83be1d2ca In your cats, making them back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5818 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-25 03:04:46 +00:00
Ryan Boren
706c581757 Don't forget to filter post_category
git-svn-id: https://develop.svn.wordpress.org/trunk@5817 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-24 22:29:41 +00:00
Ryan Boren
3982fc6ae8 fix FF bug in write screen: post status change on reload. Props mdawaffe. fixes #4664
git-svn-id: https://develop.svn.wordpress.org/trunk@5816 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-24 21:40:58 +00:00
Peter Westwood
45226eae66 Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: https://develop.svn.wordpress.org/trunk@5810 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-18 21:12:22 +00:00
Ryan Boren
dd51d69fb3 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5808 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 19:26:03 +00:00
Ryan Boren
810ebfe299 AND get_terms() field queries
git-svn-id: https://develop.svn.wordpress.org/trunk@5807 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 02:02:52 +00:00
Ryan Boren
fbf238ca99 Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: https://develop.svn.wordpress.org/trunk@5806 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 23:11:51 +00:00
Ryan Boren
1c5c2aee5c Make balanceTags() option independent. Props mdawaffe. fixes #4626
git-svn-id: https://develop.svn.wordpress.org/trunk@5805 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:23:41 +00:00
Ryan Boren
bd72aa8e00 jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5804 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:22:27 +00:00
Ryan Boren
4c70bb896e Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: https://develop.svn.wordpress.org/trunk@5801 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:52:50 +00:00
Ryan Boren
c315fbacdb Fix variable name. Props bgracewood. fixes #4621
git-svn-id: https://develop.svn.wordpress.org/trunk@5797 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-12 16:00:51 +00:00
Ryan Boren
9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren
f1dfa6dec0 Don't load all includes by default. We have our own script loader. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5794 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 21:22:38 +00:00
Ryan Boren
9d34d5cdef Bump scriptaculous ver in script loader. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5793 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 20:20:34 +00:00
Ryan Boren
e99c75ddf5 Update to scriptaculous 1.7.1_beta3. Props Nazgul. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5792 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 20:14:28 +00:00
Mark Jaquith
bd75df9d1e Undo pre-doublequoting in prepare(). Props JeremyVisser. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5791 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 17:55:32 +00:00
Ryan Boren
29053671df Update jquery to 1.1.3.1. Fixes http://bugs.kde.org/show_bug.cgi?id=147661
git-svn-id: https://develop.svn.wordpress.org/trunk@5790 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-08 21:10:14 +00:00
Mark Jaquith
3e87a2b88d Properly unset notoptions cache in add_option() so that get_option() and update_option() work on the same load. fixes #4429 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5788 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-07 04:06:29 +00:00
Mark Jaquith
13d390e40f Pass extra args to pre_kses hook. Props mdawaffe. see #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5787 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 22:47:24 +00:00
Ryan Boren
8817ee2c8e Resurrect noquery
git-svn-id: https://develop.svn.wordpress.org/trunk@5784 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 20:45:46 +00:00
Mark Jaquith
258e179448 Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5783 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 12:53:15 +00:00
Ryan Boren
538cbd0046 Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5780 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-05 20:11:32 +00:00
Mark Jaquith
0ccba3e8bb Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5779 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-05 17:32:46 +00:00
Mark Jaquith
b0b9c7946b Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: https://develop.svn.wordpress.org/trunk@5778 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-04 16:18:57 +00:00
Mark Jaquith
408ad189aa Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5776 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-03 18:10:20 +00:00
Matt Mullenweg
0f41997422 Upgrade to jQuery 1.1.3, fixes #4576
git-svn-id: https://develop.svn.wordpress.org/trunk@5775 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 23:57:52 +00:00
Ryan Boren
35f2f13526 Delete term relationship only for the given object.
git-svn-id: https://develop.svn.wordpress.org/trunk@5774 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 15:47:27 +00:00
Mark Jaquith
de83c2db51 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: https://develop.svn.wordpress.org/trunk@5772 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 23:28:36 +00:00
Ryan Boren
aa85dfe187 Allow rules to be added to the top of the rule stack.
git-svn-id: https://develop.svn.wordpress.org/trunk@5769 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 21:39:50 +00:00
Mark Jaquith
bf00906f7a Fix typo in get_the_author_url(). props pgdx. fixes #4542
git-svn-id: https://develop.svn.wordpress.org/trunk@5767 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 00:51:04 +00:00
Mark Jaquith
94563d9f33 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5764 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 20:18:56 +00:00
Mark Jaquith
b614486625 Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5763 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 19:11:23 +00:00
Mark Jaquith
e51152beb3 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5762 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:28:56 +00:00
Mark Jaquith
d0bb265782 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: https://develop.svn.wordpress.org/trunk@5761 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:06:17 +00:00
Ryan Boren
66ec9bee20 Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: https://develop.svn.wordpress.org/trunk@5756 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 21:28:19 +00:00
Ryan Boren
b692c7395f s/cat_name/name/ see #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5755 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 20:06:02 +00:00
Ryan Boren
8133ebad65 s/cat_name/name/ see #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5754 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 19:51:26 +00:00
Ryan Boren
72be6cb001 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Mark Jaquith
f3de8f4aab Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: https://develop.svn.wordpress.org/trunk@5747 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-23 05:32:16 +00:00
Mark Jaquith
f6f946df9a Upgrade to Prototype 1.5.1.1 (bugfix release). Props Nazgul. fixes #4502
git-svn-id: https://develop.svn.wordpress.org/trunk@5743 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 22:01:21 +00:00
Ryan Boren
f63d130503 Term count fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@5741 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 15:46:49 +00:00
Ryan Boren
fdb786ba7f Don't create '0' categories. fixes #4413
git-svn-id: https://develop.svn.wordpress.org/trunk@5739 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-20 22:06:29 +00:00
Ryan Boren
d907ae8841 js_escape improvements from Alexander Concha. Catches &#39 &#039 ' ' ' ' &#x000027 etc.
git-svn-id: https://develop.svn.wordpress.org/trunk@5734 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 22:46:55 +00:00
rob1n
ad84c8381a Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: https://develop.svn.wordpress.org/trunk@5728 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 18:03:12 +00:00
rob1n
a1f451b72a Fix up wp_list_authors() SQL. fixes #4485
git-svn-id: https://develop.svn.wordpress.org/trunk@5727 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 17:57:53 +00:00
Ryan Boren
7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren
5bac944f80 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5717 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-16 02:03:25 +00:00
Ryan Boren
6177fec7fa Don't use permalinks for pending posts. see #4446
git-svn-id: https://develop.svn.wordpress.org/trunk@5716 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 22:11:01 +00:00
rob1n
55845bb061 Show the name, not the slug. fixes #4473
git-svn-id: https://develop.svn.wordpress.org/trunk@5715 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 18:26:43 +00:00
Ryan Boren
6b7bc3b1b6 wp_parse_str() from mdawaffe. see #4467
git-svn-id: https://develop.svn.wordpress.org/trunk@5709 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:46:59 +00:00
Ryan Boren
09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Mark Jaquith
0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Mark Jaquith
2a6e8a08be use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: https://develop.svn.wordpress.org/trunk@5705 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 05:12:22 +00:00
Mark Jaquith
e542bbdde1 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5704 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 04:44:06 +00:00
rob1n
eb1518f95e Use display_name instead. Props Pal Gronas Drange. fixes #4459
git-svn-id: https://develop.svn.wordpress.org/trunk@5701 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:30:26 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren
0f4225621d Don't output author uri tag if uri is empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@5699 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 18:03:17 +00:00
rob1n
60794fc8e2 wp_rss() updates. fixes #3834
git-svn-id: https://develop.svn.wordpress.org/trunk@5698 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 17:23:38 +00:00
Mark Jaquith
37b3dc98fe correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: https://develop.svn.wordpress.org/trunk@5694 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 06:33:17 +00:00
Matt Mullenweg
526eac00b8 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: https://develop.svn.wordpress.org/trunk@5693 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 00:16:33 +00:00
rob1n
019eff6399 Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: https://develop.svn.wordpress.org/trunk@5688 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 21:48:55 +00:00
Mark Jaquith
ce7fd94edf Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5686 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:57:58 +00:00
Mark Jaquith
78c8d3f3f6 Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@5685 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:49:40 +00:00
Ryan Boren
d993430968 Add a prophylactic sanitize_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@5683 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 18:11:06 +00:00
Ryan Boren
edeae9cc8e escapeshellarg the sender
git-svn-id: https://develop.svn.wordpress.org/trunk@5682 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 23:19:33 +00:00
rob1n
f7d1916e11 Maintain "Page order" for consistency. fixes #4431
git-svn-id: https://develop.svn.wordpress.org/trunk@5677 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:11:40 +00:00
rob1n
96dac9ed94 Revert multiple category stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5675 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-09 00:59:14 +00:00
rob1n
1367219198 Some more multiple category widget stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5673 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 22:50:37 +00:00
rob1n
4726ebca94 Add support for multiple instances of the category widget. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5669 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 14:49:30 +00:00
Ryan Boren
163f22deb5 Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: https://develop.svn.wordpress.org/trunk@5666 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 00:20:22 +00:00
Ryan Boren
e1ef29586c Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:13:12 +00:00
Ryan Boren
09c96b4292 Fix category renaming. fixes #4415 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5658 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:10:52 +00:00
Ryan Boren
400c2064ad Term sanitization. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5652 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-05 00:57:23 +00:00
Ryan Boren
ce17f71ccb Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5642 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-03 17:28:27 +00:00
rob1n
12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n
8998b56e76 wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5639 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:18:24 +00:00
rob1n
8dc0ba5036 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: https://develop.svn.wordpress.org/trunk@5638 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:04:01 +00:00
Ryan Boren
67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
rob1n
42a1f116d5 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5631 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:37:51 +00:00
rob1n
e2513b5643 Keep greedy regex's in control. fixes #4165
git-svn-id: https://develop.svn.wordpress.org/trunk@5630 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:02:06 +00:00
rob1n
e6d32e8761 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@5629 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:52:27 +00:00
rob1n
21ad1a92f8 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: https://develop.svn.wordpress.org/trunk@5627 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:13:41 +00:00
rob1n
a79b7c6772 Fix a strpos typo. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@5626 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:10:03 +00:00
rob1n
747a7a14f4 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: https://develop.svn.wordpress.org/trunk@5625 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 22:54:46 +00:00
Mark Jaquith
9a4c736b19 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: https://develop.svn.wordpress.org/trunk@5624 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 05:43:24 +00:00
rob1n
d6bf26da3c Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: https://develop.svn.wordpress.org/trunk@5623 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:33:03 +00:00
Ryan Boren
9aae8013a8 query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5622 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:24:07 +00:00
Mark Jaquith
2731fd5a54 get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5619 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:44:21 +00:00
Mark Jaquith
3cc7b4cbe3 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5617 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:13:06 +00:00
Ryan Boren
0b91f4aaca Abstract object term cache a bit more. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5616 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 21:38:33 +00:00
rob1n
46745ee278 Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n
c92fe17918 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5614 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:22:06 +00:00
rob1n
a1bedd8f11 Fix variable typo. Props schulte. fixes #4374
git-svn-id: https://develop.svn.wordpress.org/trunk@5613 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:51:03 +00:00
Ryan Boren
b4d7d80744 If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5612 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:44:18 +00:00
rob1n
5d7ce647d2 Some more get_pagenum_link() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5611 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:36:40 +00:00
rob1n
3b60a5107b Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5610 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:29:44 +00:00
rob1n
f0cd9cb22a Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: https://develop.svn.wordpress.org/trunk@5609 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:19:38 +00:00
rob1n
8233bb1c4f Add option to exclude pages to pages widget. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5605 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:57:10 +00:00
rob1n
7e281b4507 Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: https://develop.svn.wordpress.org/trunk@5604 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:38:11 +00:00
rob1n
91d0e796ef Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: https://develop.svn.wordpress.org/trunk@5602 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:24:31 +00:00
rob1n
4fec7327ed Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5601 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:21:55 +00:00
Ryan Boren
55e37c4843 Fix slug queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5599 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 21:50:57 +00:00
Ryan Boren
5a8598cd15 Some term caching. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5598 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 03:36:59 +00:00
Ryan Boren
18c1cade87 Category hierarchy fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5597 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:39:47 +00:00
Ryan Boren
1bb6925679 Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5596 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:05:44 +00:00
Ryan Boren
7480586494 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5595 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 23:06:46 +00:00
Ryan Boren
479ecdf5f8 Fix listing of categories with parents. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5594 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:50:00 +00:00
Ryan Boren
cfa5ecfd4b get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:27:49 +00:00
Ryan Boren
e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Mark Jaquith
1a08c04371 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: https://develop.svn.wordpress.org/trunk@5590 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:54:45 +00:00
Ryan Boren
442ef7253a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5587 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:28:10 +00:00
Ryan Boren
c4bb18caa6 Use API instead of SELECT. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5586 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:26:36 +00:00
Ryan Boren
ac1db497fc get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:25:09 +00:00
Mark Jaquith
d7ed90532a declare $user_ID global in load_template(). fixes #4354.
git-svn-id: https://develop.svn.wordpress.org/trunk@5581 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 21:32:35 +00:00
rob1n
6b9af86a5c Add a is_user_logged_in() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5579 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 20:39:24 +00:00
rob1n
b906e9dd95 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: https://develop.svn.wordpress.org/trunk@5577 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 19:30:05 +00:00
Ryan Boren
13dade0e8d Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5576 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:47:08 +00:00
Ryan Boren
c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00
rob1n
5b7256e644 Actually, this makes more sense.
git-svn-id: https://develop.svn.wordpress.org/trunk@5573 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:11:42 +00:00
rob1n
d5816ce68b Turn string to upper. Props Donncha. fixes #4350
git-svn-id: https://develop.svn.wordpress.org/trunk@5572 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:05:46 +00:00
Mark Jaquith
4308eff227 permalink_link() is deprecated, and should reference its replacement.
git-svn-id: https://develop.svn.wordpress.org/trunk@5569 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 04:39:40 +00:00
rob1n
6e0db32ccc Add rel="tag" to tag links. fixes #4159
git-svn-id: https://develop.svn.wordpress.org/trunk@5568 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 02:07:59 +00:00
Ryan Boren
7baf9a0320 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: https://develop.svn.wordpress.org/trunk@5567 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 00:51:24 +00:00
Ryan Boren
ed0d41fb04 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5563 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 19:32:45 +00:00
Ryan Boren
668f977343 Typo fix from flinkflonk. fixes #4347 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5561 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:45:31 +00:00
Ryan Boren
cb8250ff30 Link category fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:21:04 +00:00
Ryan Boren
bbcffa4c56 Delete term if no taxonomies use it. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5559 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:29:52 +00:00
Ryan Boren
6485c0e03f Change term count callback style. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5558 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:17:50 +00:00
Ryan Boren
2ea53fa534 Remove debug. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5557 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:28:30 +00:00
Ryan Boren
b41b02db5d Fix object term relationship deletion and count updating.
git-svn-id: https://develop.svn.wordpress.org/trunk@5556 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:15:18 +00:00
Ryan Boren
455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren
4c2cd543c1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5553 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 18:54:16 +00:00
Ryan Boren
dc77043278 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5552 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 17:47:20 +00:00
rob1n
a030294e1d Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5549 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 16:27:34 +00:00
rob1n
cc0dcf4992 Fix Atom feeds' categories. fixes #4307
git-svn-id: https://develop.svn.wordpress.org/trunk@5548 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 15:55:30 +00:00
Ryan Boren
6bf777e1d9 Don't load category cache from old tables. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5544 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:45:55 +00:00
Ryan Boren
c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
Ryan Boren
d8f42243a9 Category/tag to taxonomy upgrade. First cut.
git-svn-id: https://develop.svn.wordpress.org/trunk@5539 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 22:40:24 +00:00
rob1n
4fd95fab28 the_search_query() revamp. fixes #4327
git-svn-id: https://develop.svn.wordpress.org/trunk@5536 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 03:37:10 +00:00
rob1n
2bc1518cb8 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5535 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 00:29:51 +00:00
Ryan Boren
9cee075e30 No more TAXONOMY bit fiels. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5534 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:11:02 +00:00
Ryan Boren
5bfabcf2d3 wp_delete_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5533 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:03:24 +00:00
Ryan Boren
510799abe8 More rel_type elimination. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5532 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 20:59:11 +00:00
Ryan Boren
3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +00:00
Ryan Boren
2b134cc1f7 Set and get post cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5529 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:07:53 +00:00
Ryan Boren
a0e6f06194 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5528 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 17:28:13 +00:00
rob1n
7a394a909e Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5526 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 14:58:32 +00:00
Ryan Boren
4c2f2563a9 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5525 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 10:32:33 +00:00
Ryan Boren
3502ab6a8e Add some term hooks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5524 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:26:52 +00:00
Ryan Boren
feb66bda9c Start moving link categories to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5523 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:15:10 +00:00
Ryan Boren
7f3e74ffca wp_insert_term() and wp_update_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5522 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 05:42:31 +00:00
Ryan Boren
0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
rob1n
a24222a0f0 Run it through the filter. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5519 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 22:36:56 +00:00
Ryan Boren
d575d01059 Remove the_content filter from widget text. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5518 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 21:32:07 +00:00
Ryan Boren
9aa94b995b Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5515 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 20:39:26 +00:00
Ryan Boren
523a3724bb Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 05:12:38 +00:00
rob1n
d0c8498d66 Don't show title if user leaves it blank. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5509 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 00:25:44 +00:00
rob1n
62c94190fb Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: https://develop.svn.wordpress.org/trunk@5507 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 22:50:32 +00:00
Ryan Boren
137da349c3 Fix theme template field. fixes #4310 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5506 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 20:11:53 +00:00
Ryan Boren
e50ab910fb Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5501 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 16:39:08 +00:00
rob1n
d713e47401 Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: https://develop.svn.wordpress.org/trunk@5499 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 13:13:22 +00:00
rob1n
1a25ba4bdb Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: https://develop.svn.wordpress.org/trunk@5498 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 12:56:39 +00:00
rob1n
ac98122657 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5492 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:38:51 +00:00
rob1n
2a8574bd7b Select the option if it's set to that. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5490 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:26:02 +00:00
Ryan Boren
986653124a Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5487 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 00:10:24 +00:00
rob1n
aec72baa24 Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5486 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-18 02:29:11 +00:00
Ryan Boren
3e813379d0 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5485 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:49:32 +00:00
rob1n
ab415652d9 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: https://develop.svn.wordpress.org/trunk@5483 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:37:55 +00:00
rob1n
97209ba734 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: https://develop.svn.wordpress.org/trunk@5482 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 03:27:07 +00:00
rob1n
5357b1a0af Fix get_pagenum_link(). fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5481 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 02:47:24 +00:00
Ryan Boren
2b002dfab6 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5476 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 23:30:17 +00:00
Ryan Boren
25e659472d Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5474 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 05:13:39 +00:00
Ryan Boren
fb8a712fdb Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@5462 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 22:06:31 +00:00
Ryan Boren
d9da4028a2 Return proper protocol. fixes #3886 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5460 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 21:55:14 +00:00
rob1n
9688bcaff3 Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5459 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:47:47 +00:00
rob1n
0aa8cebe86 Don't make useless status_header() call. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5458 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:30:38 +00:00
rob1n
6508eb9d47 Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5455 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 16:24:17 +00:00
rob1n
031cf54afe Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5454 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 00:17:34 +00:00
rob1n
90dc5682f3 git-svn-id: https://develop.svn.wordpress.org/trunk@5451 602fd350-edb4-49c9-b593-d223f7449a82 2007-05-11 04:02:30 +00:00
rob1n
e6c570e45e Ugh. I thought I had fixed all of these.
git-svn-id: https://develop.svn.wordpress.org/trunk@5450 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 04:01:54 +00:00
rob1n
c9fc18c591 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: https://develop.svn.wordpress.org/trunk@5447 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:44:03 +00:00
rob1n
3deb0fe500 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
rob1n
c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
Ryan Boren
90cd098abe Escapage
git-svn-id: https://develop.svn.wordpress.org/trunk@5441 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 00:56:12 +00:00
Ryan Boren
7073026058 Add missing preg delimiter. see #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5433 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 16:37:44 +00:00
rob1n
d679f06b33 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: https://develop.svn.wordpress.org/trunk@5429 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:42:00 +00:00
rob1n
222bb819b7 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5428 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:33:01 +00:00
rob1n
9abc3c9374 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5425 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:31:12 +00:00
rob1n
ea71ef4d71 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: https://develop.svn.wordpress.org/trunk@5424 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:26:56 +00:00
Ryan Boren
d213ecdab4 Obey show_post_count for dropdown.
git-svn-id: https://develop.svn.wordpress.org/trunk@5421 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 21:54:30 +00:00
rob1n
13d4d782a5 Bit of clean-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@5415 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 04:19:19 +00:00
Ryan Boren
23018b434d Make sure wp_actions is set before counting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5413 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-08 17:59:52 +00:00
Ryan Boren
3ae3baa8ff Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5411 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:24:44 +00:00
Ryan Boren
622bc51507 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: https://develop.svn.wordpress.org/trunk@5409 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:22:50 +00:00
Ryan Boren
7c1f56b9b7 attribute_escape for widgets. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5403 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 02:16:28 +00:00
Ryan Boren
e83f137798 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5401 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 20:36:11 +00:00
Ryan Boren
0568d96794 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5399 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 07:08:11 +00:00
rob1n
e191edb9ca Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().


git-svn-id: https://develop.svn.wordpress.org/trunk@5393 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 23:27:12 +00:00
Ryan Boren
18bb3b4811 Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@5390 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 21:28:50 +00:00
rob1n
7929eca3cc Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: https://develop.svn.wordpress.org/trunk@5383 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 03:52:11 +00:00
Ryan Boren
7c61a32074 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5381 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 02:23:49 +00:00
rob1n
c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n
e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
rob1n
d03a237b24 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: https://develop.svn.wordpress.org/trunk@5375 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:31:30 +00:00
rob1n
ae87af4ce8 Spring cleaning, extreme edition.
git-svn-id: https://develop.svn.wordpress.org/trunk@5374 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:26:57 +00:00
rob1n
00c7a213a0 Clean that mess up so it's more easily managed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5373 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:17:43 +00:00
Ryan Boren
9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
Ryan Boren
4b4d4d9bb5 Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5366 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 22:51:52 +00:00
rob1n
0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n
3f99d19cc3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5362 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:27:46 +00:00
rob1n
697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
Ryan Boren
9b87344634 Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5358 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 20:02:02 +00:00
Ryan Boren
3c6b689f0e When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget.  Props Jospeh Scott

git-svn-id: https://develop.svn.wordpress.org/trunk@5356 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 17:43:11 +00:00
Ryan Boren
176a6414e9 Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: https://develop.svn.wordpress.org/trunk@5354 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 16:45:23 +00:00
Ryan Boren
1eb7a5f1e5 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@5351 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:47:14 +00:00
Ryan Boren
77fb496bc6 Don't use deprecated category API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5349 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:32:33 +00:00
rob1n
fdc3ca298c Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5348 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 02:35:28 +00:00
Ryan Boren
97bf7944c2 Fix widget control registration where id is not passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@5341 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 17:04:16 +00:00
Ryan Boren
386eb41adf Fix edit comment links
git-svn-id: https://develop.svn.wordpress.org/trunk@5340 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 16:45:47 +00:00
Ryan Boren
af32dce26a Create widget id from widget name when id not specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@5338 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 06:08:27 +00:00
Ryan Boren
f6f5f61311 Kick widgets init from init hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@5336 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:35:47 +00:00
Ryan Boren
91e1cb92ec Some widgets gettext.
git-svn-id: https://develop.svn.wordpress.org/trunk@5334 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:29:27 +00:00
rob1n
510a57a763 Don't double encode gzip output if gzip is already set in php.ini. Props
welcomb. fixes #4205


git-svn-id: https://develop.svn.wordpress.org/trunk@5333 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 20:55:05 +00:00
Ryan Boren
d9f2285155 Use the right field name ya idjit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5329 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 04:34:44 +00:00
Ryan Boren
b9b37cd426 Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@5328 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 03:51:36 +00:00
Ryan Boren
004f9d7d27 Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5320 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:49:11 +00:00
Ryan Boren
09d31c8edb Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@5319 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:17:30 +00:00
rob1n
2d6c38c7cf Links widget fixes from Otto42. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5317 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 03:43:59 +00:00
rob1n
7a6aba312d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: https://develop.svn.wordpress.org/trunk@5316 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:13:18 +00:00
rob1n
7a30348f90 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: https://develop.svn.wordpress.org/trunk@5315 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:02:59 +00:00
rob1n
b724739d74 Housekeeping -- a misspelling.
git-svn-id: https://develop.svn.wordpress.org/trunk@5312 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 03:14:11 +00:00
rob1n
a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n
2b3f6e3070 Housekeeping -- clean out debug calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@5307 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:58:51 +00:00
rob1n
69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n
215dca2430 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5303 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:27:20 +00:00
rob1n
b0e84dde88 get_edit_*_link() functions. fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5302 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:21:56 +00:00
Ryan Boren
78226c0f85 Update widgets to latest bits. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5301 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 21:36:17 +00:00
Ryan Boren
774a35bbec widgets.php be doubling down. Once is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@5300 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 18:41:42 +00:00
rob1n
ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00
Ryan Boren
01dad3491e Fix variable collission in _get_cat_children. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5295 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-23 20:28:38 +00:00
rob1n
7aca30b768 has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5293 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-22 04:25:47 +00:00
Ryan Boren
c883733d72 2.3-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@5288 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 04:05:39 +00:00
rob1n
baff4f7040 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:53:19 +00:00
rob1n
642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
Ryan Boren
e2094a4e19 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: https://develop.svn.wordpress.org/trunk@5283 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-18 22:51:54 +00:00
Ryan Boren
b749fb0711 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5282 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 23:00:35 +00:00
Ryan Boren
c20fd94dce AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: https://develop.svn.wordpress.org/trunk@5280 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 20:56:41 +00:00
rob1n
e111d2de08 Fix another typo. Not a good day at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@5277 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 01:17:45 +00:00
rob1n
8e63dcecfa Fix typo. Thanks Lloyd.
git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 00:53:58 +00:00
rob1n
734766ba6e Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5275 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 23:53:34 +00:00
Ryan Boren
66d8f40564 Use wp_hash to create cron's check hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@5274 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 20:47:23 +00:00
Ryan Boren
424a7906c0 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5271 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 02:26:26 +00:00
rob1n
8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n
6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n
447554f758 Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: https://develop.svn.wordpress.org/trunk@5266 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:29:47 +00:00
rob1n
9548071ffa Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: https://develop.svn.wordpress.org/trunk@5265 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:20:14 +00:00
rob1n
2e5f0e8bde Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5262 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 23:19:16 +00:00
rob1n
eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
rob1n
b88e6b40d8 Replace some stristr's with stripos'.
git-svn-id: https://develop.svn.wordpress.org/trunk@5260 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:59:31 +00:00
Ryan Boren
3b2de5b5df Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5258 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:15:44 +00:00
rob1n
49768a3192 Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: https://develop.svn.wordpress.org/trunk@5256 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 17:04:03 +00:00
rob1n
3c8cb11aee Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: https://develop.svn.wordpress.org/trunk@5255 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 16:31:47 +00:00
Ryan Boren
d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n
f8680b6c3a <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: https://develop.svn.wordpress.org/trunk@5244 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 22:47:36 +00:00
Ryan Boren
73feece365 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5243 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 18:04:49 +00:00
rob1n
0fced13a94 Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: https://develop.svn.wordpress.org/trunk@5242 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 16:52:58 +00:00
rob1n
95918aee5d Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 05:38:30 +00:00
rob1n
5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
rob1n
9dcdbbd7ae Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: https://develop.svn.wordpress.org/trunk@5238 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:12:11 +00:00
rob1n
c014b4d5fe Run make_clickable before texturize. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5236 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 23:21:00 +00:00
Ryan Boren
513726b6c7 Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: https://develop.svn.wordpress.org/trunk@5235 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 21:23:11 +00:00
Ryan Boren
e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
Ryan Boren
f9dbc69605 Bumpage
git-svn-id: https://develop.svn.wordpress.org/trunk@5233 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:08:49 +00:00
Ryan Boren
b5bb5e3ee6 Add get_tags(). See #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5232 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:55:51 +00:00
Ryan Boren
4f59c037ce s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5231 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:30:55 +00:00
rob1n
b88969be23 Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
git-svn-id: https://develop.svn.wordpress.org/trunk@5230 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 17:01:52 +00:00
Matt Mullenweg
4c1d1977b7 Missing change from last commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5227 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 07:39:47 +00:00
rob1n
c4c416ce62 empty() only takes variables. Props filosofo. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5224 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 04:28:40 +00:00
rob1n
f2216ff99f Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5223 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:49:18 +00:00
rob1n
537e017277 Don't autop <hr />. fixes #3952
git-svn-id: https://develop.svn.wordpress.org/trunk@5222 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:47:08 +00:00
rob1n
087a36b357 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5220 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 16:33:43 +00:00
Ryan Boren
ab74cb7a60 Google spell connect fix. Props Nazgul. see #3857
git-svn-id: https://develop.svn.wordpress.org/trunk@5214 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 00:09:42 +00:00
rob1n
995ac94ed7 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5212 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:31:54 +00:00
rob1n
e4620977f5 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: https://develop.svn.wordpress.org/trunk@5209 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:00:19 +00:00
Ryan Boren
c113ddaa1f Avoid php notices.
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 05:24:37 +00:00
rob1n
2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n
2e64f813ec Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: https://develop.svn.wordpress.org/trunk@5199 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:42:38 +00:00
Ryan Boren
cfb13d7bcf Relocate get_post_tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5197 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 18:22:54 +00:00
Ryan Boren
214141d62a Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@5196 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:53:34 +00:00
Ryan Boren
f01644b6c6 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: https://develop.svn.wordpress.org/trunk@5195 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:22:53 +00:00
rob1n
993b6f231c Add AND. fixes #4101
git-svn-id: https://develop.svn.wordpress.org/trunk@5194 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 14:53:46 +00:00
rob1n
627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
rob1n
1bc2123ca5 Add the argument back in. Whoops.
git-svn-id: https://develop.svn.wordpress.org/trunk@5192 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:34:01 +00:00
rob1n
4a16bf61be Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: https://develop.svn.wordpress.org/trunk@5190 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:29:44 +00:00
rob1n
7e8754bbd8 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: https://develop.svn.wordpress.org/trunk@5189 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:25:41 +00:00
rob1n
28066a110c Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: https://develop.svn.wordpress.org/trunk@5187 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 02:54:12 +00:00
rob1n
335777c369 Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: https://develop.svn.wordpress.org/trunk@5186 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 00:56:28 +00:00
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
c81341f3ee Category listing speedups. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5179 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 22:32:24 +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
Mark Jaquith
aa82383dc6 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 19:40:15 +00:00
Matt Mullenweg
3be1be3815 Because of the next we should always do a reset.
git-svn-id: https://develop.svn.wordpress.org/trunk@5170 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:46:05 +00:00
Matt Mullenweg
0b78f9638c Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: https://develop.svn.wordpress.org/trunk@5169 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:03:38 +00:00
Ryan Boren
b11b72c851 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: https://develop.svn.wordpress.org/trunk@5167 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 16:06:19 +00:00
rob1n
d57de9f654 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: https://develop.svn.wordpress.org/trunk@5165 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:57:13 +00:00
rob1n
616570aadc Run the post titles through the the_title filter. fixes #3366
git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:40:50 +00:00
Matt Mullenweg
f600a397d1 Don't forget the tag_cache
git-svn-id: https://develop.svn.wordpress.org/trunk@5163 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 08:44:10 +00:00
Matt Mullenweg
d5776af750 Make most of the buttons a map, helps the write page load faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@5160 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:12:35 +00:00
rob1n
f4ec57d876 Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: https://develop.svn.wordpress.org/trunk@5158 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 21:41:08 +00:00
rob1n
5a4c2c68ad Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 19:43:49 +00:00
Matt Mullenweg
a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
Matt Mullenweg
570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
rob1n
78ed2a6eca Add https:// support to script loader. Props abtime. fixes #4046
git-svn-id: https://develop.svn.wordpress.org/trunk@5145 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 02:47:23 +00:00
rob1n
362760a485 Add missing the_title filter call. Props jhodgdon. fixes #4050
git-svn-id: https://develop.svn.wordpress.org/trunk@5144 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-30 23:46:17 +00:00
rob1n
d7d36ff890 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5143 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 04:08:54 +00:00
rob1n
44bb2a71f1 PHPdoc for plugin.php. Props Martin10. fixes #3852
git-svn-id: https://develop.svn.wordpress.org/trunk@5142 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:45:34 +00:00
rob1n
8f07a4c509 Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5138 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:24:25 +00:00
rob1n
3b6010f155 Fix months in wp_title(). fixes #4043
git-svn-id: https://develop.svn.wordpress.org/trunk@5137 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:06:16 +00:00
rob1n
fcb2f9db91 Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: https://develop.svn.wordpress.org/trunk@5136 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:45:29 +00:00
rob1n
9f0ebcd37e Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
git-svn-id: https://develop.svn.wordpress.org/trunk@5135 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:39:05 +00:00
rob1n
9cfc001d44 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: https://develop.svn.wordpress.org/trunk@5134 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:35:50 +00:00
rob1n
f9b141865b Sorry, a little tester got in there. Didn't expect to be committing ;).
git-svn-id: https://develop.svn.wordpress.org/trunk@5133 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:30:27 +00:00
rob1n
26a5cfc7fe Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: https://develop.svn.wordpress.org/trunk@5132 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:29:09 +00:00
Ryan Boren
45208447a5 Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: https://develop.svn.wordpress.org/trunk@5131 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:19:42 +00:00
Ryan Boren
924e6679d4 Rewrit endpoint fixes from westi. see #3964
git-svn-id: https://develop.svn.wordpress.org/trunk@5130 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:17:40 +00:00
Ryan Boren
0d281aa632 Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: https://develop.svn.wordpress.org/trunk@5129 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 18:10:03 +00:00
Ryan Boren
58efc0e2b2 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5124 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:54:48 +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
Ryan Boren
0ba70bb459 Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: https://develop.svn.wordpress.org/trunk@5117 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 16:44:36 +00:00
Ryan Boren
9de70f4145 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 23:40:49 +00:00
Ryan Boren
0a6d5f8788 Fallback to loading english for tinyMCE if requested locale is not there. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5114 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 22:05:36 +00:00
Matt Mullenweg
644849ac0e If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: https://develop.svn.wordpress.org/trunk@5113 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 18:05:28 +00:00
Matt Mullenweg
505c0ad074 Don't show tags on the category page.
git-svn-id: https://develop.svn.wordpress.org/trunk@5112 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 17:25:15 +00:00
Matt Mullenweg
bfb4b8c091 Basic theme support for tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5111 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 08:08:31 +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
Ryan Boren
387c06a69f Revert [5102]
git-svn-id: https://develop.svn.wordpress.org/trunk@5109 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 06:13:19 +00:00
Ryan Boren
a2470ad625 Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5108 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 03:44:35 +00:00
Ryan Boren
b4ef10ef85 Fix day display in title. Props phKU. fixes #3801
git-svn-id: https://develop.svn.wordpress.org/trunk@5106 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:47:48 +00:00
Ryan Boren
7d8f8b40f2 Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: https://develop.svn.wordpress.org/trunk@5104 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:39:14 +00:00
Ryan Boren
afd5de8f9d Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: https://develop.svn.wordpress.org/trunk@5102 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:23:52 +00:00
Ryan Boren
6e2d108bf0 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:18:19 +00:00
Ryan Boren
152256ca63 Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5095 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:31:44 +00:00
Ryan Boren
de3198277a Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: https://develop.svn.wordpress.org/trunk@5093 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 17:45:40 +00:00
Ryan Boren
d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +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
Ryan Boren
df22b0ccc9 Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5088 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 01:45:24 +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
3e2783acdd Cast to int
git-svn-id: https://develop.svn.wordpress.org/trunk@5086 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 23:03:07 +00:00
Ryan Boren
77559c20b4 More int casts
git-svn-id: https://develop.svn.wordpress.org/trunk@5082 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 20:52:29 +00:00
Ryan Boren
8357362440 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5081 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 03:34:23 +00:00
Ryan Boren
61a985f409 Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5078 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 01:04:19 +00:00
Ryan Boren
b3727f5cb0 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5065 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 00:29:40 +00:00
Ryan Boren
3c5b5f926b Fix typo. Props rob1n. fixes #4000
git-svn-id: https://develop.svn.wordpress.org/trunk@5063 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 03:18:44 +00:00
Ryan Boren
6a3688b9c2 Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: https://develop.svn.wordpress.org/trunk@5062 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-19 19:08:15 +00:00
Ryan Boren
58200c8ac8 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: https://develop.svn.wordpress.org/trunk@5061 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-18 23:16:14 +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
d4007dfa64 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: https://develop.svn.wordpress.org/trunk@5051 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 22:00:43 +00:00
Mark Jaquith
cb973fe273 have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5049 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:19:10 +00:00
Mark Jaquith
e00c636c7d Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: https://develop.svn.wordpress.org/trunk@5045 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:04:24 +00:00
Ryan Boren
d2aba83689 More attribute_escape().
git-svn-id: https://develop.svn.wordpress.org/trunk@5044 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 01:20:53 +00:00
Mark Jaquith
096395f366 nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5039 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 23:10:57 +00:00
Mark Jaquith
51fcbe01ba More int casting, just to be safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@5037 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 07:40:56 +00:00
Ryan Boren
d3578ce12e Fix order by in wp_get_archives(). Props mattbta. fixes #3961
git-svn-id: https://develop.svn.wordpress.org/trunk@5036 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 02:21:39 +00:00
Ryan Boren
01c199e20c Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: https://develop.svn.wordpress.org/trunk@5032 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 21:31:24 +00:00
Ryan Boren
71bbe5ffb4 Quote values heading to DB. Cast some ints.
git-svn-id: https://develop.svn.wordpress.org/trunk@5029 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 16:09:44 +00:00
Mark Jaquith
02f3720bfa [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5028 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 08:59:15 +00:00
Matt Mullenweg
eb54f68261 Add filters to theme_mods
git-svn-id: https://develop.svn.wordpress.org/trunk@5026 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 00:07:54 +00:00
Ryan Boren
ef006054ca vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: https://develop.svn.wordpress.org/trunk@5024 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-11 01:19:16 +00:00
Ryan Boren
a89ea3e725 Prophylactic casting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5022 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 20:34:01 +00:00
Mark Jaquith
9331f3efea Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5021 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 08:32:57 +00:00
Mark Jaquith
e643142a5e new function: untrailingslashit(). fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5020 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:25:33 +00:00
Mark Jaquith
e2f9950018 user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith
b2105a943e Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5018 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:09:52 +00:00
Mark Jaquith
af92eb9142 Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5017 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:54:12 +00:00
Ryan Boren
fd1b078df6 apply filter before stripping tags. Props jhodgdon. fixes #3755
git-svn-id: https://develop.svn.wordpress.org/trunk@5014 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:13:40 +00:00
Ryan Boren
16c3aa009f Title filtering from jhodgdon. fixes #3926
git-svn-id: https://develop.svn.wordpress.org/trunk@5013 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 03:56:35 +00:00
Ryan Boren
0018169c02 Link filters from jhodgdon. fixes #3595
git-svn-id: https://develop.svn.wordpress.org/trunk@5011 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 01:13:49 +00:00
Ryan Boren
c79783485f Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5008 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 20:14:52 +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
Ryan Boren
b35406f1ad Return theme uri in theme data. Props nazgul. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5006 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:15:17 +00:00
Ryan Boren
36334c2c86 Unchain
git-svn-id: https://develop.svn.wordpress.org/trunk@5005 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:13:42 +00:00
Ryan Boren
07a3e1bb19 get_archives query filters from westi. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5004 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:09:24 +00:00
Ryan Boren
631ad9c5c4 Use get_query_var() in wp_title() and single_month_title().
git-svn-id: https://develop.svn.wordpress.org/trunk@5003 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:06:23 +00:00
Ryan Boren
6b7e2785e5 Move some query var sanitization up to parse_query() and make sure the sanitized values are avilable via get_query_var().
git-svn-id: https://develop.svn.wordpress.org/trunk@5002 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:05:28 +00:00
Ryan Boren
e125d88b54 Fix parse_w3cdtf. Props mortenf. fixes #3896
git-svn-id: https://develop.svn.wordpress.org/trunk@4997 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 17:04:03 +00:00
Mark Jaquith
09131bb5e8 Another typo in [4990]. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4996 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:17:15 +00:00
Mark Jaquith
4e26ccb1a4 Typo in [4990] caught by johnbillion. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4995 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:10:33 +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
Ryan Boren
fa5169f8d3 Update to tinyMCE spellchecker 1.0.3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@4985 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 04:26:26 +00:00
Ryan Boren
ab521be7dd Make sure openssl is available. Props Robert Deaton and rob1n. fixes #3765
git-svn-id: https://develop.svn.wordpress.org/trunk@4984 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 04:16:06 +00:00
Ryan Boren
f77b96fc84 Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: https://develop.svn.wordpress.org/trunk@4983 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 03:05:41 +00:00
Ryan Boren
26d480eb5f Fix spawning with SSL. Props dragonhard and rob1n. fixes #3765
git-svn-id: https://develop.svn.wordpress.org/trunk@4980 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 01:47:57 +00:00
Ryan Boren
14c5f35862 Use rawurldecode. fixes #3727
git-svn-id: https://develop.svn.wordpress.org/trunk@4979 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 01:44:53 +00:00
Ryan Boren
67f01fb970 wp_title shouldn't use category_name if cat is also specified. Props majelbstoat. fixes #3902
git-svn-id: https://develop.svn.wordpress.org/trunk@4976 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 01:29:07 +00:00
Ryan Boren
3509883135 JS localization from mdawaffe. fixes #3913
git-svn-id: https://develop.svn.wordpress.org/trunk@4970 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-06 17:35:01 +00:00
Ryan Boren
beaa2c1dfe JS localization from mdawaffe. fixes #3911
git-svn-id: https://develop.svn.wordpress.org/trunk@4968 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-06 00:39:46 +00:00
Matt Mullenweg
aa66d2861c Broken link.
git-svn-id: https://develop.svn.wordpress.org/trunk@4967 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-05 19:27:40 +00:00
Mark Jaquith
e6733adfbc Cast query vars to strings. fixes #3891
git-svn-id: https://develop.svn.wordpress.org/trunk@4965 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-04 18:08:33 +00:00
Ryan Boren
3de61ceeea Pass along all parameters to get_bookmarks(). Props Otto42. fixes #3898
git-svn-id: https://develop.svn.wordpress.org/trunk@4964 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-04 01:59:57 +00:00
Ryan Boren
e6fd3050dc Update to jQuery 1.1.2. #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@4963 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-03 17:55:36 +00:00
Ryan Boren
0ce0cf7fc0 jQuery was moved to jquery subdir. Remove redundant libs.
git-svn-id: https://develop.svn.wordpress.org/trunk@4962 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-03 17:01:26 +00:00
Ryan Boren
3e08976087 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4961 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-03 16:56:46 +00:00
Ryan Boren
cbf86e6b60 Add jquery.form.js. #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@4959 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-02 23:26:35 +00:00
Ryan Boren
b6115f008a Fix up page_for_posts feed. Rework some query bits. Props mdawaffe. fixes #3885
git-svn-id: https://develop.svn.wordpress.org/trunk@4956 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-28 05:22:29 +00:00
Ryan Boren
0e79a6014b add and apply filter optimizations from FraT. fixes #3875
git-svn-id: https://develop.svn.wordpress.org/trunk@4955 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-28 01:09:20 +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
b3fa98f0d1 attribute_escape() in nonce AYS
git-svn-id: https://develop.svn.wordpress.org/trunk@4951 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 07:15:47 +00:00
Ryan Boren
4b39dcae0d Forgot to bump tinymce config script version when we added gecko_spellcheck. fixes #3856
git-svn-id: https://develop.svn.wordpress.org/trunk@4948 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-26 04:53:03 +00:00
Ryan Boren
11611e96a8 Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@4947 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-26 03:42:25 +00:00
Ryan Boren
3b56c04035 Trying out phpmailer for wp_mail(). fixes #3862
git-svn-id: https://develop.svn.wordpress.org/trunk@4946 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 20:23:25 +00:00
Ryan Boren
f19bf6147f Upgrade class-pop3. Props Nazgul. fixes #3864
git-svn-id: https://develop.svn.wordpress.org/trunk@4945 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 18:19:21 +00:00
Mark Jaquith
3d95138fc7 Consistent mouseover capitalization from Nazgul. fixes #3848
git-svn-id: https://develop.svn.wordpress.org/trunk@4943 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 14:04:49 +00:00
Mark Jaquith
11d28a5c07 Use correct capabilities checks when determining whether to show private posts. Props molecularbear. fixes #3827
git-svn-id: https://develop.svn.wordpress.org/trunk@4940 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 13:39:34 +00:00
Mark Jaquith
a6200e3ddf Handle multi-line subjects in class-pop3.php. Props nreid. fixes #3836
git-svn-id: https://develop.svn.wordpress.org/trunk@4938 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 13:33:03 +00:00
Mark Jaquith
dbd3b7f6fb The O.C. Disorder;; Props Nazgul. fixes 3853
git-svn-id: https://develop.svn.wordpress.org/trunk@4937 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 13:26:18 +00:00
Ryan Boren
2f191b4b56 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: https://develop.svn.wordpress.org/trunk@4934 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-24 07:33:29 +00:00
Ryan Boren
6b2b9f27d1 Typo fixes. Props Znuff. fixes #3859
git-svn-id: https://develop.svn.wordpress.org/trunk@4933 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-24 06:30:51 +00:00
Ryan Boren
30ae25be51 Handle geck spellcheck in tinymce. Props dancoulter. fixes #3856
git-svn-id: https://develop.svn.wordpress.org/trunk@4932 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 23:50:23 +00:00
Ryan Boren
316174c4e9 Proper atom enclosures. Props rob1n. fixes #1464
git-svn-id: https://develop.svn.wordpress.org/trunk@4930 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 23:47:57 +00:00
Ryan Boren
27ee037027 Add get_post_comments_feed_link() and have popup comments templates use it.
git-svn-id: https://develop.svn.wordpress.org/trunk@4929 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 08:31:07 +00:00
Ryan Boren
6c6458f7c9 Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: https://develop.svn.wordpress.org/trunk@4928 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 08:18:30 +00:00
Ryan Boren
9b6a6b632c Relocate feed templates to wp-includes. fixes #3846
git-svn-id: https://develop.svn.wordpress.org/trunk@4927 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 02:50:05 +00:00
Ryan Boren
4ff1f542b8 Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530
git-svn-id: https://develop.svn.wordpress.org/trunk@4925 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 01:15:51 +00:00
Ryan Boren
93ccf15e1d Fix typo. Props rob1n. fixes #1585
git-svn-id: https://develop.svn.wordpress.org/trunk@4924 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 01:05:59 +00:00
Ryan Boren
1162b64000 Provide summary for calendar. Props littleram and rob1n. fixes #1585
git-svn-id: https://develop.svn.wordpress.org/trunk@4921 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 00:53:34 +00:00
Ryan Boren
70e367f72f Use === to compare option values. Props roscohead and Viper007Bond. fixes #3394
git-svn-id: https://develop.svn.wordpress.org/trunk@4920 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 00:49:37 +00:00
Ryan Boren
2902335630 cache js headers for tinymce config. Props juergen and rob1n. fixes #3817
git-svn-id: https://develop.svn.wordpress.org/trunk@4919 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 00:45:21 +00:00
Ryan Boren
5fbcbf7f70 gettext byteorder fix for 64 bit archs. fixes #3780
git-svn-id: https://develop.svn.wordpress.org/trunk@4917 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 00:31:09 +00:00
Ryan Boren
819e6e9c4f Reverse logic.
git-svn-id: https://develop.svn.wordpress.org/trunk@4915 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 15:30:47 +00:00
Ryan Boren
0a1b1b2e88 Handle empty search query. Props charleshooper. fixes #3722 #3759
git-svn-id: https://develop.svn.wordpress.org/trunk@4911 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 01:54:28 +00:00
Ryan Boren
5816d942f0 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4908 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 01:42:21 +00:00
Ryan Boren
308cb8f107 jQuery 1.1.1 and interface 1.2. #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@4904 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-21 02:39:07 +00:00
Mark Jaquith
abb1f0ce50 properly sort categories by name for the_category(). Props rob1n. fixes #1302
git-svn-id: https://develop.svn.wordpress.org/trunk@4903 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-21 02:13:47 +00:00
Ryan Boren
18548bb54a Don't br image maps. Props rob1n. fixes #1292
git-svn-id: https://develop.svn.wordpress.org/trunk@4900 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-21 01:50:27 +00:00
Ryan Boren
4fe4bde3a5 Add jquery to script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@4895 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 07:46:13 +00:00
Ryan Boren
bd5e9d3b08 Don't insert p inside of div. fixes #3669
git-svn-id: https://develop.svn.wordpress.org/trunk@4894 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 05:41:39 +00:00
Ryan Boren
019c3e4950 decode req uri when processing pathinfo permalinks. Props Kirin_Lin. fixes #3727
git-svn-id: https://develop.svn.wordpress.org/trunk@4893 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 01:27:37 +00:00
Ryan Boren
98e9f1ad0a Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791
git-svn-id: https://develop.svn.wordpress.org/trunk@4892 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 01:24:31 +00:00
Mark Jaquith
5164d38cb5 Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: https://develop.svn.wordpress.org/trunk@4886 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 07:07:12 +00:00
Mark Jaquith
d38a3f7777 Consistently use "Spam it:" and "Delete it:" in e-mails. fixes #3304
git-svn-id: https://develop.svn.wordpress.org/trunk@4885 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 05:51:59 +00:00
Ryan Boren
6fea4b0942 specialchars wp_explain_nonce() ouput.
git-svn-id: https://develop.svn.wordpress.org/trunk@4875 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-13 18:19:24 +00:00
Matt Mullenweg
1a712fb612 Add similar hook as XML-RPC for Atom
git-svn-id: https://develop.svn.wordpress.org/trunk@4873 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-11 04:32:31 +00:00
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
Matt Mullenweg
69004cdf58 Normalization of newlines fixes #1020, also did some minor reformatting.
git-svn-id: https://develop.svn.wordpress.org/trunk@4546 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-29 23:18:35 +00:00
Ryan Boren
bccd583d54 gettext date format strings in wp_get_archives. fixes #1540
git-svn-id: https://develop.svn.wordpress.org/trunk@4545 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-29 21:34:51 +00:00
Ryan Boren
024df1720d Bump ver number in MCE help dialog. Props Voper007Bond. fixes #3392
git-svn-id: https://develop.svn.wordpress.org/trunk@4536 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-28 22:00:10 +00:00
Ryan Boren
80cd515b96 Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: https://develop.svn.wordpress.org/trunk@4535 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-28 21:51:13 +00:00
Ryan Boren
5a2e0d5e60 Filter post_content_filtered
git-svn-id: https://develop.svn.wordpress.org/trunk@4533 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-25 17:54:41 +00:00
Mark Jaquith
aa86502ddf whitespace tidying by Viper007Bond. fixes #3385
git-svn-id: https://develop.svn.wordpress.org/trunk@4529 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 22:55:28 +00:00
Ryan Boren
15600c640e Caching fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4528 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 20:44:03 +00:00
Ryan Boren
db25035205 Typo. fixes #3389
git-svn-id: https://develop.svn.wordpress.org/trunk@4527 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 16:41:07 +00:00
Ryan Boren
2bdfce3c20 cat_is_ancestor_of(). fixes #3387
git-svn-id: https://develop.svn.wordpress.org/trunk@4525 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 16:37:44 +00:00
Ryan Boren
f74d084276 Key caches by blog ID for those doing the multi blog trick.
git-svn-id: https://develop.svn.wordpress.org/trunk@4524 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 20:39:39 +00:00
Matt Mullenweg
44cfe9ceda Typo in get_calendar
git-svn-id: https://develop.svn.wordpress.org/trunk@4523 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 18:31:27 +00:00
Matt Mullenweg
0fd7672651 Caching for get_calendar
git-svn-id: https://develop.svn.wordpress.org/trunk@4522 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 17:56:53 +00:00
Matt Mullenweg
5b2ba1257f Caching for get_pages
git-svn-id: https://develop.svn.wordpress.org/trunk@4521 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 17:21:08 +00:00
Matt Mullenweg
350c99b608 Caching for get_bookmarks
git-svn-id: https://develop.svn.wordpress.org/trunk@4520 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 17:04:05 +00:00
Matt Mullenweg
f5a9979852 Caching for get_categories
git-svn-id: https://develop.svn.wordpress.org/trunk@4519 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 16:52:42 +00:00
Matt Mullenweg
fe87cdac0b Typo in logic was causing extra page queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@4518 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 16:06:16 +00:00
Matt Mullenweg
63d022fa1a This makes things a little more interesting and cacheable (sp?)
git-svn-id: https://develop.svn.wordpress.org/trunk@4517 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 15:38:22 +00:00
Matt Mullenweg
3a6dd43506 Let's be a little less verbose here
git-svn-id: https://develop.svn.wordpress.org/trunk@4516 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 00:10:30 +00:00
Mark Jaquith
608fd4e44f trying Ryan's suggestion for #3215
git-svn-id: https://develop.svn.wordpress.org/trunk@4513 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-22 04:58:31 +00:00
Ryan Boren
ce1cb37f34 Bump autosave interval to 2 minutes for now. #3379
git-svn-id: https://develop.svn.wordpress.org/trunk@4512 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-22 02:54:04 +00:00
Ryan Boren
56cda89bdf Make wptexturize faster. Props ecb29. fixes #2980
git-svn-id: https://develop.svn.wordpress.org/trunk@4511 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 22:00:10 +00:00
Ryan Boren
6def40697c Upload JS fixes from mdawaffe. fixes #3378
git-svn-id: https://develop.svn.wordpress.org/trunk@4510 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 20:10:01 +00:00
Ryan Boren
2e848a43e4 Bump script ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@4508 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 01:40:25 +00:00
Ryan Boren
314a957940 Kill form submission during autosave.
git-svn-id: https://develop.svn.wordpress.org/trunk@4507 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 01:39:09 +00:00
Ryan Boren
6d3ce02732 TinyMCE 2.0.8
git-svn-id: https://develop.svn.wordpress.org/trunk@4506 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 00:55:06 +00:00
Ryan Boren
770da54d44 ID instead of id. Props Nazgul. fixes #3152
git-svn-id: https://develop.svn.wordpress.org/trunk@4505 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 05:01:57 +00:00
Ryan Boren
c1767df117 ID instead of id. Props Nazgul. fixes #3152
git-svn-id: https://develop.svn.wordpress.org/trunk@4504 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 04:29:06 +00:00
Ryan Boren
6e8a8a7b95 get_children() uses get_posts(). Props mdawaffe. fixes #3189
git-svn-id: https://develop.svn.wordpress.org/trunk@4503 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 04:23:12 +00:00
Ryan Boren
54a03e22ab Fix logo link and use install.css in wpdb bail. Props Sewar. fixes #3209
git-svn-id: https://develop.svn.wordpress.org/trunk@4502 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 04:07:34 +00:00
Ryan Boren
57bc52df0d Don't linebreak after Z. Props andy. fixes #3312
git-svn-id: https://develop.svn.wordpress.org/trunk@4501 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 04:02:40 +00:00
Ryan Boren
8d2a32913e Pass format string and gmtbool as args to data and time filters. Props sdiz. fixes #2754
git-svn-id: https://develop.svn.wordpress.org/trunk@4498 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 01:46:20 +00:00
Ryan Boren
cb11b2ef85 Handle empty authors list. Props MichaelH. fixes #2384
git-svn-id: https://develop.svn.wordpress.org/trunk@4497 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 08:06:03 +00:00
Ryan Boren
e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren
603ec78946 i18n fix for comments_number(). Props Mark Jaquith. fixes #3244
git-svn-id: https://develop.svn.wordpress.org/trunk@4494 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:45:28 +00:00
Ryan Boren
45984c58eb ceil() max_num_pages. Props MattRead. fixes #3368
git-svn-id: https://develop.svn.wordpress.org/trunk@4488 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 00:58:15 +00:00
Ryan Boren
67ce2d8d4f Ref more singletons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4486 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 00:12:57 +00:00
Ryan Boren
0e188c6859 Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: https://develop.svn.wordpress.org/trunk@4483 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 20:46:43 +00:00
Ryan Boren
a9df0b834b Visual and Code. Props foolswisdom. fixes #3233
git-svn-id: https://develop.svn.wordpress.org/trunk@4476 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-17 21:16:17 +00:00
Ryan Boren
a18ec2228c Fix attachment links for page on front. Props mdawaffe. fixes #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@4475 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-17 20:00:11 +00:00
Mark Jaquith
33a423a769 silence the fopen() in wp_remote_fopen()
git-svn-id: https://develop.svn.wordpress.org/trunk@4472 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-15 22:46:35 +00:00
Ryan Boren
e8f473002c Set extract type and rename car to avoid overwrites.
git-svn-id: https://develop.svn.wordpress.org/trunk@4469 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-15 00:25:44 +00:00
Ryan Boren
7602d4ea9a Inline uploader tweaks from mdawaffe. fixes #3360
git-svn-id: https://develop.svn.wordpress.org/trunk@4466 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-14 23:18:20 +00:00
Ryan Boren
997227c59a is_singular should be false for the posts page. Props mdawaffe. fixes #3351
git-svn-id: https://develop.svn.wordpress.org/trunk@4463 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-11 18:25:42 +00:00
Mark Jaquith
cd1287bca8 valid XHTML for uploader. props tassoman and mdawaffe. fixes #3340
git-svn-id: https://develop.svn.wordpress.org/trunk@4461 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-09 19:02:40 +00:00
Ryan Boren
be689d80a3 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@4460 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-09 06:50:58 +00:00
Ryan Boren
e94e7229c9 Bump script vers.
git-svn-id: https://develop.svn.wordpress.org/trunk@4459 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 21:24:52 +00:00
Ryan Boren
368ceed2a8 Ajax plugin tweakage from mdawaffe. fixes #3334
git-svn-id: https://develop.svn.wordpress.org/trunk@4458 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 21:23:41 +00:00
Ryan Boren
94b9222a4b Remove paging by days. fixes #3341
git-svn-id: https://develop.svn.wordpress.org/trunk@4457 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 21:22:35 +00:00
Ryan Boren
6a3029d8d5 Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@4455 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 09:13:11 +00:00
Ryan Boren
a9b0944ae2 Wrap cat name in CDATA. props alexkingorg. fixes #3252
git-svn-id: https://develop.svn.wordpress.org/trunk@4454 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 06:57:26 +00:00
Ryan Boren
08b0eb170b Fix amp handling. Props skeltoac. fixes #3328
git-svn-id: https://develop.svn.wordpress.org/trunk@4451 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 01:12:41 +00:00
Ryan Boren
04c0b4f99d GROUP BY is hella faster than DISTINCT.
git-svn-id: https://develop.svn.wordpress.org/trunk@4450 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-07 23:43:59 +00:00
Mark Jaquith
697897019a possible solution for #3215
git-svn-id: https://develop.svn.wordpress.org/trunk@4445 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-03 02:42:47 +00:00
Ryan Boren
24524f4d65 category_before and category_after
git-svn-id: https://develop.svn.wordpress.org/trunk@4444 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-02 22:12:13 +00:00
Mark Jaquith
4022da0113 Another autosave typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@4441 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-02 02:47:59 +00:00
Ryan Boren
a3869af95f Seconds not milliseconds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4440 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-01 17:19:33 +00:00
Ryan Boren
8c82107b6e Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@4439 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-01 16:49:23 +00:00
Mark Jaquith
5ae75c9a44 Catch NULL, bool, and integer values in is_serialized(). Props mdawaffe. fixes #3310
git-svn-id: https://develop.svn.wordpress.org/trunk@4438 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-31 08:24:09 +00:00
Mark Jaquith
d2865e988f [4432] missed "comment => c" conversion in edit_comment_link(). Props tinyau. fixes #3309
git-svn-id: https://develop.svn.wordpress.org/trunk@4436 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-31 06:13:43 +00:00
Mark Jaquith
3567fff3db Better preservation of query string when using add_query_arg(). Props in self- and Andy-flavored varieties. fixes #3308
git-svn-id: https://develop.svn.wordpress.org/trunk@4435 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-31 05:49:14 +00:00
Ryan Boren
02a2d051be Autosave periodical executor from masquerade. fixes #3195
git-svn-id: https://develop.svn.wordpress.org/trunk@4433 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-30 20:18:59 +00:00
Matt Mullenweg
d3eee351ce Make these links shorter and remove unneeded vars
git-svn-id: https://develop.svn.wordpress.org/trunk@4432 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-30 19:27:24 +00:00
Mark Jaquith
b247fdc973 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: https://develop.svn.wordpress.org/trunk@4426 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-27 03:47:43 +00:00
Ryan Boren
1d570ec675 get_page_by_title()
git-svn-id: https://develop.svn.wordpress.org/trunk@4425 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-26 19:55:10 +00:00
Mark Jaquith
f3f5188f24 Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: https://develop.svn.wordpress.org/trunk@4419 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-24 10:52:59 +00:00
Mark Jaquith
c1f5e720eb Don't assume that TinyMCE exists, and degrade gracefully if it doesn't. fixes #3272
git-svn-id: https://develop.svn.wordpress.org/trunk@4417 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-24 03:57:19 +00:00
Ryan Boren
7414172018 Init query_vars as an array.
git-svn-id: https://develop.svn.wordpress.org/trunk@4414 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-23 01:34:00 +00:00
Mark Jaquith
10b506305a Revert [3952] because it causes double slashing
git-svn-id: https://develop.svn.wordpress.org/trunk@4409 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-19 00:39:01 +00:00
Mark Jaquith
8d76f3f702 Add wp_redirect filter, with cancel ability. fixes #3250
git-svn-id: https://develop.svn.wordpress.org/trunk@4407 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-18 22:02:30 +00:00
Ryan Boren
db4a834c82 Fix handling of stylesheet only themes that live two-levels deep.
git-svn-id: https://develop.svn.wordpress.org/trunk@4404 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-18 20:24:59 +00:00
Mark Jaquith
e4896b513a Entity encode image title attribute. Props mdawaffe. fixes #3258
git-svn-id: https://develop.svn.wordpress.org/trunk@4402 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-17 18:24:36 +00:00
Matt Mullenweg
e37451b79a Some helper functions for themes and images
git-svn-id: https://develop.svn.wordpress.org/trunk@4401 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-16 06:06:18 +00:00
Matt Mullenweg
51367ff351 Allow themes in subdirectories.
git-svn-id: https://develop.svn.wordpress.org/trunk@4400 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-16 05:57:33 +00:00
Mark Jaquith
1fd9b76d11 SimplePie patch not ready for prime time. Need it to be a drop-in solution. Reverting to MagpieRSS for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@4399 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-16 04:16:06 +00:00
Mark Jaquith
60848ed137 Only run stripslashes() on strings in update_usermeta(). Props stm. fixes #3240
git-svn-id: https://develop.svn.wordpress.org/trunk@4396 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-14 05:35:50 +00:00
Mark Jaquith
2cc7fdd66b Code cleanup: wp-includes/plugin.php
git-svn-id: https://develop.svn.wordpress.org/trunk@4394 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 14:01:53 +00:00
Mark Jaquith
9a0c7a1c33 Code cleanup: wp-includes/feed.php
git-svn-id: https://develop.svn.wordpress.org/trunk@4393 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 13:49:39 +00:00
Mark Jaquith
852e96e733 Code cleanup: wp-includes/theme.php
git-svn-id: https://develop.svn.wordpress.org/trunk@4392 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 10:33:44 +00:00
Mark Jaquith
ef830b334c Point to renamed SimplePie file
git-svn-id: https://develop.svn.wordpress.org/trunk@4391 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 10:20:18 +00:00
Mark Jaquith
0c561c7225 Rename SimplePie name to follow standard
git-svn-id: https://develop.svn.wordpress.org/trunk@4390 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 10:18:27 +00:00
Mark Jaquith
3dab769367 File handling tweaks in latest SimplePie trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@4389 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 09:51:34 +00:00
Mark Jaquith
97b1fde162 fix function name error in last two commits. fixes #3228
git-svn-id: https://develop.svn.wordpress.org/trunk@4387 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 06:08:27 +00:00
Mark Jaquith
8f786af426 make_clickable() now faster and supports more link positions, from mdawaffe and myself. fixes #3228
git-svn-id: https://develop.svn.wordpress.org/trunk@4386 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 06:01:33 +00:00
Mark Jaquith
f0a421f185 cleanup [4382] a bit
git-svn-id: https://develop.svn.wordpress.org/trunk@4383 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 00:23:25 +00:00
Mark Jaquith
41ace9de74 Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: https://develop.svn.wordpress.org/trunk@4382 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 23:54:36 +00:00
Mark Jaquith
4bce27562b Somewhat stricter smilies replacements by Nazgul. fixes #3222
git-svn-id: https://develop.svn.wordpress.org/trunk@4380 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 10:14:14 +00:00
Mark Jaquith
c4d4830ed8 wp_die() fix for 5 minute install from alanjcastonguay. fixes #3231
git-svn-id: https://develop.svn.wordpress.org/trunk@4379 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 02:33:03 +00:00
Mark Jaquith
c52c908248 The changing of the pies. Now using SimplePie. props to gsnedders. fixes #2864
git-svn-id: https://develop.svn.wordpress.org/trunk@4378 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 23:03:17 +00:00
Mark Jaquith
f5266e0a53 Pie fight! Meet SimplePie.
git-svn-id: https://develop.svn.wordpress.org/trunk@4377 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 22:40:34 +00:00
Mark Jaquith
37e8af41dd Blogroll link visibility typo fix by foolswisdom. fixes #3226
git-svn-id: https://develop.svn.wordpress.org/trunk@4374 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 09:23:24 +00:00
Mark Jaquith
836286e8ec Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: https://develop.svn.wordpress.org/trunk@4372 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 09:18:54 +00:00
Matt Mullenweg
29cbad678d Some action in get_header and footer
git-svn-id: https://develop.svn.wordpress.org/trunk@4371 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 03:39:13 +00:00
Ryan Boren
f03d22ae89 Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: https://develop.svn.wordpress.org/trunk@4362 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-08 17:50:21 +00:00
Ryan Boren
28a0e3786c Smilies optimization from Nazgul. fixes #3201 #3216
git-svn-id: https://develop.svn.wordpress.org/trunk@4360 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:16:24 +00:00
Ryan Boren
fddb91d85c RTL support for login sand wp_die() from Sewar. fixes #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4359 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:12:33 +00:00
Ryan Boren
4ca2e12d62 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@4358 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:00:32 +00:00
Matt Mullenweg
e13f751e70 The isset broke when we defined the var to fix E_ALL warnings, making the leading raquo appear on homepages.
git-svn-id: https://develop.svn.wordpress.org/trunk@4357 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 18:54:56 +00:00
Ryan Boren
8969b409ec Update script version.
git-svn-id: https://develop.svn.wordpress.org/trunk@4356 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 18:42:34 +00:00
Ryan Boren
0f54dd0d75 Relativize links. Props mdawaffe. fixes #3211
git-svn-id: https://develop.svn.wordpress.org/trunk@4353 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 22:43:21 +00:00
Mark Jaquith
cd4a05da67 avoid double time offset in calendar. props to priv. fixes #2189
git-svn-id: https://develop.svn.wordpress.org/trunk@4350 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 11:22:42 +00:00
Matt Mullenweg
bc2d62560c Some UI cleanups, changes, and various miscellany.
git-svn-id: https://develop.svn.wordpress.org/trunk@4349 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 01:14:47 +00:00
Ryan Boren
0627d3a23a Relativize links. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@4348 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 00:34:58 +00:00
Mark Jaquith
832ae0d0a8 "Compose" becomes "Editor" in RTE. fixes #3172
git-svn-id: https://develop.svn.wordpress.org/trunk@4347 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-05 06:34:17 +00:00
Mark Jaquith
c5923e342d fix usage of $m and return behavior in single_month_title(). fixes #3207
git-svn-id: https://develop.svn.wordpress.org/trunk@4346 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-05 03:12:24 +00:00
Mark Jaquith
1861b0f8f9 Better tabbing and newlining for RSS categories. Props coffee2code and Nazgul. fixes #1156
git-svn-id: https://develop.svn.wordpress.org/trunk@4342 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 21:46:42 +00:00
Ryan Boren
29b992e902 Improved login from Viper007Bond. fixes #3123
git-svn-id: https://develop.svn.wordpress.org/trunk@4339 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 16:47:50 +00:00
Mark Jaquith
191607d7bd Prevent non-option form elements from sneaking in to the options table. fixes #2595
git-svn-id: https://develop.svn.wordpress.org/trunk@4332 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 12:18:28 +00:00
Mark Jaquith
b2cf5d4a93 Strip out British pound sterling (pound) symbol from post slug. fixes #2735
git-svn-id: https://develop.svn.wordpress.org/trunk@4320 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 07:51:11 +00:00
Mark Jaquith
2a6e4903dc Manage Posts paging fix from Westi. fixes #2693
git-svn-id: https://develop.svn.wordpress.org/trunk@4316 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 07:43:23 +00:00
Mark Jaquith
c37652968a Allow user replacement of cockney replacement array. fixes #1032
git-svn-id: https://develop.svn.wordpress.org/trunk@4308 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 06:07:48 +00:00
Mark Jaquith
f66977080e comment link counting improvements from Nazgul. fixes: #938
git-svn-id: https://develop.svn.wordpress.org/trunk@4299 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 04:43:25 +00:00
Mark Jaquith
d63bbe60c1 remove comment_user_domain cruft. Props Nazgul. fixes #3197
git-svn-id: https://develop.svn.wordpress.org/trunk@4293 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:58:43 +00:00
Mark Jaquith
9e0b62e2d0 nocache_headers from _ck_ and Nazgul. fixes #3027
git-svn-id: https://develop.svn.wordpress.org/trunk@4291 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:54:10 +00:00
Mark Jaquith
bc7cd93309 case insensitive sorting. props Nazgul. fixes #3108
git-svn-id: https://develop.svn.wordpress.org/trunk@4289 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:49:56 +00:00
Ryan Boren
7704ddd684 Silence gethostbyaddr(). Props MarkJaquith. fixes #2759
git-svn-id: https://develop.svn.wordpress.org/trunk@4288 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:05:54 +00:00
Ryan Boren
076dd45bcf Smiley parsing fixes from Nazgul. fixes #2444 #1279
git-svn-id: https://develop.svn.wordpress.org/trunk@4283 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 02:21:27 +00:00
Ryan Boren
0a90af5b7c Increment tok_index. fixes #2785
git-svn-id: https://develop.svn.wordpress.org/trunk@4279 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:56:23 +00:00
Ryan Boren
08ca04f068 more-link css class. Props Viper007Bond. fixes #3009
git-svn-id: https://develop.svn.wordpress.org/trunk@4278 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:46:45 +00:00
Ryan Boren
fa4a39b0c7 Init vars before use. Props Alex King. fixes #3180
git-svn-id: https://develop.svn.wordpress.org/trunk@4277 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:41:44 +00:00
Ryan Boren
8f25e35913 Pageinate upload tabs. From the Paginator, mdawaffe. fixes #3193
git-svn-id: https://develop.svn.wordpress.org/trunk@4276 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:40:26 +00:00
Ryan Boren
c1d042931b paginate_links() from mdawaffe. fixes #3159
git-svn-id: https://develop.svn.wordpress.org/trunk@4275 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 07:16:49 +00:00
Ryan Boren
ad90b4519b Uploader improvements from mdawaffe. fixes #3191
git-svn-id: https://develop.svn.wordpress.org/trunk@4274 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 07:15:13 +00:00
Ryan Boren
76f6cf50c9 Don't do status_header for IIS. Props Mark Jaquith. fixes #3190
git-svn-id: https://develop.svn.wordpress.org/trunk@4273 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 00:28:06 +00:00
Ryan Boren
09830f0bbd Pluggable comment throttling from Mark Jaquith. fixes #3175
git-svn-id: https://develop.svn.wordpress.org/trunk@4265 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-02 18:19:44 +00:00
Ryan Boren
cdd3f05642 Don't use deprecated functions. Props Nazgul. fixes #3186
git-svn-id: https://develop.svn.wordpress.org/trunk@4264 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-02 18:03:34 +00:00
Ryan Boren
fc82fd43b6 wp_list_bookmarks() enhanccements from westi. #2587
git-svn-id: https://develop.svn.wordpress.org/trunk@4263 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-02 18:01:07 +00:00
Ryan Boren
455dd7d763 RTL enhancements from Sewar. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4258 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-27 00:51:17 +00:00
Ryan Boren
df5a935be4 get_the_category_rss() from masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@4257 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-26 18:05:06 +00:00
Ryan Boren
809a0f83fa Show link images by default, if they are defined.
git-svn-id: https://develop.svn.wordpress.org/trunk@4256 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-26 14:45:15 +00:00
Ryan Boren
ea94ff906d wp_get_schedule() from masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@4254 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-26 01:14:49 +00:00
Ryan Boren
52a2f4a6e1 Send 302 on redirect. Props leflo. fixes #3166
git-svn-id: https://develop.svn.wordpress.org/trunk@4252 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-26 00:55:21 +00:00
Ryan Boren
3ad814fe9d Check if isset to avoid warning. Props Alex King. fixes #3160
git-svn-id: https://develop.svn.wordpress.org/trunk@4221 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-25 01:21:13 +00:00
Ryan Boren
a52b67b3d4 Add langauge_attributes() template tag. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4218 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-24 20:16:13 +00:00
Ryan Boren
b5ffe203a4 Add language and text_direction attributes to bloginfo. Set lang and dir attributes in admin header's html tag. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4217 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-24 19:29:32 +00:00
Matt Mullenweg
4b52d9c981 Add a little class to our links list
git-svn-id: https://develop.svn.wordpress.org/trunk@4212 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-23 09:33:51 +00:00
Ryan Boren
f81191d1a4 Tabbed editor fixes from skeltoac. #2829
git-svn-id: https://develop.svn.wordpress.org/trunk@4210 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-22 22:24:50 +00:00
Ryan Boren
58a933b906 Tabbed editor and autosave fixes. Props skeltoac and westi. #2829
git-svn-id: https://develop.svn.wordpress.org/trunk@4209 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-22 19:35:37 +00:00
Ryan Boren
c227947744 Check if array index is set. Props Alex King. fixes #3156
git-svn-id: https://develop.svn.wordpress.org/trunk@4208 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-22 14:40:40 +00:00
Ryan Boren
c82cc535bc Tabbed editor from skeltoac. fixes #2829
git-svn-id: https://develop.svn.wordpress.org/trunk@4206 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-22 07:04:41 +00:00
Ryan Boren
2afc3e16b4 Make sure query vars are set before use. Props Alex King. fixes #3154
git-svn-id: https://develop.svn.wordpress.org/trunk@4205 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 21:05:38 +00:00
Ryan Boren
5fbeda5c25 Make sure vars are set. Props Alex King. fixes #3153
git-svn-id: https://develop.svn.wordpress.org/trunk@4204 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 21:03:11 +00:00
Ryan Boren
7e99c9b9d7 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: https://develop.svn.wordpress.org/trunk@4202 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 20:46:39 +00:00
Ryan Boren
ae2a89aa46 RTL support. Props mani_monaj. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4201 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 00:34:34 +00:00
Ryan Boren
df3c1a520e Don't use rewrite array as string. fixes #2771
git-svn-id: https://develop.svn.wordpress.org/trunk@4200 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 00:09:37 +00:00
Ryan Boren
3472772716 Don't allow pages to have the same names as feeds to avoid rewrite collision. Props skeltoac. fixes #1231
git-svn-id: https://develop.svn.wordpress.org/trunk@4199 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 00:01:20 +00:00
Ryan Boren
3c348108f8 Warning and notice fixes from Alex King. fixes #3148
git-svn-id: https://develop.svn.wordpress.org/trunk@4198 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 23:56:28 +00:00
Matt Mullenweg
06f0097a94 Options cleanup and some styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@4196 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 06:11:42 +00:00
Ryan Boren
fd6a645679 Encode percent to avoid broken permalinks. Props majelbstoat. fixes #569
git-svn-id: https://develop.svn.wordpress.org/trunk@4195 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 03:05:08 +00:00
Ryan Boren
d88ed56d55 Fix logo link in wp_die(). Props Sewar. fixes #3138
git-svn-id: https://develop.svn.wordpress.org/trunk@4194 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-18 23:40:19 +00:00
Ryan Boren
3e42d396bd Validation fix from Viper007Bond. fixes #3140
git-svn-id: https://develop.svn.wordpress.org/trunk@4193 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-18 23:33:25 +00:00
Ryan Boren
19e6c82bb8 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@4191 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-14 00:25:59 +00:00
Ryan Boren
339ada9537 cron and future post publishing fixes. fixes #3058
git-svn-id: https://develop.svn.wordpress.org/trunk@4189 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 23:54:15 +00:00
Ryan Boren
0277c28a9a Bump script vers.
git-svn-id: https://develop.svn.wordpress.org/trunk@4188 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 21:46:29 +00:00
Ryan Boren
45cd582085 AJAX responsiveness improvements from mdawaffe. fixes #3099
git-svn-id: https://develop.svn.wordpress.org/trunk@4187 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 21:39:53 +00:00
Ryan Boren
7d25a72195 do_action_ref_array(). fixes #3125
git-svn-id: https://develop.svn.wordpress.org/trunk@4186 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-12 17:45:23 +00:00
Ryan Boren
3b731473ec Add ping status to autosave post array. Props skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@4185 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-12 00:01:18 +00:00
Ryan Boren
0022e717d8 Show more link in RSS. Don't show more link if more link text empty. Take more into account when creating excerpt.
git-svn-id: https://develop.svn.wordpress.org/trunk@4184 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-11 23:59:00 +00:00
Ryan Boren
5ec32c8eee Add explain_nonce filter. Props mdawaffe. fixes #3121
git-svn-id: https://develop.svn.wordpress.org/trunk@4181 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:49:24 +00:00
Ryan Boren
aa0adc291e Get pages by author[s]. Props westi. fixes #1486
git-svn-id: https://develop.svn.wordpress.org/trunk@4180 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:47:49 +00:00
Ryan Boren
387124c66c Pass along the modified string instead of the original. fixes #3118
git-svn-id: https://develop.svn.wordpress.org/trunk@4179 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:16:20 +00:00
Ryan Boren
a60573f168 We no longer need the outer array.
git-svn-id: https://develop.svn.wordpress.org/trunk@4178 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-09 01:09:21 +00:00
Ryan Boren
23d84fac79 do_action and apply_filters arg passing sanity from mdawaffe. fixes #3116
git-svn-id: https://develop.svn.wordpress.org/trunk@4177 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-08 23:19:29 +00:00
Ryan Boren
826dd2da08 Specify number of accepted args.
git-svn-id: https://develop.svn.wordpress.org/trunk@4176 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-08 23:18:03 +00:00
Ryan Boren
58370c3575 timer_stop() wanted to be near timer_start().
git-svn-id: https://develop.svn.wordpress.org/trunk@4174 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 23:26:52 +00:00
Ryan Boren
d51b58448f Avoid infinite loop when category_parent equals cat_ID
git-svn-id: https://develop.svn.wordpress.org/trunk@4173 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 17:42:24 +00:00
Ryan Boren
46526ab285 Honor show_post_count. Props westi. fixes #3110
git-svn-id: https://develop.svn.wordpress.org/trunk@4172 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 17:38:43 +00:00
Ryan Boren
9e8323d14d the_search_query() from mdawaffe. fixes #914
git-svn-id: https://develop.svn.wordpress.org/trunk@4171 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 17:37:26 +00:00
Ryan Boren
fbb3c673d7 Add bloginfo_url filter from Kafkaesqui. fixes #2643
git-svn-id: https://develop.svn.wordpress.org/trunk@4168 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 00:35:42 +00:00
Ryan Boren
ca314e4aa1 Recognize paragraph tags with attributes when stripping breaks. Props rockinfree. fixes #1706
git-svn-id: https://develop.svn.wordpress.org/trunk@4167 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 00:33:05 +00:00
Ryan Boren
a28be38534 i18n fixes from nbachiyski. fixes #3109
git-svn-id: https://develop.svn.wordpress.org/trunk@4165 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-05 18:52:24 +00:00
Ryan Boren
f58cd3de78 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@4163 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 22:08:10 +00:00
Ryan Boren
8da0ba34e2 Nonce delete comment. Props mdawaffe. fixes #3103
git-svn-id: https://develop.svn.wordpress.org/trunk@4162 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 22:05:37 +00:00
Ryan Boren
d41bf225fb Check excerpt when determing if a post is empty. #3097
git-svn-id: https://develop.svn.wordpress.org/trunk@4159 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 20:19:07 +00:00
Ryan Boren
a8dd93d285 Page cap fixes from activeingredient. fixes #3096
git-svn-id: https://develop.svn.wordpress.org/trunk@4158 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 17:15:18 +00:00
Ryan Boren
d1ff29a59a Use wp_dropdown_categories(). Fix padding. Don't allow a cat to be it's own parent. Props westi. fixes #3088
git-svn-id: https://develop.svn.wordpress.org/trunk@4156 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 20:38:24 +00:00
Ryan Boren
936b87defb Resolve table ambiguity.Props filosofo. fixes #3091
git-svn-id: https://develop.svn.wordpress.org/trunk@4155 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 18:50:58 +00:00
Ryan Boren
44a1fe982d Instantiate wpdb only if not already set. #2721
git-svn-id: https://develop.svn.wordpress.org/trunk@4153 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 18:44:13 +00:00
Ryan Boren
696f300b47 Make the current cat the selected cat when doing a category query. fixes #1194
git-svn-id: https://develop.svn.wordpress.org/trunk@4151 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 21:36:21 +00:00
Ryan Boren
732dda9406 Fix percent stripping in clean_url.
git-svn-id: https://develop.svn.wordpress.org/trunk@4148 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 17:30:17 +00:00
Ryan Boren
5d226699f8 Add xmlrpc_publish_post action.
git-svn-id: https://develop.svn.wordpress.org/trunk@4147 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 05:21:27 +00:00
Ryan Boren
4a2c36a88e Deprecate idmode. fixes #2386
git-svn-id: https://develop.svn.wordpress.org/trunk@4146 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 05:07:12 +00:00
Ryan Boren
8fdd845db6 Typo fix. Props schulte. fixes #3087
git-svn-id: https://develop.svn.wordpress.org/trunk@4145 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 00:10:59 +00:00
Ryan Boren
7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren
64fb5cb109 Deprecate link_pages(). Clean up wp_link_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@4142 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:00:37 +00:00
Ryan Boren
6c77b22cb8 Fix query parsing. Props westi. fixes #3085
git-svn-id: https://develop.svn.wordpress.org/trunk@4141 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 18:37:33 +00:00
Ryan Boren
9abefc0104 Resurrect idmode. Props MichaelH and westi. fixes #2386
git-svn-id: https://develop.svn.wordpress.org/trunk@4140 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 18:09:12 +00:00
Ryan Boren
7664b616fd Deprecate get_author_link(). Add get_author_posts_url() and the_author_link(). Props Viper007Bond and westi. fixes #2423
git-svn-id: https://develop.svn.wordpress.org/trunk@4139 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 18:07:49 +00:00
Ryan Boren
b17c5d427b Add yearly archive display option. Props stewart and westi. fixes #2352
git-svn-id: https://develop.svn.wordpress.org/trunk@4138 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 17:23:42 +00:00
Ryan Boren
1bca5d994d Don't duplicate nofollow on edit. Props filosofo. fixes #2995
git-svn-id: https://develop.svn.wordpress.org/trunk@4135 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:50:12 +00:00
Ryan Boren
0644529857 the_modified_date(). Props westi. fixes #2374
git-svn-id: https://develop.svn.wordpress.org/trunk@4134 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:46:08 +00:00
Ryan Boren
cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren
91a4f85ca8 Cast page_id to int before deciding if is_page. fixes #2769
git-svn-id: https://develop.svn.wordpress.org/trunk@4132 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 09:41:40 +00:00
Ryan Boren
c905e6fef4 Deprecate query_string. Add 'request' filter to filter the array of query vars. Pass around arrays instead of query strings. fixes #2777
git-svn-id: https://develop.svn.wordpress.org/trunk@4129 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 05:41:38 +00:00
Ryan Boren
54786c0cc5 Allow passing an associative array of query vars to avoid parse_str overhead.
git-svn-id: https://develop.svn.wordpress.org/trunk@4128 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 04:02:12 +00:00
Ryan Boren
0f6f0b20ae Feeds for singular object queries should be comment feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4127 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 03:34:17 +00:00
Ryan Boren
be534f0d46 Add is_singular() convenience function.
git-svn-id: https://develop.svn.wordpress.org/trunk@4126 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 03:33:39 +00:00
Ryan Boren
4185956fab Keep the frag at the end. Props mdawaffe. fixes #3078
git-svn-id: https://develop.svn.wordpress.org/trunk@4123 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 01:02:45 +00:00
Ryan Boren
92f57633da Allow passing extra data back with errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@4122 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-29 20:17:41 +00:00
Ryan Boren
aece412f39 Alpha bumpage.
git-svn-id: https://develop.svn.wordpress.org/trunk@4121 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-28 23:15:52 +00:00
Ryan Boren
c2e2e7e9ca Add page specific admin_head action. Add admin_print_scripts actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@4120 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-28 23:08:48 +00:00
Ryan Boren
60cb6a952b Handle posts with an empty cat list. fixes #3072
git-svn-id: https://develop.svn.wordpress.org/trunk@4119 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-27 19:26:03 +00:00
Ryan Boren
de56075801 Don't save if both title and content are empty. fixes #2390
git-svn-id: https://develop.svn.wordpress.org/trunk@4117 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-25 00:27:15 +00:00
Ryan Boren
03bd697b27 Add single_cat_title filter. Props ryanscheuermann. fixes #2935
git-svn-id: https://develop.svn.wordpress.org/trunk@4116 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:50:24 +00:00
Ryan Boren
04e6ae9d7b comments-rss2 fix from Mark J. fixes #3055
git-svn-id: https://develop.svn.wordpress.org/trunk@4114 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:32:47 +00:00
Ryan Boren
88cd96ff72 Allow use of global roles array instead of options db. Useful for multi-blog setups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4113 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:23:36 +00:00
Ryan Boren
4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren
33e6c8fbde cache_javascript_headers() from masquerade. fixes #3059 #2799
git-svn-id: https://develop.svn.wordpress.org/trunk@4109 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 17:31:53 +00:00
Ryan Boren
4f4f3595ac Code purtification from Mark J. fixes #3060
git-svn-id: https://develop.svn.wordpress.org/trunk@4108 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 09:24:31 +00:00
Ryan Boren
8dba300bf5 Use get_option instead of get_bloginfo to retrieve siteurl cause the two aren't the same for some mystical reason.
git-svn-id: https://develop.svn.wordpress.org/trunk@4107 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 05:57:28 +00:00
Ryan Boren
fbfc1f6947 Don't page off the end. Props Mark J. fixes #3039
git-svn-id: https://develop.svn.wordpress.org/trunk@4106 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-18 08:36:11 +00:00
Ryan Boren
af017d27c1 script loader fix from mdawaffe. fixes #2701
git-svn-id: https://develop.svn.wordpress.org/trunk@4105 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-18 05:23:41 +00:00
Ryan Boren
a313da93d7 Update category counts to include children. Don't hide empty parent cats that have non-empty children. Props skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@4104 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-17 04:46:16 +00:00
Ryan Boren
f2e7bbb410 Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: https://develop.svn.wordpress.org/trunk@4103 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-16 07:28:24 +00:00
Ryan Boren
0a31b264ac Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: https://develop.svn.wordpress.org/trunk@4102 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-16 06:56:35 +00:00
Ryan Boren
5c2a838d90 Autosave focus grab fix from masquerade. fixes #3040
git-svn-id: https://develop.svn.wordpress.org/trunk@4101 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-16 02:50:03 +00:00
Ryan Boren
1309112916 Update action after generating a new nonce to reduce race condition window.
git-svn-id: https://develop.svn.wordpress.org/trunk@4098 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 21:07:13 +00:00
Ryan Boren
07a4fa5c0b Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019
git-svn-id: https://develop.svn.wordpress.org/trunk@4096 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 05:03:14 +00:00
Ryan Boren
4213e51be1 Init last_result to an empty array. fixes #2913
git-svn-id: https://develop.svn.wordpress.org/trunk@4092 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:23:03 +00:00
Ryan Boren
b86470f23b Fix proxy check regex. Props westi. fixes #3028
git-svn-id: https://develop.svn.wordpress.org/trunk@4091 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:19:28 +00:00
Ryan Boren
3b1aadedac Bump mce ver for script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@4090 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:11:30 +00:00
Ryan Boren
e475a06ad3 Bump dbx ver for script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@4089 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 21:49:11 +00:00
Ryan Boren
5f241c40be autosave fix ups
git-svn-id: https://develop.svn.wordpress.org/trunk@4086 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:50:28 +00:00
Ryan Boren
3cbad655d5 wpTriggerSave for autosave. does not move cursor.
git-svn-id: https://develop.svn.wordpress.org/trunk@4085 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:19:32 +00:00
Ryan Boren
0106320536 autosave span from masquerade
git-svn-id: https://develop.svn.wordpress.org/trunk@4084 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 07:26:48 +00:00
Ryan Boren
ff9a056e8b Autosave and prototype. Props masquerade. fixes #3020 #3017
git-svn-id: https://develop.svn.wordpress.org/trunk@4082 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 03:54:45 +00:00
Ryan Boren
2b96969ee2 Update tinyMCE to 2.0.6.1. fixes #3003
git-svn-id: https://develop.svn.wordpress.org/trunk@4080 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-09 19:39:17 +00:00
Ryan Boren
7c6d67134e Always clears future publication hook in case the post status bounced from future to draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@4078 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-07 04:43:38 +00:00
Ryan Boren
ac77e5291f Rework wp_publish_post() to use wp_update_post() again while turning off filters. Clear the cron schedule for a post when the post timestamp is updated. #2715 #2737
git-svn-id: https://develop.svn.wordpress.org/trunk@4077 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-07 03:50:55 +00:00
Ryan Boren
ed1ea4c629 Don't forget to concat. Props cschneid. fixes #2988
git-svn-id: https://develop.svn.wordpress.org/trunk@4075 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-05 04:18:09 +00:00
Ryan Boren
624746bcf1 More more for xmlrpc. fixes #2991
git-svn-id: https://develop.svn.wordpress.org/trunk@4074 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-05 04:11:51 +00:00
Ryan Boren
8386c4a5c9 There can be only one, or maybe more. Props Mark J. fixes #2991
git-svn-id: https://develop.svn.wordpress.org/trunk@4071 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-01 13:53:04 +00:00
Ryan Boren
1eba7bb0f3 (More more more) how do you like it, how do you like it. fixes #2991
git-svn-id: https://develop.svn.wordpress.org/trunk@4070 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-01 04:54:23 +00:00
Ryan Boren
da4045e886 No magic vals
git-svn-id: https://develop.svn.wordpress.org/trunk@4067 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-29 01:45:17 +00:00
Ryan Boren
63089f57b4 htmlspecial
git-svn-id: https://develop.svn.wordpress.org/trunk@4065 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-29 01:40:47 +00:00
Ryan Boren
b15ddd4e0d specialchars DB error.
git-svn-id: https://develop.svn.wordpress.org/trunk@4061 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-28 22:58:38 +00:00
Ryan Boren
85c2f38d41 Make nicename optional.
git-svn-id: https://develop.svn.wordpress.org/trunk@4057 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-28 10:50:35 +00:00
Ryan Boren
ae80425b1e Use get_userdata(). fixes #2976
git-svn-id: https://develop.svn.wordpress.org/trunk@4055 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-27 23:27:27 +00:00
Ryan Boren
852bc46505 Faster remove accents. Props skeltoac. fixes #2978
git-svn-id: https://develop.svn.wordpress.org/trunk@4050 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 22:55:36 +00:00
Ryan Boren
6e582f4f39 specialchars feed titles. Props leftjustified. fixes #1451
git-svn-id: https://develop.svn.wordpress.org/trunk@4046 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 17:43:15 +00:00
Ryan Boren
0a2c0a3640 Quote escaping fixes from mdawaffe. fixes #2975
git-svn-id: https://develop.svn.wordpress.org/trunk@4043 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 08:40:00 +00:00
Ryan Boren
31376ccaa9 Admin AJAX tweaks from mdawaffe. fixes #2969
git-svn-id: https://develop.svn.wordpress.org/trunk@4042 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-25 19:01:52 +00:00
Ryan Boren
0e64623351 Kill unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@4040 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-24 18:26:13 +00:00
Ryan Boren
c64dd2df81 Use AND instead of HAVING. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@4039 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-24 18:24:56 +00:00
Ryan Boren
2330234b08 Damn editor.
git-svn-id: https://develop.svn.wordpress.org/trunk@4037 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-23 21:20:30 +00:00
Ryan Boren
7180b478e1 Trim theme and plugin data. fixes #2943
git-svn-id: https://develop.svn.wordpress.org/trunk@4035 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-23 19:20:11 +00:00
Ryan Boren
0932127dbc Snoopy fread fixes. Props JeremyVisser. fixes #2733
git-svn-id: https://develop.svn.wordpress.org/trunk@4030 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-23 18:23:43 +00:00
Ryan Boren
47c276a6c6 Oops.
git-svn-id: https://develop.svn.wordpress.org/trunk@4027 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-22 04:57:16 +00:00
Ryan Boren
9cd3120632 Rework wp_publish_post(). Should avoid running filters when changing from future to publish.
git-svn-id: https://develop.svn.wordpress.org/trunk@4026 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-22 04:17:41 +00:00
Ryan Boren
a1cce20e0a Don't validate theme during install.
git-svn-id: https://develop.svn.wordpress.org/trunk@4024 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-21 19:00:04 +00:00
Ryan Boren
bc79a2d9f0 Fix current page handling when using page_for_posts. Props skeltoac. fixes #2959
git-svn-id: https://develop.svn.wordpress.org/trunk@4023 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-20 02:05:25 +00:00
Ryan Boren
1757f40e8e Remove unneeded php tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@4019 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-17 17:08:00 +00:00
Ryan Boren
3a8383fd2d bail() cannot use wp_die(). wp_die() isn't loaded when bail() runs. fixes #2941
git-svn-id: https://develop.svn.wordpress.org/trunk@4018 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-16 15:41:36 +00:00
Ryan Boren
e69d028988 Tweak theme validation.
git-svn-id: https://develop.svn.wordpress.org/trunk@4017 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 22:44:56 +00:00
Ryan Boren
967b1a18ba Allow limiting the number of cats to fetch.
git-svn-id: https://develop.svn.wordpress.org/trunk@4015 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 18:15:24 +00:00
Ryan Boren
7337c5bbc0 Allow ordering by count.
git-svn-id: https://develop.svn.wordpress.org/trunk@4014 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 18:01:53 +00:00
Ryan Boren
9b1204792a Pass arg array to get_categories filters. Props ryanscheuermann. fixes #2934
git-svn-id: https://develop.svn.wordpress.org/trunk@4013 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 03:33:25 +00:00
Ryan Boren
49769340ca Make clickable fix from whooami. fixes #2889
git-svn-id: https://develop.svn.wordpress.org/trunk@4011 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 03:30:12 +00:00
Ryan Boren
fa6b9e781a Use wp_die() in wp_nonce_ays(). fixes #2929
git-svn-id: https://develop.svn.wordpress.org/trunk@4009 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 16:34:43 +00:00
Ryan Boren
d120bbcfff get_category filter form majelbstoat. fixes #2466
git-svn-id: https://develop.svn.wordpress.org/trunk@4007 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 16:11:43 +00:00
Ryan Boren
4591c517ce wp_die() improvements from Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@4006 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 05:29:10 +00:00
Ryan Boren
c1ff4311bf Update to php-gettext 1.0.7+. fixes #1727
git-svn-id: https://develop.svn.wordpress.org/trunk@4003 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 22:35:59 +00:00
Ryan Boren
07ac9fb01c specialchars quotes in comment title. Props deko. fixes #2915
git-svn-id: https://develop.svn.wordpress.org/trunk@3995 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 02:28:34 +00:00
Ryan Boren
6fd01856c7 wp_kses_no_null() redirect location for extra protection.
git-svn-id: https://develop.svn.wordpress.org/trunk@3992 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 00:28:37 +00:00
Matt Mullenweg
d75bc044ef Clean up how we address IP addresses throughout the code
git-svn-id: https://develop.svn.wordpress.org/trunk@3990 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 00:04:24 +00:00
Ryan Boren
9e0c4a5155 Bump kses to 0.2.2. Props westi. fixes #2661
git-svn-id: https://develop.svn.wordpress.org/trunk@3989 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:40:05 +00:00
Ryan Boren
0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Ryan Boren
ae64303c2e Die with style. Props Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@3979 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 19:13:26 +00:00
Ryan Boren
6bfc22facd wp_specialchars() within wp_nonce_url(). Props Nazgul. fixes #2857
git-svn-id: https://develop.svn.wordpress.org/trunk@3974 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 09:55:24 +00:00
Ryan Boren
5f2832c56b Preserve newlines inside style and script tags. Props Nazgul. fixes #2833
git-svn-id: https://develop.svn.wordpress.org/trunk@3965 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 23:16:04 +00:00
Ryan Boren
d2f42f1d12 Force balanced tags in comments. Props Nazgul. fixes #2714
git-svn-id: https://develop.svn.wordpress.org/trunk@3963 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 22:09:44 +00:00
Ryan Boren
ccb85676c3 Update RBL site and turn open proxy check off by default. Props Nazgul. fixes #2821
git-svn-id: https://develop.svn.wordpress.org/trunk@3960 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 21:41:00 +00:00
Ryan Boren
429717eb72 Don't allow negative values when paging. fixes #2893
git-svn-id: https://develop.svn.wordpress.org/trunk@3957 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 19:58:11 +00:00
Matt Mullenweg
49f9e7e815 Allow Windows folks to delete attachements, fixes #2496
git-svn-id: https://develop.svn.wordpress.org/trunk@3952 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 18:33:08 +00:00
Matt Mullenweg
f28b518c37 Use single quotes to be nice to ANSI mode, fixes #1498
git-svn-id: https://develop.svn.wordpress.org/trunk@3948 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 17:30:36 +00:00
Ryan Boren
e28eccfd05 Use compact instead of long query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@3941 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-30 01:11:42 +00:00
Ryan Boren
8b1e622739 Allow % so entities such as slashes don't break.
git-svn-id: https://develop.svn.wordpress.org/trunk@3939 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-30 00:43:23 +00:00
Ryan Boren
81b4acdfd4 Get the foo out. Props skeltoac. fixes #2879
git-svn-id: https://develop.svn.wordpress.org/trunk@3938 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-30 00:07:30 +00:00
Ryan Boren
8cfe03b684 More nonce strings. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3935 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 09:32:42 +00:00
Ryan Boren
dd6aa45584 wp_explain_nonce() and wp_nonce_ays(). Props mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3934 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 08:06:00 +00:00
Ryan Boren
7a365841c8 Oops
git-svn-id: https://develop.svn.wordpress.org/trunk@3931 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 06:59:35 +00:00
Ryan Boren
8bd7d3f3ae Make script src valid. Props Nazgul. #2857
git-svn-id: https://develop.svn.wordpress.org/trunk@3930 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 06:42:01 +00:00
Ryan Boren
87102702e2 Fix array_keys error when cron option is not an array. Props robmiller. fixes #2814
git-svn-id: https://develop.svn.wordpress.org/trunk@3929 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 06:04:27 +00:00
Ryan Boren
23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren
7028e093b6 More thorough URI sanitizer in wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3926 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 01:42:52 +00:00
Ryan Boren
98b02c5e7c Have wp_referer_field() set the referer to the current page. fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3919 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 18:17:10 +00:00
Ryan Boren
2b6a8e40d3 Send Content-type for 404s. Props Nazgul. fixes #2841
git-svn-id: https://develop.svn.wordpress.org/trunk@3915 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 06:00:24 +00:00
Ryan Boren
84ff4122d4 Fixed pagenow regex. Props herr_ernst. fixes #2843
git-svn-id: https://develop.svn.wordpress.org/trunk@3910 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 05:54:25 +00:00
Ryan Boren
dbbb1802b6 wp_get_referer() and friends from robmiller and markjaquith. fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3908 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 05:38:37 +00:00
Ryan Boren
deac9fea9d js_escape() in onclicks. fixes #2851
git-svn-id: https://develop.svn.wordpress.org/trunk@3907 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 01:28:08 +00:00
Ryan Boren
ce51707da2 Avoid recursive action. Props itdamager. fixes #2852
git-svn-id: https://develop.svn.wordpress.org/trunk@3904 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-23 20:05:23 +00:00
Ryan Boren
39229a3311 wp_get_current_commenter()
git-svn-id: https://develop.svn.wordpress.org/trunk@3902 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 20:52:12 +00:00
Ryan Boren
4b3472c29f Move _() to compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3901 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 19:45:49 +00:00
Ryan Boren
5e32c14d39 Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3900 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 19:44:36 +00:00
Ryan Boren
87cfd68337 Doh. Fix wp_list_bookmarks().
git-svn-id: https://develop.svn.wordpress.org/trunk@3899 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 03:55:03 +00:00
Ryan Boren
909671e026 Fix bug in add_query_arg when url like http://example.com (no trailing slash). Props skel to the ac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3897 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 03:40:28 +00:00
Ryan Boren
47e795eaf0 show_on_front page preview fix from that Andy guy.
git-svn-id: https://develop.svn.wordpress.org/trunk@3896 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 03:39:23 +00:00
Ryan Boren
7d49c0ec7b wp_check_filetype() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3894 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-21 23:17:19 +00:00
Ryan Boren
2c8931c55d Move plugin API to plugin.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3893 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-20 02:03:24 +00:00
Ryan Boren
4b283b4c93 Sort those smilies. Props HenkvandeKamer and robmiller. fixes #2778
git-svn-id: https://develop.svn.wordpress.org/trunk@3890 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-19 17:21:02 +00:00
Ryan Boren
aa335e6150 wp_update_comment_count() from MarkJaquith. fixes #2836
git-svn-id: https://develop.svn.wordpress.org/trunk@3887 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-19 17:17:52 +00:00
Ryan Boren
1e23966372 Cat exclusion from skeltoac. fixes #2825
git-svn-id: https://develop.svn.wordpress.org/trunk@3886 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-19 17:14:54 +00:00
Matt Mullenweg
9aeb21aab1 Don't hide blog when option is blank!
git-svn-id: https://develop.svn.wordpress.org/trunk@3885 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 23:38:45 +00:00
Matt Mullenweg
2febee388d This fixes #2832 again! (I hope.) BTW, try the new trac and SVN, it's wicked fast.
git-svn-id: https://develop.svn.wordpress.org/trunk@3884 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 02:37:24 +00:00
Matt Mullenweg
6988958522 Fixes #2832
git-svn-id: https://develop.svn.wordpress.org/trunk@3883 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 02:20:54 +00:00
Matt Mullenweg
66db8ed510 Tweak, fixes #2832
git-svn-id: https://develop.svn.wordpress.org/trunk@3882 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 02:02:29 +00:00
Ryan Boren
4653173525 Use wp_list_categories() in templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@3881 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 00:05:00 +00:00
Ryan Boren
373c389c90 Start fleshing out wp_list_bookmarks(). #2587
git-svn-id: https://develop.svn.wordpress.org/trunk@3880 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-16 23:35:48 +00:00
Ryan Boren
92b23838c8 Unlink TinySpell? tmp files
git-svn-id: https://develop.svn.wordpress.org/trunk@3879 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 21:28:08 +00:00
Ryan Boren
718e9ebd27 wp_get_archives() cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@3878 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 20:28:47 +00:00
Ryan Boren
8fbc24984c Specialchars title. Props David House and Mark Jaquith. fixes #2625
git-svn-id: https://develop.svn.wordpress.org/trunk@3874 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 07:32:06 +00:00
Ryan Boren
d2240011a0 Remove wp- prefix from wp-l10n.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3870 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 07:24:44 +00:00
Ryan Boren
cb1347c092 Query fix from skeltoac. fixes #2822
git-svn-id: https://develop.svn.wordpress.org/trunk@3869 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-14 21:49:10 +00:00
Ryan Boren
ec11e08a9b Add offset support to query_posts(). Props Mark Jaquith. fixes #2558
git-svn-id: https://develop.svn.wordpress.org/trunk@3867 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-13 20:56:38 +00:00
Ryan Boren
1f7bcc7537 Make sure role is set when updating. Props Mark Jaquith. fixes #2817
git-svn-id: https://develop.svn.wordpress.org/trunk@3865 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 20:54:07 +00:00
Ryan Boren
216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00
Ryan Boren
ce003bbe4f Cron pass-by-reference error fix from robmiller. fixes #2790
git-svn-id: https://develop.svn.wordpress.org/trunk@3860 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-10 20:43:49 +00:00
Ryan Boren
1053ca7014 Better handling of users with no role. Props Mark Jaquith. #2809
git-svn-id: https://develop.svn.wordpress.org/trunk@3859 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-10 20:26:26 +00:00
Ryan Boren
a4c408af37 User management improvements from Mark Jaquith and David House. #2793
git-svn-id: https://develop.svn.wordpress.org/trunk@3857 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 18:36:05 +00:00
Ryan Boren
eae22f445e Make replacement strings backref safe without using \${1} so as to preserve php <= 4.2 compatible. Props mdawaffe. fixes #2774
git-svn-id: https://develop.svn.wordpress.org/trunk@3855 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 03:17:01 +00:00
Ryan Boren
1041498585 Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3854 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 02:22:16 +00:00
Ryan Boren
5f264096d8 Canonical URI for page on front. Props skeltoac. #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3853 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:30:09 +00:00
Ryan Boren
d672e3fc7f Add show_option_none to wp_dropdown_pages(). Props ryanscheuermann. #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3852 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:27:25 +00:00
Ryan Boren
d3f6c3ca0d Reworg post/page/attachment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3851 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:17:59 +00:00
Ryan Boren
53d59dd1f0 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: https://develop.svn.wordpress.org/trunk@3849 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-06 05:04:41 +00:00
Ryan Boren
54a665ff4d Deprecate list_authors(). Clean up wp_list_authors().
git-svn-id: https://develop.svn.wordpress.org/trunk@3848 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-06 04:50:41 +00:00
Ryan Boren
c5cfbc9e5e List manipulation improvements from mdawaffe. fixes #2786
git-svn-id: https://develop.svn.wordpress.org/trunk@3847 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-06 04:14:04 +00:00
Ryan Boren
f7e56ee9b3 Add more fine grained user management caps. Part 1. #2775
git-svn-id: https://develop.svn.wordpress.org/trunk@3846 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 16:52:21 +00:00
Ryan Boren
27bc07a27f Reorg bookmark functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3845 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 02:12:59 +00:00
Ryan Boren
58ed7bdc3b Reorg category functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3843 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 21:36:52 +00:00
Ryan Boren
56a3ec113b Undef var fix from Denis-de-Bernardy. fixes #2780
git-svn-id: https://develop.svn.wordpress.org/trunk@3842 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 21:07:41 +00:00
Ryan Boren
acb5008e9c Strip extra slashes from _POST when doing nonce AYS. Props MarkJaquith and mdawaffe. fixes #2761
git-svn-id: https://develop.svn.wordpress.org/trunk@3833 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-01 23:38:34 +00:00
Ryan Boren
40f80adc70 Be less aggressive in stripping user description.
git-svn-id: https://develop.svn.wordpress.org/trunk@3831 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-01 22:01:05 +00:00
Ryan Boren
ffffebebb1 intval cat ID
git-svn-id: https://develop.svn.wordpress.org/trunk@3824 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-01 07:42:46 +00:00
Ryan Boren
bdfd1b33b2 Typo fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@3816 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 06:27:10 +00:00
Ryan Boren
8409e85f53 Remove unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@3812 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 01:40:25 +00:00
Ryan Boren
1647921f71 wp_salt() and more hash work.
git-svn-id: https://develop.svn.wordpress.org/trunk@3811 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 01:40:00 +00:00
Ryan Boren
feb562c29f wp_hash() and server secret.
git-svn-id: https://develop.svn.wordpress.org/trunk@3810 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 00:24:03 +00:00
Ryan Boren
041d63a599 Add some user filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@3800 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 22:47:13 +00:00
Ryan Boren
e29ccde9a1 Add some category filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@3799 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 22:14:55 +00:00
Ryan Boren
73c56126c0 base64 cached objects and store within multi-line comment block to avoid CRLF injections into the cache. Props Peter Westwood.
git-svn-id: https://develop.svn.wordpress.org/trunk@3798 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 21:14:36 +00:00
Ryan Boren
a3d2d527f8 sanitize_user regex fix from grigs. fixes #2729
git-svn-id: https://develop.svn.wordpress.org/trunk@3795 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 17:27:51 +00:00
Ryan Boren
add8a92036 Enclosure redirect fix from aegrumet. fixes #2551
git-svn-id: https://develop.svn.wordpress.org/trunk@3793 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 17:25:48 +00:00
Ryan Boren
a868cae733 Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3791 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 22:06:06 +00:00
Ryan Boren
a08173016f Add parse_request, send_headers, and wp actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@3789 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 19:23:46 +00:00
Ryan Boren
60eeedbcd9 Script loader from mdawaffe. #2701
git-svn-id: https://develop.svn.wordpress.org/trunk@3788 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 17:16:05 +00:00
Ryan Boren
19ead08256 Add publish_page hook
git-svn-id: https://develop.svn.wordpress.org/trunk@3787 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-19 17:22:19 +00:00
Ryan Boren
855864396f Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3783 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-18 06:49:22 +00:00
Ryan Boren
ab83e29c5c Apply bloginfo_rss filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@3782 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-18 01:23:25 +00:00
Ryan Boren
672dbe7edc Fallback to admin referer check instead of nonce if no action is given to check_admin_referer(). For plugin compatibility.
git-svn-id: https://develop.svn.wordpress.org/trunk@3774 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-17 00:28:26 +00:00
Ryan Boren
8f12196bd1 Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: https://develop.svn.wordpress.org/trunk@3772 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-11 23:13:35 +00:00
Matt Mullenweg
104a56563c Lots of style and admin tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@3770 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-10 20:35:10 +00:00
Ryan Boren
e0d1ccd210 Add file deletion filter. Props to that Andy guy. fixes #2703
git-svn-id: https://develop.svn.wordpress.org/trunk@3768 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-09 22:44:51 +00:00
Ryan Boren
a72fbca9d1 Category query cleanups from skeltoac. fixes #2709
git-svn-id: https://develop.svn.wordpress.org/trunk@3767 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-08 02:16:24 +00:00
Ryan Boren
8cf29e9e4d Better escaping of strings used in JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@3763 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-05 07:49:05 +00:00
Ryan Boren
27b9cbad2a Pass action to check_admin_referer hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@3761 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-04 09:23:17 +00:00
Ryan Boren
b96cd6f60c nonce functions. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3758 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:08:34 +00:00
Ryan Boren
cb4b90ebd8 Return user ID if email exists.
git-svn-id: https://develop.svn.wordpress.org/trunk@3753 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-27 04:24:14 +00:00
Ryan Boren
d983d337d4 Div balance across more. Props skeltoac. fixes #2348
git-svn-id: https://develop.svn.wordpress.org/trunk@3751 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-25 08:46:19 +00:00
Ryan Boren
aa850594af Fix page depth, again. PRops skeltoac. fixes #2690
git-svn-id: https://develop.svn.wordpress.org/trunk@3750 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-25 00:05:59 +00:00
Ryan Boren
54f3ab72d5 Add some prophylactic int casts and quoting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3740 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-22 00:02:00 +00:00
Matt Mullenweg
be72546992 Updating eol-style native. We must remember to do this when adding new files.
git-svn-id: https://develop.svn.wordpress.org/trunk@3730 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 10:13:28 +00:00
Matt Mullenweg
8658f214f8 Tidy comment_author_url_link just like we do on the bookmarks page
git-svn-id: https://develop.svn.wordpress.org/trunk@3723 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 08:36:45 +00:00
Ryan Boren
0d4e7d2db3 Move htmlentities2 to functions-formatting.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3717 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 03:03:27 +00:00
Ryan Boren
be2be64b99 Remove comment_count_cache. fixes #2670
git-svn-id: https://develop.svn.wordpress.org/trunk@3716 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:53:02 +00:00
Ryan Boren
fb212022a3 Don't forget to pass args. Props Mike Little. fixes #2668
git-svn-id: https://develop.svn.wordpress.org/trunk@3715 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:33:47 +00:00
Ryan Boren
63c32823bd Reorg comment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3714 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:32:12 +00:00
Ryan Boren
2e6f4d8cc2 Move clean_url() to functions-formatting.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3713 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:58:38 +00:00
Ryan Boren
8928035208 Move url_to_postid() to rewrite.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3712 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:47:26 +00:00
Ryan Boren
85ed7859d1 Move theme functions to theme.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3711 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:44:33 +00:00
Ryan Boren
e76c8695e1 Escape single quotes in options.php. fixes #2656
git-svn-id: https://develop.svn.wordpress.org/trunk@3710 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-17 23:33:08 +00:00
Ryan Boren
6c81ba3cab We like big inputs. fixes #2662
git-svn-id: https://develop.svn.wordpress.org/trunk@3709 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-17 23:27:18 +00:00
Ryan Boren
e3e8dfeef4 Make sure permalinks for draft pages use query string style since the slug might not be set yet.
git-svn-id: https://develop.svn.wordpress.org/trunk@3708 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-15 00:59:40 +00:00
Ryan Boren
96db8df95e Default show description option to off for bookmarks list, for now. This seems to be the preferred default.
git-svn-id: https://develop.svn.wordpress.org/trunk@3707 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 05:02:08 +00:00
Ryan Boren
4c868ad943 Default category lists to hierarchical. Update default theme to use wp_list_categories(). Props David House. fixes #2653
git-svn-id: https://develop.svn.wordpress.org/trunk@3706 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:51:45 +00:00
Ryan Boren
8cdd21978f Add wp_revoke_user() and WP_User::remove_all_caps() to help those doing multi blog stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3705 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:49:38 +00:00
Ryan Boren
112af5d381 Move page walkers to classes. Props David House. fixes #2593
git-svn-id: https://develop.svn.wordpress.org/trunk@3704 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:40:48 +00:00
Ryan Boren
2aece33f8b Thwart the browser cache by versioning tinyMCE. Props to that Andy guy. fixes #2658
git-svn-id: https://develop.svn.wordpress.org/trunk@3703 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 02:57:25 +00:00
Ryan Boren
97a795b914 Split on '; ' not ';'.
git-svn-id: https://develop.svn.wordpress.org/trunk@3702 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-09 22:57:23 +00:00
Matt Mullenweg
7caac09279 walk_tree broken, fixes #2608
git-svn-id: https://develop.svn.wordpress.org/trunk@3701 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-09 22:08:18 +00:00
Ryan Boren
0b6cff1a29 Mac users deserve their own backwards popup layout. Props to that Andy guy. fixes #2645
git-svn-id: https://develop.svn.wordpress.org/trunk@3698 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 09:56:56 +00:00
Matt Mullenweg
0004abe8a7 Formatting and eol fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3697 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 05:25:50 +00:00
Ryan Boren
eda9ffad88 Removed unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@3696 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 00:44:35 +00:00
Ryan Boren
321eeeb875 New SACK and DBX releases and some list manip fixes from mdawaffe. fixes #2642
git-svn-id: https://develop.svn.wordpress.org/trunk@3695 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-05 20:58:57 +00:00
Ryan Boren
4d5eb321e7 Paging fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3694 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-05 20:48:29 +00:00
Ryan Boren
f677c0a9c9 List filters from David House. fixes #2328
git-svn-id: https://develop.svn.wordpress.org/trunk@3691 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 02:02:12 +00:00
Ryan Boren
f1a38b0b9d ob_end_clean() in printr(). Props doit-cu. fixes #2297
git-svn-id: https://develop.svn.wordpress.org/trunk@3689 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 01:02:19 +00:00
Ryan Boren
c08c837e42 texturize fix from that Andy guy. fixes #2634
git-svn-id: https://develop.svn.wordpress.org/trunk@3686 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:47:33 +00:00
Matt Mullenweg
d17b992895 Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
git-svn-id: https://develop.svn.wordpress.org/trunk@3685 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:25:04 +00:00
Ryan Boren
5a51ac7c8e Do a therapuetic double strip on HTTP_IF_MODIFIED_SINCE since we code in an imperfect world. fixes #2597
git-svn-id: https://develop.svn.wordpress.org/trunk@3682 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-03 05:59:03 +00:00
Ryan Boren
27d9f0f97f Don't texturize home. Props Mark Jaquith and David House. fixes #2381
git-svn-id: https://develop.svn.wordpress.org/trunk@3681 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-03 03:04:39 +00:00
Ryan Boren
6f355ce778 Get all error messages with get_error_messages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3679 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:48:14 +00:00
Ryan Boren
4bbee1b73c Some optimization of the post query. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@3678 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:33:10 +00:00
Ryan Boren
e622346b7d WP_Locale. Props Sewar. fixes #2568
git-svn-id: https://develop.svn.wordpress.org/trunk@3676 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:20:11 +00:00
Ryan Boren
0a7f308884 Prompt for confirmation for mailapprovecomment action. Props mdawaffe. fixes #2615
git-svn-id: https://develop.svn.wordpress.org/trunk@3671 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-31 08:32:30 +00:00
Ryan Boren
fa8d1959e2 Pluggable install functions. fixes #2616
git-svn-id: https://develop.svn.wordpress.org/trunk@3670 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-31 08:07:39 +00:00
Ryan Boren
3f23e768fe Move DB prefix dependent code to separate init routines that can be called independently when the prefix changes. These methods are for internal use only.
git-svn-id: https://develop.svn.wordpress.org/trunk@3668 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:35:42 +00:00
Ryan Boren
657b7d8176 WP_Error. fixes #2600
git-svn-id: https://develop.svn.wordpress.org/trunk@3667 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:18:14 +00:00
Ryan Boren
e706f8cf36 Return after delete so we don't re-add an empty field.
git-svn-id: https://develop.svn.wordpress.org/trunk@3666 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:15:35 +00:00
Ryan Boren
5a5b80e6a0 Ref checks from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:12:54 +00:00
Ryan Boren
aa88f20cff tinyMCE 2.0.5 coming at you live. fixes #2598
git-svn-id: https://develop.svn.wordpress.org/trunk@3664 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:50:33 +00:00
Ryan Boren
bd6323c272 Future post pinging and cron fixups from masquerade. fixes #2469
git-svn-id: https://develop.svn.wordpress.org/trunk@3663 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:36:54 +00:00
Ryan Boren
febb22fa7e Filter comments when updating. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3662 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 20:41:13 +00:00
Ryan Boren
cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00
Ryan Boren
6d474bde7a update_option() action fix. fixes #2553
git-svn-id: https://develop.svn.wordpress.org/trunk@3659 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-25 21:46:53 +00:00
Ryan Boren
f70e7fc267 Retrieve bookmarks for multiple cats. Props MichaelH. fixes #2592
git-svn-id: https://develop.svn.wordpress.org/trunk@3658 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-24 19:22:22 +00:00
Ryan Boren
ff7c3f55e4 Add meta_key and meta_value options to get_posts() and get_pages(). Props MichaelH. fixes #2563
git-svn-id: https://develop.svn.wordpress.org/trunk@3656 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 22:46:38 +00:00
Ryan Boren
956f814c41 Add include param to get_posts(), get_categories(), get_pages(), and get_bookmarks(). Props MichaelH. fixes #2562
git-svn-id: https://develop.svn.wordpress.org/trunk@3655 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:26:50 +00:00
Ryan Boren
26d26f8ce6 Fix backreferences in mysql2date(). Props tenpura. fixes #2564
git-svn-id: https://develop.svn.wordpress.org/trunk@3654 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:19:52 +00:00
Ryan Boren
46e081fba2 Put categories dbx box up top and open. fixes #2493
git-svn-id: https://develop.svn.wordpress.org/trunk@3651 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 00:25:58 +00:00
Ryan Boren
2f7058acca Don't try to do paging for single page queries. Props westi. fixes #2578
git-svn-id: https://develop.svn.wordpress.org/trunk@3649 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 21:19:33 +00:00
Ryan Boren
940499731d edit_comment_link fix from westi. fixes #2559
git-svn-id: https://develop.svn.wordpress.org/trunk@3647 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 19:45:46 +00:00
Ryan Boren
7a89d5f0bd Post paging rework from David House. fixes #2536
git-svn-id: https://develop.svn.wordpress.org/trunk@3646 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 19:43:57 +00:00
Ryan Boren
eab1586158 Comment feed fixes from David House. fixes #2570
git-svn-id: https://develop.svn.wordpress.org/trunk@3644 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-17 01:16:22 +00:00
Ryan Boren
2216ca5092 ent2ncr optimization. Props random. fixes #2548
git-svn-id: https://develop.svn.wordpress.org/trunk@3641 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-14 02:48:36 +00:00
Ryan Boren
9f23849f9c Remove smilies sort. Props random. fixes #2550
git-svn-id: https://develop.svn.wordpress.org/trunk@3640 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-14 02:32:59 +00:00
Ryan Boren
e2108969c4 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3639 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-13 01:44:32 +00:00
Ryan Boren
b573abbd16 Rewrite API additions and improvements from David House. #2433
git-svn-id: https://develop.svn.wordpress.org/trunk@3638 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-12 22:57:00 +00:00
Ryan Boren
5fd8e9c8f5 Cron fixes from mdawaffe. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3636 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-08 05:51:42 +00:00
Ryan Boren
91fbcd183e Cron fixes from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3635 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 22:34:05 +00:00
Ryan Boren
457b4b5251 Cron improvements from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3634 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:43:59 +00:00
Ryan Boren
20c6baad57 Don't add UTC offset again when formatting 'U' in mysql2date. Props masquerade. fixes #2537
git-svn-id: https://develop.svn.wordpress.org/trunk@3633 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:24:49 +00:00
Ryan Boren
5ce70ede4b Language support for TinyMCE. Props capt_kirk and Stephen Chu. fixes #2476
git-svn-id: https://develop.svn.wordpress.org/trunk@3623 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-06 22:51:28 +00:00
Ryan Boren
ac58b495e7 Relative links in RTE. fixes #2492
git-svn-id: https://develop.svn.wordpress.org/trunk@3612 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 22:44:51 +00:00
Ryan Boren
0a30296803 Isolate backref. fixes #2521
git-svn-id: https://develop.svn.wordpress.org/trunk@3610 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 22:41:16 +00:00
Ryan Boren
31dded8a36 Back compat fixes for get_links().
git-svn-id: https://develop.svn.wordpress.org/trunk@3606 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 20:39:51 +00:00
Ryan Boren
241fd10669 Normalize argument names.
git-svn-id: https://develop.svn.wordpress.org/trunk@3605 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 21:38:36 +00:00
Ryan Boren
5e18dd3e86 prefix not table_prefix. Props Kafkaesqui. fixes #2528
git-svn-id: https://develop.svn.wordpress.org/trunk@3604 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 20:36:40 +00:00
Ryan Boren
4489be47f5 Use table prefix from wpdb. Props Mark J. #2524
git-svn-id: https://develop.svn.wordpress.org/trunk@3603 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 17:19:05 +00:00
Ryan Boren
e800b7823f Forget to group with parens on [3600]. #2498
git-svn-id: https://develop.svn.wordpress.org/trunk@3601 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 02:17:14 +00:00
Ryan Boren
be34c79158 Make sure posts array is not empty before checking preview state. #2498
git-svn-id: https://develop.svn.wordpress.org/trunk@3600 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 02:14:31 +00:00
Ryan Boren
a429dd1cd9 Use array_merge() to set defaults.
git-svn-id: https://develop.svn.wordpress.org/trunk@3595 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 06:37:00 +00:00
Ryan Boren
c4d9df2c99 Allow args to be passed as query string or as associative array. This avoid multiple parse_str calls when passing args along and provides choice on the cheap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3594 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 05:47:59 +00:00
Ryan Boren
e2df169ed3 Move links.php to template-functions-bookmarks.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3593 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:59:27 +00:00
Ryan Boren
50d6b727d8 s/get_linkz/get_bookmarks/
git-svn-id: https://develop.svn.wordpress.org/trunk@3592 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:55:31 +00:00
Ryan Boren
621da95d0d Add wp_dropdown_categories(). Deprecate dropdown_categories(). Add wp_list_categories() and make wp_list_cats() an alias.
git-svn-id: https://develop.svn.wordpress.org/trunk@3591 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:51:24 +00:00
Ryan Boren
25dc212067 Actually move these this time. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3590 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:31:43 +00:00
Ryan Boren
64173c9918 Move deprecated functions to deprecated.php. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3589 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:27:48 +00:00
Ryan Boren
93ec2ffd02 wp_list_cats() rework. Add walk_tree() and walk_category_tree(). Use get_categories() for query.
git-svn-id: https://develop.svn.wordpress.org/trunk@3582 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 13:30:19 +00:00
Ryan Boren
55ba231f8e What's up front? #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3581 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 07:08:04 +00:00
Ryan Boren
0b9513d43c walk_page_tree() fix from Mark J. fixes #2516
git-svn-id: https://develop.svn.wordpress.org/trunk@3579 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 21:02:10 +00:00
Ryan Boren
9055457e82 Fix page walk bug. fixes #2516
git-svn-id: https://develop.svn.wordpress.org/trunk@3578 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 11:19:04 +00:00
Ryan Boren
f7ee176581 More comment cookie sanitation.
git-svn-id: https://develop.svn.wordpress.org/trunk@3577 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 09:49:06 +00:00
Ryan Boren
a1d0a8e672 Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3576 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 08:00:39 +00:00
Ryan Boren
71232c4705 Add name arg to wp_dropdown_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3575 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 06:11:59 +00:00
Ryan Boren
e0feeb161a Strip all html from comment author name, email, and url.
git-svn-id: https://develop.svn.wordpress.org/trunk@3574 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 04:22:24 +00:00
Ryan Boren
68b90359ea wp_dropdown_pages() and walk_page_tree()
git-svn-id: https://develop.svn.wordpress.org/trunk@3573 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 03:57:08 +00:00
Ryan Boren
a2f5fa5254 Bookmark/link rework. #2499
git-svn-id: https://develop.svn.wordpress.org/trunk@3570 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 04:57:30 +00:00
Ryan Boren
fea381e8de Mac meta keys from Alex King. fixes #2182
git-svn-id: https://develop.svn.wordpress.org/trunk@3569 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-24 03:55:25 +00:00
Ryan Boren
bc8f242382 Fix edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@3567 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:17:28 +00:00
Ryan Boren
cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren
c25a2ca7af Hide cookie layout behind wp_get_cookie_login() so that plugins can customize the cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@3565 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 07:30:28 +00:00
Ryan Boren
dd489dd463 Allow queries by post type. Enable paging in Manage->Pages
git-svn-id: https://develop.svn.wordpress.org/trunk@3564 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 08:39:58 +00:00
Ryan Boren
b4351fd870 Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3563 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 06:11:46 +00:00
Ryan Boren
5932545a46 Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@3561 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:07:17 +00:00
Ryan Boren
24f330346d Use current_time() instead of time(). fixes #2489
git-svn-id: https://develop.svn.wordpress.org/trunk@3559 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:15:13 +00:00
Ryan Boren
5177b31702 Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: https://develop.svn.wordpress.org/trunk@3558 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:13:06 +00:00
Ryan Boren
ae48463e5d Add alpha sort to wp_get_archives(). Props skippy. fixes #247
git-svn-id: https://develop.svn.wordpress.org/trunk@3549 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-19 02:07:13 +00:00
Ryan Boren
28961b459c Blog privacy. fixes #2480
git-svn-id: https://develop.svn.wordpress.org/trunk@3548 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 07:40:43 +00:00
Ryan Boren
b8eba14ffa Remove useless lines. Props majelbstoat. fixes #2455
git-svn-id: https://develop.svn.wordpress.org/trunk@3540 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:25:10 +00:00
Ryan Boren
5e2a95ac8e Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457
git-svn-id: https://develop.svn.wordpress.org/trunk@3539 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:09:40 +00:00
Ryan Boren
7ba0ac70b4 get_permalink() performance improvement from arnee. fixes #2463
git-svn-id: https://develop.svn.wordpress.org/trunk@3538 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:04:20 +00:00
Ryan Boren
cb87fb3b7f Make sure user_id is set before inserting. Props bungeman. fixes #2459
git-svn-id: https://develop.svn.wordpress.org/trunk@3537 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:00:18 +00:00
Ryan Boren
181d539681 Use post_type not post_status.
git-svn-id: https://develop.svn.wordpress.org/trunk@3535 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-15 07:16:58 +00:00
Ryan Boren
6add46af14 Give future posts a post_status of future when upgrading.
git-svn-id: https://develop.svn.wordpress.org/trunk@3531 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:22:22 +00:00
Ryan Boren
4fc77411ee Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: https://develop.svn.wordpress.org/trunk@3529 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 20:09:13 +00:00
Ryan Boren
b8dd301bf4 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: https://develop.svn.wordpress.org/trunk@3528 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 06:23:03 +00:00
Ryan Boren
0fff955751 Don't walk rewrite structure when generating comment feed rewrite rules. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379
git-svn-id: https://develop.svn.wordpress.org/trunk@3527 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:30:14 +00:00
Ryan Boren
143d456a7f If requesting post caps for a page, redirect to equivalent page caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@3526 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:10:51 +00:00
Ryan Boren
7bb0afb636 Fix timestamps for future posts. fixes #2439
git-svn-id: https://develop.svn.wordpress.org/trunk@3525 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 00:12:09 +00:00
Ryan Boren
6b1c03c07e Move generic_ping() to execute-pings.php. fixes #2440
git-svn-id: https://develop.svn.wordpress.org/trunk@3524 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 23:14:59 +00:00
Ryan Boren
03f0909476 get_page_by_path() tweak.
git-svn-id: https://develop.svn.wordpress.org/trunk@3523 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 07:04:14 +00:00
Ryan Boren
953064226a wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: https://develop.svn.wordpress.org/trunk@3522 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 05:30:44 +00:00
Ryan Boren
0fc597ee9e User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: https://develop.svn.wordpress.org/trunk@3519 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:14:10 +00:00
Ryan Boren
c4def34475 i18n fix for next month links from bob58. fixes #2399
git-svn-id: https://develop.svn.wordpress.org/trunk@3518 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:00:54 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
1f6ae7587d dylsexia
git-svn-id: https://develop.svn.wordpress.org/trunk@3515 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:43:15 +00:00
Ryan Boren
f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren
bde96bc025 Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: https://develop.svn.wordpress.org/trunk@3513 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 09:56:02 +00:00
Ryan Boren
cf622439d5 Pseudo-cron first cut. Props Owen. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3512 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 02:24:47 +00:00
Ryan Boren
91421a7124 get_page_by_path. Some page uri cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3511 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-10 00:54:16 +00:00
Ryan Boren
f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Matt Mullenweg
3388fce967 Exclude cats like we said we would, davidhouse. Fixes #2215 and fixes #2187
git-svn-id: https://develop.svn.wordpress.org/trunk@3508 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:26:30 +00:00
Matt Mullenweg
b17e0b1ef3 Better email error checking, fixes #2046
git-svn-id: https://develop.svn.wordpress.org/trunk@3507 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:11:26 +00:00
Matt Mullenweg
0628227ea0 Don't falsely marketh as spam. Fixes #1560
git-svn-id: https://develop.svn.wordpress.org/trunk@3506 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 07:25:25 +00:00
Ryan Boren
6cb2813239 Use current_user_can
git-svn-id: https://develop.svn.wordpress.org/trunk@3505 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-07 01:06:04 +00:00
Ryan Boren
8a9ce54916 Disable cache by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@3504 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-04 03:21:09 +00:00
Matt Mullenweg
753a2c01ad Bump!
git-svn-id: https://develop.svn.wordpress.org/trunk@3502 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-31 20:05:42 +00:00
Ryan Boren
d9f55997b3 Make check_admin_referer() pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3497 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 23:06:58 +00:00
Ryan Boren
ef222cf77c Flush all_page_ids when a page is addded or deleted.
git-svn-id: https://develop.svn.wordpress.org/trunk@3496 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 19:58:48 +00:00
Ryan Boren
b0907797f3 Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: https://develop.svn.wordpress.org/trunk@3495 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 19:48:09 +00:00
Ryan Boren
e729765dca Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: https://develop.svn.wordpress.org/trunk@3494 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 00:21:48 +00:00
Ryan Boren
8ebb403282 Fix RSD link. Props Juergen. fixes #2349
git-svn-id: https://develop.svn.wordpress.org/trunk@3493 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 00:15:57 +00:00
Ryan Boren
2307a29c94 CGI ping fixes. fixes #2197
git-svn-id: https://develop.svn.wordpress.org/trunk@3491 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-28 18:41:19 +00:00
Matt Mullenweg
88aba4e4c2 Caching typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@3490 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-28 06:19:11 +00:00
Ryan Boren
e3834a8f51 Make sure we have an array. Props David House. fixes #2344
git-svn-id: https://develop.svn.wordpress.org/trunk@3489 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-27 19:22:55 +00:00
Ryan Boren
47d31a3d8d Reinstate user_firstname, user_lastname, and user_description in the user object for backwards compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@3488 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-27 18:14:33 +00:00
Ryan Boren
9bd8f4ee17 Use double quotes. fixes #2332
git-svn-id: https://develop.svn.wordpress.org/trunk@3487 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-26 02:33:14 +00:00
Ryan Boren
c9096b231b post_custom cleanup. fixes #2160
git-svn-id: https://develop.svn.wordpress.org/trunk@3486 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 07:38:43 +00:00
Ryan Boren
97c6c5ee4f update_option_* actions. fixes #2332
git-svn-id: https://develop.svn.wordpress.org/trunk@3485 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 06:46:21 +00:00
Ryan Boren
c89ddb677f 404 if category not found. fixes #2123
git-svn-id: https://develop.svn.wordpress.org/trunk@3484 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:59:41 +00:00
Ryan Boren
9ffb23ab68 add_role() fix from nielshackius. fixes #2298
git-svn-id: https://develop.svn.wordpress.org/trunk@3482 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:39:59 +00:00
Ryan Boren
a2e19bdbef Username sanitization cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3481 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:09:16 +00:00
Ryan Boren
6afd559cb2 Bumpity, bump, bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3478 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-24 07:53:26 +00:00
Ryan Boren
017660016b add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: https://develop.svn.wordpress.org/trunk@3474 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:42:25 +00:00
Ryan Boren
28bd6692a0 is_preview() fixes from David House. fixes #2188
git-svn-id: https://develop.svn.wordpress.org/trunk@3473 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:39:56 +00:00
Ryan Boren
dc34d7be58 Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: https://develop.svn.wordpress.org/trunk@3472 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:20:17 +00:00
Matt Mullenweg
55cb586498 Compat function, fixes #2319
git-svn-id: https://develop.svn.wordpress.org/trunk@3471 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:15:17 +00:00
Ryan Boren
373ecf32fb Don't use glob. Props David House. fixes #2312
git-svn-id: https://develop.svn.wordpress.org/trunk@3468 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:09:19 +00:00
Ryan Boren
c2835f7266 Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: https://develop.svn.wordpress.org/trunk@3467 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:07:10 +00:00
Ryan Boren
c87ff19cf0 Cache flush improvements from Owen. fixes #2223 #2278
git-svn-id: https://develop.svn.wordpress.org/trunk@3465 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-19 22:12:15 +00:00
Ryan Boren
10bc034888 8 not 7. fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3464 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-19 00:21:42 +00:00
Ryan Boren
080c0c2bb5 Add ENABLE_CACHE flag to force persistent cache enable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3462 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 22:21:40 +00:00
Ryan Boren
769f95e6e6 Fall back to default theme if current theme is deleted. Props David House. fixes #2305
git-svn-id: https://develop.svn.wordpress.org/trunk@3459 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:38:29 +00:00
Ryan Boren
006f02c99c Give draft posts a current timestamp. Props David House and technosailor. fixes #2164
git-svn-id: https://develop.svn.wordpress.org/trunk@3458 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:30:28 +00:00
Ryan Boren
d06dfa3478 Pass comment ID to comment email filters. Props Mark Jaquith. fixes #2307
git-svn-id: https://develop.svn.wordpress.org/trunk@3455 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 18:49:28 +00:00
Ryan Boren
d1e7e7e9b7 sanitize_user() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3454 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 05:37:26 +00:00
Ryan Boren
e165c3394e wp_roles cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@3452 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 01:06:11 +00:00
Matt Mullenweg
5275f2eef6 get_post_custom_values update. Fixes #2160
git-svn-id: https://develop.svn.wordpress.org/trunk@3448 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-17 01:01:17 +00:00
Matt Mullenweg
07463c0755 Better HTTPS support - fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3445 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-16 23:04:09 +00:00
Ryan Boren
3329ef57fd Use ->comments instead of . fixes #2294
git-svn-id: https://develop.svn.wordpress.org/trunk@3442 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-16 20:03:56 +00:00
Ryan Boren
353b0b2b5c wp_specialchars the request uri when contructing paging links. fixes #1686
git-svn-id: https://develop.svn.wordpress.org/trunk@3440 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-15 23:42:10 +00:00
Ryan Boren
6a0ee8785c i18n fix from pandem. fixes #2292
git-svn-id: https://develop.svn.wordpress.org/trunk@3438 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-15 22:04:21 +00:00
Ryan Boren
f08416af58 More upload path tweaks. fixes #2271
git-svn-id: https://develop.svn.wordpress.org/trunk@3437 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 22:09:51 +00:00
Ryan Boren
0d0a6b876d Disable peristent cache when safe_mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@3436 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 21:22:48 +00:00
Ryan Boren
79da568b81 Acquire lock when flushing cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3435 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 00:05:22 +00:00
Ryan Boren
f8f6b07e9c Force absolute lookup. Props tanuki. fixes #2237
git-svn-id: https://develop.svn.wordpress.org/trunk@3433 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 22:40:22 +00:00
Ryan Boren
ba8e3e8d47 Make the xmlrpc user the current user. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3430 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 19:19:09 +00:00
Ryan Boren
835a8b9992 kses regex tweakage for better comment filtering. fixes #2130
git-svn-id: https://develop.svn.wordpress.org/trunk@3429 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 07:28:47 +00:00
Ryan Boren
1f90fd76bf Trigger pre_ping action outside of loop. Props Mark Jaquith. fixes #2269
git-svn-id: https://develop.svn.wordpress.org/trunk@3427 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-11 21:35:36 +00:00
Ryan Boren
ecbd16bf50 Don't overwrite global request when starting a new query.
git-svn-id: https://develop.svn.wordpress.org/trunk@3426 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-11 11:06:26 +00:00
Ryan Boren
1ea86684f4 Add gettext filter. fixes #2258
git-svn-id: https://develop.svn.wordpress.org/trunk@3425 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-10 22:53:40 +00:00
Ryan Boren
3974041405 Rerun comment text back through kses.
git-svn-id: https://develop.svn.wordpress.org/trunk@3418 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-10 01:27:36 +00:00
Ryan Boren
06532a3304 Pass comments through kses. Props tsimmons. fixes #2130 #2167
git-svn-id: https://develop.svn.wordpress.org/trunk@3417 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 23:49:56 +00:00
Ryan Boren
bb0f6ddb1c Bump version.
git-svn-id: https://develop.svn.wordpress.org/trunk@3414 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:29:36 +00:00
Ryan Boren
ad6ed9c744 Add upload folder options. Props David House. fixes #2206
git-svn-id: https://develop.svn.wordpress.org/trunk@3413 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:24:57 +00:00
Ryan Boren
915517c4f2 Save cache after the shutdown hook runs. fixes #2232
git-svn-id: https://develop.svn.wordpress.org/trunk@3411 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 02:10:43 +00:00
Ryan Boren
c4ba2f4bfe Fix get_post_meta() array return. fixes #2183
git-svn-id: https://develop.svn.wordpress.org/trunk@3410 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 01:30:13 +00:00
Ryan Boren
016361ea34 Avoid invoking template filters twice. Props David House. fixes #2225
git-svn-id: https://develop.svn.wordpress.org/trunk@3409 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 01:09:16 +00:00
Ryan Boren
8845339de9 Don't cache posts when importing. fixes #2224
git-svn-id: https://develop.svn.wordpress.org/trunk@3404 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 05:34:28 +00:00
Ryan Boren
78d90dda67 Remove printr calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@3403 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 05:27:31 +00:00
Ryan Boren
04cd1038db Don't remove top level cache dir when flushing.
git-svn-id: https://develop.svn.wordpress.org/trunk@3402 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 04:50:58 +00:00
Ryan Boren
d702816be5 Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: https://develop.svn.wordpress.org/trunk@3401 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 03:47:38 +00:00
Ryan Boren
a984308f14 More reliable cache flusher that does not require glob().
git-svn-id: https://develop.svn.wordpress.org/trunk@3400 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 02:56:42 +00:00
Ryan Boren
dc9a9382c2 Fix variable name collision that was breaking paging. fixes #2204
git-svn-id: https://develop.svn.wordpress.org/trunk@3396 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-04 00:41:53 +00:00
Ryan Boren
2ae1176fcb Better broken path info workaround for setups that use redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@3395 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-03 00:59:31 +00:00
Ryan Boren
e4df415fa6 i18n fixes from SteveAgl. fixes #2207
git-svn-id: https://develop.svn.wordpress.org/trunk@3393 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 21:08:34 +00:00
Ryan Boren
fce486c48c Create dir hierarchy for files passed to wp_upload_bits().
git-svn-id: https://develop.svn.wordpress.org/trunk@3390 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 04:59:39 +00:00
Ryan Boren
e6e5cd892f Upload dir cleanups. Honor old fileupload_path settings if present.
git-svn-id: https://develop.svn.wordpress.org/trunk@3389 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 04:33:27 +00:00
Ryan Boren
f34cbd8d67 Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: https://develop.svn.wordpress.org/trunk@3388 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 02:50:59 +00:00
Ryan Boren
946cae67f4 Default expiration is too long. Change it to 15 minutes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3386 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 22:34:58 +00:00
Ryan Boren
e631d34d50 Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: https://develop.svn.wordpress.org/trunk@3385 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 21:53:13 +00:00
Ryan Boren
db2bd867db Trackback tweaks. Props http://blog.serv.idv.tw/2005/12/29/380/. fixes #2170
git-svn-id: https://develop.svn.wordpress.org/trunk@3384 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 21:24:56 +00:00
Ryan Boren
29e7d65c71 Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: https://develop.svn.wordpress.org/trunk@3382 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 23:11:26 +00:00
Ryan Boren
dbde443d4a More wp_upload_bits() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3378 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 02:07:10 +00:00
Ryan Boren
164371f70f Fix extension handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@3377 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:46:32 +00:00
Ryan Boren
a3cb29233b Typo in wp_upload_bits()
git-svn-id: https://develop.svn.wordpress.org/trunk@3376 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:40:42 +00:00
Ryan Boren
e45a58d547 LJ tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3375 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:25:41 +00:00
Ryan Boren
5be951ca28 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: https://develop.svn.wordpress.org/trunk@3373 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 07:05:05 +00:00
Ryan Boren
eddf881bb5 Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3371 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 04:27:21 +00:00
Ryan Boren
424dd330fe Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: https://develop.svn.wordpress.org/trunk@3370 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 01:48:29 +00:00
Ryan Boren
9e591c4154 i18n trackback fix. Props thinkini. fixes #2163
git-svn-id: https://develop.svn.wordpress.org/trunk@3368 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 00:55:55 +00:00
Matt Mullenweg
774578481e Pop the champagne
git-svn-id: https://develop.svn.wordpress.org/trunk@3362 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-26 20:15:06 +00:00
Ryan Boren
76c78b624d Make sure we have a valid timestamp. fixes #2148
git-svn-id: https://develop.svn.wordpress.org/trunk@3359 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-25 21:42:07 +00:00
Ryan Boren
01d852fe7f Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3358 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-25 21:16:27 +00:00
Ryan Boren
bae7d044d2 Update post_modified when the post is changed. fixes #1837
git-svn-id: https://develop.svn.wordpress.org/trunk@3357 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 20:04:59 +00:00
Ryan Boren
250ecaaf4f Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: https://develop.svn.wordpress.org/trunk@3356 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 16:26:55 +00:00
Ryan Boren
ddbd1e3ac3 MAke sure post_parent is valid.
git-svn-id: https://develop.svn.wordpress.org/trunk@3354 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 05:34:50 +00:00
Ryan Boren
1d06871ca5 Make wp_insert_attachment() MySQL 5 strict mode compliant. fixes #2115
git-svn-id: https://develop.svn.wordpress.org/trunk@3353 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 05:32:49 +00:00
Ryan Boren
2294967988 Return ID not user_login.
git-svn-id: https://develop.svn.wordpress.org/trunk@3351 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 23:16:01 +00:00
Ryan Boren
714948d9ed Hide errors when getting usermeta in case we're upgrading and usermeta doesn't exist yet. fixes #2110
git-svn-id: https://develop.svn.wordpress.org/trunk@3343 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 00:32:15 +00:00
Matt Mullenweg
5acb6224ec Updating to stable version.
git-svn-id: https://develop.svn.wordpress.org/trunk@3342 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 21:45:59 +00:00
Ryan Boren
96d9aa75ae Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@3340 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 05:18:18 +00:00
Ryan Boren
76bc07fe3f Don't get children for cat 0. fixes #2123
git-svn-id: https://develop.svn.wordpress.org/trunk@3338 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 04:31:48 +00:00
Ryan Boren
f29f877dba Edit link does not belong on attachments. fixes #2119
git-svn-id: https://develop.svn.wordpress.org/trunk@3333 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-21 15:47:54 +00:00
Matt Mullenweg
142682fa5d It goes bump in the night.
git-svn-id: https://develop.svn.wordpress.org/trunk@3332 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-20 07:07:26 +00:00
Ryan Boren
3dcda2fdf3 Make sure comment_parent is set.
git-svn-id: https://develop.svn.wordpress.org/trunk@3331 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-20 04:28:32 +00:00
Ryan Boren
4957068837 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: https://develop.svn.wordpress.org/trunk@3330 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:14:22 +00:00
Ryan Boren
d417f96524 Validation tweaks. fixes #2097
git-svn-id: https://develop.svn.wordpress.org/trunk@3329 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:10:09 +00:00
Ryan Boren
46484d14df Init tweak. No need to prime category cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3327 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-18 22:08:01 +00:00
Ryan Boren
494df9b02d get_children()
git-svn-id: https://develop.svn.wordpress.org/trunk@3321 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 09:50:10 +00:00
Ryan Boren
b7ef286e0b Compression tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3320 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 08:04:55 +00:00
Ryan Boren
dcd75531cb Populate PHP_SELF from REQUEST_URI if blank.
git-svn-id: https://develop.svn.wordpress.org/trunk@3319 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 08:04:41 +00:00
Ryan Boren
b239244636 New asyncronous ping method. fixes #2048
git-svn-id: https://develop.svn.wordpress.org/trunk@3317 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 03:04:33 +00:00
Ryan Boren
03828f24dd Add post titles to site comment feed. Add some gettext. fixes #2067 #1987
git-svn-id: https://develop.svn.wordpress.org/trunk@3314 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 22:20:06 +00:00
Ryan Boren
6428176144 Separate dbx managers for post and page forms. Props mdawaffe. fixes #2035
git-svn-id: https://develop.svn.wordpress.org/trunk@3313 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 21:48:12 +00:00
Ryan Boren
b1d79fd8f7 Pluggable tinyMCE init. fixes #2080
git-svn-id: https://develop.svn.wordpress.org/trunk@3312 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 21:42:38 +00:00
Ryan Boren
7321cfa5a1 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: https://develop.svn.wordpress.org/trunk@3311 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 20:31:29 +00:00
Ryan Boren
44fc04c42e Don't treat a numeric user name as an id.
git-svn-id: https://develop.svn.wordpress.org/trunk@3310 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:45:20 +00:00
Ryan Boren
ecea3fad26 is_user_logged_in()
git-svn-id: https://develop.svn.wordpress.org/trunk@3309 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:31:41 +00:00
Ryan Boren
8b4c730141 Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@3308 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 01:17:46 +00:00
Ryan Boren
f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren
e7b4d38f78 Better user check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3302 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 18:18:07 +00:00
Ryan Boren
f4579af67b Update post cache before running the_posts filter. Since we already retrieved them, might as well cache them even if they are filtered out by plugins later.
git-svn-id: https://develop.svn.wordpress.org/trunk@3300 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:49:09 +00:00
Ryan Boren
5a02ae79af If no user is logged in, setup an empty user.
git-svn-id: https://develop.svn.wordpress.org/trunk@3299 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:40 +00:00
Ryan Boren
b1b88e415f Add optional user_id arg.
git-svn-id: https://develop.svn.wordpress.org/trunk@3298 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:08 +00:00
Ryan Boren
73edfc7c20 Add read_post meta cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3297 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 00:54:52 +00:00
Ryan Boren
53271cf5ac role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: https://develop.svn.wordpress.org/trunk@3296 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 23:20:44 +00:00
Ryan Boren
2907e6aade Fix attachment queries. fixes #2041
git-svn-id: https://develop.svn.wordpress.org/trunk@3293 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:33:46 +00:00
Ryan Boren
baeac0c8ee MCE improvements from skeltoac. fixes #2058
git-svn-id: https://develop.svn.wordpress.org/trunk@3292 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:27:56 +00:00
Ryan Boren
b74a303ec5 Resurrect save_post action for back compat. fixes #2063
git-svn-id: https://develop.svn.wordpress.org/trunk@3291 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 00:30:14 +00:00
Ryan Boren
e225cc0e92 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: https://develop.svn.wordpress.org/trunk@3290 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 19:14:29 +00:00
Ryan Boren
bbf06ccf54 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: https://develop.svn.wordpress.org/trunk@3289 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 18:01:19 +00:00
Ryan Boren
a0fd8d74eb Gecko paste fix. fixes #2051
git-svn-id: https://develop.svn.wordpress.org/trunk@3287 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 01:32:05 +00:00
Ryan Boren
2c6e4421b4 Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: https://develop.svn.wordpress.org/trunk@3286 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:29:39 +00:00
Ryan Boren
2ec76f2801 Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: https://develop.svn.wordpress.org/trunk@3285 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:22:47 +00:00
Ryan Boren
d7e8fb6b25 Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: https://develop.svn.wordpress.org/trunk@3284 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 19:03:22 +00:00
Ryan Boren
d9c8d0818a MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: https://develop.svn.wordpress.org/trunk@3283 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:24:14 +00:00
Ryan Boren
be4624c49b Remove debug cruft. fixes #2040
git-svn-id: https://develop.svn.wordpress.org/trunk@3280 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-08 23:54:24 +00:00
Ryan Boren
3f81a79727 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: https://develop.svn.wordpress.org/trunk@3279 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-08 00:08:12 +00:00
Ryan Boren
de15eae87a gzdeflate unnecessary. fixes #2038
git-svn-id: https://develop.svn.wordpress.org/trunk@3278 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 23:53:02 +00:00
Ryan Boren
1a2ed535e9 Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: https://develop.svn.wordpress.org/trunk@3277 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 19:02:05 +00:00
Ryan Boren
6f6e018161 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: https://develop.svn.wordpress.org/trunk@3276 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 00:36:07 +00:00
Ryan Boren
77a91d9096 Add wp_title filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@3274 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 23:57:41 +00:00
Ryan Boren
579e426260 autop fixes from skeltoac. fixes #2022
git-svn-id: https://develop.svn.wordpress.org/trunk@3273 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 17:00:01 +00:00
Ryan Boren
8cc3fefe8f i18n fix from pandem. fixes #2028
git-svn-id: https://develop.svn.wordpress.org/trunk@3272 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 16:58:26 +00:00
Ryan Boren
94bc2195d4 Decrease comment count only when deleting approved comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@3271 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 05:31:27 +00:00
Ryan Boren
3edb82141a Add edit_pages checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3269 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 04:04:23 +00:00
Ryan Boren
163b423722 Relocate wp_upload_dir(). fixes #2019
git-svn-id: https://develop.svn.wordpress.org/trunk@3267 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:17:03 +00:00
Ryan Boren
0ea01ba67c tinyMCE updates from skeltoac. fixes #1991
git-svn-id: https://develop.svn.wordpress.org/trunk@3265 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:04:25 +00:00
Ryan Boren
f8f9acc610 i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:37:02 +00:00
Ryan Boren
96a472460d Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: https://develop.svn.wordpress.org/trunk@3255 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 22:51:40 +00:00
Ryan Boren
b6a751dc30 Make sure user_login keyed caches are cleared upon change.
git-svn-id: https://develop.svn.wordpress.org/trunk@3254 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 17:38:37 +00:00
Ryan Boren
b6d0d21f63 Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@3252 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 01:34:29 +00:00
Ryan Boren
ba38c0c3c4 Remove ugly whitespace. Props abhay. fixes #1996
git-svn-id: https://develop.svn.wordpress.org/trunk@3250 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 21:13:18 +00:00
Ryan Boren
4a4598bbdb add_role() and remove_role() convenience wrappers around
git-svn-id: https://develop.svn.wordpress.org/trunk@3249 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 20:04:04 +00:00
Ryan Boren
aa6a393a50 Add delete_usermeta(). fixes #1992
git-svn-id: https://develop.svn.wordpress.org/trunk@3247 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 19:19:47 +00:00
Ryan Boren
1f77f33d51 Remove extraneous parens.
git-svn-id: https://develop.svn.wordpress.org/trunk@3245 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 17:30:51 +00:00
Ryan Boren
619d8d0c0c TinyMCE directionality for RTL support. Props skeltoac. fixes #1967
git-svn-id: https://develop.svn.wordpress.org/trunk@3244 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 17:15:43 +00:00
Ryan Boren
02e9e6d8ea Allow Author role to edit published posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@3243 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 07:47:22 +00:00
Ryan Boren
1dae83d024 Return role object after adding.
git-svn-id: https://develop.svn.wordpress.org/trunk@3242 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 07:32:43 +00:00
Ryan Boren
2520664ada Unserialize fix. fixes #1988
git-svn-id: https://develop.svn.wordpress.org/trunk@3239 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 00:25:05 +00:00
Ryan Boren
7cec380314 Add get_role() convenience wrapper.
git-svn-id: https://develop.svn.wordpress.org/trunk@3238 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 18:47:28 +00:00
Ryan Boren
b948ca459f escapeshell SA17779
git-svn-id: https://develop.svn.wordpress.org/trunk@3235 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 14:07:30 +00:00
Matt Mullenweg
92729e5fba Part of a healthy balanced breakfast - fixes #1980
git-svn-id: https://develop.svn.wordpress.org/trunk@3234 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 07:58:50 +00:00
Ryan Boren
007caf7c3c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: https://develop.svn.wordpress.org/trunk@3233 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 06:44:44 +00:00
Ryan Boren
0577003eb9 If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: https://develop.svn.wordpress.org/trunk@3231 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:33:25 +00:00
Matt Mullenweg
47bc943716 So close I can taste it.
git-svn-id: https://develop.svn.wordpress.org/trunk@3230 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:01:48 +00:00
Ryan Boren
5e34745dc9 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: https://develop.svn.wordpress.org/trunk@3229 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 01:43:32 +00:00
Ryan Boren
6f3cb17751 Don't try to do permalinks for admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@3226 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:30:42 +00:00
Matt Mullenweg
4ae18b8c15 Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: https://develop.svn.wordpress.org/trunk@3223 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:05:12 +00:00
Matt Mullenweg
83bca28d72 No need to do those big fancy joins.
git-svn-id: https://develop.svn.wordpress.org/trunk@3220 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:44:56 +00:00
Matt Mullenweg
0d88ea9ef8 Another query bites the dust!
git-svn-id: https://develop.svn.wordpress.org/trunk@3219 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:37:17 +00:00
Matt Mullenweg
062836b194 Don't create empty umeta values.
git-svn-id: https://develop.svn.wordpress.org/trunk@3218 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 08:48:18 +00:00
Matt Mullenweg
dd9bb0699c Return if not an array, fixes #1940
git-svn-id: https://develop.svn.wordpress.org/trunk@3217 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 06:38:12 +00:00
Matt Mullenweg
99fcdc938f Don't show 404s for empty cats, fixes #1969
git-svn-id: https://develop.svn.wordpress.org/trunk@3215 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 03:15:48 +00:00
Matt Mullenweg
ec77539416 Better email from, fixes #1532
git-svn-id: https://develop.svn.wordpress.org/trunk@3214 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-25 22:57:26 +00:00
Ryan Boren
7226d2f2b3 Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: https://develop.svn.wordpress.org/trunk@3206 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 22:38:25 +00:00
Ryan Boren
2ebfe35d2d s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: https://develop.svn.wordpress.org/trunk@3205 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 18:01:32 +00:00
Ryan Boren
81fed95acf Add get_attached_file().
git-svn-id: https://develop.svn.wordpress.org/trunk@3203 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 10:00:07 +00:00
Matt Mullenweg
a0556647af Don't show 0 as a month.
git-svn-id: https://develop.svn.wordpress.org/trunk@3202 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 07:57:58 +00:00
Ryan Boren
2bab8b487e Allow wp_insert/update_post to handle classes in addition to associative arrays. This should avoid the 'Cannot use object of type stdClass as array' warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3200 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 01:35:08 +00:00
Ryan Boren
289ef9a954 Add some defaults to avoid MySQL warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3199 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 00:38:56 +00:00
Ryan Boren
3b4d47257d Add glob() compat for php < 4.3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@3198 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 23:39:56 +00:00
Ryan Boren
c29812748d Store some values in the class for debug purposes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3197 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 21:07:48 +00:00
Matt Mullenweg
fd081cb70e Bumpa version
git-svn-id: https://develop.svn.wordpress.org/trunk@3195 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 09:56:15 +00:00
Ryan Boren
07c03bb2f3 Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 07:45:07 +00:00
Ryan Boren
e53912a4dd Instead of incrementing the current comment count, recount all comments to make sure we have a good count. Props Mark Jaquith. fixes #1920
git-svn-id: https://develop.svn.wordpress.org/trunk@3193 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 03:45:40 +00:00
Ryan Boren
742e46274f Upgrade to Snoopy 1.2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@3191 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 01:14:26 +00:00
Ryan Boren
43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren
b41c0e1360 Therapeutic db version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3183 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:13:20 +00:00
Ryan Boren
94804af59a Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: https://develop.svn.wordpress.org/trunk@3174 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 02:08:59 +00:00
Ryan Boren
4327bb7a1e TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: https://develop.svn.wordpress.org/trunk@3172 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-20 07:34:47 +00:00
Ryan Boren
3b1677473a Silence fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3171 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 22:52:57 +00:00
Ryan Boren
f086287b81 Suppress fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3170 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:12:26 +00:00
Ryan Boren
d9d9fedb7a get_post_mime_type() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3169 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:08:21 +00:00
Ryan Boren
38192bfb4f Remove extra file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3168 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:54 +00:00
Ryan Boren
5fa9e518ee Add missing file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3167 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:21 +00:00
Ryan Boren
4959c3fefa Relocate help icon to the correct place.
git-svn-id: https://develop.svn.wordpress.org/trunk@3166 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:39:09 +00:00
Ryan Boren
c48eaea2fd Update help icon.
git-svn-id: https://develop.svn.wordpress.org/trunk@3165 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:28:48 +00:00
Ryan Boren
a1ef8e762c TinyMCE help. fixes #1908
git-svn-id: https://develop.svn.wordpress.org/trunk@3163 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:15:11 +00:00
Ryan Boren
1549abf703 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: https://develop.svn.wordpress.org/trunk@3162 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:11:03 +00:00
Matt Mullenweg
64d7f37d3a Dat da-da duuuummmmmmmm
git-svn-id: https://develop.svn.wordpress.org/trunk@3160 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 00:19:43 +00:00
Ryan Boren
97eefbc202 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: https://develop.svn.wordpress.org/trunk@3156 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:27:39 +00:00
Ryan Boren
94a4853f02 Autosave warning fix. fixes #1910
git-svn-id: https://develop.svn.wordpress.org/trunk@3153 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 22:55:39 +00:00
Ryan Boren
7a90a61c9d Attachment cleanups from skeltoac. fixes #1870
git-svn-id: https://develop.svn.wordpress.org/trunk@3145 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 09:25:47 +00:00
Ryan Boren
69f0e94125 Remove dead code.
git-svn-id: https://develop.svn.wordpress.org/trunk@3143 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:20:19 +00:00
Ryan Boren
5db06a0f98 Don't return undefined variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3142 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:15:08 +00:00
Ryan Boren
4b3f2a3cb4 Filter on the_content_rss. Props Kafkaesqui. fixes #1685
git-svn-id: https://develop.svn.wordpress.org/trunk@3140 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:17:06 +00:00
Ryan Boren
d13f35cdec Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: https://develop.svn.wordpress.org/trunk@3139 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:01:28 +00:00
Ryan Boren
c6c21c0d26 Don't loop over empty options. fixes #1900
git-svn-id: https://develop.svn.wordpress.org/trunk@3138 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 22:46:18 +00:00
Ryan Boren
751c08fd49 Tidy up get_userdatabylogin().
git-svn-id: https://develop.svn.wordpress.org/trunk@3137 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 18:15:59 +00:00
Ryan Boren
15513318ba Big tiny fixes from skeltoac. fixes #1897
git-svn-id: https://develop.svn.wordpress.org/trunk@3136 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 17:47:29 +00:00
Ryan Boren
bd536befa8 Don't bother with sems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3131 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:30:14 +00:00
Ryan Boren
80bc0af577 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: https://develop.svn.wordpress.org/trunk@3130 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:10:18 +00:00
Ryan Boren
6fcabdfba3 i18n fix from nbachiyski. fixes #1874
git-svn-id: https://develop.svn.wordpress.org/trunk@3125 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 03:01:55 +00:00
Ryan Boren
3e78ac5ae6 Check if writable before checking if dir to avoid permission denied problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3123 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 02:24:52 +00:00
Matt Mullenweg
39a7455309 Fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@3122 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 01:57:18 +00:00
Matt Mullenweg
e93d21f350 New logo, better login.
git-svn-id: https://develop.svn.wordpress.org/trunk@3120 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 00:51:34 +00:00
Matt Mullenweg
b4b4d48778 Not used any more.
git-svn-id: https://develop.svn.wordpress.org/trunk@3119 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 00:34:24 +00:00
Ryan Boren
a4e487c8e7 Add missing space to fix validation. Props seth. fixes #1887
git-svn-id: https://develop.svn.wordpress.org/trunk@3118 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:59:29 +00:00
Ryan Boren
1c2e933d90 Don't run stylesheet directory URI through filters. fixes #1890
git-svn-id: https://develop.svn.wordpress.org/trunk@3117 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:54:39 +00:00
Ryan Boren
da61a9f508 Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: https://develop.svn.wordpress.org/trunk@3115 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:48:12 +00:00
Matt Mullenweg
01c2155563 Better email links, fixes #1416
git-svn-id: https://develop.svn.wordpress.org/trunk@3114 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:44:03 +00:00
Ryan Boren
753dbd7183 Silence file ops.
git-svn-id: https://develop.svn.wordpress.org/trunk@3113 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:40:14 +00:00
Ryan Boren
ee98b26ac0 More 404 work. Hopefully fixes #1471
git-svn-id: https://develop.svn.wordpress.org/trunk@3111 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 22:54:52 +00:00
Ryan Boren
faa7e8cbdd Don't flush if cache is disabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@3110 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 19:01:58 +00:00
Ryan Boren
e9a970fd29 Fix 404s. Props donncha. fixes #1471
git-svn-id: https://develop.svn.wordpress.org/trunk@3108 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 10:16:20 +00:00
Ryan Boren
5135115f45 Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688
git-svn-id: https://develop.svn.wordpress.org/trunk@3106 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 06:37:06 +00:00
Ryan Boren
376a04e7de Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: https://develop.svn.wordpress.org/trunk@3104 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 06:29:36 +00:00
Ryan Boren
cae1b67170 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: https://develop.svn.wordpress.org/trunk@3103 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 03:27:22 +00:00
Ryan Boren
62f1fd972b Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: https://develop.svn.wordpress.org/trunk@3102 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:54:23 +00:00
Ryan Boren
35dd21caec Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: https://develop.svn.wordpress.org/trunk@3097 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 01:58:04 +00:00
Ryan Boren
1228f9e554 Update to use cap API.
git-svn-id: https://develop.svn.wordpress.org/trunk@3095 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 00:50:02 +00:00
Ryan Boren
77fe382c33 Move category post count updater into wp_set_post_cats().
git-svn-id: https://develop.svn.wordpress.org/trunk@3094 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 23:47:16 +00:00
Ryan Boren
1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Ryan Boren
06d61e1f7a Update category counts. Props donncha. fixes #1886
git-svn-id: https://develop.svn.wordpress.org/trunk@3091 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 16:31:24 +00:00
Ryan Boren
1a7354a608 Fix [3074] commit so that draft->publish transitions up date the timestamp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3090 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 00:00:26 +00:00
Matt Mullenweg
1663e2088e Mystery of the disappearing post solved, fixes #1879
git-svn-id: https://develop.svn.wordpress.org/trunk@3089 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 23:28:10 +00:00
Ryan Boren
b49bd4d290 Flush the cache before installing. fixes #1877
git-svn-id: https://develop.svn.wordpress.org/trunk@3088 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 22:32:03 +00:00
Ryan Boren
d68dac7f69 Implement wp_cache_flush().
git-svn-id: https://develop.svn.wordpress.org/trunk@3087 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 22:10:28 +00:00
Ryan Boren
aedbd711b2 Avoid infinite recursion when expiring cache. fixes #1875
git-svn-id: https://develop.svn.wordpress.org/trunk@3086 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 21:29:30 +00:00
Matt Mullenweg
bfcff70845 Don't die on me now! Fixes #1631
git-svn-id: https://develop.svn.wordpress.org/trunk@3083 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:21:39 +00:00
Matt Mullenweg
5f7471444a Allow modified, fixes #1651
git-svn-id: https://develop.svn.wordpress.org/trunk@3080 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:12:22 +00:00
Matt Mullenweg
dbada5cd7e Follow standards in Pingback - fixes #1668
git-svn-id: https://develop.svn.wordpress.org/trunk@3078 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:08:12 +00:00
Matt Mullenweg
a313d7adfb Fixes #1837 timestamp funkiness
git-svn-id: https://develop.svn.wordpress.org/trunk@3074 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:56:41 +00:00
Matt Mullenweg
5962ca9e11 Reverse that cleanup, there is reason in the madness ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@3071 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:08:27 +00:00
Matt Mullenweg
e1b81babff Small cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3068 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 08:51:04 +00:00
Ryan Boren
3098fe172e Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869
git-svn-id: https://develop.svn.wordpress.org/trunk@3067 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 06:51:09 +00:00
Matt Mullenweg
6a39dae1c2 Silly thumbnail files
git-svn-id: https://develop.svn.wordpress.org/trunk@3066 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 03:08:08 +00:00
Matt Mullenweg
0ee2f9046d More accessible comment links
git-svn-id: https://develop.svn.wordpress.org/trunk@3065 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 03:06:52 +00:00
Matt Mullenweg
899d70bbbd More eol-style: native
git-svn-id: https://develop.svn.wordpress.org/trunk@3062 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:43:57 +00:00
Matt Mullenweg
5881c769b4 Don't allow newlines in redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@3060 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:38:56 +00:00
Matt Mullenweg
14326fb55d Add error function back, fixes #1446
git-svn-id: https://develop.svn.wordpress.org/trunk@3057 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 02:54:49 +00:00
Matt Mullenweg
32fe0b0527 Account for more letter entities, fixes #1431
git-svn-id: https://develop.svn.wordpress.org/trunk@3056 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 02:48:35 +00:00
Matt Mullenweg
dd35ddfe28 Moderation and comment_author_link, fixes #1019
git-svn-id: https://develop.svn.wordpress.org/trunk@3055 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 02:45:53 +00:00
Ryan Boren
f10f98f0a7 Cleanup options save.
git-svn-id: https://develop.svn.wordpress.org/trunk@3054 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-12 09:36:20 +00:00
Ryan Boren
66643f61c7 Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: https://develop.svn.wordpress.org/trunk@3052 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:24:09 +00:00
Matt Mullenweg
f5ce936f25 Missing stripslashes - fixes #1793
git-svn-id: https://develop.svn.wordpress.org/trunk@3049 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:16:26 +00:00
Matt Mullenweg
61e8f75faa Missed a line, fixes #1593
git-svn-id: https://develop.svn.wordpress.org/trunk@3048 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:00:06 +00:00
Matt Mullenweg
4a11b6e79f Call nocache_headers for logged in users
git-svn-id: https://develop.svn.wordpress.org/trunk@3047 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:44:41 +00:00
Matt Mullenweg
4b6a074982 Add HTTPS support, fixes #1372
git-svn-id: https://develop.svn.wordpress.org/trunk@3041 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:21:28 +00:00
Matt Mullenweg
9f51a87277 Eliminating query and vars now that we have category_count in DB
git-svn-id: https://develop.svn.wordpress.org/trunk@3039 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:03:13 +00:00
Ryan Boren
6daffdf70b Don't loop over empty list. Props skippy. fixes #1467
git-svn-id: https://develop.svn.wordpress.org/trunk@3038 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:55:31 +00:00
Ryan Boren
ab5e695fe6 Add author support to wp_title(). Props graeme. fixes #1615
git-svn-id: https://develop.svn.wordpress.org/trunk@3037 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:48:31 +00:00
Matt Mullenweg
2b89020aa5 Use reply-to instead of from to stop acting spammy - fixes #1593
git-svn-id: https://develop.svn.wordpress.org/trunk@3035 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:07:39 +00:00
Ryan Boren
8b8c906885 Highlight current class. Props amanzi and skippy. fixes #1800
git-svn-id: https://develop.svn.wordpress.org/trunk@3033 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:42:56 +00:00
Matt Mullenweg
58b39edd36 Don't notify your own comments, fixes #1670
git-svn-id: https://develop.svn.wordpress.org/trunk@3031 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:31:58 +00:00
Ryan Boren
646a09ead4 Template functions for getting the post's modified time from error and Mark Jaquith. fixes #1836
git-svn-id: https://develop.svn.wordpress.org/trunk@3030 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:31:30 +00:00
Ryan Boren
ad772b5e63 Return false if we don't find the option.
git-svn-id: https://develop.svn.wordpress.org/trunk@3028 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 20:59:20 +00:00
Ryan Boren
49fa56367b Fix commit gone wild.
git-svn-id: https://develop.svn.wordpress.org/trunk@3026 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:30:40 +00:00
Matt Mullenweg
222e32086e Missing semi, also fixes #1599
git-svn-id: https://develop.svn.wordpress.org/trunk@3025 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:01:24 +00:00
Matt Mullenweg
8480fdda0a Should fix #1599 for IIS blogs.
git-svn-id: https://develop.svn.wordpress.org/trunk@3024 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 20:58:58 +00:00
Ryan Boren
2077dcaf16 Options fixes from donncha. fixes #1859
git-svn-id: https://develop.svn.wordpress.org/trunk@3023 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 18:15:55 +00:00
Ryan Boren
fb234acd09 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@3022 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 11:17:33 +00:00
Ryan Boren
7f5284a4de Add cache expiration. Cache requests for non-existant options.
git-svn-id: https://develop.svn.wordpress.org/trunk@3021 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 11:10:34 +00:00
Ryan Boren
c6a3cc3249 TinyMCE accesskeys from skeltoac. fixes #1854
git-svn-id: https://develop.svn.wordpress.org/trunk@3020 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 08:44:48 +00:00
Ryan Boren
aae1332f2d Hide serialized object data in comment blocks within .php files. Props ringmaster. fixes #1857
git-svn-id: https://develop.svn.wordpress.org/trunk@3019 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 02:38:17 +00:00
Ryan Boren
9765974469 Oops. Comment out stats dump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3018 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 22:28:45 +00:00
Ryan Boren
b5113fae7c Obfuscate keys with some salt. Add empty index.php files to the cache dirs to prevent directory listings. Props to ringmaster. fixes #1851
git-svn-id: https://develop.svn.wordpress.org/trunk@3017 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 22:15:06 +00:00
Ryan Boren
609383477a TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: https://develop.svn.wordpress.org/trunk@3015 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 19:17:08 +00:00
Ryan Boren
b6930cefd4 Remove trailing blank lines.
git-svn-id: https://develop.svn.wordpress.org/trunk@3014 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 00:39:26 +00:00
Ryan Boren
e908ebc95c Use get_*() API instead of SELECTs so that we hit the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3013 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:15:21 +00:00
Ryan Boren
0069470818 Add LIMIT 1 to some of our gets.
git-svn-id: https://develop.svn.wordpress.org/trunk@3012 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:09:09 +00:00
Ryan Boren
c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Matt Mullenweg
da3c5f47dc Add RSD support. See http://archipelago.phrasewise.com/rsd
git-svn-id: https://develop.svn.wordpress.org/trunk@3009 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:47:51 +00:00
Matt Mullenweg
072179c8cb Fixes #1443
git-svn-id: https://develop.svn.wordpress.org/trunk@3007 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:35:54 +00:00
Matt Mullenweg
df22877fdb Simplify status_header
git-svn-id: https://develop.svn.wordpress.org/trunk@3005 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:05:47 +00:00
Matt Mullenweg
76915903e3 Missing user line.
git-svn-id: https://develop.svn.wordpress.org/trunk@3004 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 08:58:37 +00:00
Ryan Boren
749847dc97 Remove extraneous header() call.
git-svn-id: https://develop.svn.wordpress.org/trunk@3003 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 19:06:10 +00:00
Ryan Boren
a1fdbc44d0 Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: https://develop.svn.wordpress.org/trunk@3001 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 07:04:46 +00:00
Ryan Boren
0c2daa617d Protection against multiple trackbacks in one bunch from markjaquith. fixes #1817
git-svn-id: https://develop.svn.wordpress.org/trunk@2996 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 04:02:12 +00:00
Ryan Boren
c244bfd360 Show Role in profile and user edit. Don't allow users with edit_users caps to demote themselves. Props: davidhouse, ringmaster. fixes #1825
git-svn-id: https://develop.svn.wordpress.org/trunk@2995 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:58:52 +00:00
Ryan Boren
1fb12a1eaa Rename image-uploading to inline-uploading. Props skeltoac. fixes #1834
git-svn-id: https://develop.svn.wordpress.org/trunk@2994 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:40:43 +00:00
Ryan Boren
3ed89b9e86 TinyMCE 2.0RC4 Props skeltoac. fixes #1830
git-svn-id: https://develop.svn.wordpress.org/trunk@2993 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:30:11 +00:00
Ryan Boren
0920b65feb Remove extraneous whitespace from wp_list_pages() output. Props: error fixes #1838
git-svn-id: https://develop.svn.wordpress.org/trunk@2991 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:15:43 +00:00
Matt Mullenweg
9ff2f7d167 Allow "anonymous" to be translated, fixes #1740
git-svn-id: https://develop.svn.wordpress.org/trunk@2986 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 22:53:40 +00:00
Ryan Boren
03f7327803 Don't self ping. Props Mark Jaquith fixes #993
git-svn-id: https://develop.svn.wordpress.org/trunk@2983 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 16:20:09 +00:00
Ryan Boren
0d3b4317dc Add middle_name and flickr_username for users.
git-svn-id: https://develop.svn.wordpress.org/trunk@2980 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-02 08:26:42 +00:00
Matt Mullenweg
d6cb8a0942 Missing global, fix from airport. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@2978 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-01 18:22:30 +00:00
Matt Mullenweg
cdb58724d2 Even better, array functions are fun.
git-svn-id: https://develop.svn.wordpress.org/trunk@2977 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:28:05 +00:00
Matt Mullenweg
2b2c2e6c03 Some optimizations in queries and code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2976 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:23:17 +00:00
Matt Mullenweg
7cd02175ff Cleaner, better, faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@2975 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 22:24:27 +00:00
Ryan Boren
de8d78270a If post_date_gmt is not supplied, derive it from post_date instead of current time.
git-svn-id: https://develop.svn.wordpress.org/trunk@2969 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 04:34:49 +00:00
Ryan Boren
b127cd82af Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: https://develop.svn.wordpress.org/trunk@2968 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 01:14:57 +00:00
Ryan Boren
305c29d4e1 DB versioning. fixes #1791
git-svn-id: https://develop.svn.wordpress.org/trunk@2966 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-27 22:04:12 +00:00
Matt Mullenweg
6b31c735f4 LiteSpeed support everything Apache does
git-svn-id: https://develop.svn.wordpress.org/trunk@2965 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 23:44:27 +00:00
Ryan Boren
71ee10cc3b TinyMCE fixes. Reinstate "More..." button. Filter trailing br. fixes #1789
git-svn-id: https://develop.svn.wordpress.org/trunk@2964 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 23:10:14 +00:00
Ryan Boren
6ffbef60a5 Filter title with kses. fixes #1788
git-svn-id: https://develop.svn.wordpress.org/trunk@2963 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 14:46:23 +00:00
Ryan Boren
9d9cca40f7 Remove debug code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2961 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 22:15:07 +00:00
Ryan Boren
1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Matt Mullenweg
d7605dd6ad Fix for header redirects - Hat tip: http://www.davidmeade.com/post/post.php?topicID=579
git-svn-id: https://develop.svn.wordpress.org/trunk@2956 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-19 06:09:23 +00:00
Ryan Boren
25458f93b8 More massive code cleanups from Mark Jaquith. fixes #1772
git-svn-id: https://develop.svn.wordpress.org/trunk@2955 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-18 22:42:02 +00:00