Commit Graph

2647 Commits

Author SHA1 Message Date
ryan
6566f35303 get_row() not fetch_row(). Props michelwp. fixes #5230
git-svn-id: http://svn.automattic.com/wordpress/trunk@6283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:36:08 +00:00
ryan
a76f648e22 taxonomy phpdoc updates from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-21 17:18:24 +00:00
westi
c75ec2b48a Add atom:self link to rss2 feeds per RSS Best Practices Profile. Fixes #5205 props lexhair and rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-20 10:35:44 +00:00
ryan
babd1e1a7f phpdoc for plugin API. Props darkdragon. fixes #5225
git-svn-id: http://svn.automattic.com/wordpress/trunk@6276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 17:45:08 +00:00
westi
5fb4d6ab00 Use a for loop where it's more appropriate. Fixes #5234 props darkdragon and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:32:56 +00:00
westi
5e0cf58bfb Add @since to the new phpdoc relates #5181 and [6273]
git-svn-id: http://svn.automattic.com/wordpress/trunk@6274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:27:09 +00:00
westi
4c7bfb6a4f Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 15:42:30 +00:00
ryan
6edc7aed5c Catch WP_Error. Props tellyworth. fixes #5226
git-svn-id: http://svn.automattic.com/wordpress/trunk@6271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-18 15:55:15 +00:00
markjaquith
d395d55a0e Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202
git-svn-id: http://svn.automattic.com/wordpress/trunk@6267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:41:43 +00:00
westi
9ef11d81bd Set the Sender on emails as well as from. Fixes #5007 for trunk props mattyrob
git-svn-id: http://svn.automattic.com/wordpress/trunk@6265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:17:01 +00:00
markjaquith
875424adae Explicitly exclude previews from canonicalization. fixes #5203 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:14:38 +00:00
ryan
38a3758570 Remove refs to old, dead caches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 17:37:21 +00:00
ryan
9c6dc8f1be More taxonomy phpdoc from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 22:49:31 +00:00
ryan
0e0ebbba23 Move all page and post caches to 'posts' cache group.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:11:30 +00:00
westi
1eb4758157 Fix typo in call to $wpdb->update. Fixes #5206 props zamoose
git-svn-id: http://svn.automattic.com/wordpress/trunk@6251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:07:29 +00:00
ryan
20f655d83b Kill unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 09:38:12 +00:00
ryan
808cd79992 Just cache the is_blog_installed value. If the options table goes away while the value is still cached, oh well. Very edge-case.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 07:57:56 +00:00
ryan
363eae9d76 Add some clean cache hooks
git-svn-id: http://svn.automattic.com/wordpress/trunk@6248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 04:55:33 +00:00
ryan
bd5d107814 Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: http://svn.automattic.com/wordpress/trunk@6247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 01:08:07 +00:00
ryan
24af93e9c0 If checking for term within taxonomy, just do the taxonomy specific query. Saves one query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 19:04:39 +00:00
ryan
befa8f0f11 Eliminate extra query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:53:28 +00:00
ryan
16411f9c7b Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:39:28 +00:00
ryan
a8d380c32c Eliminate object_term_cache array. see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:23:59 +00:00
markjaquith
4a43a0b353 Some foreach array casting
git-svn-id: http://svn.automattic.com/wordpress/trunk@6242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 05:33:39 +00:00
markjaquith
6f0cbc16a8 prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 03:51:11 +00:00
markjaquith
14c3ea37ca Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 02:36:38 +00:00
markjaquith
f18e02b0f0 Allow wpdb->update() to optionally take a named array of where column/value pairs (which will be ANDed)
git-svn-id: http://svn.automattic.com/wordpress/trunk@6239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 01:44:25 +00:00
markjaquith
1d883e1b9c Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:54:26 +00:00
markjaquith
05e68a8676 More use of db_insert()/db_update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:48:52 +00:00
markjaquith
596db96326 Oops, within the class here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:45:34 +00:00
ryan
42fee85546 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:47:34 +00:00
ryan
62d3a12280 Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:12:34 +00:00
westi
714742b70e Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
git-svn-id: http://svn.automattic.com/wordpress/trunk@6228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 20:01:16 +00:00
westi
cd8dcf0046 Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker
git-svn-id: http://svn.automattic.com/wordpress/trunk@6227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 19:49:25 +00:00
ryan
c674a475d7 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: http://svn.automattic.com/wordpress/trunk@6224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 17:43:49 +00:00
markjaquith
a30ed0ded5 Code cleanup and standardization for functions.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 05:46:57 +00:00
markjaquith
c23352bedf Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:11:18 +00:00
markjaquith
c5f9186919 Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:01:40 +00:00
markjaquith
dec5db7586 check for a match against a lowercase host in wp_safe_redirect(). props BoltClock. fixes #5114 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 19:25:23 +00:00
ryan
40a2a02cb1 Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 18:51:12 +00:00
markjaquith
90da0b6561 Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: http://svn.automattic.com/wordpress/trunk@6216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 23:16:35 +00:00
ryan
44ca974c27 jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:51:25 +00:00
ryan
f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan
a8ede71d87 Force prototype to load before jquery. Props mdawaffe. fixes #5067 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 21:04:26 +00:00
markjaquith
60cde1b789 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: http://svn.automattic.com/wordpress/trunk@6207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 04:13:36 +00:00
ryan
b8febc8501 Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:25:33 +00:00
westi
8ff0a0659a Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:21:29 +00:00
westi
395fd9fc29 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:35:20 +00:00
westi
f6234acb5d Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:31:14 +00:00
westi
e026d1dfa2 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: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00