Commit Graph

3718 Commits

Author SHA1 Message Date
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
bcf84b6e6d Add Publish button for pages. fixes #2451
git-svn-id: https://develop.svn.wordpress.org/trunk@3550 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-19 05:57:54 +00:00
Ryan Boren
ae48463e5d Add alpha sort to wp_get_archives(). Props skippy. fixes #247
git-svn-id: https://develop.svn.wordpress.org/trunk@3549 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-19 02:07:13 +00:00
Ryan Boren
28961b459c Blog privacy. fixes #2480
git-svn-id: https://develop.svn.wordpress.org/trunk@3548 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 07:40:43 +00:00
Ryan Boren
f2979042e5 Honor comment_status and ping_status when writing a new post. Props Mark Jaquith. fixes #2445
git-svn-id: https://develop.svn.wordpress.org/trunk@3547 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 00:16:41 +00:00
Ryan Boren
f598aff5b6 greymatter importer from bungeman. fixes #2464
git-svn-id: https://develop.svn.wordpress.org/trunk@3546 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 00:06:33 +00:00
Ryan Boren
d5629b2d53 Use wp_specialchars() to avoid double encoding. Props zonble. fixes #2446
git-svn-id: https://develop.svn.wordpress.org/trunk@3544 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 02:05:40 +00:00
Ryan Boren
e7c7898311 Remove extraneous paren. fixes #2448
git-svn-id: https://develop.svn.wordpress.org/trunk@3543 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:34:37 +00:00
Ryan Boren
bac53166c4 clean comment author url. fixes #2454
git-svn-id: https://develop.svn.wordpress.org/trunk@3542 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:31:53 +00:00
Ryan Boren
e5c3552381 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: https://develop.svn.wordpress.org/trunk@3541 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:29:33 +00:00
Ryan Boren
b8eba14ffa Remove useless lines. Props majelbstoat. fixes #2455
git-svn-id: https://develop.svn.wordpress.org/trunk@3540 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:25:10 +00:00
Ryan Boren
5e2a95ac8e Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457
git-svn-id: https://develop.svn.wordpress.org/trunk@3539 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:09:40 +00:00
Ryan Boren
7ba0ac70b4 get_permalink() performance improvement from arnee. fixes #2463
git-svn-id: https://develop.svn.wordpress.org/trunk@3538 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:04:20 +00:00
Ryan Boren
cb87fb3b7f Make sure user_id is set before inserting. Props bungeman. fixes #2459
git-svn-id: https://develop.svn.wordpress.org/trunk@3537 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:00:18 +00:00
Ryan Boren
99cf0b7b90 Dynamic menu reparenting. fixes #2257
git-svn-id: https://develop.svn.wordpress.org/trunk@3536 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 00:57:10 +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
a5e4c0a7d9 schedule future posts with cron when upgrading.
git-svn-id: https://develop.svn.wordpress.org/trunk@3534 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:48:44 +00:00
Ryan Boren
c28dad5a86 Correct inverted logic.
git-svn-id: https://develop.svn.wordpress.org/trunk@3533 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:37:28 +00:00
Ryan Boren
fc5b064604 Bump db ver check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3532 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:25:36 +00:00
Ryan Boren
6add46af14 Give future posts a post_status of future when upgrading.
git-svn-id: https://develop.svn.wordpress.org/trunk@3531 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:22:22 +00:00
Ryan Boren
14e0e16c39 dotclear importer fix from thomasq. fixes #2430
git-svn-id: https://develop.svn.wordpress.org/trunk@3530 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 22:32:25 +00:00
Ryan Boren
4fc77411ee Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: https://develop.svn.wordpress.org/trunk@3529 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 20:09:13 +00:00
Ryan Boren
b8dd301bf4 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: https://develop.svn.wordpress.org/trunk@3528 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 06:23:03 +00:00
Ryan Boren
0fff955751 Don't walk rewrite structure when generating comment feed rewrite rules. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379
git-svn-id: https://develop.svn.wordpress.org/trunk@3527 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:30:14 +00:00
Ryan Boren
143d456a7f If requesting post caps for a page, redirect to equivalent page caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@3526 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:10:51 +00:00
Ryan Boren
7bb0afb636 Fix timestamps for future posts. fixes #2439
git-svn-id: https://develop.svn.wordpress.org/trunk@3525 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 00:12:09 +00:00
Ryan Boren
6b1c03c07e Move generic_ping() to execute-pings.php. fixes #2440
git-svn-id: https://develop.svn.wordpress.org/trunk@3524 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 23:14:59 +00:00
Ryan Boren
03f0909476 get_page_by_path() tweak.
git-svn-id: https://develop.svn.wordpress.org/trunk@3523 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 07:04:14 +00:00
Ryan Boren
953064226a wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: https://develop.svn.wordpress.org/trunk@3522 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 05:30:44 +00:00
Ryan Boren
d5c2312e67 Trackback only for published posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@3521 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 09:07:37 +00:00
Ryan Boren
609f602104 Category count fix from MichaelH. fixes #2212
git-svn-id: https://develop.svn.wordpress.org/trunk@3520 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:22:42 +00:00
Ryan Boren
0fc597ee9e User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: https://develop.svn.wordpress.org/trunk@3519 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:14:10 +00:00
Ryan Boren
c4def34475 i18n fix for next month links from bob58. fixes #2399
git-svn-id: https://develop.svn.wordpress.org/trunk@3518 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:00:54 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
48dc264515 Hide add cat if user does not have mange_categories cap. Props Mark Jaquith. fixes #2432
git-svn-id: https://develop.svn.wordpress.org/trunk@3516 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:46:34 +00:00
Ryan Boren
1f6ae7587d dylsexia
git-svn-id: https://develop.svn.wordpress.org/trunk@3515 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:43:15 +00:00
Ryan Boren
f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren
bde96bc025 Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: https://develop.svn.wordpress.org/trunk@3513 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 09:56:02 +00:00
Ryan Boren
cf622439d5 Pseudo-cron first cut. Props Owen. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3512 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 02:24:47 +00:00
Ryan Boren
91421a7124 get_page_by_path. Some page uri cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3511 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-10 00:54:16 +00:00
Ryan Boren
f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Matt Mullenweg
db5355013c Nice new hook, fixes #2398
git-svn-id: https://develop.svn.wordpress.org/trunk@3509 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 09:03:13 +00:00
Matt Mullenweg
3388fce967 Exclude cats like we said we would, davidhouse. Fixes #2215 and fixes #2187
git-svn-id: https://develop.svn.wordpress.org/trunk@3508 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:26:30 +00:00
Matt Mullenweg
b17e0b1ef3 Better email error checking, fixes #2046
git-svn-id: https://develop.svn.wordpress.org/trunk@3507 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:11:26 +00:00
Matt Mullenweg
0628227ea0 Don't falsely marketh as spam. Fixes #1560
git-svn-id: https://develop.svn.wordpress.org/trunk@3506 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 07:25:25 +00:00
Ryan Boren
6cb2813239 Use current_user_can
git-svn-id: https://develop.svn.wordpress.org/trunk@3505 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-07 01:06:04 +00:00
Ryan Boren
8a9ce54916 Disable cache by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@3504 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-04 03:21:09 +00:00
Matt Mullenweg
753a2c01ad Bump!
git-svn-id: https://develop.svn.wordpress.org/trunk@3502 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-31 20:05:42 +00:00
Ryan Boren
2f46d64518 Remove execute bit from uploaded files. #2190
git-svn-id: https://develop.svn.wordpress.org/trunk@3501 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-30 22:03:06 +00:00