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 |
westi
|
61f8b8f569
|
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: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-06 08:18:33 +00:00 |
westi
|
e9cfb43133
|
Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-06 06:55:24 +00:00 |
ryan
|
60fdc763b6
|
WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-05 17:29:34 +00:00 |
ryan
|
7f61116c5b
|
Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-05 16:27:48 +00:00 |
ryan
|
fe60a3ab06
|
New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: http://svn.automattic.com/wordpress/trunk@6186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-04 18:10:03 +00:00 |
ryan
|
3211ab1d54
|
Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-03 16:27:07 +00:00 |
ryan
|
5300ef20cf
|
Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-03 16:16:55 +00:00 |
markjaquith
|
21c25b5566
|
prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-02 18:45:47 +00:00 |
westi
|
0b23746c72
|
We're working on bleeding edge 2.4 stuff now
git-svn-id: http://svn.automattic.com/wordpress/trunk@6177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-29 10:56:53 +00:00 |
markjaquith
|
47955b3fae
|
prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-27 07:34:15 +00:00 |
ryan
|
649cff7dc2
|
Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-26 16:12:28 +00:00 |
matt
|
15372a22b6
|
bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@6164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-25 00:34:43 +00:00 |
ryan
|
a48973211c
|
Fix typo. fixes #5061
git-svn-id: http://svn.automattic.com/wordpress/trunk@6161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-24 01:48:36 +00:00 |