Commit Graph

143 Commits

Author SHA1 Message Date
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
Ryan Boren 83de96a484 Remove extra curly.
git-svn-id: https://develop.svn.wordpress.org/trunk@3179 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:33:06 +00:00
Ryan Boren 0872d8f9d7 Wrong var name.
git-svn-id: https://develop.svn.wordpress.org/trunk@3177 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:25:50 +00:00
Ryan Boren 95cf1eb670 Flush the cache for upgrades. Flesh out __get_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@3129 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 05:32:55 +00:00
Ryan Boren 8844ae0ca9 Delete cut-and-paste error.
git-svn-id: https://develop.svn.wordpress.org/trunk@3109 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 18:27:47 +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 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
Ryan Boren 06d61e1f7a Update category counts. Props donncha. fixes #1886
git-svn-id: https://develop.svn.wordpress.org/trunk@3091 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 16:31:24 +00:00
Ryan Boren 305c29d4e1 DB versioning. fixes #1791
git-svn-id: https://develop.svn.wordpress.org/trunk@2966 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-27 22:04:12 +00:00
Matt Mullenweg b81fef690d A few CSS polishes
git-svn-id: https://develop.svn.wordpress.org/trunk@2730 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:22:48 +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
Ryan Boren 96e237124e Add temporary cap/roles updater. Define RESET_CAPS to enable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2722 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:57:41 +00:00
Ryan Boren ffdd8033aa Inverted logic. Should fix problem where user display name is stomped during upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@2710 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-14 22:53:56 +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 c93f379092 Set display_name only if the user table still containts id_mode. This prevents multiple upgrades from stomping display_name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2643 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:14:07 +00:00
Ryan Boren 125542ecab DB escape fields inserted into usermeta table. Hide errors when dropping old columns from user table.
git-svn-id: https://develop.svn.wordpress.org/trunk@2641 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 23:22:55 +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 56b9394fb8 Tweak to 2487.
git-svn-id: https://develop.svn.wordpress.org/trunk@2488 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:39:23 +00:00