Commit Graph

163 Commits

Author SHA1 Message Date
Ryan Boren
7fd1d0c06d Resurrect admin-functions.php and upgrade-functions.php for back compat. fixes #4956
git-svn-id: https://develop.svn.wordpress.org/trunk@6090 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:36:04 +00:00
Ryan Boren
09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00
Ryan Boren
d8f42243a9 Category/tag to taxonomy upgrade. First cut.
git-svn-id: https://develop.svn.wordpress.org/trunk@5539 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 22:40:24 +00:00
Ryan Boren
31e7b5be08 Cast to array to avoid warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@5432 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 16:32:11 +00:00
rob1n
8653896af0 Use WP_HOME and WP_SITEURL in upgrading. Props filosofo. fixes #4211
git-svn-id: https://develop.svn.wordpress.org/trunk@5394 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-05 00:17:05 +00:00
rob1n
e1863b22cc Check basename(). see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5345 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-29 21:00:54 +00:00
rob1n
c12eb84474 Automattically deactivate Automattic Widgets, if activated. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5344 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-29 20:53:29 +00:00
rob1n
215dca2430 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5303 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:27:20 +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
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
f8241d6c37 Drop linkcategories table for those upgrading from previous alphas and betas.
git-svn-id: https://develop.svn.wordpress.org/trunk@4772 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 20:33:11 +00:00
Mark Jaquith
f9f244b2d1 Make sure the server has MySQL 4.0.0 before attempting upgrade or install. fixes #3615
git-svn-id: https://develop.svn.wordpress.org/trunk@4771 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 09:28:02 +00:00
Ryan Boren
0f2b6b07b9 Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: https://develop.svn.wordpress.org/trunk@4738 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 01:54:50 +00:00
Ryan Boren
32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Mark Jaquith
be11dbe438 Remember old post slugs and automatically redirect to the new slug. fixes #3202
git-svn-id: https://develop.svn.wordpress.org/trunk@4556 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 08:48:56 +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
Mark Jaquith
765a3175bd Less run-on first comment. fixes #3196
git-svn-id: https://develop.svn.wordpress.org/trunk@4366 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-10 04:48:49 +00:00
Ryan Boren
f03d22ae89 Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: https://develop.svn.wordpress.org/trunk@4362 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-08 17:50:21 +00:00
Ryan Boren
dfc28e3aed Quote weblog title in email From header. Props graeme and Nazgul. fixes #1716
git-svn-id: https://develop.svn.wordpress.org/trunk@4286 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:03:41 +00:00
Ryan Boren
520e4974cc Grammar fix. Props Nazgul. fixes #3196
git-svn-id: https://develop.svn.wordpress.org/trunk@4282 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 02:02:22 +00:00
Ryan Boren
96bf8e3ce1 Oopsie.
git-svn-id: https://develop.svn.wordpress.org/trunk@3877 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 08:56:53 +00:00
Ryan Boren
0a634ed9fc Update Donncha's link.
git-svn-id: https://develop.svn.wordpress.org/trunk@3876 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 08:56:12 +00:00
Ryan Boren
4a2d5de79f Use the correct filename. Props Mark Jaquith. fixes #2815
git-svn-id: https://develop.svn.wordpress.org/trunk@3863 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 17:55:18 +00:00
Ryan Boren
f7e56ee9b3 Add more fine grained user management caps. Part 1. #2775
git-svn-id: https://develop.svn.wordpress.org/trunk@3846 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 16:52:21 +00:00
Ryan Boren
8f12196bd1 Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: https://develop.svn.wordpress.org/trunk@3772 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-11 23:13:35 +00:00
Ryan Boren
9c103c8d64 Make sure we have links to iterate over. fixes #2675
git-svn-id: https://develop.svn.wordpress.org/trunk@3734 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-21 05:00:58 +00:00
Ryan Boren
7a732e3f20 Accommodate multi-blog setups that share user tables by checking to see if the admin user already exists during install.
git-svn-id: https://develop.svn.wordpress.org/trunk@3692 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 02:26:02 +00:00
Ryan Boren
4bbee1b73c Some optimization of the post query. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@3678 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:33:10 +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
91fbcd183e Cron fixes from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3635 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 22:34:05 +00:00
Ryan Boren
5e18dd3e86 prefix not table_prefix. Props Kafkaesqui. fixes #2528
git-svn-id: https://develop.svn.wordpress.org/trunk@3604 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 20:36:40 +00:00
Ryan Boren
4489be47f5 Use table prefix from wpdb. Props Mark J. #2524
git-svn-id: https://develop.svn.wordpress.org/trunk@3603 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 17:19:05 +00:00
Ryan Boren
55ba231f8e What's up front? #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3581 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 07:08:04 +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
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
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
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
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
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
5be951ca28 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: https://develop.svn.wordpress.org/trunk@3373 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 07:05:05 +00:00
Ryan Boren
367e600ea8 Regen page rewrite rules when upgrading.
git-svn-id: https://develop.svn.wordpress.org/trunk@3372 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 05:20:13 +00:00
Ryan Boren
8b4c730141 Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@3308 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 01:17:46 +00:00
Ryan Boren
02e9e6d8ea Allow Author role to edit published posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@3243 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 07:47:22 +00:00
Ryan Boren
289ef9a954 Add some defaults to avoid MySQL warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3199 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 00:38:56 +00:00
Ryan Boren
6584fdf4ff Count only approved comments. Props Mark JAquith. fixes #1930
git-svn-id: https://develop.svn.wordpress.org/trunk@3192 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 03:40:32 +00:00
Ryan Boren
b41c0e1360 Therapeutic db version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3183 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:13:20 +00:00