Commit Graph

320 Commits

Author SHA1 Message Date
nacin
fda09f5124 Allow translators to specify a default timezone string OR GMT offset. Stop doing date('Z')/3600 math for default gmt_offset, as since WP 2.9, we set server time to UTC. Server time is unreliable, so no workarounds for now. fixes #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:04:11 +00:00
nacin
bdd70470e2 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +00:00
nacin
0b169b5361 Offer start_of_week for translation. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 04:21:53 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan
b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
markjaquith
279615ea59 Fix "wp_db_current_db_version" typo. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:05:42 +00:00
markjaquith
a1fb35ca98 Introduce initial_db_version and leverage it so that pointers only get shown to updated installs, not new 3.3 installs. props nacin. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:50:50 +00:00
ryan
ba9bd2e208 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: http://svn.automattic.com/wordpress/trunk@19249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 21:06:57 +00:00
dd32
5194428741 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:48:07 +00:00
ryan
a0f6c4469d Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 00:21:24 +00:00
ryan
760a1f8b6c Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: http://svn.automattic.com/wordpress/trunk@18878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:09:24 +00:00
ryan
ec4ccf2900 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
nacin
da2732c7de Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:45:07 +00:00
markjaquith
87f06616a7 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 03:26:23 +00:00
nacin
02d663acb4 More room for your content! Increase default post edit rows as the meta boxes are all hidden by default. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 00:57:24 +00:00
nacin
ade50f7e35 Allow dfault post format selections. fixes #15882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:36:11 +00:00
scribu
6963b1997b Get only required fields in populate_network(). See #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:11:21 +00:00
nacin
62b349e605 Kill what_to_show on upgrade. fixes #9815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:05 +00:00
scribu
1652fe96c1 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:49:52 +00:00
nacin
a1ded4c270 Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 05:10:45 +00:00
nacin
a596163f6a Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 05:36:18 +00:00
dd32
a7cabc4a3e Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: http://svn.automattic.com/wordpress/trunk@15287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:28:27 +00:00
nacin
9986917471 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 05:16:21 +00:00
nacin
2eadcb9aef Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:04:06 +00:00
wpmuguru
54521415c2 alway update fileupload_url during initial network install, see #13828
git-svn-id: http://svn.automattic.com/wordpress/trunk@15202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:31:46 +00:00
ryan
1f60247343 Add export capability. fixes #13681
git-svn-id: http://svn.automattic.com/wordpress/trunk@15096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 18:02:05 +00:00
wpmuguru
a6e1307576 add fileupload_url option to main site on network install, see #13483
git-svn-id: http://svn.automattic.com/wordpress/trunk@14998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:06:48 +00:00
dd32
f0c63decb0 Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: http://svn.automattic.com/wordpress/trunk@14984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 09:49:38 +00:00
ryan
1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
markjaquith
e3e565321c stripslashes() the site name before passing to populate_network(), not in it. We should always expect unslashed data. reverts [14754]. fixes #13448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:18:30 +00:00
wpmuguru
660cbfb825 strip slashes from site name during network install, fixes #13448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 20:43:53 +00:00
wpmuguru
3f6a32a5ce block creation of 'files' sub site, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 22:18:40 +00:00
nacin
00a291c71e Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:01:04 +00:00
nacin
5463205114 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:56:56 +00:00
wpmuguru
cf8e9c752a don't allow blog sub site in folder install, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 18:37:38 +00:00
nacin
fa23d1edf0 Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:53:40 +00:00
wpmuguru
376a690988 add default comment status setting to populate_options(), see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:54:42 +00:00
nacin
3a2f3b3433 s/blog/site/ in more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 07:09:38 +00:00
nacin
e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
nacin
0fd5fee450 Better DNS error message in network.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:40:49 +00:00
josephscott
e26aed0ac4 New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074



