Commit Graph

12097 Commits

Author SHA1 Message Date
dd32 0cf65f18a6 Make better use of $wp_query->get_queried_object() instead of duplicating its functionality. See [13143]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:45:29 +00:00
dd32 c402ed54bb Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:41:15 +00:00
dd32 35cdac687c More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:26:44 +00:00
dd32 39620db24d First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: http://svn.automattic.com/wordpress/trunk@13216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:21:29 +00:00
dd32 fa9cd83410 Use the public query param instead of show_ui to determine if the Post Type is displayable. Props jfarthing84. See #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:05:13 +00:00
dd32 9ed7cba3e7 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: http://svn.automattic.com/wordpress/trunk@13214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:00:00 +00:00
dd32 8c26cffe1b 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: http://svn.automattic.com/wordpress/trunk@13213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 09:54:18 +00:00
dd32 ce0590be8c More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 09:33:50 +00:00
nacin 7d258d93af Update Text_Diff. Props simek. Fixes #9467
git-svn-id: http://svn.automattic.com/wordpress/trunk@13211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 01:25:26 +00:00
nacin df6d56b0ce Some more phpdoc bits for functions.php. Props miqrogroove, fixes #12215
git-svn-id: http://svn.automattic.com/wordpress/trunk@13210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 01:08:39 +00:00
nacin 84da5911aa 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: http://svn.automattic.com/wordpress/trunk@13209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 01:03:58 +00:00
ryan aba18243f0 Fix double escaping in wp_getComments. Props josephscott. fixes #12281 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@13207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 00:28:23 +00:00
nacin 91e0c6a98c Allow more special characters in wp_generate_password() second pass. props sivel, see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 00:03:36 +00:00
nacin a60b801d5d Bail early for favicon.ico requests so we don't load WP twice. Props azaozz, sivel. Fixes #3426
git-svn-id: http://svn.automattic.com/wordpress/trunk@13205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 23:41:50 +00:00
nacin 54c4ac3c8f 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: http://svn.automattic.com/wordpress/trunk@13204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 23:17:06 +00:00
nacin 85992786c8 Add Youtu.be short URLs and Smugmug to the default oEmbed providers. Props Viper007Bond, fixes #11556, fixes #12157
git-svn-id: http://svn.automattic.com/wordpress/trunk@13203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 22:43:52 +00:00
westi aa5f4d55b7 Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 22:09:06 +00:00
ryan cf1194aa8c jQuery UI 1.7.2. fixes #11595
git-svn-id: http://svn.automattic.com/wordpress/trunk@13201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 20:49:16 +00:00
ryan 06249d5aff Deny commenting on any post with a non-public status. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 20:08:35 +00:00
ryan 8e10d3dce0 Don't use array_fill_keys() as it is PHP5 only. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 20:03:04 +00:00
ryan 71b350a317 Don't include internal post types in the total. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 20:01:10 +00:00
ryan 3878927045 add_settings_error fixes. Props jeremyclarke. fixes #11474
git-svn-id: http://svn.automattic.com/wordpress/trunk@13197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 19:43:44 +00:00
wpmuguru c62a99c820 revert [13036], change not consistent with MU, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 15:40:19 +00:00
azaozz 4c52731c85 Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
git-svn-id: http://svn.automattic.com/wordpress/trunk@13195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 11:20:15 +00:00
dd32 4f460639c8 Display robots.txt even on blogs with 0 posts on the home page. See #12256
git-svn-id: http://svn.automattic.com/wordpress/trunk@13194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 10:57:49 +00:00
azaozz 481737b4ae Fix the 'colors' meta-css src (boolean) value generating parse_url errors, fixes #11820
git-svn-id: http://svn.automattic.com/wordpress/trunk@13193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 10:30:28 +00:00
azaozz e41f7c83ce Clean attachment cache when reattaching, fixes #11647
git-svn-id: http://svn.automattic.com/wordpress/trunk@13192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 07:43:35 +00:00
nacin 0dcfcc6e20 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: http://svn.automattic.com/wordpress/trunk@13191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 05:14:48 +00:00
nacin 63af26e0cd Use background-position, as background-position-x has incomplete browser support (Webkit and IE6+ only, no Firefox or Opera). See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 04:46:40 +00:00
ryan f35b2128ae Add defaults for background option radios. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 03:12:05 +00:00
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