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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Matt Mullenweg
4c18e778d0
Awesome fix from Dougal about ping timeout problems.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2942 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 16:36:54 +00:00
Ryan Boren
9b7f201b11
Code cleanups from markjaquith. fixes #1743
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2941 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 09:25:38 +00:00
Ryan Boren
14abc74d54
Send User-Agent when confirming pingbacks. Props error. fixes #1713
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2933 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:29:56 +00:00
Matt Mullenweg
21cafc609c
For apos in links.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2922 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-27 03:34:37 +00:00
Ryan Boren
3fae411f9e
Array and object support for post meta from skeltoac. fixes #1699
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2907 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 23:22:51 +00:00
Matt Mullenweg
6d4f063c69
Fixes #1681 and the annoying empty meta problem.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2887 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 17:27:09 +00:00
Ryan Boren
3c12867919
Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2873 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:34:04 +00:00
Ryan Boren
8baae0c89e
User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2872 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:03:02 +00:00
Ryan Boren
d225c820cf
Check the option cache before querying. Props westi. fixes #1499
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2856 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:08:48 +00:00
Ryan Boren
5932ee4425
Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2833 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 16:56:28 +00:00
Ryan Boren
61409382ad
url_to_postid() typo fix. Props markjaquith. fixes #1612
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2822 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:07:12 +00:00
Matt Mullenweg
dde5ccd8ef
Don't hardcode file type, fixes #1553
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2805 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:48:23 +00:00
Matt Mullenweg
355b4acec9
Disabled in safe mode.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2790 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-18 21:21:24 +00:00
Matt Mullenweg
fe3daa060e
Adding personal options
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2760 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 19:23:41 +00:00
Matt Mullenweg
2165c50e82
Making the presentation page a little more intuitive
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2757 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:11:30 +00:00
Matt Mullenweg
42b54bdd1c
Fixes #1370
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2740 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:24:13 +00:00
Matt Mullenweg
b8f6638196
Negate that. Fixes #1490 . Hat tip: mdawaffe
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2731 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:29:46 +00:00
Ryan Boren
1785b5aae3
Refactor level to cap upgrade code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2727 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-19 14:24:06 +00:00
Matt Mullenweg
3bb5555bb2
More cookie catchups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 20:12:48 +00:00
Ryan Boren
d44131b1b7
get_usermeta() fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2721 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:55:19 +00:00
Ryan Boren
1fdc779439
Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2717 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:41:11 +00:00
Ryan Boren
7623634aaf
in_the_loop() Props: Mark Jaquith fixes #1518
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2716 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 16:58:13 +00:00
Matt Mullenweg
4d6ecc4943
Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2715 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-16 21:13:14 +00:00
Ryan Boren
d77f5373ec
Roles update + UI from Owen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren
19ab84315c
Role/capability system. Round one. Props: Owen Winkler
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg
810e0018f4
Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Ryan Boren
b3f7bd726c
Use wpdb->escape instead of addslashes to prepare DB bound data.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren
37f40b7935
register_activation_hook() and register_deactivation_hook(). Let's try these on.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Matt Mullenweg
90afdb5e98
We don't think these are needed...
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2671 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 00:44:02 +00:00
Ryan Boren
03997fb239
url_to_postid() fixes from Mark Jaquith.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2665 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-27 22:02:57 +00:00
Ryan Boren
dfe87eb5f7
Quote IDs in get queries.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2663 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 20:44:58 +00:00
Ryan Boren
706c897f32
Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren
62366e5403
Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 02:03:35 +00:00
Matt Mullenweg
cd7cb0c110
Encode stylesheet reference. Hit tip: Scott Yang
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-15 18:49:47 +00:00
Ryan Boren
1b4bc53f13
Wrap metavalue loop in is_array to check to avoid invalid argument warning.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2640 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 22:54:58 +00:00
Matt Mullenweg
f6ef88773f
User data migration should be complete
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Matt Mullenweg
1165caab60
Beginning of user system overhaul, TODO: update all code that deals with user data
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Ryan Boren
7d6fc8af08
Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Matt Mullenweg
a2fa5d6a70
Better headers for CGI enviroments
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg
64e674dad8
Bad cat ID cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2616 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:10:41 +00:00
Ryan Boren
0edec9ae9e
Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2612 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 03:17:55 +00:00
Ryan Boren
239462c326
More url_to_postid() fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2611 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 02:27:43 +00:00
Ryan Boren
ec2938185d
More url_to_postid() fixes. http://mosquito.wordpress.org/view.php?id=1324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2610 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 00:04:30 +00:00
Ryan Boren
c7783bbda4
Rework url_to_postid() to handle all supported permalink structs. Helps resolve pingback URIs to posts. http://mosquito.wordpress.org/view.php?id=1324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2609 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:59:42 +00:00
Matt Mullenweg
7d07dc1201
fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2606 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:53:18 +00:00
Matt Mullenweg
9648173c70
Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2581 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:52:11 +00:00
Matt Mullenweg
9843451d11
Extended ping support
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2572 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-22 21:17:10 +00:00
Ryan Boren
685705d9f4
Handle theme name collisions more elegantly.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2568 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 01:35:52 +00:00
Matt Mullenweg
1589419508
Don't enclose different things multiple times - http://mosquito.wordpress.org/view.php?id=1197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2560 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:07:19 +00:00
Matt Mullenweg
d0af63764e
More consistent use of cat_ID vs category_id
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2551 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:17:36 +00:00
Matt Mullenweg
d7c18937a1
Optimiation from Denis
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2550 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 05:27:24 +00:00
Ryan Boren
5cf9bdb5ae
Fix post paging regex to avoid regex collision between posts with slugs that differ only by a trailing number. http://mosquito.wordpress.org/view.php?id=1235
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2535 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 04:24:22 +00:00
Ryan Boren
4d31612412
Better page and subpage support for url_to_postid(). http://mosquito.wordpress.org/view.php?id=1214 Props: MC_incubus
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2527 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-12 21:12:28 +00:00
Ryan Boren
1c623ee737
Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-10 20:07:46 +00:00
Ryan Boren
8324f6962a
Implement order and orderby for get_posts(). http://mosquito.wordpress.org/view.php?id=1161 Props: RummandDan
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2525 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:30:57 +00:00
Ryan Boren
2e7c387207
Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren
a0d5ea6ba2
Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren
0dd2abae98
Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2516 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 23:25:51 +00:00
Ryan Boren
eca5d88e60
Make wp_mail() replaceable. http://mosquito.wordpress.org/view.php?id=1210
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2515 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 22:36:09 +00:00
Ryan Boren
b6b4c04371
In get_category(), check for empty category id so that we do not create a malformed SQL query.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2509 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:09:31 +00:00
Ryan Boren
185dbb4e7a
Don't use i18n unfriendly substr operations in date_i18n. http://mosquito.wordpress.org/view.php?id=1200 Props: nbachiyski
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2508 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-02 19:51:12 +00:00
Ryan Boren
db62c48897
add_query_arg() dropped the passed in query string if the string did not contain any path elements.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2506 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:42:46 +00:00
Ryan Boren
e2826065e4
More category cache cleanups.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2504 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:25:54 +00:00
Ryan Boren
78d13aebb6
You can't index an array with an object ref. Silly Ryan.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2503 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:00:39 +00:00
Ryan Boren
3122bbc8d2
Add support for new Status: theme header field. http://mosquito.wordpress.org/view.php?id=1192
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2502 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:44:50 +00:00
Ryan Boren
7d59187e7a
Add some more cache handling to get_category().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2500 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 23:33:37 +00:00
Ryan Boren
3ddc18abb9
Add wp_footer() to maintain fearful symmetry with our head. http://mosquito.wordpress.org/view.php?id=1147 Props: ringmaster
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2492 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:11:36 +00:00
Ryan Boren
198665bef2
get_post(): Don't use for cache lookup when a post id is passed.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2485 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:33:56 +00:00
Ryan Boren
82d89d8d7c
Add paging to Manage->Posts. http://mosquito.wordpress.org/view.php?id=1177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2481 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-28 02:34:16 +00:00
Ryan Boren
9536835eb4
Split post and page caches.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2479 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 21:56:10 +00:00
Ryan Boren
8dec99fddb
Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren
8480784cda
Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2477 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-25 21:41:45 +00:00
Matt Mullenweg
91bae528d5
Missing UA - http://mosquito.wordpress.org/view.php?id=1086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2457 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 15:48:30 +00:00
Matt Mullenweg
408ca99efe
Fix from Kimmo/Craig
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2456 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 06:07:36 +00:00
Matt Mullenweg
5b52ad1017
Use installing variable (from Donncha)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2455 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 23:34:06 +00:00
Ryan Boren
af3b90cc1e
Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2437 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:06:18 +00:00
Ryan Boren
df3fb34a70
Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Ryan Boren
57f958a020
Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2432 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 03:41:04 +00:00
Ryan Boren
96c87298e8
Fix do_action arg handling. http://mosquito.wordpress.org/view.php?id=901
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2430 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 00:57:34 +00:00
Ryan Boren
3bacf431ae
Page caching fixes. Mosquito bugs 920, 927, and 934.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2421 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 03:16:30 +00:00
Matt Mullenweg
d22dd5f1bd
http://mosquito.wordpress.org/view.php?id=1049
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2418 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 15:20:56 +00:00
Matt Mullenweg
6470c3f14f
Cleaned up enclosures, factored out header code, fixed validation -
...
http://mosquito.wordpress.org/view.php?id=963
git-svn-id: https://develop.svn.wordpress.org/trunk@2416 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 08:56:47 +00:00
Matt Mullenweg
794f7cf7fe
Fix for http://mosquito.wordpress.org/view.php?id=980
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 06:48:57 +00:00
Matt Mullenweg
2bacf5606e
Don't count drafts/etc against post count - http://mosquito.wordpress.org/view.php?id=1010
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2403 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:59:19 +00:00
Ryan Boren
7f5937bc6b
apply_filter fixes from michel. http://mosquito.wordpress.org/view.php?id=901
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2398 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 15:28:32 +00:00
Matt Mullenweg
a0eba624c5
Category query speedup and indentation fixes. Hat tip: Scott. http://mosquito.wordpress.org/view.php?id=1005
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2396 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 09:10:12 +00:00
Ryan Boren
f22a3f3283
Do not translate dates in feeds. http://mosquito.wordpress.org/view.php?id=924 . Reviewed by morganiq.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2366 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 04:19:43 +00:00
Ryan Boren
7ba461a96c
Remove option from wp_mail(). The additional parameters argument to mail() is non-portable and not useful to us. Props: dalziel. http://mosquito.wordpress.org/view.php?id=855
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2365 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-19 04:17:34 +00:00
Matt Mullenweg
0f15eb8785
Trackback ending http://mosquito.wordpress.org/view.php?id=884
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2361 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 09:03:23 +00:00
michelvaldrighi
efc4b4e54d
added cache_pages to avoid making 1+X queries everytime wp_list_pages is called, where X is the number of pages
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2354 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:12:04 +00:00
michelvaldrighi
68d7c93974
unified cache_userdata indexes by referencing user_login to ID, got rid of the useless, and broken, get_userid (get_userdatabylogin provides the same functionnality anyway)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2353 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 14:29:55 +00:00
Dougal Campbell
83a9308954
I'm pretty sure that this should be get_theme_root(), not get_theme_base()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2350 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 19:55:12 +00:00
Ryan Boren
fe2c881868
Make wp_setcookie() and wp_clearcookie() replaceable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2340 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:17:21 +00:00
Matt Mullenweg
bb46173adf
User agent in trackbacks, good idea - http://mosquito.wordpress.org/view.php?id=873
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2334 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:48:48 +00:00
Ryan Boren
35b685cb65
Load comments-popup template through the index.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Matt Mullenweg
1fb676a13d
Better pinging
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 01:57:48 +00:00
Matt Mullenweg
3b25d5706b
Support for categories - http://mosquito.wordpress.org/view.php?id=52
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2311 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 00:58:51 +00:00
Ryan Boren
e5ba4f2302
Add theme directory location hooks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2292 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 19:06:06 +00:00
Matt Mullenweg
fd66fc02c6
Enclosure cleanups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg
dd7a83f22c
We send the charset so we shouldn't need to do character conversion
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2277 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 01:22:36 +00:00
Matt Mullenweg
9b55bd6c62
Don't show email errors for people who don't have it.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2256 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:31:23 +00:00
Matt Mullenweg
e9915276e7
Some filter action and cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg
cb39e25512
Mail and reset fixes
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2236 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 06:43:23 +00:00
Ryan Boren
21c3726951
Do some caching in get_postdata().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2230 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 18:21:20 +00:00
Ryan Boren
042acc0a4a
Don't array_slice in loop. Move it up.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2229 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 06:13:26 +00:00
Ryan Boren
f79c6cdf7a
Oops. Inverted logic and typo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2228 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:42:53 +00:00
Ryan Boren
e90040e79b
Correctly add args to strings that contain only a query string and not a full URI.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00
Ryan Boren
7831c4c3b4
Add home.php template.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2223 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 18:10:05 +00:00
Matt Mullenweg
d6b5164e88
Make more login stuff pluggable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2204 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 10:48:54 +00:00
Ryan Boren
6872bdba06
Fix apply_filters. Bug 777.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2198 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 06:07:11 +00:00
Ryan Boren
4247199e8d
Fix typo spotted by morganiq.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2197 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 17:27:10 +00:00
Ryan Boren
02a701f72b
Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Ryan Boren
53d75a06d5
get_*_template() functions and filters.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2183 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 03:44:32 +00:00
Matt Mullenweg
5748ed2497
Don't look at dot directories or CVS for themes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2175 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 18:46:17 +00:00
Matt Mullenweg
e73cfeddd5
Fix for http://mosquito.wordpress.org/view.php?id=587
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2167 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:06:12 +00:00
Matt Mullenweg
f6a27d19b0
Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2166 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 06:38:12 +00:00
Ryan Boren
c660984419
Remove upgrade-functions include.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2163 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 01:09:45 +00:00
Matt Mullenweg
e26b275234
Allow plugins to modify option values on the fly.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2158 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-27 18:39:52 +00:00
Matt Mullenweg
faf0cae6a3
Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2130 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 07:30:49 +00:00
Ryan Boren
39baae5246
wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Ryan Boren
e693c815d3
Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2104 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 02:21:36 +00:00
Donncha O Caoimh
33b00f6c71
removed images from enclosure scanning.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2081 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 17:07:54 +00:00
Matt Mullenweg
5d67f3b75b
Don't cache serialized options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2055 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:07:52 +00:00
Ryan Boren
4b217b7022
Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2032 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 02:47:45 +00:00
Matt Mullenweg
df201019ca
Added check if Snoopy exists, and two fairly major bugs in the dashboard. update_option was not serializing objects and $cache->get() wasn't checking for the correct option name.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2027 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 22:09:08 +00:00
Ryan Boren
5a9ead8b0f
Add rewind_posts().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2026 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-31 21:49:48 +00:00
Ryan Boren
4553f8cef0
Use load_template().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2023 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 21:58:01 +00:00
Matt Mullenweg
7c3debb42a
Moving default template stuff into wp-includes, uncluttering root
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2009 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 10:58:06 +00:00
michelvaldrighi
ea09591ef3
get_userdata should not ask for data when userid is 0 (why does it get called like that anyway?)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1991 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 14:32:25 +00:00
Matt Mullenweg
f5a244747e
Don't cache. No, really. Hat tip: Kimmo Suominen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1983 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 18:43:45 +00:00
Matt Mullenweg
17234ff3f1
New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1979 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 02:30:40 +00:00
Ryan Boren
0971447cf6
Rework query precedence for bug 541. Add is_trackback().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 00:28:24 +00:00
Matt Mullenweg
b39c4f8273
Comments refactoring and cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg
59d1012c9d
Move all auth stuff into functions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1947 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 03:00:55 +00:00
Matt Mullenweg
953caf1484
Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg
95e3ed808a
Don't show errors if we can't fsockopen a server.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1926 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 00:25:07 +00:00
Donncha O Caoimh
f7d12dbbee
Fixed mangled email headers, thanks to John Allman
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1921 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 14:40:40 +00:00
Ryan Boren
8629ed18c3
Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1910 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:12:08 +00:00
Ryan Boren
dd4e4b9df6
Move rewrite and permalink functions into WP_Rewrite class.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren
5673b8e7a0
Unserialize empty arrays.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1900 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 19:53:11 +00:00
Ryan Boren
d26e718453
Use preg_quote() to make spam words regex safe.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1896 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 05:24:09 +00:00
Ryan Boren
0b62fd613b
Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1882 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-25 16:23:24 +00:00
Ryan Boren
5710a6ac38
Do not allow a page to be its own parent.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1878 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-24 00:12:46 +00:00
Ryan Boren
d2e0a1c81a
Allow empty uris to be passed to add_query_arg(). Useful when appending arguments to WP_Query query strings that do not yet have any arguments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1872 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-21 06:03:19 +00:00
Ryan Boren
6641104194
Add is_paged().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1871 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 18:32:31 +00:00
Ryan Boren
4c8f0e6910
Rewrite rule generation cleanup, including re-indent.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1870 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 04:28:36 +00:00
Ryan Boren
91e1e27d01
Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1868 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 20:54:16 +00:00
Matt Mullenweg
b04059c4a5
Actions shouldn't change around what they're passed
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1867 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 07:37:18 +00:00
Ryan Boren
05c8a88de8
Avoid polluting the category cache with duplicate category lists when using multiple post loops. http://wordpress.org/support/6/15213 . Fix from Owen Winkler.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1849 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-10 00:21:24 +00:00
Ryan Boren
ea54a86ebb
add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1847 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:31:48 +00:00
Ryan Boren
f34a43bf4e
Put the right index.php in the template file list for the default theme.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1846 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:29:01 +00:00
Dougal Campbell
1039a6fed1
BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1845 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-05 03:56:40 +00:00
Dougal Campbell
9ef62e7f0c
ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1844 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-03 14:21:46 +00:00
Ryan Boren
ecc156d4bd
Typo fix. Bug 423.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1843 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 02:13:00 +00:00
Ryan Boren
82acac8021
urldecode page URI so that it will work for multibyte languages.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1841 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 01:56:29 +00:00
Donncha O Caoimh
b9640d9ec1
Make sure email and name are not blank when checking comment author in whitelist.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1840 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-01 13:21:14 +00:00
Ryan Boren
d3f7d9e4c8
List broken themes and suggest corrective action.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1829 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-24 23:48:51 +00:00
Ryan Boren
fb09e46ffe
Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1823 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:28:37 +00:00
Donncha O Caoimh
e7ecb7ad81
Make checking enclosure URLs much faster - fclose() after blank line in response.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1820 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 15:07:49 +00:00
Ryan Boren
ed78ed9a2d
Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Donncha O Caoimh
cc9dc67ff8
Enclosure support moved to functions.php - it now scans the content
...
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.
git-svn-id: https://develop.svn.wordpress.org/trunk@1812 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 12:09:20 +00:00
Ryan Boren
a85bbd647d
If the match is unanchored and greedy, prepend rewrite conditions to avoid infinite redirects and eclipsing of real files. Add L to rewrite flags to break out of rewriting once a match is found.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1802 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 03:16:01 +00:00
Matt Mullenweg
8485291bd9
Fix for bug 137. Patch from kelson.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1799 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 08:27:56 +00:00
Matt Mullenweg
b4984a31c2
Trackback and pingback cleanups.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
Ryan Boren
707bf8bb44
Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1792 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 03:54:57 +00:00
Ryan Boren
8d9fda7a9c
Add template and stylesheet filters.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1789 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 03:20:03 +00:00
Ryan Boren
0bee08aace
Double hash password in cookies.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1788 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 02:21:37 +00:00
michelvaldrighi
2d58fd7954
remove contextual compatiblity, and require functions-compat instead
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1777 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 13:22:33 +00:00
Donncha O Caoimh
24359ab0fb
Re-arranged where wp-mail() sets message headers
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1775 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 12:04:37 +00:00
Ryan Boren
18585460f5
Login fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1774 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 07:00:22 +00:00
Matt Mullenweg
7fd906972e
Move to cookiehash define, use wp_login() function for auth.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1768 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-10 18:02:30 +00:00
Matt Mullenweg
b5dfef4925
Automatically trigger DB upgrade.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1764 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 19:49:58 +00:00
Donncha O Caoimh
e2c540b1dd
Define message header if blank.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1760 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 11:52:23 +00:00
Donncha O Caoimh
7f31cf1410
Check if $uris is an array.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1757 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 13:10:52 +00:00
Ryan Boren
4b44c46602
Page templates.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1753 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:11:11 +00:00
Ryan Boren
c54a49b9aa
Page/subpage URIs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1752 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 02:18:37 +00:00
Matt Mullenweg
c78d172d4f
Fix GUID generation
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1746 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 07:36:50 +00:00
Donncha O Caoimh
4797b29430
Missing ";"
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1741 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 10:19:43 +00:00
Matt Mullenweg
79ee1ce580
Kitten's emergent registration / comment whitelisting patch.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1737 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:49:45 +00:00
Matt Mullenweg
7d277fbd0d
Code cleanup and some fixes from the WP Japan folks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1734 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:03:52 +00:00
Matt Mullenweg
1a3c14d8a9
Use mb_mail_send if available.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1733 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 07:44:04 +00:00
Ryan Boren
1268dcb29b
Extend is_single(), is_page(), is_category(), and is_author() to accept an optional argument which designates a particular id, name, or nicename.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1728 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 19:24:40 +00:00
Dougal Campbell
d2ed07b4bf
Security: Clean up user inputs before using.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1727 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 00:46:30 +00:00
Ryan Boren
ebbf002430
Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1726 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 17:56:16 +00:00
michelvaldrighi
c2e6a2fb55
typo/confusion, earlier patch committed in haste
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1724 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 00:34:46 +00:00
michelvaldrighi
5f1af068d7
rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1723 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-29 20:33:05 +00:00
Ryan Boren
b4af651dcb
Wrap rewrite rules in IfModule. Bug 318.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1721 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-28 17:55:52 +00:00
michelvaldrighi
93a21b3596
fixed url_to_postid (it was the cause of pingbacks to the first post when a simple link to the blog was done)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1717 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 12:41:39 +00:00
Ryan Boren
606c252dce
Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1713 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:45:53 +00:00
michelvaldrighi
9292898d64
added discover_pingback_server_uri, should dramatically speed things up
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1709 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-24 17:29:25 +00:00
Ryan Boren
d278d6b8ae
Trackback fix ups.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1696 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 22:47:43 +00:00
Ryan Boren
cf529fe462
Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1695 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 20:04:29 +00:00
michelvaldrighi
511ff56068
updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1682 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:11:28 +00:00
Donncha O Caoimh
5e0e0bf9a9
Check for moderation_notify flag before notifying moderator that about
...
held comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@1678 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 10:26:34 +00:00
michelvaldrighi
be784a3f52
letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1676 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 08:39:12 +00:00
michelvaldrighi
0d2f304c8b
replaced old weblog_ping with new IXR-based weblog_ping
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1674 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:08:56 +00:00
Matt Mullenweg
3776531128
Axing of geo stuff, major cleanups on permalink options, style tweaks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +00:00
Matt Mullenweg
3bfd308dc6
Timeout changes. Hat tip: Michael Dale.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1637 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 10:55:44 +00:00
Matt Mullenweg
31ed310727
Trackback fix from Michael Dale.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1617 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 03:15:48 +00:00
Matt Mullenweg
bee9686570
Move trackbacks to new comment function.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1616 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 02:34:12 +00:00
Ryan Boren
122631f99e
Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1615 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 00:01:19 +00:00
Matt Mullenweg
94c29fd51e
Track and check user agent for comments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1603 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:50:39 +00:00
Matt Mullenweg
173f2cd3e6
Install and upgrade refactoring complete.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1601 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:22:17 +00:00
Matt Mullenweg
6b0bcbf2f5
Massive options cleanup and another step of cleaning up the upgrade/install.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Matt Mullenweg
9c1d725609
Remove optiongroup_options table.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1597 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:15:46 +00:00
Ryan Boren
40a13971f9
Return post ID from generic_ping(). Bug 229.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1586 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:33:15 +00:00
Ryan Boren
0ef4844be2
More permissive, i18n friendly regexs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1585 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:22:23 +00:00
Ryan Boren
1e61535580
Send Geo Url Header only if use_geo_positions is set. Bug 242. Patch from 2fargon.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1584 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:29:11 +00:00
Matt Mullenweg
6e1c571490
Vanquishing the terror of iso-8859-1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1575 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-30 07:16:40 +00:00
Ryan Boren
b9fc57acbc
404 permalink handler.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 20:59:38 +00:00
Ryan Boren
8da2215076
Template redirection.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1558 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 08:43:01 +00:00
Ryan Boren
046c5333e8
Add is_year(), is_month(), is_day(), is_time().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1556 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:24:48 +00:00
Ryan Boren
a1d2b2eb86
Fix a path info paging bug. Add using_mod_rewrite().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1555 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 23:28:14 +00:00
Ryan Boren
218841c9c2
Search permalinks complete with feed and paging support.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1540 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-18 21:05:34 +00:00
Ryan Boren
01b53facab
Add pagename query var.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1531 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-11 01:55:34 +00:00
Ryan Boren
ec57c1a114
Static pages. Take 1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Matt Mullenweg
a71c9d98f2
Don't need the 1=1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1523 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:54:23 +00:00
Ryan Boren
3dc8c1dabe
Add get_query_var() wrapper for $wp_query->get().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1517 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 16:47:22 +00:00
Ryan Boren
cf3a6080bd
WP Query class.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1516 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 15:31:50 +00:00
Matt Mullenweg
fed106eb57
Define COOKIEHASH and new get_profile function. TODO: re-org function soup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1513 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 01:22:17 +00:00
Ryan Boren
0f49ccc3d3
Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1500 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-29 03:34:08 +00:00
Ryan Boren
fdaf705b04
Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1491 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 02:43:54 +00:00
Ryan Boren
483dfd5388
Write rewrite rules to .htacces if .htaccess is writable. Create .htaccess if it does not exist and the directory is writable. Props to Owen Winkler.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1489 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 23:37:45 +00:00
Matt Mullenweg
4143fbe12c
Whoops!
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1480 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:26:37 +00:00
Matt Mullenweg
30de863dfd
Options system can now transparently handle arrays and objects.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1478 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:14:30 +00:00
Ryan Boren
999d760f6c
Add rewrite_rules_array filter point.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1466 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-15 23:29:41 +00:00
Ryan Boren
dc70d3501d
Handle trackback URIs containing query strings. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000066
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1461 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-13 17:52:47 +00:00
Matt Mullenweg
61060a0668
Fine tune checking.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1450 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 21:54:10 +00:00
Ryan Boren
4c0a18c68e
Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1449 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 15:31:49 +00:00
Ryan Boren
9fcaf1faad
If the new value and old value are the same, do not update the option in update_option().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1446 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-24 01:00:31 +00:00
Ryan Boren
ed96c5e8c9
Add posts_where, the_posts, and query_string filters.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1443 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-20 22:36:45 +00:00
jverber
cb8c5d6273
Fixes for bugs #0000088-90: fixed encoding of special chars.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1438 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 04:23:59 +00:00
Ryan Boren
475e0b9e07
stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
Ryan Boren
2ddf0582d4
Call update_post_caches() from within query_posts() and get_posts(). http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000046
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1428 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-15 03:30:00 +00:00
michelvaldrighi
3b8afed11f
rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1426 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 23:16:03 +00:00
michelvaldrighi
d596c91d88
send the blog's charset in trackbacks' Content-type
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1425 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 22:43:27 +00:00
michelvaldrighi
0b280f5ca2
prevent double ob_gzhandler error
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1424 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 22:42:43 +00:00
Ryan Boren
e95ed7fd5a
Add comment_approved to commentdata. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1413 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:03:59 +00:00
Ryan Boren
9da4053c26
stripslashes() elimination.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1408 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 16:51:39 +00:00
Matt Mullenweg
39541ea299
Gzip cleanup, debugged wacky options problem, some cleanup and reorg. We need to split up functions.php more logically, and kill some of the useless functions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1404 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 10:01:45 +00:00
Matt Mullenweg
6c97530035
Changes to options system and query improvements.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1401 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:42:25 +00:00
Ryan Boren
25b507c295
Add null check to $functions in apply_filters(). http://www.kackreiz.net/wordpress.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1394 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:34:01 +00:00
Ryan Boren
650a1a3a56
Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1389 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 07:21:58 +00:00
Ryan Boren
44d532c6e3
Rewrite and %category% fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1388 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 02:02:27 +00:00
Ryan Boren
640004f5ca
Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1382 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:14:03 +00:00
Ryan Boren
98378de860
Rewrite rule fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1381 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 05:16:44 +00:00
Ryan Boren
b721c5b54f
index.php now handles feeds and trackbacks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 23:35:32 +00:00
Ryan Boren
a807cd1fad
More rewrite rule refactoring. Move the permalink parser into generate_rewrite_rules() and make it handle categories and authors.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1374 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 21:34:00 +00:00
Ryan Boren
94732a5611
Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1373 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:22:25 +00:00
Dougal Campbell
1cb1a9bf7a
Fixed check_comment() to ignore empty lines in moderation_keys.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1366 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 13:53:27 +00:00
Matt Mullenweg
9df4c2452a
New hook for when comment status is changed.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1365 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 03:49:23 +00:00
Ryan Boren
5715b0880d
Make $request global to satisfy the page navigation fxns.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1360 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 01:16:49 +00:00
Matt Mullenweg
717855f007
Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Ryan Boren
97d49f1923
Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1354 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 02:55:39 +00:00
michelvaldrighi
39d6ffcb6b
make xmlrpc_getpostcategory support multiple, comma-separated categories
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1347 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 02:55:10 +00:00
Dougal Campbell
b5cdc60beb
Removed and eradicated redundant duplication. And fixed indentation.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1327 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 13:31:48 +00:00
Matt Mullenweg
4f1c3f477b
Remove unused variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1314 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 05:59:21 +00:00
Ryan Boren
75294d3187
Output default Geo headers if the query has returns one post but the lat and lon are empty.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1283 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 21:59:51 +00:00
michelvaldrighi
3caaec0bc7
merging fixes by Mark Ghosh for service pings
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1279 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 17:31:54 +00:00
Matt Mullenweg
38ce416582
Trackback and feed URIs weren't working when there was no trailing slash on the permalink structure. Thanks Kitty.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1274 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 08:47:01 +00:00
Matt Mullenweg
3d4d4b31f4
Maybe some pinging fixes?
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1256 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 08:13:42 +00:00
Matt Mullenweg
8e9dc5687d
Comment count patch from Kitty. http://poker.mookitty.co.uk/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1252 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 22:36:47 +00:00
Matt Mullenweg
4a58f4f523
Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1244 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 02:52:27 +00:00
Matt Mullenweg
3fedfb5746
E_ALL fixes and cleanups.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1239 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:56:33 +00:00
Matt Mullenweg
3b1de5d605
Some E_ALL fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1235 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 21:29:23 +00:00
Matt Mullenweg
eb6bce2012
Allow ? in trackback URIs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1231 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 08:07:16 +00:00
Matt Mullenweg
1205b3d97c
Some style cleanup. Category base and additional URI options from Jay McCarthy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1227 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 07:34:41 +00:00
Matt Mullenweg
ef353e438a
remove_slashes was broken.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1226 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 06:47:20 +00:00
Matt Mullenweg
f24aeb0975
Don't gzip admin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1220 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-01 08:59:40 +00:00
Matt Mullenweg
8b3f6450f1
Fixes for post screen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1215 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-30 08:56:49 +00:00
Matt Mullenweg
2608fbf8a9
Gremlins in the options machine.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1206 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 20:31:41 +00:00
Matt Mullenweg
20cb408553
Allow WordPress installation URI and blog URI to be different.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1203 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 07:27:03 +00:00
Matt Mullenweg
e03f75a0b8
Cleaning up some includes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1190 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-27 23:17:16 +00:00
Ryan Boren
a443c7fe53
Unify user and author queries on cache_userdata
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1186 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-27 03:59:13 +00:00
Matt Mullenweg
bce00764e8
More query reduction.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1184 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 19:18:25 +00:00
Ryan Boren
21fbaa5bac
Geo enhancements. Allow get_Lat and get_Lon to be called outside of the post loop. Add doGeoUrlHeader as an action on wp_head.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1179 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 02:34:07 +00:00
Matt Mullenweg
4b6149eecf
Timezone fixes, I hope.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1150 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:52:24 +00:00
Matt Mullenweg
17fe19e626
Cleaned up unused options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1148 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:21:19 +00:00
Matt Mullenweg
c84f760347
Bug fix from Josh @ elsewhere.org.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1146 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 20:41:28 +00:00
Ryan Boren
ad23bae523
Mark strings for translation.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1139 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 03:40:04 +00:00
Matt Mullenweg
724b7a7cc8
Trim when updating options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1129 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 21:29:59 +00:00
Matt Mullenweg
e5cbab641a
Removing some old functions. Cleaning up remaining places where we exposed emails. Consolidated ampersand fixing. Fixed pasting from Word.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1121 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 07:41:57 +00:00
Matt Mullenweg
83fc5c942e
A few typos.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1109 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 23:03:09 +00:00
Matt Mullenweg
94f0cf9181
Changed to superglobals, and eliminated $use_cache (since we always do).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Dougal Campbell
986f038d02
Added Alex Stapleton's add_option() code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1084 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-16 21:17:09 +00:00
Matt Mullenweg
6b991e154c
Plugin enhancements.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1081 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-16 02:24:37 +00:00
Matt Mullenweg
1704aeadb2
Removed obsolete functions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1078 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-15 19:05:09 +00:00
Matt Mullenweg
c48dea5a4b
We use generic ping functions now.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1077 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-15 18:57:39 +00:00
Matt Mullenweg
321512417a
check_comment should return false if there are no comment moderation keys.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1056 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-07 00:48:19 +00:00
michelvaldrighi
1dd9932213
tweaked get_lastpostdate and get_lastpostmodified a bit for consistency
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1042 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 18:06:45 +00:00
michelvaldrighi
43f76c323c
forgot to replace this one
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1035 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 01:25:12 +00:00
michelvaldrighi
ce8d502161
changing xmlrpc_encode to phpxmlrpc�_encode, xmlrpc_decode to phpxmlrpc_decode
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1034 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-30 21:25:21 +00:00
Matt Mullenweg
e55eb009fd
Don't try to ping empty sets.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1017 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 23:05:25 +00:00
Matt Mullenweg
d7a86c150c
Debug code left.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1016 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 21:15:55 +00:00
Matt Mullenweg
84635f1a44
Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1012 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 20:18:20 +00:00
Matt Mullenweg
cadc96082b
If more than X links in a comment, moderate that sucker.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1011 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 10:11:58 +00:00
Matt Mullenweg
d064bd4545
Recache options when updating.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1009 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 07:21:00 +00:00
Matt Mullenweg
8198dc5328
Typo fixes to do_action and generic_ping
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1007 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 06:11:28 +00:00
michelvaldrighi
8d907a1768
fixed get_lastpostdate and get_lastpostmodified
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1002 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 02:37:47 +00:00
michelvaldrighi
15a49deda2
since time_difference is now relative to GMT, we should use gmdate instead of date when adding time_difference
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1001 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 02:21:40 +00:00
Matt Mullenweg
f14254c46b
New comment moderation code, for trackbacks and comments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@984 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-21 08:31:33 +00:00
Matt Mullenweg
512c20e9b9
Generic update pinging. Needs review.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@982 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-21 07:36:07 +00:00
Ryan Boren
a95c8313cb
More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@965 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-09 03:55:01 +00:00
Ryan Boren
1bb133cd19
rewrite_rules() tweaks. Use rewrite_rules() in options-permalink.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@963 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-08 05:12:11 +00:00
Matt Mullenweg
e64b754d4a
Migration to get_settings and away from globals.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 19:55:45 +00:00
Matt Mullenweg
59155a15f3
Migration to get_settings
...
git-svn-id: https://develop.svn.wordpress.org/trunk@956 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 06:13:32 +00:00
michelvaldrighi
73817b4edc
added a timezone argument to get�_lastpost*()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@952 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-28 17:51:41 +00:00
Matt Mullenweg
22ed64e4ec
Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@945 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:15:48 +00:00
michelvaldrighi
047441f893
aliasing time_difference to gmt_offset in get_settings(), for great justice
...
git-svn-id: https://develop.svn.wordpress.org/trunk@943 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:14:10 +00:00
michelvaldrighi
d7a322fe18
more GMT fixoragization
...
git-svn-id: https://develop.svn.wordpress.org/trunk@938 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 13:07:11 +00:00
michelvaldrighi
d66e4693e6
just moving these two lines fixes the the_date() issue for GMT
...
git-svn-id: https://develop.svn.wordpress.org/trunk@934 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-25 17:12:30 +00:00
Matt Mullenweg
539371d0b5
current_time now uses GMT.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@931 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-25 00:00:38 +00:00
michelvaldrighi
beffb648e5
fixed touch_time to use user's timezone instead of GMT
...
git-svn-id: https://develop.svn.wordpress.org/trunk@926 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 15:58:26 +00:00
michelvaldrighi
1710312617
added in start_wp: $post->post_date_gmt is the gmt version of post_date
...
git-svn-id: https://develop.svn.wordpress.org/trunk@919 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 05:41:14 +00:00
michelvaldrighi
1ef85f9dd5
big leap to GMT dates
...
git-svn-id: https://develop.svn.wordpress.org/trunk@914 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 03:42:40 +00:00
michelvaldrighi
5d1d2093c2
added get_lastpostmodified()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@908 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-22 03:28:46 +00:00
michelvaldrighi
dff5381edd
removed useless php3 compatibility, fixed a forgotten global
...
git-svn-id: https://develop.svn.wordpress.org/trunk@906 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-21 22:59:40 +00:00
michelvaldrighi
5fffb28972
notification emails are now sent using the blog's charset
...
git-svn-id: https://develop.svn.wordpress.org/trunk@905 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-21 22:53:05 +00:00
Matt Mullenweg
c3be4eeb68
New get_posts function, for multiple WP loops.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@902 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-21 14:10:07 +00:00
michelvaldrighi
8caf9379a9
user_pass_ok now uses md5()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@892 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-19 22:42:47 +00:00
Matt Mullenweg
d6a30cc0e8
Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@885 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 04:56:29 +00:00
Matt Mullenweg
e7813d6d2b
New *_action functions, removed alert_error.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@883 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 03:00:20 +00:00
Ryan Boren
0081ac69aa
Support PATH_INFO permalinks. Move rewrite rule generation to rewrite_rules().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@881 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 02:50:57 +00:00
Matt Mullenweg
239532ea4e
Edit post slugs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@870 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-13 11:21:30 +00:00
Matt Mullenweg
86072d56df
New function, remove_filter. Added priorities to filters.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@853 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 11:58:49 +00:00
Matt Mullenweg
e2efe09044
Nested category list from Philip Taron.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@848 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 08:55:29 +00:00
Matt Mullenweg
84886ddc38
Breaking out some of the formatting functions into a different file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@846 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 06:57:02 +00:00
michelvaldrighi
61c0ce4048
we should never use $RESUEST_URI, but access it with $_SERVER
...
git-svn-id: https://develop.svn.wordpress.org/trunk@845 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-08 16:10:28 +00:00
Matt Mullenweg
94054cd0ee
Move hack file include.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@844 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-07 22:52:20 +00:00
Ryan Boren
6ebd3ca6c0
Clean feed and trackback URLs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 20:55:50 +00:00
Alex King
bf326d4a00
added single quotes around values in SQL statements
...
git-svn-id: https://develop.svn.wordpress.org/trunk@810 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-30 02:39:01 +00:00
Matt Mullenweg
65ead28b02
Fix for mpts markup prob.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@779 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-15 11:01:21 +00:00
Matt Mullenweg
8ac0a3a2ca
Make entity catch in sanitize_title ungreedy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@775 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-14 05:46:53 +00:00
Matt Mullenweg
07604037d0
fix for multiple hypens.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@774 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-14 05:40:57 +00:00
Alex King
1afe017eee
fixed hilite whitespace checking
...
git-svn-id: https://develop.svn.wordpress.org/trunk@770 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 23:24:51 +00:00
Matt Mullenweg
6a05550bba
Fix from alex:
...
http://wordpress.org/support/10/1636#post-11
git-svn-id: https://develop.svn.wordpress.org/trunk@755 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 09:33:02 +00:00
Matt Mullenweg
bb4afb9042
Search hilite changes from Ryan Boren
...
git-svn-id: https://develop.svn.wordpress.org/trunk@754 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 00:59:21 +00:00
Matt Mullenweg
91a87d821a
Google hilite.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@747 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-09 11:16:10 +00:00
Matt Mullenweg
81ca149ad0
Change how get_settings errors are returned.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@708 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-03 22:20:25 +00:00
Matt Mullenweg
b1923c0ccc
Use post_status in get_lastpostdate
...
git-svn-id: https://develop.svn.wordpress.org/trunk@686 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-02 19:27:21 +00:00
Alex King
192fc9544f
suppressing Notice messages and moving the use_cache setting higher in blog-header so that it actually gets used when getting settings
...
git-svn-id: https://develop.svn.wordpress.org/trunk@677 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-01 21:12:22 +00:00
Matt Mullenweg
c8fd26d21a
Author description field.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@674 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-01 00:55:31 +00:00
Matt Mullenweg
88d4ebbac4
Installation cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@672 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-31 23:51:41 +00:00
Matt Mullenweg
0c44a67568
New title code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@652 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-25 00:01:31 +00:00
Matt Mullenweg
a81f4116dd
Add kses HTML cleaning to comment functions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@650 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-24 20:43:04 +00:00
Matt Mullenweg
d179dd97d9
Moved gzip stuff into options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@646 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 21:31:09 +00:00
Dougal Campbell
0937ec283d
Fixed %post_id% token handling. Fixed pingback link detection.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@640 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 23:00:45 +00:00
Matt Mullenweg
afa0ffeae3
Update sending pingbacks to use new URL structure. Need to update to receive like that.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@638 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 03:26:31 +00:00
Matt Mullenweg
7d72c03fb8
Trackback on edit done.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@636 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 02:46:40 +00:00
Matt Mullenweg
ccc413011a
Renaming Reloaded.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Mike Little
acf936810f
Some more b2->wp renaming
...
git-svn-id: https://develop.svn.wordpress.org/trunk@617 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-16 01:58:39 +00:00
Matt Mullenweg
40fc216aa7
Hacks file option and include.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@614 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-15 09:55:47 +00:00
Matt Mullenweg
57afaea33d
Update autop to include th and divs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@609 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-13 17:47:28 +00:00
Matt Mullenweg
c5d9fd8e24
Missing quote.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@605 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 18:44:05 +00:00
Matt Mullenweg
83052c7203
Fix for permalink in comment. Removed old sample config.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@603 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 18:10:43 +00:00
Matt Mullenweg
9c6a0a9403
The great renaming.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00