git-svn-id: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +00:00
ryan
fda80bc7f6 Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:43:53 +00:00
ryan
219f902d3d Add add_users cap to allow distringuishing between adding and creating users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 16:33:13 +00:00
ryan
a86f7357c5 Add edit_theme_options capability
git-svn-id: http://svn.automattic.com/wordpress/trunk@14111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 15:36:44 +00:00
wpmuguru
aebc2cb826 set registered datestamp to current time during enable network, see #12747
git-svn-id: http://svn.automattic.com/wordpress/trunk@14012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 01:41:34 +00:00
nacin
c5c47b4b20 Make remove_user a meta capability. see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 05:14:34 +00:00
nacin
a7feaed0e6 Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
wpmuguru
96d21ae1f3 force users to re-login after installing network, see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@13760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 23:35:04 +00:00
dd32
d51a95d091 Remove the now defunct link update checker from core. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:17:55 +00:00
ryan
6fe61df60f Introduce WP_DEFAULT_THEME
git-svn-id: http://svn.automattic.com/wordpress/trunk@13737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:42:49 +00:00
ryan
968c73da1e Use WP_FALLBACK_THEME when creating default stylesheet and template options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:39:38 +00:00
wpmuguru
47302e0188 first pass on optional global terms, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:17:55 +00:00
wpmuguru
0c2ab53136 introduce global_terms_enabled site option, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 15:31:50 +00:00
nacin
00c591591c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 01:51:24 +00:00
nacin
0069db858c Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:34:42 +00:00
nacin
df48ab984f Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:17:07 +00:00
nacin
4f23fbe1c7 Don't page comments by default. fixes #12562
git-svn-id: http://svn.automattic.com/wordpress/trunk@13636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 21:04:41 +00:00
wpmuguru
a7011c50ca allow existing media path on main site when converting to multisite, see #12549
git-svn-id: http://svn.automattic.com/wordpress/trunk@13619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 19:52:29 +00:00
wpmuguru
b47298ef62 set default value for upload_space_check_disabled, see #12463
git-svn-id: http://svn.automattic.com/wordpress/trunk@13595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 21:01:08 +00:00
ryan
086ad7d933 Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: http://svn.automattic.com/wordpress/trunk@13576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 19:08:30 +00:00
wpmuguru
7cafb3f959 set default value for add_new_users site option, see #12463
git-svn-id: http://svn.automattic.com/wordpress/trunk@13564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 22:57:12 +00:00
nacin
2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
nacin
2dcfc0913b Remove unused 'secret' option. Fixes #12221
git-svn-id: http://svn.automattic.com/wordpress/trunk@13309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:02 +00:00
wpmuguru
3d00580d82 enable threaded comments by default, fixes #11992
git-svn-id: http://svn.automattic.com/wordpress/trunk@13272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 01:02:00 +00:00
dd32
679250491d Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
nacin
eb20a00c80 Fix notice in populate_network(). See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 21:19:54 +00:00
ryan
ebdbcbc4b3 Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
git-svn-id: http://svn.automattic.com/wordpress/trunk@13227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 17:56:40 +00:00
nacin
db0e494344 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 04:06:30 +00:00
wpmuguru
a392f8a441 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 22:45:35 +00:00
ryan
1fb181a4eb Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:16:26 +00:00
wpmuguru
3ff2ace58a fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 01:00:57 +00:00
wpmuguru
cfbffea85e minor fixes to populate_options(), UI tweaks, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:01:14 +00:00
wpmuguru
c26805d326 minor fixes/improvements to populate_network(), see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 18:01:23 +00:00
wpmuguru
cda3031b06 Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
wpmuguru
301dc6dbf0 allow initial site_id to be assigned by MySQL, fixes #12021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 00:20:10 +00:00
wpmuguru
629dcd1861 set default empty message, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 18:25:08 +00:00
wpmuguru
515d1354da sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 01:14:05 +00:00
wpmuguru
5c5be8cd43 add multisite theme admin, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:03:11 +00:00
ryan
a7e588ae16 Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 16:14:06 +00:00
wpmuguru
fca602d414 implement multisite schema, upgrade, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:04:25 +00:00
ryan
d0e599c50b Fix inverted logic. phpdoc update. Props nacin. fixes #11935
git-svn-id: http://svn.automattic.com/wordpress/trunk@12754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:34:16 +00:00
ryan
f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
4aca3ca146 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:16:00 +00:00
ryan
60c67e593c Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:01:57 +00:00
ryan
b38c409b40 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: http://svn.automattic.com/wordpress/trunk@12405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 17:53:51 +00:00
ryan
d3e30f2ff6 Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 13:57:18 +00:00
ryan
6189a6fce2 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:42:07 +00:00
ryan
4615f5b809 Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:04:07 +00:00
ryan
cca2279a4d Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 14:41:35 +00:00
markjaquith
22518cefe2 Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
git-svn-id: http://svn.automattic.com/wordpress/trunk@12061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:10:46 +00:00
ryan
410fcc2e42 Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
ryan
5224680c4d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
ryan
ef17b0b875 Key should be comment_id not post_id. see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 18:09:21 +00:00
westi
c67e70dd91 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
ryan
4064e1cb6c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 22:46:33 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
ryan
c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
ryan
09dd9cf338 Add timezone_string to populate_options. Props hakre. fixes #9706
git-svn-id: http://svn.automattic.com/wordpress/trunk@11264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:31:30 +00:00
azaozz
135af2d731 Remove post_category and link_category from wp_install_defaults(), props Denis-de-Bernardy, fixes #9493
git-svn-id: http://svn.automattic.com/wordpress/trunk@10902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-09 13:46:10 +00:00
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