Commit Graph

11802 Commits

Author SHA1 Message Date
Andrew Nacin 1992489856 First pass at Multisite support in DB repair. When MS, include main blog tables; when not MS, include non-MS global tables (users, usermeta). See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13224 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:33:01 +00:00
Andrew Nacin 3f2c21e53f Remove debug cruft. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13223 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:12:12 +00:00
Andrew Nacin dd171a6767 Add missing i18n comment for a hard-coded string. Props Nao, fixes #11654
git-svn-id: https://develop.svn.wordpress.org/trunk@13222 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 13:39:41 +00:00
Dion Hulse 343447e5a0 Fallback to PclZip in the event that ZipArchive cannot handle a given archive properly. Close the Zip handle when we're done as well. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13221 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:59:32 +00:00
Dion Hulse 32ad16e1e8 Update get_user_option()'s PHPDoc Comment to remove mentions of blog options. See #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@13220 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:49:07 +00:00
Dion Hulse 5c9b1907a7 Make better use of $wp_query->get_queried_object() instead of duplicating its functionality. See [13143]
git-svn-id: https://develop.svn.wordpress.org/trunk@13219 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:45:29 +00:00
Dion Hulse ec9ee88c2d Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13218 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:41:15 +00:00
Dion Hulse 897529ea59 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13217 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:26:44 +00:00
Dion Hulse 7cdc6568d0 First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: https://develop.svn.wordpress.org/trunk@13216 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:21:29 +00:00
Dion Hulse 81e3891ed8 Use the public query param instead of show_ui to determine if the Post Type is displayable. Props jfarthing84. See #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13215 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:05:13 +00:00
Dion Hulse 9760997180 Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231
git-svn-id: https://develop.svn.wordpress.org/trunk@13214 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:00:00 +00:00
Dion Hulse 5028f2ccbb Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270, See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
Dion Hulse 249da10ef7 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13212 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:33:50 +00:00
Andrew Nacin 4c9f9b02eb Update Text_Diff. Props simek. Fixes #9467
git-svn-id: https://develop.svn.wordpress.org/trunk@13211 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:25:26 +00:00
Andrew Nacin fa77333608 Some more phpdoc bits for functions.php. Props miqrogroove, fixes #12215
git-svn-id: https://develop.svn.wordpress.org/trunk@13210 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:08:39 +00:00
Andrew Nacin 4d2c75d785 Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Ryan Boren fbd6ccfb3a Fix double escaping in wp_getComments. Props josephscott. fixes #12281 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@13207 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 00:28:23 +00:00
Andrew Nacin 139f4ba5d1 Allow more special characters in wp_generate_password() second pass. props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13206 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 00:03:36 +00:00
Andrew Nacin 5921acfa63 Bail early for favicon.ico requests so we don't load WP twice. Props azaozz, sivel. Fixes #3426
git-svn-id: https://develop.svn.wordpress.org/trunk@13205 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 23:41:50 +00:00
Andrew Nacin ea0b2aacf0 Move deprecated pluggable functions to a new file to lower their profile. Also throw deprecated warnings if a plugin defines a deprecated pluggable function. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13204 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 23:17:06 +00:00
Andrew Nacin 96c01c0018 Add Youtu.be short URLs and Smugmug to the default oEmbed providers. Props Viper007Bond, fixes #11556, fixes #12157
git-svn-id: https://develop.svn.wordpress.org/trunk@13203 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:43:52 +00:00
Peter Westwood 6c53a37d5b Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
git-svn-id: https://develop.svn.wordpress.org/trunk@13202 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:09:06 +00:00
Ryan Boren 6ac95a1b86 jQuery UI 1.7.2. fixes #11595
git-svn-id: https://develop.svn.wordpress.org/trunk@13201 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:49:16 +00:00
Ryan Boren 561dd7050a Deny commenting on any post with a non-public status. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13200 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:08:35 +00:00
Ryan Boren b6cf7b637e Don't use array_fill_keys() as it is PHP5 only. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13199 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:03:04 +00:00
Ryan Boren f17505ed9f Don't include internal post types in the total. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13198 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:01:10 +00:00
Ryan Boren 15f2f0bda1 add_settings_error fixes. Props jeremyclarke. fixes #11474
git-svn-id: https://develop.svn.wordpress.org/trunk@13197 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 19:43:44 +00:00
Ron Rennick 2bf79cc5e8 revert [13036], change not consistent with MU, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13196 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 15:40:19 +00:00
Andrew Ozz bca05ce950 Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
git-svn-id: https://develop.svn.wordpress.org/trunk@13195 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 11:20:15 +00:00
Dion Hulse 5318997d5f Display robots.txt even on blogs with 0 posts on the home page. See #12256
git-svn-id: https://develop.svn.wordpress.org/trunk@13194 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 10:57:49 +00:00
Andrew Ozz e4d483efa2 Fix the 'colors' meta-css src (boolean) value generating parse_url errors, fixes #11820
git-svn-id: https://develop.svn.wordpress.org/trunk@13193 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 10:30:28 +00:00
Andrew Ozz 6ea8ad96ef Clean attachment cache when reattaching, fixes #11647
git-svn-id: https://develop.svn.wordpress.org/trunk@13192 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 07:43:35 +00:00
Andrew Nacin 4d65e83ef9 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13191 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 05:14:48 +00:00
Andrew Nacin 13584938e1 Use background-position, as background-position-x has incomplete browser support (Webkit and IE6+ only, no Firefox or Opera). See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13190 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 04:46:40 +00:00
Ryan Boren f1eb009074 Add defaults for background option radios. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13189 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:12:05 +00:00
Ryan Boren 1cd2f4c113 Use background-position-x. Props iammattthomas. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13188 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:01:45 +00:00
Ron Rennick f3a3e63a5b introduce post & comment classes, props skeltoac, See #12267
git-svn-id: https://develop.svn.wordpress.org/trunk@13187 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 01:52:37 +00:00
Ryan Boren 5d1cb7981a Add some options to custom background admin. Needs styling. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13186 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 00:14:56 +00:00
Andrew Nacin a4107f75c1 Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
git-svn-id: https://develop.svn.wordpress.org/trunk@13185 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:36:00 +00:00
Ryan Boren 5f268b6d43 Don't require a default category for post types other than 'post'. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13184 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:33:29 +00:00
Andrew Nacin 09b549a5f8 Remove STYLE_DEBUG constant, SCRIPT_DEBUG now handles both scripts and CSS. Fixes #12237
git-svn-id: https://develop.svn.wordpress.org/trunk@13183 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:25:51 +00:00
Andrew Nacin 936ea0c300 Modify style of new "Privacy On" admin header indicator. props scottbasgaard, fixes #12211
git-svn-id: https://develop.svn.wordpress.org/trunk@13182 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:16:54 +00:00
Matt Thomas ce56f13f5e Fix meta-sep divider on gallery items in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13181 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:32:11 +00:00
Ryan Boren 163919a4d8 Comment form output tweaks. Props beaulebens. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13180 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:28:03 +00:00
Matt Thomas ae57a8a0a9 Adding single-column, no sidebar page template to twentyten. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13179 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:05:39 +00:00
Matt Thomas b67384850d Give the visual editor a max-width that matches the content width in twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13178 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 18:50:48 +00:00
Ryan Boren 0ac0e76299 Option validation error reporting. Props jeremyclarke. see #11474
git-svn-id: https://develop.svn.wordpress.org/trunk@13177 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 17:50:42 +00:00
Andrew Nacin 61f02ae2fb Better inline documentation for WP_DEBUG, WP_DEBUG_DISPLAY, and WP_DEBUG_LOG. Fixes #11987
git-svn-id: https://develop.svn.wordpress.org/trunk@13176 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 13:14:45 +00:00
Andrew Nacin 997bc6bedd Fix notices, props sivel. Fixes #12122
git-svn-id: https://develop.svn.wordpress.org/trunk@13175 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 12:26:47 +00:00
Andrew Nacin 5745de2119 Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
git-svn-id: https://develop.svn.wordpress.org/trunk@13174 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 12:13:34 +00:00