Commit Graph
122 Commits
Author SHA1 Message Date
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
Ryan Boren 28ff7f84e1 Use private, install/upgrade safe version of get_option() in upgrade-functions.php. Fixes http://mosquito.wordpress.org/view.php?id=1165
git-svn-id: https://develop.svn.wordpress.org/trunk@2487 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:34:30 +00:00
Ryan Boren 5f1d5e0b2d Replace dateYMDhour with user_registered. http://mosquito.wordpress.org/view.php?id=1121 Props: Andy Skelton
git-svn-id: https://develop.svn.wordpress.org/trunk@2451 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-16 22:53:33 +00:00
Matt Mullenweg 872f826316 Two small tweaks before release
git-svn-id: https://develop.svn.wordpress.org/trunk@2346 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 03:32:43 +00:00
Ryan Boren 35b685cb65 Load comments-popup template through the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Ryan Boren 941a2e7c07 Copy searchform and images when creating site theme from default theme. http://mosquito.wordpress.org/view.php?id=852
git-svn-id: https://develop.svn.wordpress.org/trunk@2293 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 19:34:50 +00:00
Ryan Boren 78266ae933 Suppress safe mode restriction warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@2243 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-08 08:01:59 +00:00
Ryan Boren ea3809cba3 Set umask to 0 when creating site theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@2242 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-08 07:50:24 +00:00
Matt Mullenweg f365442290 We didn't know how big it'd get :)
git-svn-id: https://develop.svn.wordpress.org/trunk@2200 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 09:41:06 +00:00
Ryan Boren c41a6e5dc8 Get the title for pluggable top level admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@2162 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-30 07:34:03 +00:00
Ryan Boren efed9353fe Do not include admin-functions from ugrade-functions to avoid circular dependency. Move wp-l10n higher up in the wp-settings include chain. Bug 627.
git-svn-id: https://develop.svn.wordpress.org/trunk@2095 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 00:09:25 +00:00
Ryan Boren 4d551c314d Update stylesheet and comments references when upgrading old templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@2049 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-05 21:57:51 +00:00
Ryan Boren 506ed85f60 Recommit disappearing changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2044 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-04 22:46:45 +00:00
Ryan Boren b59a598718 Automatic site theme generator.
git-svn-id: https://develop.svn.wordpress.org/trunk@2037 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 10:09:16 +00:00
Matt Mullenweg 3e301ced14 Delete duplicate options.
git-svn-id: https://develop.svn.wordpress.org/trunk@1975 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 21:21:50 +00:00
Matt Mullenweg a3daa0be76 Change dateYMDhour to be something more sane, bugfix on edit.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1971 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 19:27:35 +00:00
Matt Mullenweg b5dfef4925 Automatically trigger DB upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@1764 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 19:49:58 +00:00
Matt Mullenweg c78d172d4f Fix GUID generation
git-svn-id: https://develop.svn.wordpress.org/trunk@1746 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 07:36:50 +00:00
michelvaldrighi 85be69ad6d convert trackbacks and pingbacks to use comment_type
git-svn-id: https://develop.svn.wordpress.org/trunk@1719 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 13:52:46 +00:00
Matt Mullenweg 51304d6478 Removed some unused code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1628 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 10:31:19 +00:00
Matt Mullenweg 0ed9084d7d Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: https://develop.svn.wordpress.org/trunk@1605 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:41:01 +00:00
Matt Mullenweg 173f2cd3e6 Install and upgrade refactoring complete.
git-svn-id: https://develop.svn.wordpress.org/trunk@1601 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:22:17 +00:00