Commit Graph

115 Commits

Author SHA1 Message Date
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
ryan c48ebdadd7 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: http://svn.automattic.com/wordpress/trunk@2487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 05:34:30 +00:00
ryan f88ebc2808 Replace dateYMDhour with user_registered. http://mosquito.wordpress.org/view.php?id=1121 Props: Andy Skelton
git-svn-id: http://svn.automattic.com/wordpress/trunk@2451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-16 22:53:33 +00:00
saxmatt d720a8ef0a Two small tweaks before release
git-svn-id: http://svn.automattic.com/wordpress/trunk@2346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 03:32:43 +00:00
rboren 6a11fa21a2 Load comments-popup template through the index.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:17:23 +00:00
rboren 5e68548c89 Copy searchform and images when creating site theme from default theme. http://mosquito.wordpress.org/view.php?id=852
git-svn-id: http://svn.automattic.com/wordpress/trunk@2293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 19:34:50 +00:00
rboren 6dca59bddc Suppress safe mode restriction warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-08 08:01:59 +00:00
rboren 1da65af1e1 Set umask to 0 when creating site theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-08 07:50:24 +00:00
saxmatt c19e40c302 We didn't know how big it'd get :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 09:41:06 +00:00
rboren 48d334e1c0 Get the title for pluggable top level admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-30 07:34:03 +00:00
rboren 1fb563136b 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: http://svn.automattic.com/wordpress/trunk@2095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 00:09:25 +00:00
rboren 7ad6f07f87 Update stylesheet and comments references when upgrading old templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 21:57:51 +00:00
rboren 5870827adf Recommit disappearing changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 22:46:45 +00:00
rboren 22fb2efc85 Automatic site theme generator.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 10:09:16 +00:00
saxmatt 736b9d8bcb Delete duplicate options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 21:21:50 +00:00
saxmatt 15745c2230 Change dateYMDhour to be something more sane, bugfix on edit.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 19:27:35 +00:00
saxmatt e72de79fa2 Automatically trigger DB upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 19:49:58 +00:00
saxmatt 3be6575475 Fix GUID generation
git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 07:36:50 +00:00
michelvaldrighi 877f81d625 convert trackbacks and pingbacks to use comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 13:52:46 +00:00
saxmatt 59b3f55883 Removed some unused code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 10:31:19 +00:00
saxmatt c54f9a539f Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:41:01 +00:00
saxmatt de260e7022 Install and upgrade refactoring complete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:22:17 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt bc229c60fa Missing global.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:22:35 +00:00
saxmatt 009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt 6b43f65c25 Remove optiongroups table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:09:21 +00:00
saxmatt 7e1cc4c8c0 Remove optiontypes table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:04:19 +00:00
saxmatt 5e87dfc5df Remove optionvalues table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 21:52:00 +00:00
saxmatt 2d78e31a7d Vanquishing the terror of iso-8859-1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-30 07:16:40 +00:00