Commit Graph

11957 Commits

Author SHA1 Message Date
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
Ryan Boren 663ab7e478 Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13172 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 21:13:44 +00:00
Ryan Boren 6ce57fbc72 Add optional post ID arg to get_comments_link(). Props scribu. fixes #12249
git-svn-id: https://develop.svn.wordpress.org/trunk@13171 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 17:54:19 +00:00
Dion Hulse 04a67c293e 2nd pass at Taxonomy Term canonicalisation. Fix get_term_link() to expect null|false||WP_Error failure from get_term() family. See #12245, #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13170 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 09:08:26 +00:00
Andrew Nacin 4f34a62779 Use esc_attr. Fixes #12211
git-svn-id: https://develop.svn.wordpress.org/trunk@13169 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 04:16:52 +00:00
Mark Jaquith 5b5b870b16 Place a "Privacy On" mini-alert in the wp-admin header when it is on, to prevent people from accidentally delisting themselves from search engines. props scottbasgaard. fixes #12211
git-svn-id: https://develop.svn.wordpress.org/trunk@13168 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:54:40 +00:00
Mark Jaquith 49d4b41207 Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13167 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:44:20 +00:00
Mark Jaquith 37e62c69f5 revert function rename from r13129 which broke the comments form. props beaulebens. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13166 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 00:21:06 +00:00
Mark Jaquith 32766c9ff9 More and more, hosts are not using localhost for the MySQL connection. Reword the config setup text. props mrmist. fixes #11659
git-svn-id: https://develop.svn.wordpress.org/trunk@13163 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 15:21:34 +00:00
Dion Hulse a64273f056 Grammar fix, s/A item/An item/. Props aaroncampbell. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13162 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 10:00:43 +00:00
Andrew Nacin 343b2b1251 Init array in wpdb:get_results() and get_col_info(). Props UnderWordPressure, miqrogroove, fixes #10607
git-svn-id: https://develop.svn.wordpress.org/trunk@13161 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 10:00:39 +00:00
Andrew Nacin 966c84021f Only show "Popular Terms" header when there is a tag cloud to show. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13160 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 09:05:56 +00:00
Andrew Nacin 8c98828c2f Rename wp-includes/blogs.php to ms-blogs.php. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13159 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 01:08:23 +00:00
Andrew Nacin c95a891437 Fix var name conflict in delete_site_option(), see #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13158 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 23:30:31 +00:00
Dion Hulse cc6a0a5d41 Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13157 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 21:39:20 +00:00
Dion Hulse 8f009529bb Add 'themes_loaded' hook to run after parent/child themes have been included. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13156 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 21:27:55 +00:00
Andrew Nacin dc7a5f121c Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644, #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@13155 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 14:46:38 +00:00
Andrew Nacin ba884951f1 Fix notice in ms-options.php. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13154 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 14:08:36 +00:00
Andrew Nacin 307c874967 Improve updated messages in Media Library. Add plural strings, add Undo links for trash. Fixes #11402
git-svn-id: https://develop.svn.wordpress.org/trunk@13153 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 13:17:31 +00:00
Andrew Nacin f67f4d7405 Use $wp_query->get_queried_object(). Also move wp_head() to end of <head>, see #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13152 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 11:52:27 +00:00
Dion Hulse a498c11da0 Update wp_get_http() to handle redirections on HEAD requests. Un-deprecate $red header to track total redirections. See #10624
git-svn-id: https://develop.svn.wordpress.org/trunk@13151 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 11:23:32 +00:00
Andrew Nacin c4da5360d4 Adjust regex for counting links in a comment when checking if it needs to be held for moderation. Also fix notice in wp_new_comment(). see #11830
git-svn-id: https://develop.svn.wordpress.org/trunk@13150 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:59:37 +00:00
Dion Hulse 907b4933c5 Disable Redirection on HEAD requests. See #10624
git-svn-id: https://develop.svn.wordpress.org/trunk@13149 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:41:07 +00:00
Andrew Nacin 9d476c2d66 Add hooks across options and transients APIs. Focuses on site transients/options functions. Attempts to standardize where possible. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13148 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:39:46 +00:00
Dion Hulse 2bfeae67c6 Replace $authordata usage with API, Restore "Also posted in.."/"Also tagged..." on taxonomy archives, Handle Excerpts for Asides correctly on Archives. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13147 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:02:38 +00:00
Peter Westwood e7d1e80302 Introduce new get_generic_template() function for themes to use to bring in pieces of template.
Use in twentyten for loop.php including. See #9015.

git-svn-id: https://develop.svn.wordpress.org/trunk@13146 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 09:32:23 +00:00
Mark Jaquith af0d39b38b Skip intermediate sizes of a different aspect ratio than the original image when considering which image to use in image_get_intermediate_size(). fixes #12218
git-svn-id: https://develop.svn.wordpress.org/trunk@13145 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 08:21:07 +00:00
Andrew Nacin 76091e3e9d Use automatic_feed_links() in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13144 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 08:07:55 +00:00
Dion Hulse f33e66e512 Optimize single_post_title(), single_tag_title() & single_cat_title() to use WP_Query globals if available. Removes an extra DB Query in single_post_title() in most cases.
git-svn-id: https://develop.svn.wordpress.org/trunk@13143 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:38:00 +00:00
Andrew Nacin 396f458c51 More cleanups of the options/transients APIs. More inline documentation, better return values (always true on success, false on failure). Only call actions that are after wpdb delete/update operations if the operation was successful. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13142 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:21:15 +00:00
Dion Hulse 68d7f0d172 Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13141 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:13:34 +00:00
Mark Jaquith daea21aade Revert r13103 and merely restrict \$content_width obeying to is_admin(). fixes #12146
git-svn-id: https://develop.svn.wordpress.org/trunk@13140 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 06:34:47 +00:00
Andrew Nacin 79715e7a4c Whitespace, phpdoc, standard variable names, better return values for options and transients APIs. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13139 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 06:17:42 +00:00
Andrew Nacin 4acf280647 home_url() returns a value, needs to be echoed in twentyten header and footer. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13138 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 06:12:12 +00:00
Andrew Nacin d1e195db99 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Andrew Nacin fb08796f48 Actually remove stray line ref. [13135]. see #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13136 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:28:34 +00:00
Andrew Nacin db5b2edbf6 Manual L10n JS strings in install.php. Remove stray line, see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@13135 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:24:25 +00:00
Dion Hulse ae5ba76658 First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13134 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:07:47 +00:00
Andrew Nacin 43d5926b6b Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13133 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:47:45 +00:00
Andrew Nacin 0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin b38b545ed4 Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13131 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:14:59 +00:00
Dion Hulse fa61e1409d Comments.php PHP cleanup. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13130 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 01:16:58 +00:00
Dion Hulse c095bc880d Fix comment listing, Correct Indentations. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13129 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 01:12:51 +00:00
Dion Hulse ba7701007b Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13128 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 01:00:22 +00:00
Ron Rennick 0a4e820ba1 use current site domain for cookie domain when cookie domain not set, See #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@13127 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 00:12:08 +00:00
Ryan Boren 3da1c8bb17 Add ability to query by domain and/or path to get_blog_details(). Improve blog details caching. Use get_blog_details() in ms-settings.php so queries are cached. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13126 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 23:09:54 +00:00