Commit Graph

219 Commits

Author SHA1 Message Date
ryan
639fcbfaca Drop post_category and link_category from the schema. Props Denis-de-Bernardy. see #9435
git-svn-id: http://svn.automattic.com/wordpress/trunk@10895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 19:07:04 +00:00
ryan
7d37926ebc Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 16:10:14 +00:00
ryan
abec350e44 Enforce consistent ID types to allow for foreign keys to be defined between tables. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 21:57:51 +00:00
ryan
586b13382a use_ssl is a user option, not a blog option
git-svn-id: http://svn.automattic.com/wordpress/trunk@10842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 21:52:29 +00:00
ryan
35b069a3c7 Delete options that are now transients
git-svn-id: http://svn.automattic.com/wordpress/trunk@10841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 21:43:36 +00:00
ryan
022bc7646f Serialize arrays
git-svn-id: http://svn.automattic.com/wordpress/trunk@10840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-26 17:59:27 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
04a572f4a7 Set autoload in populate options query
git-svn-id: http://svn.automattic.com/wordpress/trunk@10768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 01:07:12 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
ryan
2f4b8b8566 Use two queries to populate all options during install/upgrade instead of 2 times the number of options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 22:41:33 +00:00
ryan
3c803da070 Add index on taxonomy. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 08:26:45 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan
7bb01e4c48 Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 23:10:11 +00:00
azaozz
75850602a5 Detect when the server compresses output, see #8628
git-svn-id: http://svn.automattic.com/wordpress/trunk@10476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-01 09:45:24 +00:00
ryan
07f625bc03 Explicitly return ref for the sake of PHP4. Fixes user_level being empty when installing on PHP4. Props Mr Pete. fixes #8317 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 20:47:18 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
markjaquith
bfc531cd80 Increase the default number of comments per page to 50. 10 is far too few.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 07:22:50 +00:00
ryan
91841f2e3c Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: http://svn.automattic.com/wordpress/trunk@9296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:08:47 +00:00
ryan
e59d369976 Add post_parent index. fixes #7876
git-svn-id: http://svn.automattic.com/wordpress/trunk@9290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 22:03:41 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
ryan
5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
westi
81aebef3b3 Theme update UI first pass. See #7519 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 06:43:53 +00:00
ryan
ef80502b9a Close comments for old posts. see #7741
git-svn-id: http://svn.automattic.com/wordpress/trunk@8892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 16:26:37 +00:00
ryan
ed5372a6ab wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: http://svn.automattic.com/wordpress/trunk@8740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 23:57:48 +00:00
ryan
2955c83e99 Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@8653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-15 15:40:35 +00:00
ryan
ff7b8ffe1b Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: http://svn.automattic.com/wordpress/trunk@8612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 03:54:26 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
b6420b411c Increase term name length. Props nbachiyski. fixes #7465
git-svn-id: http://svn.automattic.com/wordpress/trunk@8553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 18:27:02 +00:00
westi
35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan
e8cba9f0cb Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 19:28:40 +00:00
ryan
3f90dc2f58 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 22:39:57 +00:00
ryan
ce2ed91698 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:36:21 +00:00
ryan
f22abd7533 Disable remote publishing by default. Add options to turn them back on. Props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 15:39:41 +00:00
ryan
385d3d9500 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: http://svn.automattic.com/wordpress/trunk@8060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 19:21:35 +00:00
ryan
6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan
76dfbdfb11 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 18:05:20 +00:00
ryan
fbcbedc4f0 Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 00:56:16 +00:00
ryan
45302a3d9a Add populate_options action. Props RanYanivHartstein. fixes #6854
git-svn-id: http://svn.automattic.com/wordpress/trunk@7848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 19:55:00 +00:00
ryan
4680f8f084 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:19:09 +00:00
ryan
feb0644005 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 06:07:53 +00:00
ryan
fbd4ce39d8 Remove cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@7154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:08:39 +00:00
ryan
af95d56dc9 Comment bubble count fixes from mdawaffe. fixes #6090
git-svn-id: http://svn.automattic.com/wordpress/trunk@7153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:07:47 +00:00
matt
0456afb16d New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:21:37 +00:00
ryan
241d5fb011 Set autosave_interval for fresh installs. DEfault to 60 if autosave_interval is not set. see #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:41:49 +00:00
matt
bb22054028 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
ryan
7c8c648554 Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537
git-svn-id: http://svn.automattic.com/wordpress/trunk@6916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:28:54 +00:00
ryan
4d82268ee7 Declare wpdb and wp_queries as global. Props jhodgdon. see #5860
git-svn-id: http://svn.automattic.com/wordpress/trunk@6896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:33:40 +00:00
ryan
5ed843d6d8 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: http://svn.automattic.com/wordpress/trunk@6851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 17:17:57 +00:00
ryan
8bbf359295 Add comment_date_gmt key to comments table. Optimize _wp_get_comment_list() query. fixes #5785
git-svn-id: http://svn.automattic.com/wordpress/trunk@6825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:15:30 +00:00
matt
d9738d6cfb Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 06:35:24 +00:00
ryan
36a651ef92 get_avatar(). see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:07:12 +00:00
ryan
8fecb97b09 Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 23:29:59 +00:00
ryan
ed5224f393 Enum to varchar. fixes #4778
git-svn-id: http://svn.automattic.com/wordpress/trunk@6732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:05:56 +00:00
ryan
b67bbb9e4e Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 18:04:17 +00:00
ryan
7f4d8b2f27 New dashboard from mdawaffe. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 07:57:51 +00:00
ryan
7b16e3616c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: http://svn.automattic.com/wordpress/trunk@6385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-15 05:31:16 +00:00
ryan
2283075a92 Remove unused variables. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 06:37:30 +00:00
westi
e026d1dfa2 Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00
westi
6d2459f689 Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: http://svn.automattic.com/wordpress/trunk@6178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-30 10:09:31 +00:00
ryan
c8077169aa Add user_nicename key to users table. fixes #4937
git-svn-id: http://svn.automattic.com/wordpress/trunk@6075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:13:56 +00:00
markjaquith
95b86a22f5 Don't re-add the deprecated new_users_can_blog option. Props Nazgul. fixes #4923
git-svn-id: http://svn.automattic.com/wordpress/trunk@6055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 01:44:24 +00:00
markjaquith
98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
markjaquith
8c454d7909 Favor the term "blog" instead of "weblog." Props foolswisdom and Nazgul. fixes #4674
git-svn-id: http://svn.automattic.com/wordpress/trunk@5825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:32:12 +00:00
markjaquith
7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan
f24ed6715f Fix schema formatting to appease dbDelta. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 22:57:52 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00