ryan
|
4b02c602d1
|
Move _() to compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 19:45:49 +00:00 |
ryan
|
e673d82afb
|
Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 19:44:36 +00:00 |
ryan
|
acf8588752
|
Fix bug in add_query_arg when url like http://example.com (no trailing slash). Props skel to the ac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 03:40:28 +00:00 |
ryan
|
3cf77a3b19
|
wp_check_filetype() from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-21 23:17:19 +00:00 |
ryan
|
6d7717e159
|
Move plugin API to plugin.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-20 02:03:24 +00:00 |
matt
|
b9d8d2e9fd
|
Don't hide blog when option is blank!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-17 23:38:45 +00:00 |
ryan
|
c93efa866e
|
Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-11 06:43:54 +00:00 |
ryan
|
5e7c850484
|
User management improvements from Mark Jaquith and David House. #2793
git-svn-id: http://svn.automattic.com/wordpress/trunk@3857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-08 18:36:05 +00:00 |
ryan
|
f124c51107
|
Make replacement strings backref safe without using \${1} so as to preserve php <= 4.2 compatible. Props mdawaffe. fixes #2774
git-svn-id: http://svn.automattic.com/wordpress/trunk@3855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-08 03:17:01 +00:00 |
ryan
|
c56e62f5c1
|
Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-08 02:22:16 +00:00 |
ryan
|
3c8ed766e1
|
Reworg post/page/attachment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-07 23:17:59 +00:00 |
ryan
|
df5c967953
|
Reorg category functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-04 21:36:52 +00:00 |
ryan
|
98a5598483
|
Undef var fix from Denis-de-Bernardy. fixes #2780
git-svn-id: http://svn.automattic.com/wordpress/trunk@3842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-04 21:07:41 +00:00 |
ryan
|
f072c902db
|
Enclosure redirect fix from aegrumet. fixes #2551
git-svn-id: http://svn.automattic.com/wordpress/trunk@3793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-05-26 17:25:48 +00:00 |
ryan
|
419f125cb7
|
Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-05-22 22:06:06 +00:00 |
ryan
|
89fe7ce543
|
nonce functions. #2678
git-svn-id: http://svn.automattic.com/wordpress/trunk@3758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-05-02 22:08:34 +00:00 |
ryan
|
bb0efd050b
|
Move htmlentities2 to functions-formatting.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-19 03:03:27 +00:00 |
ryan
|
78e9a489f2
|
Remove comment_count_cache. fixes #2670
git-svn-id: http://svn.automattic.com/wordpress/trunk@3716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-19 02:53:02 +00:00 |
ryan
|
6027cfa946
|
Reorg comment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-19 02:32:12 +00:00 |
ryan
|
e2baa1d0ab
|
Move url_to_postid() to rewrite.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-18 04:47:26 +00:00 |
ryan
|
40b2e610cf
|
Move theme functions to theme.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-18 04:44:33 +00:00 |
ryan
|
a8eac8ee6d
|
Move page walkers to classes. Props David House. fixes #2593
git-svn-id: http://svn.automattic.com/wordpress/trunk@3704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-13 04:40:48 +00:00 |
matt
|
4390af2a82
|
walk_tree broken, fixes #2608
git-svn-id: http://svn.automattic.com/wordpress/trunk@3701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-09 22:08:18 +00:00 |
ryan
|
3d2347a655
|
WP_Locale. Props Sewar. fixes #2568
git-svn-id: http://svn.automattic.com/wordpress/trunk@3676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-02 00:20:11 +00:00 |
ryan
|
8a751c591d
|
Pluggable install functions. fixes #2616
git-svn-id: http://svn.automattic.com/wordpress/trunk@3670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-31 08:07:39 +00:00 |
ryan
|
078c537718
|
Return after delete so we don't re-add an empty field.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-30 23:15:35 +00:00 |
ryan
|
73ef659763
|
Future post pinging and cron fixups from masquerade. fixes #2469
git-svn-id: http://svn.automattic.com/wordpress/trunk@3663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-30 07:36:54 +00:00 |
ryan
|
ee60500f1f
|
update_option() action fix. fixes #2553
git-svn-id: http://svn.automattic.com/wordpress/trunk@3659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-25 21:46:53 +00:00 |
ryan
|
3c61e4b10d
|
Add meta_key and meta_value options to get_posts() and get_pages(). Props MichaelH. fixes #2563
git-svn-id: http://svn.automattic.com/wordpress/trunk@3656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-21 22:46:38 +00:00 |
ryan
|
4ce7df114d
|
Add include param to get_posts(), get_categories(), get_pages(), and get_bookmarks(). Props MichaelH. fixes #2562
git-svn-id: http://svn.automattic.com/wordpress/trunk@3655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-21 04:26:50 +00:00 |
ryan
|
b5b8986bca
|
Fix backreferences in mysql2date(). Props tenpura. fixes #2564
git-svn-id: http://svn.automattic.com/wordpress/trunk@3654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-21 04:19:52 +00:00 |
ryan
|
667597592c
|
Comment feed fixes from David House. fixes #2570
git-svn-id: http://svn.automattic.com/wordpress/trunk@3644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-17 01:16:22 +00:00 |
ryan
|
9303053d39
|
Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-13 01:44:32 +00:00 |
ryan
|
6970a75e94
|
Rewrite API additions and improvements from David House. #2433
git-svn-id: http://svn.automattic.com/wordpress/trunk@3638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-12 22:57:00 +00:00 |
ryan
|
fb1e531077
|
Cron improvements from masquerade. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-07 21:43:59 +00:00 |
ryan
|
8d5089e9d1
|
Don't add UTC offset again when formatting 'U' in mysql2date. Props masquerade. fixes #2537
git-svn-id: http://svn.automattic.com/wordpress/trunk@3633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-07 21:24:49 +00:00 |
ryan
|
509ffdb9a7
|
Isolate backref. fixes #2521
git-svn-id: http://svn.automattic.com/wordpress/trunk@3610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-04 22:41:16 +00:00 |
ryan
|
ca92bb4311
|
Move deprecated functions to deprecated.php. #2520
git-svn-id: http://svn.automattic.com/wordpress/trunk@3589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-02 03:27:48 +00:00 |
ryan
|
459c030ef3
|
wp_list_cats() rework. Add walk_tree() and walk_category_tree(). Use get_categories() for query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-01 13:30:19 +00:00 |
ryan
|
5fb29643cb
|
walk_page_tree() fix from Mark J. fixes #2516
git-svn-id: http://svn.automattic.com/wordpress/trunk@3579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-28 21:02:10 +00:00 |
ryan
|
0c110bc342
|
Fix page walk bug. fixes #2516
git-svn-id: http://svn.automattic.com/wordpress/trunk@3578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-28 11:19:04 +00:00 |
ryan
|
6eadde74ac
|
Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-28 08:00:39 +00:00 |
ryan
|
803c970527
|
wp_dropdown_pages() and walk_page_tree()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-28 03:57:08 +00:00 |
ryan
|
e9c75f4bd2
|
Bookmark/link rework. #2499
git-svn-id: http://svn.automattic.com/wordpress/trunk@3570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-27 04:57:30 +00:00 |
ryan
|
5322fc2faa
|
current user cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-22 19:08:55 +00:00 |
ryan
|
f517a9c06c
|
Use current_time() instead of time(). fixes #2489
git-svn-id: http://svn.automattic.com/wordpress/trunk@3559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-20 17:15:13 +00:00 |
ryan
|
605d4a617a
|
Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: http://svn.automattic.com/wordpress/trunk@3558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-20 17:13:06 +00:00 |
ryan
|
941ec0ff97
|
Blog privacy. fixes #2480
git-svn-id: http://svn.automattic.com/wordpress/trunk@3548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-18 07:40:43 +00:00 |
ryan
|
60d01b1f96
|
Use post_type not post_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-15 07:16:58 +00:00 |
ryan
|
a9fca43a85
|
get_page_by_path() tweak.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-13 07:04:14 +00:00 |
ryan
|
373424383e
|
wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: http://svn.automattic.com/wordpress/trunk@3522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-13 05:30:44 +00:00 |
ryan
|
dd202ce1f9
|
Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-12 07:53:23 +00:00 |
ryan
|
a5fc1e9ebe
|
Post status = future. #2426
git-svn-id: http://svn.automattic.com/wordpress/trunk@3514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-12 07:41:56 +00:00 |
ryan
|
9f50b562b5
|
Pseudo-cron first cut. Props Owen. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-11 02:24:47 +00:00 |
ryan
|
67968a6127
|
get_page_by_path. Some page uri cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-10 00:54:16 +00:00 |
ryan
|
f812294867
|
Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-09 10:03:48 +00:00 |
ryan
|
325a641cac
|
Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-29 19:48:09 +00:00 |
ryan
|
cd678d9a32
|
Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-29 00:21:48 +00:00 |
ryan
|
5c166af378
|
CGI ping fixes. fixes #2197
git-svn-id: http://svn.automattic.com/wordpress/trunk@3491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-28 18:41:19 +00:00 |
matt
|
dd14d47290
|
Caching typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-28 06:19:11 +00:00 |
ryan
|
a191df007e
|
Make sure we have an array. Props David House. fixes #2344
git-svn-id: http://svn.automattic.com/wordpress/trunk@3489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-27 19:22:55 +00:00 |
ryan
|
10c1b81d0a
|
Use double quotes. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-26 02:33:14 +00:00 |
ryan
|
f87324b259
|
update_option_* actions. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-25 06:46:21 +00:00 |
ryan
|
6a4f2fbec8
|
add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: http://svn.automattic.com/wordpress/trunk@3474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-23 23:42:25 +00:00 |
ryan
|
b708753730
|
Don't use glob. Props David House. fixes #2312
git-svn-id: http://svn.automattic.com/wordpress/trunk@3468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-20 21:09:19 +00:00 |
ryan
|
30be2a8f69
|
8 not 7. fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-19 00:21:42 +00:00 |
ryan
|
6ff524425a
|
Fall back to default theme if current theme is deleted. Props David House. fixes #2305
git-svn-id: http://svn.automattic.com/wordpress/trunk@3459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-18 19:38:29 +00:00 |
matt
|
90b3004603
|
Better HTTPS support - fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-16 23:04:09 +00:00 |
ryan
|
88e32d34fc
|
Add upload folder options. Props David House. fixes #2206
git-svn-id: http://svn.automattic.com/wordpress/trunk@3413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-09 22:24:57 +00:00 |
ryan
|
02089fb5f2
|
Fix get_post_meta() array return. fixes #2183
git-svn-id: http://svn.automattic.com/wordpress/trunk@3410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-06 01:30:13 +00:00 |
ryan
|
778923ceb1
|
Don't cache posts when importing. fixes #2224
git-svn-id: http://svn.automattic.com/wordpress/trunk@3404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-05 05:34:28 +00:00 |
ryan
|
ca096fabad
|
Make sure we have a valid timestamp. fixes #2148
git-svn-id: http://svn.automattic.com/wordpress/trunk@3359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-25 21:42:07 +00:00 |
ryan
|
65223a924f
|
Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-22 05:18:18 +00:00 |
ryan
|
a626f32296
|
Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: http://svn.automattic.com/wordpress/trunk@3330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-19 19:14:22 +00:00 |
ryan
|
4e79fa55fe
|
get_children()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-16 09:50:10 +00:00 |
ryan
|
30c70223b3
|
Compression tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-16 08:04:55 +00:00 |
ryan
|
97cd7143da
|
New asyncronous ping method. fixes #2048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-16 03:04:33 +00:00 |
ryan
|
ab9b8f8b6a
|
Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 19:19:56 +00:00 |
ryan
|
f2d7c06c6d
|
Add optional user_id arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 03:46:08 +00:00 |
ryan
|
931ee9ff74
|
get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: http://svn.automattic.com/wordpress/trunk@3289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-11 18:01:19 +00:00 |
ryan
|
e6bcf0632d
|
Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: http://svn.automattic.com/wordpress/trunk@3286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-10 23:29:39 +00:00 |
ryan
|
9de108b9bf
|
Make sure user_login keyed caches are cleared upon change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-01 17:38:37 +00:00 |
ryan
|
d9c7e8ff0d
|
Add delete_usermeta(). fixes #1992
git-svn-id: http://svn.automattic.com/wordpress/trunk@3247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-30 19:19:47 +00:00 |
ryan
|
5211ae3da6
|
Unserialize fix. fixes #1988
git-svn-id: http://svn.automattic.com/wordpress/trunk@3239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-30 00:25:05 +00:00 |
matt
|
0ff8f49cd5
|
Part of a healthy balanced breakfast - fixes #1980
git-svn-id: http://svn.automattic.com/wordpress/trunk@3234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-29 07:58:50 +00:00 |
ryan
|
efce6979b1
|
Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: http://svn.automattic.com/wordpress/trunk@3229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-29 01:43:32 +00:00 |
matt
|
2235469b60
|
No need to do those big fancy joins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-28 09:44:56 +00:00 |
matt
|
7c4d4cbec8
|
Another query bites the dust!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-28 09:37:17 +00:00 |
matt
|
dced5779ea
|
Don't create empty umeta values.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-28 08:48:18 +00:00 |
ryan
|
73dde55507
|
Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: http://svn.automattic.com/wordpress/trunk@3190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-22 00:36:36 +00:00 |
ryan
|
c1095d12dd
|
Don't return undefined variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-18 02:15:08 +00:00 |
ryan
|
90004a8ae6
|
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: http://svn.automattic.com/wordpress/trunk@3139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-17 23:01:28 +00:00 |
ryan
|
5fdc8b56da
|
Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: http://svn.automattic.com/wordpress/trunk@3115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 23:48:12 +00:00 |
ryan
|
25b644e8ce
|
Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: http://svn.automattic.com/wordpress/trunk@3104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 06:29:36 +00:00 |
ryan
|
005dce9352
|
Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 03:27:22 +00:00 |
ryan
|
b6f44dc532
|
Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 02:54:23 +00:00 |
ryan
|
f83326f125
|
Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-15 22:55:24 +00:00 |
matt
|
4f0edc7878
|
Reverse that cleanup, there is reason in the madness ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@3071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-14 09:08:27 +00:00 |
matt
|
f1951d856a
|
Small cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-14 08:51:04 +00:00 |
ryan
|
f6fd138e51
|
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: http://svn.automattic.com/wordpress/trunk@3067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-14 06:51:09 +00:00 |
ryan
|
3f20184aa3
|
Cleanup options save.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-12 09:36:20 +00:00 |
ryan
|
0c2c997bab
|
Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: http://svn.automattic.com/wordpress/trunk@3052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-11 02:24:09 +00:00 |
matt
|
41775561d5
|
Add HTTPS support, fixes #1372
git-svn-id: http://svn.automattic.com/wordpress/trunk@3041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-11 01:21:28 +00:00 |
ryan
|
03567e7d88
|
Return false if we don't find the option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-10 20:59:20 +00:00 |
ryan
|
d2fec03493
|
Fix commit gone wild.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-09 21:30:40 +00:00 |
matt
|
dace166de0
|
Missing semi, also fixes #1599
git-svn-id: http://svn.automattic.com/wordpress/trunk@3025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-09 21:01:24 +00:00 |
matt
|
9ada34a5ae
|
Should fix #1599 for IIS blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-09 20:58:58 +00:00 |
ryan
|
8e154dc493
|
Options fixes from donncha. fixes #1859
git-svn-id: http://svn.automattic.com/wordpress/trunk@3023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-09 18:15:55 +00:00 |
ryan
|
1a76958310
|
Add LIMIT 1 to some of our gets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-07 23:09:09 +00:00 |
ryan
|
85723b8944
|
Object caching, round one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-07 21:56:03 +00:00 |
matt
|
725cc84302
|
Simplify status_header
git-svn-id: http://svn.automattic.com/wordpress/trunk@3005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-07 09:05:47 +00:00 |
ryan
|
e19c9ab70c
|
Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: http://svn.automattic.com/wordpress/trunk@3001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-06 07:04:46 +00:00 |
matt
|
ba2ba0e252
|
Even better, array functions are fun.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-29 23:28:05 +00:00 |
matt
|
2718217d3b
|
Some optimizations in queries and code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-29 23:23:17 +00:00 |
ryan
|
158b6eafd3
|
Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: http://svn.automattic.com/wordpress/trunk@2968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-28 01:14:57 +00:00 |
ryan
|
45fc6c1664
|
Image fu from Andy. fixes #1776
git-svn-id: http://svn.automattic.com/wordpress/trunk@2958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-20 20:48:32 +00:00 |
matt
|
8c0dd12af3
|
Fix for header redirects - Hat tip: http://www.davidmeade.com/post/post.php?topicID=579
git-svn-id: http://svn.automattic.com/wordpress/trunk@2956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-19 06:09:23 +00:00 |
matt
|
65f1a4df26
|
Awesome fix from Dougal about ping timeout problems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-10 16:36:54 +00:00 |
ryan
|
e1140b014d
|
Code cleanups from markjaquith. fixes #1743
git-svn-id: http://svn.automattic.com/wordpress/trunk@2941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-10 09:25:38 +00:00 |
ryan
|
4ffa89daa7
|
Send User-Agent when confirming pingbacks. Props error. fixes #1713
git-svn-id: http://svn.automattic.com/wordpress/trunk@2933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-10-05 23:29:56 +00:00 |
matt
|
eb89133eb6
|
For apos in links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-27 03:34:37 +00:00 |
ryan
|
cc3a803930
|
Array and object support for post meta from skeltoac. fixes #1699
git-svn-id: http://svn.automattic.com/wordpress/trunk@2907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-23 23:22:51 +00:00 |
matt
|
195206fbb4
|
Fixes #1681 and the annoying empty meta problem.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-16 17:27:09 +00:00 |
ryan
|
8552177520
|
Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
git-svn-id: http://svn.automattic.com/wordpress/trunk@2873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-14 00:34:04 +00:00 |
ryan
|
5ba66d6c04
|
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: http://svn.automattic.com/wordpress/trunk@2872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-14 00:03:02 +00:00 |
ryan
|
0c5eda6c31
|
Check the option cache before querying. Props westi. fixes #1499
git-svn-id: http://svn.automattic.com/wordpress/trunk@2856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-08 21:08:48 +00:00 |
ryan
|
2844d3a71c
|
Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
git-svn-id: http://svn.automattic.com/wordpress/trunk@2833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-02 16:56:28 +00:00 |
ryan
|
a5dc15bfb4
|
url_to_postid() typo fix. Props markjaquith. fixes #1612
git-svn-id: http://svn.automattic.com/wordpress/trunk@2822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-30 04:07:12 +00:00 |
matt
|
317499b911
|
Don't hardcode file type, fixes #1553
git-svn-id: http://svn.automattic.com/wordpress/trunk@2805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-23 07:48:23 +00:00 |
matt
|
4b2090d592
|
Disabled in safe mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-18 21:21:24 +00:00 |
matt
|
d9bb04b5a0
|
Adding personal options
git-svn-id: http://svn.automattic.com/wordpress/trunk@2760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-07 19:23:41 +00:00 |
matt
|
4022b5c2be
|
Making the presentation page a little more intuitive
git-svn-id: http://svn.automattic.com/wordpress/trunk@2757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-07 10:11:30 +00:00 |
matt
|
a8e34ba8e9
|
Fixes #1370
git-svn-id: http://svn.automattic.com/wordpress/trunk@2740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-03 00:24:13 +00:00 |
matt
|
bbd789660a
|
Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-23 06:29:46 +00:00 |
ryan
|
9bca3f5db6
|
Refactor level to cap upgrade code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-19 14:24:06 +00:00 |
matt
|
6a30e8033f
|
More cookie catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-18 20:12:48 +00:00 |
ryan
|
8226fb2239
|
get_usermeta() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-17 19:55:19 +00:00 |
ryan
|
5177196b10
|
Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
git-svn-id: http://svn.automattic.com/wordpress/trunk@2717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-17 18:41:11 +00:00 |
ryan
|
0282a8fc0c
|
in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: http://svn.automattic.com/wordpress/trunk@2716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-17 16:58:13 +00:00 |
matt
|
253221dbb2
|
Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-16 21:13:14 +00:00 |
ryan
|
7af36168cb
|
Roles update + UI from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-12 15:53:13 +00:00 |
ryan
|
a6ade4a767
|
Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-11 22:39:50 +00:00 |
matt
|
13f492ab75
|
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: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-09 01:27:46 +00:00 |
ryan
|
91efba11ad
|
Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-05 20:47:22 +00:00 |
ryan
|
cbce881c2b
|
register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-04 21:53:26 +00:00 |
matt
|
210192f822
|
We don't think these are needed...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-29 00:44:02 +00:00 |
ryan
|
bec4057356
|
url_to_postid() fixes from Mark Jaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-27 22:02:57 +00:00 |
ryan
|
e2e3204fa0
|
Quote IDs in get queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-26 20:44:58 +00:00 |
ryan
|
8b55719431
|
Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-26 19:55:12 +00:00 |
ryan
|
ee2a1df296
|
Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: http://svn.automattic.com/wordpress/trunk@2657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-20 02:03:35 +00:00 |