Commit Graph

143 Commits

Author SHA1 Message Date
ryan
6c68ddb70e Oopsie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 08:56:53 +00:00
ryan
a43e9ca36f Update Donncha's link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 08:56:12 +00:00
ryan
f94f2f0bcf Use the correct filename. Props Mark Jaquith. fixes #2815
git-svn-id: http://svn.automattic.com/wordpress/trunk@3863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 17:55:18 +00:00
ryan
dac809b5a4 Add more fine grained user management caps. Part 1. #2775
git-svn-id: http://svn.automattic.com/wordpress/trunk@3846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-05 16:52:21 +00:00
ryan
2f68889eb6 Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: http://svn.automattic.com/wordpress/trunk@3772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-11 23:13:35 +00:00
ryan
3d45520fff Make sure we have links to iterate over. fixes #2675
git-svn-id: http://svn.automattic.com/wordpress/trunk@3734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-21 05:00:58 +00:00
ryan
6a1fbbfdd9 Accommodate multi-blog setups that share user tables by checking to see if the admin user already exists during install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 02:26:02 +00:00
ryan
6123ea7eb7 Some optimization of the post query. #2604
git-svn-id: http://svn.automattic.com/wordpress/trunk@3678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:33:10 +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
bc44b1b75d Cron fixes from masquerade. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-07 22:34:05 +00:00
ryan
eaea1c6e70 prefix not table_prefix. Props Kafkaesqui. fixes #2528
git-svn-id: http://svn.automattic.com/wordpress/trunk@3604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 20:36:40 +00:00
ryan
df35b1041b Use table prefix from wpdb. Props Mark J. #2524
git-svn-id: http://svn.automattic.com/wordpress/trunk@3603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 17:19:05 +00:00
ryan
6452ec1bbc What's up front? #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@3581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-01 07:08:04 +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
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
e9442d2d08 schedule future posts with cron when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:48:44 +00:00
ryan
521f99d371 Correct inverted logic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:37:28 +00:00
ryan
e91aa85ce7 Bump db ver check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:25:36 +00:00
ryan
a37a1d7440 Give future posts a post_status of future when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:22:22 +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
d6d431c1be 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: http://svn.automattic.com/wordpress/trunk@3513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-11 09:56:02 +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
305a286ce1 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 07:05:05 +00:00
ryan
81f0c504cd Regen page rewrite rules when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 05:20:13 +00:00
ryan
9aa7dc5290 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 01:17:46 +00:00
ryan
7b9f47b54b Allow Author role to edit published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:47:22 +00:00
ryan
c9cc15c4f4 Add some defaults to avoid MySQL warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 00:38:56 +00:00
ryan
0d31fcbeef Count only approved comments. Props Mark JAquith. fixes #1930
git-svn-id: http://svn.automattic.com/wordpress/trunk@3192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 03:40:32 +00:00
ryan
40bcf58a25 Therapeutic db version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:13:20 +00:00
ryan
d6b41824e8 Remove extra curly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:33:06 +00:00
ryan
58aa471101 Wrong var name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:25:50 +00:00
ryan
6b01b6a07a Flush the cache for upgrades. Flesh out __get_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 05:32:55 +00:00
ryan
d0bb17a2f3 Delete cut-and-paste error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 18:27:47 +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
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
ryan
e120711bdd Update category counts. Props donncha. fixes #1886
git-svn-id: http://svn.automattic.com/wordpress/trunk@3091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 16:31:24 +00:00
ryan
5939e76b0b DB versioning. fixes #1791
git-svn-id: http://svn.automattic.com/wordpress/trunk@2966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-27 22:04:12 +00:00
matt
ba19c859f9 A few CSS polishes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:22:48 +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
ryan
44644cbb6c Add temporary cap/roles updater. Define RESET_CAPS to enable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:57:41 +00:00
ryan
04a3dc4c03 Inverted logic. Should fix problem where user display name is stomped during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-14 22:53:56 +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
f220786deb Set display_name only if the user table still containts id_mode. This prevents multiple upgrades from stomping display_name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 06:14:07 +00:00
ryan
06cc5c6677 DB escape fields inserted into usermeta table. Hide errors when dropping old columns from user table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 23:22:55 +00:00
matt
0c17753031 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: http://svn.automattic.com/wordpress/trunk@2631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 20:49:13 +00:00
ryan
5534514f39 Tweak to 2487.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 05:39:23 +00:00