Commit Graph

11767 Commits

Author SHA1 Message Date
ryan
447b0a50da Use background-position-x. Props iammattthomas. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 03:01:45 +00:00
wpmuguru
79f04413f4 introduce post & comment classes, props skeltoac, See #12267
git-svn-id: http://svn.automattic.com/wordpress/trunk@13187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 01:52:37 +00:00
ryan
d472b153ca Add some options to custom background admin. Needs styling. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 00:14:56 +00:00
nacin
9133e1c25e Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
git-svn-id: http://svn.automattic.com/wordpress/trunk@13185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 20:36:00 +00:00
ryan
6baf424bf5 Don't require a default category for post types other than 'post'. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 20:33:29 +00:00
nacin
15eee1c4f5 Remove STYLE_DEBUG constant, SCRIPT_DEBUG now handles both scripts and CSS. Fixes #12237
git-svn-id: http://svn.automattic.com/wordpress/trunk@13183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 20:25:51 +00:00
nacin
6444ad283f Modify style of new "Privacy On" admin header indicator. props scottbasgaard, fixes #12211
git-svn-id: http://svn.automattic.com/wordpress/trunk@13182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 20:16:54 +00:00
iammattthomas
b004b13b2b Fix meta-sep divider on gallery items in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:32:11 +00:00
ryan
a48e17cca1 Comment form output tweaks. Props beaulebens. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@13180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:28:03 +00:00
iammattthomas
252bd08b8c Adding single-column, no sidebar page template to twentyten. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:05:39 +00:00
iammattthomas
c26e30894e Give the visual editor a max-width that matches the content width in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 18:50:48 +00:00
ryan
08bb3568c6 Option validation error reporting. Props jeremyclarke. see #11474
git-svn-id: http://svn.automattic.com/wordpress/trunk@13177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 17:50:42 +00:00
nacin
79bdcc1446 Better inline documentation for WP_DEBUG, WP_DEBUG_DISPLAY, and WP_DEBUG_LOG. Fixes #11987
git-svn-id: http://svn.automattic.com/wordpress/trunk@13176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 13:14:45 +00:00
nacin
bd540fe7f1 Fix notices, props sivel. Fixes #12122
git-svn-id: http://svn.automattic.com/wordpress/trunk@13175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 12:26:47 +00:00
nacin
bc6924cf05 Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
git-svn-id: http://svn.automattic.com/wordpress/trunk@13174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 12:13:34 +00:00
ryan
f18f34ead8 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: http://svn.automattic.com/wordpress/trunk@13172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 21:13:44 +00:00
ryan
88f317209e Add optional post ID arg to get_comments_link(). Props scribu. fixes #12249
git-svn-id: http://svn.automattic.com/wordpress/trunk@13171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 17:54:19 +00:00
dd32
9d2b6b6047 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: http://svn.automattic.com/wordpress/trunk@13170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 09:08:26 +00:00
nacin
9cabc34e63 Use esc_attr. Fixes #12211
git-svn-id: http://svn.automattic.com/wordpress/trunk@13169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 04:16:52 +00:00
markjaquith
c2566a917a 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: http://svn.automattic.com/wordpress/trunk@13168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 03:54:40 +00:00
markjaquith
082eca5c48 Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
git-svn-id: http://svn.automattic.com/wordpress/trunk@13167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 03:44:20 +00:00
markjaquith
0744c77fbf revert function rename from r13129 which broke the comments form. props beaulebens. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 00:21:06 +00:00
markjaquith
1801751bc4 More and more, hosts are not using localhost for the MySQL connection. Reword the config setup text. props mrmist. fixes #11659
git-svn-id: http://svn.automattic.com/wordpress/trunk@13163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 15:21:34 +00:00
dd32
a09a3d513c Grammar fix, s/A item/An item/. Props aaroncampbell. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 10:00:43 +00:00
nacin
02834b7206 Init array in wpdb:get_results() and get_col_info(). Props UnderWordPressure, miqrogroove, fixes #10607
git-svn-id: http://svn.automattic.com/wordpress/trunk@13161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 10:00:39 +00:00
nacin
6597e399cc Only show "Popular Terms" header when there is a tag cloud to show. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 09:05:56 +00:00
nacin
dfe271c71b Rename wp-includes/blogs.php to ms-blogs.php. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 01:08:23 +00:00
nacin
fae5bdac1e Fix var name conflict in delete_site_option(), see #10788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 23:30:31 +00:00
dd32
f626e31e00 Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 21:39:20 +00:00
dd32
dce728dbda Add 'themes_loaded' hook to run after parent/child themes have been included. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 21:27:55 +00:00
nacin
f8ca7dfd10 Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644, #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@13155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 14:46:38 +00:00
nacin
17828647fe Fix notice in ms-options.php. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 14:08:36 +00:00
nacin
01429c0362 Improve updated messages in Media Library. Add plural strings, add Undo links for trash. Fixes #11402
git-svn-id: http://svn.automattic.com/wordpress/trunk@13153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 13:17:31 +00:00
nacin
9141add802 Use $wp_query->get_queried_object(). Also move wp_head() to end of <head>, see #9015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 11:52:27 +00:00
dd32
03e3247608 Update wp_get_http() to handle redirections on HEAD requests. Un-deprecate $red header to track total redirections. See #10624
git-svn-id: http://svn.automattic.com/wordpress/trunk@13151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 11:23:32 +00:00
nacin
775bebfade 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: http://svn.automattic.com/wordpress/trunk@13150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 10:59:37 +00:00
dd32
0c3a3e9be5 Disable Redirection on HEAD requests. See #10624
git-svn-id: http://svn.automattic.com/wordpress/trunk@13149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 10:41:07 +00:00
nacin
9ebbbf134e Add hooks across options and transients APIs. Focuses on site transients/options functions. Attempts to standardize where possible. See #10788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 10:39:46 +00:00
dd32
8902f273ce 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: http://svn.automattic.com/wordpress/trunk@13147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 10:02:38 +00:00
westi
067e66c8f6 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: http://svn.automattic.com/wordpress/trunk@13146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 09:32:23 +00:00
markjaquith
3284d920c0 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: http://svn.automattic.com/wordpress/trunk@13145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 08:21:07 +00:00
nacin
8e48c44de4 Use automatic_feed_links() in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 08:07:55 +00:00
dd32
0b8b9ef52a 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: http://svn.automattic.com/wordpress/trunk@13143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:38:00 +00:00
nacin
658c91ade3 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: http://svn.automattic.com/wordpress/trunk@13142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:21:15 +00:00
dd32
38a77b72cb Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:13:34 +00:00
markjaquith
e4283aed00 Revert r13103 and merely restrict \$content_width obeying to is_admin(). fixes #12146
git-svn-id: http://svn.automattic.com/wordpress/trunk@13140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 06:34:47 +00:00
nacin
4146a44f36 Whitespace, phpdoc, standard variable names, better return values for options and transients APIs. See #10788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 06:17:42 +00:00
nacin
ea5e854684 home_url() returns a value, needs to be echoed in twentyten header and footer. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 06:12:12 +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
nacin
04212c36f3 Actually remove stray line ref. [13135]. see #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:28:34 +00:00