Commit Graph

106 Commits

Author SHA1 Message Date
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
Matt Mullenweg 6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Matt Mullenweg 47740b518d Missing global.
git-svn-id: https://develop.svn.wordpress.org/trunk@1598 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:22:35 +00:00
Matt Mullenweg 9c1d725609 Remove optiongroup_options table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1597 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:15:46 +00:00
Matt Mullenweg 1536ef3d40 Remove optiongroups table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1596 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:09:21 +00:00
Matt Mullenweg af93d0ec1a Remove optiontypes table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1595 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:04:19 +00:00
Matt Mullenweg 9cef0837a3 Remove optionvalues table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1594 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 21:52:00 +00:00
Matt Mullenweg 6e1c571490 Vanquishing the terror of iso-8859-1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1575 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-30 07:16:40 +00:00
Matt Mullenweg 321908544c Slightly nicer upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@1529 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 19:24:31 +00:00
Matt Mullenweg 82e38938fa Use array storage for plugins list.
git-svn-id: https://develop.svn.wordpress.org/trunk@1522 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:17:54 +00:00
Ryan Boren 0f49ccc3d3 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: https://develop.svn.wordpress.org/trunk@1500 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-29 03:34:08 +00:00
Ryan Boren a4270969ce Remove extra slashes from link name and link description.
git-svn-id: https://develop.svn.wordpress.org/trunk@1467 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-15 23:31:06 +00:00
Matt Mullenweg a087ed6916 Fix for PHP5.
git-svn-id: https://develop.svn.wordpress.org/trunk@1464 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-14 03:11:08 +00:00
Ryan Boren 475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
Ryan Boren a176321405 Preserve a 1.2 era version of get_alloptions as get_alloptions_110() so that upgrade_110() does not produce db errors due to version 1.3 specific changes to get_alloptions. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000037
git-svn-id: https://develop.svn.wordpress.org/trunk@1421 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-13 17:02:44 +00:00
Matt Mullenweg 6c97530035 Changes to options system and query improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1401 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:42:25 +00:00
Ryan Boren 391e53ed84 Add default_email_category. Make default category and default email category provisionable via options writing. Credit: Kitten.
git-svn-id: https://develop.svn.wordpress.org/trunk@1370 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 15:43:45 +00:00