Commit Graph

169 Commits

Author SHA1 Message Date
Ryan Boren
30cfe1b1b7 Drop post_category and link_category from the schema. Props Denis-de-Bernardy. see #9435
git-svn-id: https://develop.svn.wordpress.org/trunk@10895 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:07:04 +00:00
Ryan Boren
36859acb5c Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10858 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-01 16:10:14 +00:00
Ryan Boren
6dfc7d31ba Enforce consistent ID types to allow for foreign keys to be defined between tables. Props Denis-de-Bernardy. see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10852 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-31 21:57:51 +00:00
Ryan Boren
bc987ee35e use_ssl is a user option, not a blog option
git-svn-id: https://develop.svn.wordpress.org/trunk@10842 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-26 21:52:29 +00:00
Ryan Boren
9573288b09 Delete options that are now transients
git-svn-id: https://develop.svn.wordpress.org/trunk@10841 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-26 21:43:36 +00:00
Ryan Boren
d532191713 Serialize arrays
git-svn-id: https://develop.svn.wordpress.org/trunk@10840 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-26 17:59:27 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren
5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Ryan Boren
459a1abca8 Set autoload in populate options query
git-svn-id: https://develop.svn.wordpress.org/trunk@10768 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 01:07:12 +00:00
Ryan Boren
1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Ryan Boren
e2484af8f6 Use two queries to populate all options during install/upgrade instead of 2 times the number of options.
git-svn-id: https://develop.svn.wordpress.org/trunk@10766 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 22:41:33 +00:00
Ryan Boren
88894e7df1 Add index on taxonomy. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10733 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 08:26:45 +00:00
Ryan Boren
1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Ryan Boren
a99acb3cfd Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10553 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 23:10:11 +00:00
Andrew Ozz
13d3219317 Detect when the server compresses output, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10476 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-01 09:45:24 +00:00
Ryan Boren
cc77e573b6 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: https://develop.svn.wordpress.org/trunk@10200 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-12 20:47:18 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren
c1543ec4e6 Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: https://develop.svn.wordpress.org/trunk@9871 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 18:33:04 +00:00
Mark Jaquith
12f8028065 Increase the default number of comments per page to 50. 10 is far too few.
git-svn-id: https://develop.svn.wordpress.org/trunk@9316 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 07:22:50 +00:00
Ryan Boren
873a5b075b Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: https://develop.svn.wordpress.org/trunk@9296 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 16:08:47 +00:00
Ryan Boren
a11ad49d80 Add post_parent index. fixes #7876
git-svn-id: https://develop.svn.wordpress.org/trunk@9290 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 22:03:41 +00:00
Ryan Boren
6d727a9c2b phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9119 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 18:21:16 +00:00
Ryan Boren
f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Peter Westwood
2e12a7cc82 Theme update UI first pass. See #7519 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8989 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 06:43:53 +00:00
Ryan Boren
cb195c411f Close comments for old posts. see #7741
git-svn-id: https://develop.svn.wordpress.org/trunk@8892 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 16:26:37 +00:00
Ryan Boren
9ab6c5d3f7 wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: https://develop.svn.wordpress.org/trunk@8740 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 23:57:48 +00:00
Ryan Boren
e621a3239a Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: https://develop.svn.wordpress.org/trunk@8653 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-15 15:40:35 +00:00
Ryan Boren
da4e0eca48 Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 03:54:26 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren
221d977d87 Increase term name length. Props nbachiyski. fixes #7465
git-svn-id: https://develop.svn.wordpress.org/trunk@8553 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 18:27:02 +00:00
Peter Westwood
0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
6fbbcbfb6e Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8433 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-24 19:28:40 +00:00
Ryan Boren
9cf90ec524 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8202 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 22:39:57 +00:00
Ryan Boren
ce2dafe0e5 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: https://develop.svn.wordpress.org/trunk@8182 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:36:21 +00:00
Ryan Boren
b17b7f8bf0 Disable remote publishing by default. Add options to turn them back on. Props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8136 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 15:39:41 +00:00
Ryan Boren
8c3e7d7283 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: https://develop.svn.wordpress.org/trunk@8060 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 19:21:35 +00:00
Ryan Boren
6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren
1288013605 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: https://develop.svn.wordpress.org/trunk@7886 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 18:05:20 +00:00
Ryan Boren
9e1c1c303a Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: https://develop.svn.wordpress.org/trunk@7879 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-03 00:56:16 +00:00
Ryan Boren
d94ce464a3 Add populate_options action. Props RanYanivHartstein. fixes #6854
git-svn-id: https://develop.svn.wordpress.org/trunk@7848 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 19:55:00 +00:00
Ryan Boren
07b72e6dd9 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7796 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:19:09 +00:00
Ryan Boren
72d53b30d7 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: https://develop.svn.wordpress.org/trunk@7165 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 06:07:53 +00:00
Ryan Boren
9266ee91aa Remove cruft
git-svn-id: https://develop.svn.wordpress.org/trunk@7154 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 17:08:39 +00:00
Ryan Boren
9c7eb61265 Comment bubble count fixes from mdawaffe. fixes #6090
git-svn-id: https://develop.svn.wordpress.org/trunk@7153 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 17:07:47 +00:00
Matt Mullenweg
cc3147ab22 New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7149 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:21:37 +00:00
Ryan Boren
0f009c4b9f Set autosave_interval for fresh installs. DEfault to 60 if autosave_interval is not set. see #6075
git-svn-id: https://develop.svn.wordpress.org/trunk@7148 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:41:49 +00:00
Matt Mullenweg
88bb527a19 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7135 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:17:37 +00:00
Ryan Boren
b96affbfd5 Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537
git-svn-id: https://develop.svn.wordpress.org/trunk@6916 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 20:28:54 +00:00
Ryan Boren
5e246a6c45 Declare wpdb and wp_queries as global. Props jhodgdon. see #5860
git-svn-id: https://develop.svn.wordpress.org/trunk@6896 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:33:40 +00:00
Ryan Boren
a47c497cb7 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: https://develop.svn.wordpress.org/trunk@6851 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-14 17:17:57 +00:00
Ryan Boren
8268af4077 Add comment_date_gmt key to comments table. Optimize _wp_get_comment_list() query. fixes #5785
git-svn-id: https://develop.svn.wordpress.org/trunk@6825 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 19:15:30 +00:00
Matt Mullenweg
e5087bdeba Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: https://develop.svn.wordpress.org/trunk@6780 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 06:35:24 +00:00
Ryan Boren
b0a8da663d get_avatar(). see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@6748 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 06:07:12 +00:00
Ryan Boren
ce5b15209f Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: https://develop.svn.wordpress.org/trunk@6736 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 23:29:59 +00:00
Ryan Boren
811dbba6cd Enum to varchar. fixes #4778
git-svn-id: https://develop.svn.wordpress.org/trunk@6732 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 21:05:56 +00:00
Ryan Boren
fa13bbbd58 Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: https://develop.svn.wordpress.org/trunk@6729 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 18:04:17 +00:00
Ryan Boren
d2067ba297 New dashboard from mdawaffe. see #5750
git-svn-id: https://develop.svn.wordpress.org/trunk@6705 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 07:57:51 +00:00
Ryan Boren
5918e8cf1c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: https://develop.svn.wordpress.org/trunk@6385 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-15 05:31:16 +00:00
Ryan Boren
029a74ca44 Remove unused variables. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6363 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 06:37:30 +00:00
Peter Westwood
8fe6767f3b 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: https://develop.svn.wordpress.org/trunk@6199 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:40:54 +00:00
Peter Westwood
34fa3532e2 Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: https://develop.svn.wordpress.org/trunk@6178 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-30 10:09:31 +00:00
Ryan Boren
951354b6bc Add user_nicename key to users table. fixes #4937
git-svn-id: https://develop.svn.wordpress.org/trunk@6075 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:13:56 +00:00
Mark Jaquith
63a17a989a Don't re-add the deprecated new_users_can_blog option. Props Nazgul. fixes #4923
git-svn-id: https://develop.svn.wordpress.org/trunk@6055 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 01:44:24 +00:00
Mark Jaquith
88a4c73ec2 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: https://develop.svn.wordpress.org/trunk@6039 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 19:20:53 +00:00
Mark Jaquith
de0494e090 Favor the term "blog" instead of "weblog." Props foolswisdom and Nazgul. fixes #4674
git-svn-id: https://develop.svn.wordpress.org/trunk@5825 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-30 16:32:12 +00:00
Mark Jaquith
0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren
4153107e1f Fix schema formatting to appease dbDelta. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5551 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 22:57:52 +00:00
Ryan Boren
09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00