Commit Graph

5879 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5871a56009 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: http://svn.automattic.com/wordpress/trunk@13133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:47:45 +00:00
nacin
cfa428b8d2 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
nacin
b43bb4330f Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
git-svn-id: http://svn.automattic.com/wordpress/trunk@13131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:14:59 +00:00
wpmuguru
99c15de631 use current site domain for cookie domain when cookie domain not set, See #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@13127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 00:12:08 +00:00
ryan
98e8daa20a 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: http://svn.automattic.com/wordpress/trunk@13126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 23:09:54 +00:00
ryan
731eada144 Move blogs table related functions to blogs.php. Include it before ms-settings.php so that caching API can be used instead of direct queries. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 22:35:11 +00:00
nacin
4caf701cdf s/$blog/$blog_id/ as an argument in wp_dropdown_users(), for consistency, see #11086
git-svn-id: http://svn.automattic.com/wordpress/trunk@13123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 20:17:15 +00:00
nacin
426a33b134 Don't query against entire users table in wp_dropdown_users() to be multisite friendly. Fixes #11086
git-svn-id: http://svn.automattic.com/wordpress/trunk@13122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 20:12:08 +00:00
nacin
12800b27fa Add is_multisite() check to wpdb::get_blog_prefix() to fix get_blog_prefix($blog_id) call on a non-MS install. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 19:57:43 +00:00
ryan
9316d29c1d Add trash to edit cap check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 19:05:10 +00:00
wpmuguru
976c058970 use object cache on get_blog_option on current blog, props sivel, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 18:56:50 +00:00
westi
d8490aeea2 Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 16:45:16 +00:00
dd32
b6bce1e1f0 Always set $link_text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:12:47 +00:00
nacin
e70189bba5 Fix typos in inline docs for clean_url() and esc_url().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:58:01 +00:00
nacin
b4f362264e Don't use deprecated functions. see #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:35:10 +00:00
markjaquith
b5652f0df3 Do not limit thumbnails by the content_width. props Viper007Bond. fixes #12146
git-svn-id: http://svn.automattic.com/wordpress/trunk@13103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 09:40:04 +00:00
nacin
07528c3bac Some phpdoc for functions.php. Props miqrogroove, see #12215
git-svn-id: http://svn.automattic.com/wordpress/trunk@13102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:59:04 +00:00
dd32
8136de990c Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: http://svn.automattic.com/wordpress/trunk@13101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:56:38 +00:00
dd32
7ad40486aa s/$original/$redirect/ in [13091]. Props miqrogroove. See #8948
git-svn-id: http://svn.automattic.com/wordpress/trunk@13099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:29:55 +00:00
nacin
eb22ca285f Move deprecated pre-2.8 widget API to deprecated.php. Deprecate register_sidebar_widget, unregister_sidebar_widget, register_widget_control, unregister_widget_control, in favor of their wp_* counterparts. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:55:28 +00:00
nacin
b76d0dc22e Deprecate old l10n and sanitization APIs. Deprecate __ngettext() for _n(), __ngettext_noop() for _n_noop(), translate_with_context() for _x(). Deprecate sanitize_url for esc_url_raw, js_escape for esc_js, wp_specialchars for esc_html, attribute_escape for esc_attr. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:28:19 +00:00
nacin
fd5f785cce Move deprecated functions to deprecated.php. Deprecate get_the_attachment_link() for wp_get_attachment_link(), get_attachment_icon_src() for wp_get_attachment_image_src(),
get_attachment_icon() and get_attachment_innerHTML() for wp_get_attachment_image(), get_link() for get_bookmark(). Add missing deprecated version numbers. Add inline documentation to pluggable functions that are deprecated. See #11388

git-svn-id: http://svn.automattic.com/wordpress/trunk@13093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:39:51 +00:00
dd32
cb15b038ff Bump tags JS version. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:20:45 +00:00
dd32
2741e81149 Canonicalisation of the Taxonomy urls. Redirect /category/child/ to /category/parent/child/. Fix striping of slashes to use $redirect instead of $original. See #8948
git-svn-id: http://svn.automattic.com/wordpress/trunk@13091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:17:59 +00:00
nacin
c8c6e1e6d7 RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:14:37 +00:00
dd32
22e4b1200e Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:08:15 +00:00
dd32
d5eac90642 Prevent Terms from being created in multiple taxonomies. If a slug is provided by the user, error out if it exists, else make the auto slug unique. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:52:27 +00:00
dd32
c9ea3a7686 Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:40:47 +00:00
dd32
5928ae6e76 Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:18:33 +00:00
nacin
833f6172f7 Optimize wp_rand(), only check transient when needed. Fixes #12144.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:33:33 +00:00
nacin
53ac3d960e Fix inline documentation for esc_js(). Intended for inline JS only, fixes #11690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 02:54:54 +00:00
nacin
52f2783331 Use correct var name. Props firebird75. Whitespace cleanup in wp_unique_post_slug(). Fixes #12078.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 02:42:17 +00:00
nacin
09820497cb Fix notice in get_cat_name(). Return empty string if category does not exist, fixes #11737.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 02:35:41 +00:00
dd32
c7253edea9 Strip out multiple slashes on non-post URL's. See #8948
git-svn-id: http://svn.automattic.com/wordpress/trunk@13072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 00:11:23 +00:00
dd32
6a4a3631e3 Do not poison query vars with /&foo=bar/ in requested URL. See #8949
git-svn-id: http://svn.automattic.com/wordpress/trunk@13071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 00:02:47 +00:00
ryan
2d78f9d6bc Add can_compress_scripts to core site options. Add phpdoc for wp_load_core_site_options(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 20:23:06 +00:00
ryan
224b82e5e0 Fix notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@13068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 20:14:17 +00:00
ryan
f97aa91a68 Preload commonly loaded site options when running multisite without a persistent cache. Introduce wp_cache_reset() and call it instead of wp_cache_init() when re-initing after the blog ID chanages to avoid throwing out the entire cache. Pass cached site options through the site option filter when fetching.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 17:06:43 +00:00
westi
b20c3c41d4 Improve the implementation of the default constant defining functions for multisite. See #11881.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 08:22:34 +00:00
westi
0206ffe69c Improve function naming for plugin file discovery functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 07:59:11 +00:00
westi
52cb02ef30 Improve the implementation of the default constant defining functions. See #11881.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 07:52:58 +00:00
westi
6289876414 Ensure we ignore the _SALT defines if they are set to the "default" unconfigured values or empty. See #12159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 22:51:51 +00:00
ryan
525d2a8609 Don't query the timeout for core transients that do not have a timeout. Avoids useless queries on non-existent site options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 19:43:22 +00:00
ryan
c75817ca52 Fix typos. Fix assignment. Remove passing of non-existent arg. Props ScottMac. fixes #12193
git-svn-id: http://svn.automattic.com/wordpress/trunk@13054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 16:58:32 +00:00
ryan
f147d89df7 Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 22:36:50 +00:00
ryan
98c0c1065b Remove leading slash so that it doesn't get doubled when front is added. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 21:57:25 +00:00
ryan
ca45669343 Retore p_status. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 20:37:18 +00:00