nacin
16dd7cbc32
Add ms.css to script-loader.php. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 22:55:01 +00:00
nacin
8d39376b5a
Add filter to get_avatar() to allow avatars for custom comment types. Props usermrpapa. Fixes #11880
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 20:27:56 +00:00
nacin
23918aa60d
Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614 . See #12083
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 19:57:03 +00:00
ryan
3b98150c82
Sync pomo. Props nbachiyski. fixes #11832
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 18:01:50 +00:00
ryan
ebdbcbc4b3
Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 17:56:40 +00:00
nacin
b8ecd8058f
Fix potential notice. props hakre, see #12283
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 15:04:46 +00:00
nacin
98076edc73
Add missing i18n comment for a hard-coded string. Props Nao, fixes #11654
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 13:39:41 +00:00
dd32
f0fc5c2dd4
Update get_user_option()'s PHPDoc Comment to remove mentions of blog options. See #11615
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:49:07 +00:00
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
ryan
561bb70bb7
Add an echo arg to some general template functions. Props ShaneF. fixes #11842
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 18:37:14 +00:00
wpmuguru
f88db3571a
add option to validate on switch_to_blog, see #12023
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:50:26 +00:00
ryan
ec07eb3768
Add description field for post types. Props ptahdunbar. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 16:52:02 +00:00
ryan
61859c5f5e
First pass at custom background support. Needs UI love. see #12186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 20:37:12 +00:00
wpmuguru
26d0ba4c75
revert remove error_reporting from ms-files.php, remove _deprecated_file call from blogs.php, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 18:22:21 +00:00
wpmuguru
412aacfde1
remove error_reporting from ms-files.php, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 16:44:40 +00:00
ryan
ff8934e482
posts_search filter. Props skeltoac. see #10667
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 16:38:05 +00:00
ryan
6aabfcb1a8
Introduce DISALLOW_FILE_EDIT flag for enabling/disabling the theem and plugin editors. Props nacin. see #11306
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 00:07:52 +00:00
ryan
4ddde1ab9d
Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 22:05:05 +00:00
ryan
b34fd9b448
Change comment_form() markup to match twentyten. Props beaulebens. see #10910
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 20:54:29 +00:00
ryan
4f4d2d446d
Use comment_form instead of comments_form as the name of the hook. Props greenshady. see #10910
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:27:02 +00:00
ryan
c9d92fc859
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan
3ff118e774
Rename get_post_link() to get_post_permalink() to avoid conflict with bbPress. Props scribu. fixes #12172
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:23:32 +00:00
ryan
14e359a211
Use oEmbed for PollDaddy. Props Viper007Bond. fixes #12174
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:15:13 +00:00
ryan
4b2651d1e6
Slightly more informative error message for themes missing their parent theme. Need to offer to install the parent if it is in the themes directory.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 23:19:39 +00:00
westi
333f5b0cfa
Switch to a constant for the fallback theme. See #9015 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 22:36:37 +00:00
ryan
8e1a363a8d
Make twentyten the fallback theme. see #9015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 22:27:51 +00:00
westi
9a004ff9c8
Ensure we don't mangle the array of link categories when sanitising a link for editing. See #12168 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:59:24 +00:00
westi
41ca2c5621
Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:49:00 +00:00
westi
f65140c7b3
Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:07:35 +00:00
ryan
6d9989e775
Fix warning when installing.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:51:35 +00:00
ryan
52f281c0de
jQuery 1.4.1. Props Simek. fixes #11900
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 15:19:45 +00:00
dd32
884a4bca15
$term is an array not object, Fixes Notice on duplicate term checking. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 06:51:05 +00:00
dd32
90e046f5cd
Add missing filter to sy:updateFrequency in RDF feed. Props ramiy. Fixes #12156
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 03:43:52 +00:00
ryan
ba4753fa8d
Use canonical status list. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:51:24 +00:00
ryan
d0f8826c0b
Add more visibility args to post status registration. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:46:00 +00:00
ryan
9de60f3644
Add a separate show_ui flag for post types. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
ryan
ec8ba1ccd2
Register the auto-draft post status. see #11889
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:09:34 +00:00
westi
9ecd5ff925
Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:49:54 +00:00
westi
df792469b4
Ignore the continents-cities mo files when searching for the list of installed language packs. Fixes #12019
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 11:42:20 +00:00
markjaquith
0f924eee99
Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889 . fixes #11145 . fixes #11990
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
dd32
16a769cde9
Move admin CSS colour themes to the admin_init hook. Fixes #11625
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 05:15:26 +00:00
dd32
9147f8ba7e
Redirect ?page_id=xx for the Posts page to the posts page. Fixes #11991
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 03:50:55 +00:00
dd32
12c0b72d9e
Redirect home_url variants to home_url(). See #11991
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 03:40:24 +00:00
ryan
ba6228f2b7
Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:49:19 +00:00
wpmuguru
f3cae9b9d9
restore shell wp-content/blogs.php & add deprecated warnings, props nacin, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:40:22 +00:00
wpmuguru
908a280df4
Reduce DB queries by half during MU signup, props donncha, see #12140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:59:24 +00:00
ryan
b0e1f27a3c
Pass to post_type_link filter. Props prettyboymp. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:54:40 +00:00
dd32
dede5d2f46
Simplify https:// conversion in plugins_url()/content_url() functions
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 12:45:21 +00:00
dd32
226600f5b2
Fix plugins_url() for MU-plugins when running on Windows. Fixes #12080
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 12:39:04 +00:00
markjaquith
ca69d67041
Use addslashes() instead of esc_sql() in add_magic_quotes() to avoid the pretense of DB association. props miqrogroove
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 23:05:13 +00:00
westi
12038571e3
Fix bug in _search_terms_tidy. Fixes #12060 for trunk props miqrogroove.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 21:54:24 +00:00
westi
530f9273a7
Revert [12460] for now while we consider a better fix. See #10041
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 21:40:02 +00:00
ryan
f4ad08882e
Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:00:18 +00:00
wpmuguru
297f3e3757
close dir in recurse_dirsize(), props ddebernardy, fixes #11749
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:56:36 +00:00
wpmuguru
603d6cb6df
add siteurl filter for ms upgrades, props nacin, fixes #12069
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:26:38 +00:00
ryan
9f8149616d
ms-functions pruning and cleanup. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:57:32 +00:00
ryan
3894489a5f
Sitewide plugins cleanup. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:50:36 +00:00
ryan
cf7da6eab8
Introduce get_available_languages(). Validate WPLANG. fixes #11774
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:46:25 +00:00
ryan
92aef4cc3c
Make calendar valid HTML 5. Props iammattthomas. fixes #11554
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 16:06:58 +00:00
markjaquith
32d18323de
Use $required_php_version. Props nacin. fixes #11637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 21:38:09 +00:00
ryan
679a7b5b88
Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 19:50:37 +00:00
ryan
d45311c9fb
Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
wpmuguru
d1069acd38
improvements to custom content dir support, props nacin, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:19:56 +00:00
wpmuguru
3ff2ace58a
fix potential global terms inconsistency, props rboren, see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 01:00:57 +00:00
ryan
48aec5f822
phpdoc for global_terms(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 22:58:06 +00:00
ryan
1592ca9ff2
Cleanup network plugin loading. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
ryan
5922f7e2c4
Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
wpmuguru
998704b8d7
pass #2 change uploaded media rewrite rule, props nacin, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 16:32:19 +00:00
markjaquith
3e0f3f54d6
Initialize $post_type_query_vars to avoid is_array() warning. see #12923
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 03:18:27 +00:00
ryan
ed24c3dd40
Permalinks for custom post types. Props prettyboymp. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 23:12:26 +00:00
wpmuguru
88a89ebe44
add WP_DEBUG define check in DB code, props dxjones, see #12041
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 22:22:21 +00:00
wpmuguru
b01479de37
reorganize code on ms startup. props nacin, see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:26:08 +00:00
ryan
f1a954d944
Introduce get_the_date(). Props jeremyclarke. fixes #11264
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 16:28:54 +00:00
westi
e1ec3c052e
Support specific author templates by id or user_nicename. Fixes #12064 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 21:32:39 +00:00
westi
1e5c83ab2a
Fix typo in phpdoc for sanitize_text_field. Fixes #12091 props joshtime.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 15:41:19 +00:00
ryan
19c9d0bb79
Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:16:07 +00:00
ryan
1de8e037c8
Integrate mu_locale() into get_locale(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:03:51 +00:00
ryan
4e9de8d231
Code style cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:53:32 +00:00
ryan
7cf294e0e1
Update phpdoc to note that the default for public is false. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:26:33 +00:00
ryan
1b9caf7846
ms-settings cleanup. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 16:26:46 +00:00
ryan
bdfb0460da
Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 19:00:16 +00:00
ryan
59e57dd6af
User correct var. Props nacin. fixes #12066
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:30:50 +00:00
ryan
394eba5eb1
Clean up cache re-init code in Multisite. Props nacin. fixes #12065
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:28:44 +00:00
ryan
39957f273e
Add ms-default-constants.php. Props nacin. see #11881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:16:58 +00:00
wpmuguru
493a307cf7
rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 16:09:52 +00:00
ryan
0b2eaf01c5
Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 21:29:07 +00:00
ryan
40e61f93e5
Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:42:23 +00:00
wpmuguru
cda3031b06
Improvements to queries in populate_network(), also gettext, props nacin, see #11816
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
ryan
65ac9b6827
Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 18:11:17 +00:00
ryan
01b992c457
Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:45:49 +00:00
ryan
8fbdf18a6b
Respect maximum embed height. Props Viper007Bond. fixes #11980
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:38:48 +00:00
ryan
1b98b9c106
Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:10:32 +00:00
ryan
4d5e716f1c
Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:58:29 +00:00
wpmuguru
ecda3f2745
deprecate validate_email(), fixes #11745
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 01:27:25 +00:00
ryan
699387f747
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
ryan
cd57004569
Deprecate is_main_blog() for is_main_site(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:46:09 +00:00
ryan
9f1aa91f37
Integrate maybe_cancel_post_by_email() into wp-mail.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:53:59 +00:00
ryan
212533c466
Remove first page and first comment filters. They're no longer needed. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:42:37 +00:00
ryan
ab33443daf
Integrate login_spam_check() into wp_authenticate_username_password(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:25:34 +00:00
ryan
9b79d3d516
Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:15:43 +00:00
ryan
e6b0d64b4e
Integrate fix_upload_details() into wp_upload_dir(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:02:11 +00:00
ryan
40570257b1
Merge mu_upload_dir() into wp_upload_dir(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 19:04:55 +00:00
ryan
2df0c3eabe
Remove rss_gc(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:47:34 +00:00
ryan
5d2365a499
Remove fix_actve_plugins(). Props hakre. fixes #11750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
ryan
692cdf0c7b
Move load_muplugin_textdomain() to l10n.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:25:31 +00:00
ryan
8d48c939fa
Deprecate get_user_details(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:16:49 +00:00
ryan
844056354b
Deprecate get_current_user_id(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:12:38 +00:00
wpmuguru
77c73fa456
Change VHOST check to is_subdomain_install(), See #11796
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 15:20:49 +00:00
dd32
f80381d9a5
Remove accidental capability testing code. See #12035
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:37:25 +00:00
dd32
32adec13a9
First scratch at Taxonomy Capabilities. See #12035
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
ryan
9fc2bef3d1
Move blog deletion to ms-delete-site.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:46:41 +00:00
ryan
b090a0336f
Deprecate graceful_fail(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:09:43 +00:00
ryan
63f9a62af6
phpdoc and cleanup. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:01:43 +00:00
ryan
a7c1b164f6
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:50:01 +00:00
ryan
504c7a7e0b
Deprecate magpie. Props nacin. fixes #11982
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:37:05 +00:00
ryan
dd69637c65
Add optional comment ID argument to comment template functions. Props filosofo. fixes #12006
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 17:34:13 +00:00
dd32
34cc6ab57e
Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
markjaquith
7f91337a3b
Shake the JS weight away!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 06:16:17 +00:00
markjaquith
29bafc4bac
seismic failures.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 23:07:56 +00:00
ryan
44ba9a0ec0
Update @since. see #10910
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:13:31 +00:00
ryan
41eeb07634
comment_form(), first pass. Props beaulebens. see #10910
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:06:37 +00:00
wpmuguru
2caa9c7e40
Change get_blogs_of_user to include 3.0 main site, Fixes #11975
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:51:23 +00:00
ryan
3609f388f5
Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:35:59 +00:00
ryan
96b459d0b4
Fix warnings
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:14:22 +00:00
ryan
b1b44019ff
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
92bf8d124c
Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 17:27:28 +00:00
donncha
6847f8ea95
Delete the useremail cache when user updated. MU signup for old email fails until cache invalidated otherwise.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 16:06:31 +00:00
ryan
986a18cf1b
jQuery 1.4. fixes #11900
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 22:31:48 +00:00
ryan
141583e4c6
Add flag to taxonomy registration allowing permalinks to be prepended with front, or not. Props prettyboymp. fixes #11449
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 22:25:16 +00:00
westi
fa4b646642
Allow for an alternative handler for wp_die to be used if required. See #11892 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 22:13:20 +00:00
ryan
94859834fc
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
wpmuguru
2f3f5b351f
allow www installs to enable multisite, see #11945
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 17:20:23 +00:00
markjaquith
b42ea9c4ea
Update the inline documentation for HTTP to reflect the true order of HTTP transports
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 12:02:55 +00:00
ryan
decf135295
Update trash and right now links for pages. fixes #11958
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan
c679e65c9c
Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 21:58:13 +00:00
ryan
af9c401d97
Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:09:41 +00:00
dd32
6ad023b5e0
White space clean-up. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 07:44:47 +00:00
dd32
da10910302
Typo fix in Network Plugins. Props nacin. See #11881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 07:37:53 +00:00
wpmuguru
515d1354da
sync single and multisite cookie hash, remove extraneous code, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 01:14:05 +00:00
ryan
aac0a1230a
Use API to set the user's role. see #11781
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:12:04 +00:00
ryan
42d8102a9c
Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:45:44 +00:00
ryan
57c4b79b91
Introduce clean_user_cache(). fixes #11761
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:23:11 +00:00
ryan
9c02a43b93
Typo fix. Props mentel_br. fixes #11921
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:28:48 +00:00
ryan
506c22bfd5
phpdoc for load.php, return some includes to global scope. Props nacin. see #11881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:27:03 +00:00
ryan
7e294fd282
phpdoc for metadata API. Props wnorris. fixes #11943
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:08:04 +00:00
ryan
a06a4c6b70
Formatting cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:01:39 +00:00
wpmuguru
fe7b362bd1
options network page, db variable change, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:18:52 +00:00
ryan
e52de33dc2
Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
ryan
f7d7bc2dd0
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
dd32
7f34057330
Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674 . Fixes #11703
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
markjaquith
e0872e840c
Make it obvious that do_shortcode_tag passes the tag as the third parameter. plus code spacing cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 22:51:15 +00:00
dd32
45b2389358
Fix Typo in r12747, Move cURL Redirection check higher. See #11305
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 09:31:37 +00:00
dd32
5c739a4b9c
Allow WP_HTTP_Fopen to send extra headers and custom user-agents. See #11888
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 09:03:56 +00:00
dd32
b34906e9ec
Allow cURL to follow redirects when running under safe_mode or open_basedir. See #11305
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:15:52 +00:00
dd32
8c109d738b
Fix WP_Http_Streams to return a single set of headers in the event of redirections. Fixes #11555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:05:58 +00:00
dd32
651925fe74
Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:00:41 +00:00
dd32
fc2c5fd21b
Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 02:57:59 +00:00
dd32
f1bc3dde7b
Fix wp_mkdir_p() when running under safe_mode on certain PHP versions. Props Denis-de-Bernardy. Fixes #8830
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 02:44:47 +00:00
dd32
e85a09e8e9
Correctly set the body on Curl requests with an empty body. Add a defensive check to WP_Http_Encoding::decompress to prevent the decompression functions running on empty strings. Fixes #11912
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-16 23:11:28 +00:00
ryan
f9a92c2588
Coding style cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:25:40 +00:00
ryan
6da55f7792
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
439d50d655
Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00
wpmuguru
432087e89e
fix multisite object cache warnings, $table_prefix assignment, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 18:02:34 +00:00
ryan
933e511518
Support id=>parent in fields arg of get_terms. Returns array of parent ids keyed by the id of the child term.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 17:40:37 +00:00
ryan
61e1249bf0
Always set default timezone to UTC. Do offsets on top of that to be portable across all environments. fixes #9588 #11672 #11665
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:39:11 +00:00
ryan
c6737c2f02
register_post_type(). see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 18:49:56 +00:00
dd32
da4b7d09c0
Add MP4 Audio Book format(.m4b) for uploads, Fix order of mimetypes. props demetris. fixes #11864
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 10:06:02 +00:00
wpmuguru
591a31a664
add is_main_site() function, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:52:51 +00:00
ryan
0495192229
Make _get_term_hierarchy() query more efficient.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 20:12:04 +00:00
ryan
f4c3545fba
Formatting cleanup. Props Simek. fixes #11876
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 18:40:40 +00:00
ryan
c616e65733
Merge page.php into post.php. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
azaozz
bfb5ac0d25
Safely include class-json.php, class-simplepie.php and class-snoopy.php, props alexkingorg, fixes #11827
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 13:22:43 +00:00
westi
6cab12999b
@since version for wp_login_form. See #11172 props dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:33:28 +00:00
ryan
84ad379150
Formatting cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:30:21 +00:00
ryan
b4447f9f9c
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:23:58 +00:00
ryan
d24ac0a095
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:08:49 +00:00
wpmuguru
7b64248bc8
merge in multisite login, wp-includes, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:49:40 +00:00
ryan
fd5266e0a9
wp_login_form(). Props beaulebens. see #11172
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:48:43 +00:00
ryan
58d3776667
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 19:27:44 +00:00
ryan
30181fd9ea
Convert taxonomy children cache into a transient. fixes #11866
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 18:53:52 +00:00
markjaquith
ffe9beca1d
Do not fire the redirect_canonical filter if the redirect_url is empty. fixes #11700
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 19:05:43 +00:00
markjaquith
145db4bad0
Do proper canonical redirect for ?paged=1 or /page/1/. fixes #11696
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:56:03 +00:00
wpmuguru
dbd245932d
multi-site startup, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:10:51 +00:00
ryan
158b615cd2
phpdoc updates. Props sirzooro. fixes #11853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 15:50:17 +00:00
westi
90d3ce241c
Pass $version to deprecated_argument_run action hook. See #11386 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 15:02:12 +00:00
ryan
b26dc3c874
Don't delete site transient if it doesn't have a timeout set. fixes #11844
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 02:39:24 +00:00
ryan
25e152a58b
Post type caps. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
westi
bf4a5241e1
Add missing version numbers to _deprecated_argument() calls.
...
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 10:03:55 +00:00
westi
03ed98ab17
_future_post_hook should not call _deprecated_argument() as it will always get that argument from the action it is hooked to. Fixes #11815 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 09:55:41 +00:00
azaozz
9a58ea0649
Fix height of input and link buttons for all latest browsers.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 08:51:24 +00:00
azaozz
1fd65dfefb
Show error message in TB when iframes support is turned off in the browser, props nacin, fixes #10939
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 01:17:45 +00:00
wpmuguru
4b8c87da92
Add is_subdomain_install() to ms code - Fixes #11796
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 21:25:01 +00:00
ryan
166435891c
Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
ryan
dea7019303
Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:29:56 +00:00
ryan
34f9711beb
Set result of insert
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:09:04 +00:00
ryan
a581554d9a
Use correct var name. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:07:40 +00:00
wpmuguru
45cf3431f2
db class compatible with WP, MU & multi site - See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 19:26:00 +00:00
ryan
de5cecc69d
Sanitize page template class. Props willmot. fixes #11722
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:52:16 +00:00
azaozz
70d6691f15
Clean CSS of the Edit Image popup in the visual editor props Simek, show changed image size and fill width or height when left blank, fixes #11655 , fixes #10442
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 13:06:17 +00:00
westi
cc30f8ad98
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:51:12 +00:00
westi
4d0c9da793
Add support to get_terms() to allow 'include' & 'exclude' args to be arrays(). Fixes #11076 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:44:45 +00:00
westi
f05ee1844f
Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
westi
9e4d80b259
Deprecate get_alloptions(). Fixes #4915 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:29:55 +00:00
azaozz
9532a2a4bb
Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 01:01:52 +00:00
westi
904b89dc9f
Run the old WPMU random_password filter in wp_generate_password(). Fixes #11746 props uglyrobot.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:49:04 +00:00
ryan
0d31c12db6
Use update and insert. Props DD32. fixes #6836
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
ryan
083064e628
Revert extra bits that snuck in with [12650]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4
Assume current user of user ID is not passed. Props filosofo. fixes #11808
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +00:00
ryan
53324a6983
Deprecate is_site_admin. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 15:50:46 +00:00
azaozz
40efc5b7f4
Check if VHOST is defined in get_id_from_blogname()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 10:52:21 +00:00
azaozz
36b2df4606
When decompressing try to raw-inflate first, props dd32, fixes #11600
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 10:26:33 +00:00
westi
c30c392e91
Allow people to attach PHP 5.3 Closures to filters and actions. Fixes #10493 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 08:27:02 +00:00
westi
c7dae7d3be
phpDoc for ms-deprecated.php props nacin.
...
Make generate_random_password use wp_generate_password()
Fixes #11746 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@12635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:32:44 +00:00
azaozz
633cdd43e9
Silence error if TB iframe is loaded from another domain, see #6883
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 05:55:26 +00:00
ryan
adf017f6b9
Strip trailing whites from ms files. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:27:46 +00:00
ryan
43bfa1a300
Remove certain caps for non super admins when running multisite. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:05:53 +00:00
ryan
49cda5fdb6
Remove raquo. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:40:03 +00:00
ryan
ce33a91f95
Deprecate generate_random_password(). fixes #11746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan
eea7c0ee49
Better POST_BY_EMAIL logic. Props Denis-de-Bernardy. fixes #11752
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 01:29:40 +00:00
ryan
fd475d2b38
s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:30:53 +00:00
ryan
45ec04e3e9
Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
ryan
1a8bb6d244
Make *_site_option() multisite awate. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:57:35 +00:00
ryan
68073badbc
Return true for all admin user is multisite is not enabled. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:39:40 +00:00
ryan
5ba4a05d29
Introduce is_super_admin(). see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:27:22 +00:00
westi
53d810f260
Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 22:22:45 +00:00
ryan
8a42022e27
Fix deprecate spelling. Props filosofo. fixes #11758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:05:44 +00:00
westi
336bec5923
Set svn-eolstyle on some files. See #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 07:50:12 +00:00
westi
3a7520dfc3
Remove the gettext libs that accidentally got added back in. See #10890 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 07:44:25 +00:00
wpmuguru
d07d6c5717
Add mu only (inactive) files
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 04:02:57 +00:00
wpmuguru
2920185dfb
Adding multi-site settings code
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-05 20:59:48 +00:00
ryan
ca59a472c8
Restore [10490], part of which was accidentally reverted.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-05 15:50:30 +00:00
ryan
ec8e347792
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 17:23:29 +00:00
ryan
da89de4958
More custom post type support. Props scribu. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
befa36c379
Mark 2nd param of load_plugin_textdomain() as deprecated. Fixes #11679 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 10:28:05 +00:00
ryan
d375ef7d54
Use current_time() to calculate current time. Props filosofo. fixes #10915
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:56:09 +00:00
westi
eccd0eb4be
Don't pass deprecated argument to get_bloginfo() in get_index_rel_link() also observer user trailing slash preferences. Fixes #11607 props nacin and miqrogroove.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:08:23 +00:00
westi
9105b46360
Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:05:02 +00:00
westi
0163da57c4
Don't pass deprecated argument to comments_number().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:54:28 +00:00
westi
bb827e82c6
Mark user levels as Deprecated. Fixes #10805 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:51:32 +00:00
westi
ff7831207c
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
azaozz
94dd7f757b
Add more document file type extensions, props Otto42, dd32, hakre, fixes #7225
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 07:59:33 +00:00
azaozz
82b0dfbb72
Attempt to detect the correct post enclosure mime type, props josephscott, fixes #11668
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 07:36:17 +00:00
ryan
91c8fc90c0
Don't set charset if mysql version does not have the collation cap. Props miqrogroove. see #11666 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:34:12 +00:00
ryan
309afc8ad3
Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:11:18 +00:00
azaozz
c34d5345a1
Fix alignment of checkbox in table.widefat, fixes #11610
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 13:16:16 +00:00
ryan
300360655f
Use umeta_id for user meta. Props wnorris. fixes #11627 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 16:42:31 +00:00
azaozz
77706e5c74
Too many question marks, see #11315
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 00:56:41 +00:00
azaozz
7b40c7a03f
WP_Dependencies: pass NULL to disable script and style version query strings, props scribu amattie, fixes #11315
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 00:48:20 +00:00
azaozz
16e175cc0f
Update Prototype.js to 1.6.1 and remove the second copy of it from wp-includes/js/scriptaculous, update Scriptaculous.js to 1.8.3, props Simek, fixes #11041
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 22:30:58 +00:00
azaozz
ee22fa0603
Don't close thickbox when clicking outside the iframe while uploading, fixes #6883
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 21:03:54 +00:00
azaozz
1ddbdf2a2e
Move wp-admin.css and rtl.css to the wp-admin/css directory, rename rtl.css to wp-admin-rtl.css to follow naming standard, fixes #10985
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 20:06:57 +00:00
azaozz
e88cf62434
CSS whitespace and color definitions cleanup, props Simek, fixes #11561
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 18:17:06 +00:00
westi
33dc129208
Fix notices in get_the_title() when passed an invalid id. Also ensure that the filter gets the invalid id so a plugin can supply a default title instead. Fixes #11435 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 08:57:33 +00:00
westi
17c7533b72
Swap out ;; for ;. Fixes #11618 props demetris and nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:53:17 +00:00
westi
eb8c1d336e
Update wp_clear_scheduled_hook calls to use array when passing args. Fixes #11590 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:24:32 +00:00
westi
47a7b1b003
Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:12:04 +00:00
westi
fc38ae1d5b
Add new function _deprecated_argument() to be used for marking arguments as deprecated so that with WP_DEBUG enabled developers can see they need to review and update their code. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:06:00 +00:00
westi
16a007687f
More phpdoc fixes. Depreceated version numbers for _deprecated_file() calls in wp-includes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 10:53:34 +00:00
westi
2c2a0cc10c
Fix phpDoc for _deprecated_file(). Always pass the full path from ABSPATH to _deprecated_file().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 10:48:32 +00:00
markjaquith
81552ba995
Make sure the post global is actually an object before we treat it like one.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:30:12 +00:00
westi
8a80bffbae
phpDoc updates for functions.wp-styles.php. Merge from BackPress props CharlesClarkson.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:21:16 +00:00
westi
9ffd65beb7
Round the corners of the Update nag message. Fixes #10431 props Simek.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:08:13 +00:00
ryan
39febf48a3
windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy. fixes #11219
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 02:20:05 +00:00
ryan
2ecdf4550f
Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:54:17 +00:00
ryan
059d7225fb
Refresh deprecated bookmark functions. Props filosofo. fixes #10920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:49:22 +00:00
ryan
9b6bd6bf87
Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
ryan
810bf31f83
Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:35:12 +00:00
ryan
1f36d7eeb9
Upgrade SWFobject JS to 2.2. Props niallkennedy. fixes #11109
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:44:46 +00:00
ryan
8c799f9ad1
Update phpass to 0.2. Props hakre. fixes #10727
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:31:57 +00:00
westi
05e19b1cde
Check that get_page_hierarchy() returns something before trying to build the verbose page rules in WP_Rewrite::page_uri_index(). Fixes #11578 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:23:40 +00:00
ryan
adb37768c6
Add more orderby and select options to get_comments. Props filosofo. fixes #10668
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:16:13 +00:00
westi
f83b446117
Notice fix. Only return variable references by reference.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:03:04 +00:00
westi
0aaf0d83af
Make the meaning of is_home() more explicit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:44:57 +00:00
ryan
cedfa0181b
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
westi
0b517ae013
Extend the_modified_date() to support before/after/echo. Fixes #11255 props ShaneF.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:22:08 +00:00
ryan
354607036c
Remove unneeded quotes around vars. Props johnbillion. fixes #10245
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
ryan
ca9d676eef
Sanitize only string and numeric fields in the user object. Props filosofo hakre. fixes #11509 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:02:06 +00:00
ryan
36d9a3677e
Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:37:21 +00:00
ryan
e7d9a6913a
Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:25:09 +00:00
ryan
95835a693a
Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:16:36 +00:00
westi
a7618f99b1
Merging changes from upstream GlotPress revision [351]. Remove unused local variable.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 11:20:18 +00:00
westi
b47a03278e
Only run a second spaces strip if we replaced some octets. Also only replace spaces and we have already removed the other whitespace chars. Fixes #11573 props azaozz.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 11:00:29 +00:00
westi
aec63aa377
Improve sanitize_text_field() some more so that we don't leave extra whitespace after stripping octets. Fixes #11573 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:52:48 +00:00
westi
7ec819d925
Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions.
...
Fixes #11088 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:15:13 +00:00
azaozz
2128c3f4db
Fix sanitize_text_field() issue with some UTF-8 characters, fixes #11528 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:10:26 +00:00
ryan
819427dd05
Bump wp-admin css ver. see #11502
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:12:50 +00:00
ryan
137705d20b
Update json lib. Use encodeUnsafe in our json wrapper. Props nacin. fixes #11537 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 16:49:35 +00:00
westi
bc8237d349
Add is_comment_feed() to expose ->is_comment_feed. Fixes #10827 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 14:04:14 +00:00
westi
41dd7d25b7
Revert [12485] as it breaks the functionality of is_serialized() and make more strings appear serialized. See #9930 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 13:42:58 +00:00
westi
9189856169
Much improved is_serialized() which catches serialized doubles. Fixes #9930 props vladimir_kolesnikov and dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 13:10:06 +00:00
westi
b0356653a8
Pass the url to the 'wp_feed_cache_transient_lifetime' filter to give more context.
...
Allow plugins to set extra options on SimplePie using the new 'wp_feed_options' action.
Fixes #11117 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:48:40 +00:00
westi
736315e0d5
Use new $required_mysql_version global in wp-db.php when checking if the mysql version is new enough. Fixes #11478 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 11:49:22 +00:00
westi
acd41194ff
Ensure we don't destory the $wp_roles->role_objects property when assigning a second role to a WP_User object. Fixes #9128 props dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 11:42:46 +00:00
ryan
07fd78ef79
Make sure we have a SimplePie object before calling destruct. Props scribu. see #11518
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 23:36:12 +00:00
ryan
5f20b65114
Don't use CURLOPT_CONNECTTIMEOUT_MS or CURLOPT_TIMEOUT_MS due to bugginess. fixes #11505 see #11499
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 19:34:38 +00:00
westi
95b7e055ce
Check that there is a comment_agent to filter and otherwise filter an empty string. Fixes a notice during import from old WXR files. See #11484 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 15:35:00 +00:00
westi
c77de6f941
Add stricter checks to wp_insert_user() to ensure we don't create a user with an empty user_login but return a WP_Error instead. Fixes #11548 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 15:25:00 +00:00
ryan
7b00fcb9f6
Improve do_action performance. Make an associative array. Props koopersmith. fixes #10561
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 08:47:34 +00:00
azaozz
9fa732df33
Round back the buttons, see #11502
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-20 05:32:52 +00:00
westi
53dfdc063b
Fix wp_clear_scheduled_hook() so that it function prototype matches the other cron functions.
...
Include backwards compatibility code so that plugins that used the old way still work.
Fixes #10468 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@12462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:47:16 +00:00
westi
7d31610f6f
Improve like_escape to also escape '\'. Fixes #10041 props miau_jp and Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:07:16 +00:00
westi
10a6d0e916
Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 10:51:29 +00:00
westi
16d60d90a9
Fix notice in get_boundary_post_rel_link when there is no post to link. Fixes #11490 props ShaneF.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 09:21:00 +00:00
ryan
4bb7072c51
3.0-alpha
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 00:14:46 +00:00
azaozz
24e46cc36b
Fix checkbox and radio styles in IE7/8 and Opera
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 13:05:10 +00:00
ryan
98d62f55bb
Make sure dir() returned a dir object.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 19:56:05 +00:00
ryan
40035bf93e
Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 18:46:19 +00:00
ryan
6daee9e140
Delete all comment meta when deleting a comment. Props nacin. fixes #11463
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 17:54:23 +00:00
ryan
cdfda5dd2c
Delete all comment meta when deleting a comment. Props nacin. fixes #11463
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 17:10:40 +00:00
ryan
28d836c672
Properly handle float timeouts for all transports. Props mdawaffe. fixes #11468
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 16:13:58 +00:00
westi
9111a5405f
Fix phpDoc for Comment Meta functions to refer to comments not posts. See #11462 props sirzooro.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 22:13:53 +00:00
ryan
716af3c5e5
RC1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 17:50:18 +00:00
ryan
20162ec029
Delete instead of trash when bulk deleting media. Props nacin. fixes #11455
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 17:14:21 +00:00
ryan
b82594d1cd
Make the excerpt_more filter include the space. Props demetris. fixes #11456
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 16:38:58 +00:00
azaozz
9420825a1c
Check post and comment status before emptying trash, fixes #11442
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 01:35:29 +00:00
ryan
4aca3ca146
Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:16:00 +00:00
ryan
bee735ee04
Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:04:50 +00:00
ryan
60c67e593c
Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:01:57 +00:00
ryan
6ae74dfd09
Don't fall back to logged in cookie if in the admin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 19:57:20 +00:00
ryan
b38c409b40
Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 17:53:51 +00:00
ryan
57a16afcb2
Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 16:04:32 +00:00
ryan
11e3c1733b
Use ON DUPLICATE KEY UPDATE when inserting options to avoid duplicate entry errors. fixes #11437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 16:00:23 +00:00
azaozz
acf271551d
Add 'trash' in comment moderation emails, props nacin, fixes #11426
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 10:55:55 +00:00
azaozz
061e5ff77d
Fix typos, props aldenta, fixes #11440
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 04:55:47 +00:00
westi
2c4aadf49f
Fix some more html encoding in email subject issues. Fixes #9913 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 22:09:54 +00:00
ryan
b2af12a900
Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 16:46:05 +00:00
azaozz
72990cd094
Add another arg to 'get_comment_time' filter, props miqrogroove, fixes #11421
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 10:21:58 +00:00
azaozz
c1e0bd72af
Urlencode the search query in get_search_feed_link() and get_search_comments_feed_link(), props tenpura, fixes #11153
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 10:09:55 +00:00
azaozz
1c55a42fa0
Move is_admin() to wp-settings.php so it's available when query.php is not included.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 00:38:05 +00:00
westi
b300deaf01
Ensure that RTL langs don't get a horizontal scrollbar in IE7. Fixes #10748 props yoavf.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 17:56:22 +00:00
westi
60dfe693d4
Restore the check for trueness on $user_id so we don't run the queries or create the objects. Fixes #11419 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 17:32:14 +00:00
westi
a43c737a0d
Check that $user_id is set. For non-logged in users it is not set so we get a notice.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 11:43:19 +00:00
westi
5d087be7e9
Don't html encode quotes in the blogname in email subjects as this is a plain text output. Fixes #9913 props tenpura.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 11:38:45 +00:00
westi
563550f038
Bump the version number on the wp-admin.css files for [12377]. See #11149 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 22:28:48 +00:00
azaozz
bdc05e2ea2
Remove animation for admin notices, fixes #11267
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 19:53:06 +00:00
azaozz
a941587c26
Fix dashboard Right Now columns width in IE6/7, fixes 11293
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 08:49:45 +00:00
azaozz
e07bea12f8
Typecast to int the return of image_resize_dimensions(), fixes #7748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 08:06:24 +00:00
azaozz
4cee15f1be
Make animation faster for admin notices, props nacin, fixes #11267
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 07:34:04 +00:00
markjaquith
a8686bb67c
Optimize Whoa Cowboy query. Only look back one hour. props mdawaffe. fixes #4366
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:29:19 +00:00
ryan
6622b4fa8e
Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 16:38:59 +00:00
markjaquith
fba269f7f4
Reverting [12331]. see #10057
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 23:02:47 +00:00
ryan
fee3cd75a3
Remove unused variable. Props hakre. fixes #10765
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 22:55:06 +00:00
azaozz
2a42d27a22
Fix slashes in the Text widget, props Denis-de-Bernardy, fixes #10563
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:54:15 +00:00
azaozz
168d6af9ac
Image editor icons, props Ben Dunkle, fixes #10979
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:22:01 +00:00
markjaquith
182ec07a44
Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:13:11 +00:00
markjaquith
305f103c4f
Use http_response_code for wp_redirect(), so that fastcgi hosts always get 301 redirect love. props error. fixes #6779
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:33:17 +00:00
markjaquith
c8df74e369
Fix some wrapping/cropping issues for verbose languages. props Nao. fixes #11293
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:20:32 +00:00
markjaquith
d58c6a5dda
Do not double-stripslashes() on get_search_query(). fixes #11374
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:07:19 +00:00
markjaquith
805bdb9365
Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:03:26 +00:00
markjaquith
817376b35f
Forgot to check this in with [12353]. see #11140
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 07:37:41 +00:00
markjaquith
bf264bb66d
Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918
Allow registering post image support per post type. fixes #11364
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
azaozz
cf60d7c87a
Do not auto-scroll the media popup when opening an image details section if it can fit in the viewport, props caesarsgrunt, fixes #11269
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:24:45 +00:00
westi
ab2d609404
Remove passing of spurious argument to wpdb->db_version().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:00:55 +00:00
azaozz
b52703b322
Save menu sections' opened/closed state separately, fixes #10366
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 11:27:47 +00:00
markjaquith
f2df3f3751
Revision 12345. Nothing but whitespace fixes. That's how I roll.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:29:12 +00:00
markjaquith
df73d335a9
Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:27:53 +00:00
markjaquith
dc8492b9f5
Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:08:19 +00:00
matt
cff2ea75c7
Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
westi
5fae5d7d61
Urlencode the redirect url for the logout links as well as login in links. Fixes #10991 props Utkarsh.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:38:59 +00:00
markjaquith
0415ab7b42
Standardize around "post image" instead of "post thumbnail"
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
westi
2bfe9c548b
Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 12:45:32 +00:00
markjaquith
6c8f698427
Spam links are just as destructive as trash (more so, actually, since they deprecate the comment). Now they are also colored red, like trash. props caesarsgrunt. fixes #11304
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:45:02 +00:00
markjaquith
d71edf5122
Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:29:25 +00:00
markjaquith
706def0206
Do not display comments on non-public posts in comments widget. props Denis-de-Bernardy. fixes #9211
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:09:11 +00:00
westi
8c791aaf60
Check the correct global in get_page and also ensure that the cap check for deleting pages copes for the default page we edit when adding new. Fixes #11203 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:01:02 +00:00
markjaquith
6584c363d9
Yes, I did mean original... props coffee2code. fixes #10057
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 17:57:48 +00:00
ryan
d3e30f2ff6
Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 13:57:18 +00:00
markjaquith
ef1593e6da
Get rid of stray comma. fixes #10977 . props kevinB
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 18:01:01 +00:00
ryan
ba3275b123
Cleanup oembed caching. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:40:36 +00:00
ryan
0b106b0808
Use oEmbed for dailymotion. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:33:53 +00:00
westi
92a8421c69
Allow plugins to filter the UserAgent used for PingBack requests. Fixes #11317 props mtdewvirus.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 14:28:35 +00:00
ryan
9957a119b3
phpdoc for post thumbnail template functions. Props ramiy. fixes #11310
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 15:59:27 +00:00
ryan
7a6685e8d8
get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 15:52:11 +00:00
azaozz
dd81243d16
Validate date/time fields for posts and comments, fixes #10309
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 09:56:20 +00:00
azaozz
ae20d06e94
Fix errors when bulk actions executed on empty list, props nacin, see #11184
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 01:43:49 +00:00
ryan
60c6ba72c1
Fix is_tax(). Props scribu. fixes #10721
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-02 18:00:32 +00:00
ryan
c5054ba38b
Beta 2 bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 23:57:13 +00:00
azaozz
3610dd61a4
Fix canceling when deleting newly added categories and link categories, fixes #11296
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 23:51:04 +00:00
ryan
8b5ba8c556
Fix file validation in theme editor. Props dd32. fixes #11032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:03:13 +00:00
ryan
888310cbbc
Fix wp_nonce_ays() for log-out case. Fix IE6 padding. Props miqrogroove. fixes #11289
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 21:21:31 +00:00
ryan
729757afc2
Use correct var name. Props miqrogroove. fixes #10821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:41:41 +00:00
ryan
2d10b58caf
Do recently updated test only if show_updated. Avoids slow query.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:35:21 +00:00
ryan
711994ba4b
Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 18:01:24 +00:00
azaozz
fded0ca661
Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 09:22:48 +00:00
azaozz
37bcca4492
Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 08:14:42 +00:00
azaozz
31bc813a6d
Separate the removal of <p> wrapping from shortcodes into another function and apply it with different filter, props miqrogroove, props mdawaffe, see #11257 , see #11249
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 07:46:36 +00:00
ryan
96c363a384
Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 02:06:02 +00:00
ryan
41099db69b
Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 22:17:28 +00:00
ryan
97bf1f11bd
Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 21:41:52 +00:00
azaozz
dafb319ebe
Fix Right Now comments counts for trash, spam or undo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 00:49:33 +00:00
ryan
6aeb3bd273
comment status transition was broken due to sneaky reference return in &get_comment. Props skeltoac
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-29 20:05:39 +00:00
azaozz
f33e161d18
Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-29 10:29:12 +00:00
azaozz
f296da8169
"Trash" fixes, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 03:56:20 +00:00
azaozz
00a9b90dc9
Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 02:56:15 +00:00
westi
0c0bfbce3e
Restore functionality of setup_userdata() when a user id is supplied. See #11271 and #11222 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 18:17:44 +00:00
azaozz
fe29434e05
Undo for setting a comment as spam, props caesarsgrunt, fixes #11260 , see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
c3f7df6b24
Fix notices and phpdoc, props hakre, fixes #10758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
azaozz
16ebe3bc82
Avoid a rare case of black line in cropped thumbnails, props miqrogroove, fixes #7748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 06:58:21 +00:00
azaozz
5f74404560
Get the right number of pages then excluding a tree, fixes #11205
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 05:22:09 +00:00
azaozz
fc341ce3ab
Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259 , see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 04:37:39 +00:00
azaozz
474642271d
l10n for thickbox.js, props nbachiyski, fixes #10278
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 11:08:39 +00:00
azaozz
6efcb2913a
Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 09:50:20 +00:00
azaozz
e7265c1245
Set uploaded files extensions to lower case, fixes #11218
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 05:04:30 +00:00
ryan
4c1c30fbd6
Don't require titles for attachments. Props caesarsgrunt. fixes #11052
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:52:32 +00:00
ryan
9f2fbbc2f9
Fix attachment rewrite endpoints. Props Curioso. fixes #5553
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:08:13 +00:00
ryan
cfc8317abe
Standardize on user_id instead of user_ID when passing comment data. fixes #11222
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 21:04:11 +00:00
ryan
a03752fdb4
Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:47:22 +00:00
ryan
97b5a5f483
Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:17:46 +00:00
ryan
38bcfbb49b
Reduce memory usage for XML-RPC requests. Props Demitrious Kelly. fixes #10698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 16:53:36 +00:00
westi
693451e75f
Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 22:33:45 +00:00
westi
6ba5006153
Mark _c() as Deprecated people should use the new _x() instead. Fixes #11225 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 12:07:41 +00:00
azaozz
986cc7d505
Ignore trashed comments for duplicate comment check, props scribu, fixes #10944
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 11:31:21 +00:00
westi
5994455911
Allow plugins to override the behaviour of load_textdomain() in a variety of flexible ways. Fixes #11012 props johanee and nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 09:28:32 +00:00
westi
d2fa378957
Ensure that make_clickable links correctly when the link is placed in brackets and has trailing punctuation. Fixes #11211 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 09:14:17 +00:00
azaozz
fce64c00bc
Always register all widgets, props hakre, fixes #10954
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 03:40:55 +00:00
ryan
9ee40acb93
Fix preview of pending pages with permalinks on. Props dj-wp. fixes #11199
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:47:25 +00:00
ryan
247449a148
script loader phpdoc improvements. Props nacin. fixes #11201
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:44:46 +00:00
ryan
8414c6c62f
Use correct var name
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:32:56 +00:00
ryan
4b20540781
Fix double slashing. Props scribu. fixes #11061
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 14:23:41 +00:00
azaozz
ac2988c39c
Add video/x-flv to mime types, props hakre, fixes #11051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 04:19:44 +00:00
azaozz
128927e43b
Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 03:01:22 +00:00
azaozz
b48cf4a3e3
Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:54:12 +00:00
azaozz
4200c001cb
Specify background color for input elements, props hakre, fixes #10881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:46:23 +00:00
ryan
c831a9e3ef
Add context to strings. Props nbachiyski. fixes #10738
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
ryan
3de2e1a319
Don't return extra permastructs if pretty permalinks not turned on. Props scribu. fixes #11061
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:47:11 +00:00
ryan
1d3d70d375
Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:41:53 +00:00
westi
c616c60c0d
Reduce the size of the data returned by get_themes() by ~30% by reducing duplication.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 20:45:37 +00:00
markjaquith
66ce42a9f9
Do not use the unreliable in_the_loop() when grabbing terms. fixes #11189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 19:42:52 +00:00
ryan
c8ead9801c
Return if no comment queried
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:58:11 +00:00
ryan
2892919a51
Fix var name typo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:55:23 +00:00
ryan
6189a6fce2
Make option_id primary. Add uniques for option_name and autoload. see #2699
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:42:07 +00:00
ryan
f0f570d098
Avoid warning when parent template does not exist.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:35:17 +00:00
azaozz
51aaa9c7c3
Fix removal of .form-invalid in IE, props aldenta, fixes #11181
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 10:24:14 +00:00
azaozz
42df991367
Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:46:07 +00:00
azaozz
f2dc806c22
Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:12:16 +00:00
markjaquith
b43020e0ab
Pass some additional variables to post_image_html filter. props waltervos, scribu. fixes #11167
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:09:00 +00:00
ryan
4615f5b809
Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:04:07 +00:00
ryan
47001b4c43
Don't destruct if WP_Error. Props scribu. fixes #11168
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:52:38 +00:00
ryan
039a004122
Return if no post to avoid warnings
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:04:09 +00:00
westi
e7941d795e
Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:22:49 +00:00
markjaquith
f4ae37b9f1
Do not destroy characters surrounding shortcodes in strip_shortcodes(). fixes #10326
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:12:05 +00:00
azaozz
c131504b28
Let plugins predefine thickbox image vars, props aaroncampbell, fixes #6453
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 00:19:55 +00:00
ryan
d6bd539813
Deprecate make_url_footnote(). fixes #4968
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 21:11:24 +00:00
ryan
0334c59be2
Fix undefined index notice in canonical. Props dd32. fixes #11057
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 21:01:03 +00:00
ryan
8085eddc56
Add translator comment. Props nbachiyski. fixes #10737
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:54:38 +00:00
ryan
4b8a5274af
Return null if no term queried. fixes #11112
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:51:32 +00:00
ryan
cdf11d3479
Allow 0xAD in URI attributes. Props nbachiyski. fixes #9823 #10859
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:18:48 +00:00
ryan
28723e1d9f
Ue get_default_feed() for *_the_category_rss(). Props filosofo, peaceablewhale. fixes #5802
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 16:27:36 +00:00
ryan
6c2248e2d2
Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:44:59 +00:00
ryan
7154852c94
Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:42:58 +00:00
ryan
6df4481b33
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 14:57:10 +00:00
azaozz
903ff7a22f
Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:16:34 +00:00
azaozz
573c9fe1e4
Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 01:37:30 +00:00
azaozz
dc7d0f1dff
Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 05:39:17 +00:00
ryan
1388798565
Add wordpress.tv to oEmbed provider whitelist. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 22:05:05 +00:00
westi
9c682f5a33
Add load_child_theme_textdomain() to allow child themes to have there own translation files. Fixes #11033 props load_child_theme_textdomain.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 21:50:17 +00:00
ryan
e5a98d208a
pomo performance improvements. Props nbachiyski. fixes #10165
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 16:05:43 +00:00
ryan
742349b291
Fix argument order. Props mdawaffe. fixes #11125
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 14:43:15 +00:00
ryan
3df56a9360
Fix mimes empty check
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 05:20:48 +00:00
ryan
6a65d30970
Sanitize filenames with multiple extensions. see #11122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 23:07:29 +00:00
ryan
4998669f19
Add actions for option writes. Props apokalyptik
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 15:26:11 +00:00
azaozz
fb0d8b44ee
Fix image meta after editing image, disable the Save button when no changes, fixes #11115
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 11:24:01 +00:00
azaozz
fb1bb44d60
Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 10:38:19 +00:00
westi
5a9f4aabd5
Better documentation on the format of the capabilities when adding a role. Fixes #11106 props simonwheatley.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 22:15:50 +00:00
azaozz
a762c0103f
Fix hiding of "Add new tag" tip in IE6/7, props yoavf, fixes #11107
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 21:54:52 +00:00
ryan
42d1c20cf6
Add force delete option.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 20:12:07 +00:00
ryan
2bf341d5d5
Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 18:53:21 +00:00
westi
9655ccf4d8
Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-08 11:05:49 +00:00
azaozz
0893cbd9a2
Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-07 00:50:28 +00:00
ryan
424cc274f1
Add a bunch of new filters. Use one of them to remove new lines from Scribd embeds. Invalid oEmbed post meta cache without using JS. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-06 14:22:23 +00:00
ryan
87208b9a48
Remove ints from switch. see #11073
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 22:53:31 +00:00
ryan
b75a06af15
Propagate walker arg down the stack. Props scribu. fixes #10921
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 22:01:53 +00:00
ryan
33a8043b97
Trash comments when trashing a post. see #11073
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 21:03:09 +00:00
westi
13c02951d1
Remove unecessary reference to wpdb global. Fixes 11087 props aaroncampbell.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 20:28:46 +00:00
markjaquith
7b40dadd8d
Add missing break. props nickohrn. fixes #11037
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 20:02:18 +00:00
ryan
795d034b4a
Allow querying multiple post types. Props prettyboymp. fixes #10791
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 16:08:53 +00:00
ryan
c3041b4f56
Honor Post Type for Sticky Posts. Props chrisscott. fixes #11072
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 15:52:01 +00:00
ryan
cf7279320b
Fix comment and postmeta delete queries when deleting a post. see #11073
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-04 17:39:53 +00:00
azaozz
59c0c60e1c
Fix IE8 reply to comments from admin fade in/out, decrease comment undo timeout, hide comment reply when moving to trash, fixes #9896
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-03 08:28:59 +00:00
ryan
872e7cc3eb
Fix regex. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 20:50:49 +00:00
ryan
cca2279a4d
Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 14:41:35 +00:00
westi
a980ec773a
Improve get_page_template() to search based on slug and id as well. Fixes #11055 props aaroncampbell.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:18:34 +00:00
westi
7251aff3f3
Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:10:06 +00:00
markjaquith
a8c96db902
Introducing add_theme_support(feature) and current_theme_supports(feature) for announcing and checking theme support for various features. Implement it for post/page thumbanils, hiding UI if not supported.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 05:27:39 +00:00
ryan
475b2737ba
Add scribd to oembed provider whitelist. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 20:03:41 +00:00
azaozz
a55fd568d4
Trash undo for the uploader, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
ryan
7578a5b511
get_themes() and theme root fixes. see #10467
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 00:18:15 +00:00
ryan
9ee06eaec7
Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 21:53:57 +00:00
markjaquith
dd4b5f01c0
Allow ordering by comment_count. fixes #11037
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 18:02:55 +00:00
ryan
6ecb855d33
Switch to wp_kses_data() for displayed filtering to avoid slashing. fixes #10949
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 17:32:23 +00:00
ryan
4ec1d4bc32
Introduce wp_kses_post() and wp_kses_data() for filtering unescaped data. Fixes slashing of displayed fields. fixes #10949
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 17:15:58 +00:00
ryan
f089f96723
Theme roots are prefixed with a slash. No need to add another. Props hakre. fixes #11036
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 21:58:15 +00:00
ryan
cd8071e7ce
Fix revision3 scheme. Add photobucket oembed. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 20:13:09 +00:00
azaozz
b86f746d21
Fix possible bad query, props aaroncampbell, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 03:10:59 +00:00
ryan
31f5798fbb
Schedule trash collection from admin page loads. see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 18:13:42 +00:00
ryan
1ada1c60de
Theme subdirs that contain themes are not broken if missing a stylesheet. see #10467
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 17:32:12 +00:00
ryan
fd5848823e
More theme subdir fixes. see #10467
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 17:17:23 +00:00
ryan
b2a6e37519
Partial fix for theme subdir support. see #10467
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 16:45:30 +00:00
ryan
0dd4b4ab9e
Remove slow left join pending better solution. see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 15:51:58 +00:00
azaozz
aac51df0e9
Fix timeout for the inline buttons on images in TinyMCE.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 09:06:26 +00:00
azaozz
dec601ae27
Fix tag input tip in IE
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 08:43:17 +00:00
azaozz
a4996245ec
PressThis: fix TinyMCE config and IE6 css "hasLayout"
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 00:23:58 +00:00
markjaquith
085c01ac7a
thumbnail JS fixes. props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 18:02:44 +00:00
azaozz
ea955a4191
Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 20:54:13 +00:00
azaozz
a980fad82a
Remove unused vars in get_the_content and wp_link_pages, props filosofo, fixes #11028
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 20:44:35 +00:00
azaozz
49b306fcc9
Refresh script versions for [12098]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-24 15:58:41 +00:00
azaozz
f5c253376e
When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-24 11:43:42 +00:00
ryan
deaf8bd758
Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 19:33:24 +00:00
azaozz
efe32b7285
PressThis fixes from noel, fixes #11011
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 04:32:56 +00:00
westi
3eb5db4558
Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 20:15:54 +00:00
westi
42eb1ba7ca
Improve _wp_filter_build_unique_id to give more consistent behaviour and make filter removal reliable for class based filters. Fixes #10535 props dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 19:33:11 +00:00
westi
2c79c7c71f
Ensure that trailing ) in urls are included in the link when it looks appropriate. Fixes #10990 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 18:46:27 +00:00
azaozz
201d24f044
TinyMCE in Firefox: fix crash when dragging images with caption, drag the image together with the caption (only in Firefox 3.5+)
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 05:30:29 +00:00
westi
c29de44907
Improve wptexturize performance. Fixes #10987 props johanee.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 21:57:27 +00:00
ryan
b5f93c8431
Set eol-style
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 14:30:51 +00:00
markjaquith
0bb1056228
Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 07:27:33 +00:00
westi
8a7d717bb5
Switch to using NOOP_Translations for untranslated sites. Fixes #10971 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 07:09:00 +00:00
westi
cd36d71ed9
Merge updated pomo code. Includes new NOOP_Translations class see #10971 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 07:06:55 +00:00
ryan
4f3eab3de3
Strip nulls
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 18:52:37 +00:00
azaozz
81b2167be3
Fix replying to comments from admin, props josephscott
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 17:45:12 +00:00
ryan
ce94d9ca5c
Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:28:44 +00:00
markjaquith
22518cefe2
Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:10:46 +00:00
azaozz
76f6b9706e
Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 20:23:35 +00:00
ryan
5891de3455
Make get_adjacent_post work with custom post_types. Props prettyboymp. fixes #10717
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 16:31:20 +00:00
markjaquith
529cc9244b
Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 13:58:44 +00:00
westi
5f9ac8a5fd
Ensure we always have author info to check capabilities with. Fixes notice on Add new post page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 12:06:39 +00:00
westi
04638ecd6f
Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 11:50:59 +00:00
azaozz
d0b8296e23
Smoooth animations for comment move to trash and undo, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 05:59:03 +00:00
azaozz
a9f80b1937
Bring WP_Dependencies::dequeue() in line with WP_Dependencies::enqueue(), props chrisbliss18, fixes #9870
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 05:51:30 +00:00
ryan
087e3d2376
Use array_intersect_assoc()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 16:20:52 +00:00
markjaquith
169c14b225
Add the author to the quick edit dropdown author list if they currently lack the ability to edit so as to avoid stealing their post away from them. fixes #10967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 05:18:29 +00:00
markjaquith
57b5a0cc30
Fix wp_list_comments() ol/ul/div logic oversight. props junsuijin. fixes #10742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 21:47:35 +00:00
westi
c26e33b939
Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 21:07:00 +00:00
westi
995ff3cd3c
Restore the functionality of the theme_root filter. See #10467 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:45:32 +00:00
ryan
bf96c01551
Associate subdirector of whitespace trims trailing whites with pinking shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
markjaquith
83c2393f43
Director of Whitespace rules default-filters.php with an iron fist
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 17:27:45 +00:00
markjaquith
95a814ffe6
Remove redundant !empty() checks. props filosofo. see #10960
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 14:47:04 +00:00
markjaquith
1310ecbd1c
Add wp-post-image CSS class to post images. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 14:27:04 +00:00
markjaquith
2fa9ebab8f
Remove close TB call that was removed earlier. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 13:58:10 +00:00
markjaquith
af407e7e3f
Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
markjaquith
0dc4500e09
Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:31:48 +00:00
markjaquith
398bfcd57d
Do not do a canonical redirect for negated author query strings. fixes #10960
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 09:13:38 +00:00
markjaquith
17039e3294
Do not close media thickbox after thumbnail is selected, in case uploads are in progress. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 08:42:32 +00:00
azaozz
72666a5458
Fix tags and categories postboxes in PressThis
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 07:30:10 +00:00
markjaquith
0a665944e8
Add set_user_role action hook. props jamescollins, usermrpapa. fixes #10716
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 02:30:51 +00:00
ryan
18f11f1fbc
Use oEmbed for youtube. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 22:36:24 +00:00
markjaquith
d86259fcb1
Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 19:06:35 +00:00
ryan
410d1e28d8
Bump db version
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 18:50:16 +00:00
ryan
410fcc2e42
Embeds. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
azaozz
b2966fba30
Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
azaozz
efa493655e
Show the login form in a popup when autosave hits the login grace period, fixes #10704
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 11:26:59 +00:00
markjaquith
831178162c
First pass at canonical post image template functions. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 08:31:21 +00:00
azaozz
4b53a32f07
Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 09:02:22 +00:00
westi
41099f6e33
Allow the separator in wp_tag_cloud and wp_generate_tag_cloud to be specified. Fixes #10315 props ramiy and filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:51:34 +00:00
westi
7fc17ec0bd
Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:37:26 +00:00
westi
939f882ff9
Add a filter to the_author_posts_link(). Fixes #10691 props sirzooro and filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:04:04 +00:00
westi
7d2a85c40e
Allow for tag templates to be linked by tag id as well as name. Fixes #10868 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 17:27:51 +00:00
westi
88dfeaca8a
Remove rel='tag' on links in Tag Clouds as it is only for outbound links where the destination is a tag for the current page. Fixes #10897 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 17:05:32 +00:00
azaozz
d20c23e98d
Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
markjaquith
d7a30e235f
First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
westi
923a3ade8a
Remove the php-gettext library as we don't use it anymore. Fixes #9751 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 20:42:05 +00:00
westi
f1db510742
Fix the specification of the object_type column in delete_metadata so that it will delete stuff if $delete_all is false. See #2659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 19:18:21 +00:00
ryan
e3f1a830d3
Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 14:43:05 +00:00
azaozz
ba6b275c7a
Add conditional to handle get_comment_meta() return value, make #comment_id required arg for wp_trash_comment() and wp_untrash_comment(), see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-05 01:49:19 +00:00
azaozz
5680630d1f
Fix delete_metadata(), see #2659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-05 01:08:06 +00:00
westi
4e4d7ec08c
Make the (add|get|update)_site_option functions run the same filters in WP as they do in mu. Fixes #10893 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-03 21:40:27 +00:00
westi
606b6197b5
Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 19:59:35 +00:00
ryan
0c557fdb02
Use ID, not user_id. Props filosofo. fixes #10709
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:52:01 +00:00
ryan
93b3ed3915
Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:41:09 +00:00
markjaquith
9109450809
Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
6f099a9117
Image Editor: add load and save image filters, fix backup sizes meta, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 08:38:32 +00:00
azaozz
856e319884
Press This: editor fixes and CSS tweaks for IE6/7
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 09:46:13 +00:00
ryan
8fc7ea66af
Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 22:32:27 +00:00
ryan
5224680c4d
Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
markjaquith
4ead128521
esc_sql() for wp-includes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 05:33:56 +00:00
azaozz
e73a081be7
Expose HTTP PUT when supported, props mdawaffe, fixes #10855
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:52:42 +00:00
azaozz
ac1deea61c
Improve get_page_hierarchy, props hailin, fixes #10853
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:45:52 +00:00
azaozz
ba74883676
TinyMCE 3.2.7
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 08:33:16 +00:00
azaozz
1e611d37da
Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 04:07:27 +00:00
azaozz
200f6e921a
Image Editor: fix minified CSS, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 20:22:31 +00:00
ryan
57f26bb58e
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
ryan
ead46cf470
Actions for postmeta updates. Props Demitrious Kelly. see #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:10:28 +00:00
azaozz
48932f96fe
Image Editor improvements, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
westi
5cc8fc22a9
Fix notice in wp_explain_nonce when the supplied action has no extra text. See #10830 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 06:51:19 +00:00
ryan
e1d48f65ce
Set the cap appropriate to the post type. fixes #10807 see #10605
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 22:57:01 +00:00
westi
7b54e813b5
Updated phpdoc for the theme preview code.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 07:16:19 +00:00
markjaquith
a131ad469e
Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 06:00:46 +00:00
westi
6ed2dfd478
Move theme preview away from using create_function and to predefined functions. See #10729 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:43:41 +00:00
ryan
5e4dc4dfd4
get_delete_post_link()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:33:00 +00:00
westi
6784dc62c6
Fix notice when adding tag from the Post Tags page. Fixes #10808 props prettyboymp.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-18 21:06:23 +00:00
westi
8e7f77c8fb
Return correct results for both single and array cases. Fixes #10803 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 22:11:57 +00:00
westi
08374eeaf9
Remove temporary transition code from the trash_meta option to postmeta transition See #4529 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 21:06:41 +00:00
westi
6ef909e45e
Don't pass undefined vars to action hooks. See #2659 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 21:05:29 +00:00
westi
ef11608c43
Move the storage of the metadata for trashed comments into the comment meta table rather than storing it in an option. See #4529 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:51:12 +00:00
westi
c67e70dd91
First pass commentmeta implementation. See #2659 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
ryan
ae21304492
Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 14:03:57 +00:00
ryan
5bde977c6c
Update SimplePie to 1.2. fixes #10392
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 16:33:59 +00:00
ryan
dcf36249d2
Fix content length setup. Props jacobsantos. fixes #10783
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 15:57:49 +00:00
ryan
4942a41307
Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 15:40:17 +00:00
azaozz
eccd75e38c
Strip \r when escaping strings for JS, props nbachiyski, fixes #7041
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 10:11:59 +00:00
ryan
203de75d3d
Use null instead of 0 when setting content length. Props noel. fixes #10783
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 20:49:18 +00:00
ryan
8e3808bce2
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan
aa1e377ede
Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 13:57:48 +00:00
azaozz
3709397168
Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 02:06:33 +00:00
azaozz
0bef493958
Avoid rare autosave collision when trying to publish the post immediately after it was autosaved, fixes #6785
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 23:36:09 +00:00
westi
50a2f86dda
Correct key padding and add support for raw_output in hash_hmac. Fixes #10284 props mdawaffe.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-12 22:03:14 +00:00
westi
b45dcf2df5
Make our hash_hmac compatibility function unit testable even when the real one exists. See #10284 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-12 08:26:44 +00:00
ryan
ba57ce7aba
Add missing break. Props snakefoot. fixes #10692
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 13:42:15 +00:00
azaozz
1c161c23c2
Image editing (first run). Includes code by stephanreiter, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
ryan
7886fac111
More add/delete/update actions. Props Demitrious Kelly. see #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 14:43:45 +00:00
westi
b4e7804bf0
Give plugins and themes simple control over the text displayed at the end of an autogenerated excerpt. Fixes #10395 props ramiy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-09 16:34:44 +00:00
ryan
3dfaac6960
Fix Press This bookmarklet for Safari 4. Props noel. fixes #10749
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 20:06:52 +00:00
ryan
c6debbd596
Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 15:25:29 +00:00
ryan
9d1f82b406
Allow force_ssl_admin() to properly accept false as a value. Props nbachiyski. fixes #10706
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 14:46:06 +00:00
ryan
02c7c0e38e
is_blog_installed() improvements and repair.php. see #10728
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-06 18:46:27 +00:00
markjaquith
6cf9ea65b4
Add a the_terms filter, and use a default ", " sep. props scribu. fixes #10600
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 08:47:36 +00:00
azaozz
5d14b38278
Revert rotating images based on EXIF Orientation. Better time for this would be immediately after an image is uploaded, perhaps in media_handle_upload(), see #7042
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 02:36:34 +00:00
westi
4eeff37a6f
Remove duplicate action addition of delete_get_calendar_cache() on update_option_start_of_week. Fixes #10718 props johnjosephbachir.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-02 07:11:07 +00:00
azaozz
0c521408ba
Pass Post ID to the get_comments_number filter, props sirzooro, fixes #10705
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:27:03 +00:00
azaozz
c590b49f45
Logarithmic scale for tag cloud, props kometbomb, fixes #10703
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:06:11 +00:00
ryan
40ac59ef2b
Disallow unfiltered uploads for admins by default. fixes #10692
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-28 00:17:53 +00:00
ryan
4064e1cb6c
Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 22:46:33 +00:00
azaozz
40771b0bf4
Fix returning to the previous post_status when restoring posts from the trash, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 04:57:29 +00:00
azaozz
83161b0695
Fix race condition with autosave when clicking Publish immediately after entering post title, fixes #6728
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 04:11:16 +00:00
westi
e8b550fd33
Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 22:05:15 +00:00
azaozz
3897050e45
Clean up white space in class-json.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 08:11:07 +00:00
azaozz
a0467d5cda
Add JSON compat for PHP < 5.2, props Viper007Bond, see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 07:48:59 +00:00
azaozz
e9ce147405
Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 05:14:49 +00:00
azaozz
8d4223adb3
Don't let contributors to re-publish their trashed posts, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 20:48:31 +00:00
azaozz
395495bd99
Fix error in widgets.js, props Denis-de-Bernardy, see #10021
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:16:53 +00:00
ryan
4c219b94e6
Canonical redirect for attachment_id queries that have a permalink.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 18:03:49 +00:00
westi
13edf95c78
Add rel attribute to next/previous post links. Fixes #4209 props vladimir_kolesnikov
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:12:25 +00:00
ryan
82946b9484
Machine parseable db error codes. Props dd32. fixes #10293
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:00:53 +00:00
ryan
70b537d3f2
Force correct feed type for wfw:CommentRss element. Props peaceablewhale. fixes #10016
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 16:45:41 +00:00
azaozz
0d39830a8c
Show correct max upload filesize error message, props dd32, fixes #10495
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 12:03:02 +00:00
ryan
0e3f9e6b8d
Pass correct old status when transitioning comment status. Props hakre. fixes #8863
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:27:01 +00:00
azaozz
7a5b2339d9
More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:03:26 +00:00
ryan
390a75658b
Minify admin CSS. see #10664
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 21:12:33 +00:00
westi
15d31d9644
Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 20:09:36 +00:00
westi
d28c67315a
Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 19:51:43 +00:00
westi
46d7e1dd71
Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:21:44 +00:00
westi
e545f9af13
Treat comma, colon and semi-colon the same way.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 07:58:41 +00:00
westi
f9aff1739a
Ensure that drafts viewed over XMLRPC have a correct gmt date set. Fixes #10244 for trunk props josephscott.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 06:59:02 +00:00
azaozz
934eadc858
Better regex for [11844]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 00:19:00 +00:00
azaozz
668cfea9f2
Removed trailing .) from the URL in make_clickable()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 23:56:10 +00:00
azaozz
be026258fa
"Trash" updates, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
ryan
91ef366300
Don't show comments template if post is empty
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 19:33:56 +00:00
ryan
8513b29792
Prophylactic escapes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 16:05:07 +00:00
azaozz
491b68752b
Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 09:53:37 +00:00
ryan
9eef5564d5
Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-17 01:38:01 +00:00
azaozz
5276c457f4
Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 22:43:48 +00:00
westi
e27b8078dd
Make the operator precedence obvious by using parenthesis.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 06:30:52 +00:00
azaozz
613aeb5316
Do not use lambda functions in wp_kses_decode_entities(), props mdawaffe, fixes #10623
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 05:58:39 +00:00
azaozz
326befa4ed
Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 04:59:38 +00:00
azaozz
947807219e
Check if EXIF extension is loaded, props dd32, fixes #10613
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 04:50:10 +00:00
azaozz
954a1c3bac
Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 01:56:21 +00:00
azaozz
42471b4882
Fix displaying pages and attachments, props dd32, see #10605
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 10:57:56 +00:00
markjaquith
725a6787b2
Always respect custom post_type in queries. props dd32, filosofo. fixes #10605
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 03:28:03 +00:00
westi
23a106b6d0
Support location of category templates based on category slug as well as id. Fixes #10614 based on patch from scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 16:56:51 +00:00
westi
249f2d39b1
Fix wptexturisation of quotes when enclosed by brackets. Fixes #1418 props voyou1.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 16:43:22 +00:00
ryan
00ee55a47f
Apply get_edit_post_link filter. Props prettyboymp. fixes #10579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-10 16:33:42 +00:00
azaozz
f0618619e1
Strip slashes in the text widget for users without the unfiltered_html capability, props jamescollins, fixes #10563
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-09 12:32:18 +00:00
westi
b54c6b91e3
Pass the widget instance as context to the widget_title and widget_text filters. Fixes #10573 props Viper007Bond.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-09 10:35:28 +00:00
azaozz
a049b4a1b0
Don't do autosave while the TinyMCE spellchecker is active (it strips all the markup), fixes #10515
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-08 09:03:56 +00:00
westi
f027bbd170
Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-07 17:17:40 +00:00
westi
8aa2598b6a
Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 21:59:52 +00:00
westi
91e47a25d8
Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 19:27:52 +00:00
ryan
04d3d11213
rel=canonical for singular pages. see #10115
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 16:43:51 +00:00
azaozz
e15de47ed7
Sanitize $include and $exclude in the gallery shortcode
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 05:56:00 +00:00
westi
c484dd5c17
Ensure that users_can_register is sanitised correctly. See #10454 props josephscott.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 21:28:42 +00:00
azaozz
bbefcaca3b
Add support for 'include' and 'exclude' to [gallery] (include="123,456" would show only these attachments regardless of the parent post, exclude="789,123" would exclude these attachments and show the rest).
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 07:32:18 +00:00
ryan
a8890b9160
Add some CYA cap checks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:12:17 +00:00
markjaquith
aa6bbb479c
Force IPv4 (127.0.0.1) when connecting to localhost, as many dev environments are not set up to serve on IPv6 (::1). props dd32. fixes #10045
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:40:16 +00:00
markjaquith
8bd3d6cab9
add some filters so that HTTP requests can be filtered. props johnbillion. fixes #10413
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:37:45 +00:00
markjaquith
5141747487
Fix some default widget PHP notices. props mrmist. fixes #10225
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:35:59 +00:00
markjaquith
81e0fe00ee
Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:31:56 +00:00
azaozz
a52e9d5e9a
Don't show edit link for comments when the user cannot edit them, props filosofo, fixes #10520 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 15:43:04 +00:00
azaozz
dc37cd4ce4
Trash status update, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 14:55:07 +00:00
azaozz
39e4f05a15
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
06370d4f9e
Use exif rotation data when creating sub-sizes of uploaded jpeg images, see #7042
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-27 18:32:30 +00:00
ryan
b64cc30cf8
Canonical redirects for post name queries. Props DD32. see #6516
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-26 17:16:53 +00:00
azaozz
46ece84195
Fix wp_tag_cloud('order=RAND'), don't pre-sort if filter 'tag_cloud_sort' is used to sort the tags, props Joern_W, fixes #10393
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-26 01:23:46 +00:00
azaozz
bdbaca9056
Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-25 10:58:05 +00:00
azaozz
2040971211
"Trash" status for comments updates, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-24 07:23:11 +00:00
ryan
90f9d33c42
add smilies_src filter. Props Otto42. see #10145
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 18:27:13 +00:00
azaozz
2cc87216e8
Generate same as original color depth thumbnails for PNG images, props madhyde, fixes #9887
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 03:02:44 +00:00
ryan
14047212f2
Revert tango smilies back to old school WP smilies due to public hue and cry. see #10145
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 00:18:09 +00:00
ryan
f7e02a7c22
Pings to the people. Return to pinging for updates to published posts. see #6698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 23:09:47 +00:00
ryan
98e73f0c98
Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 19:44:21 +00:00
azaozz
d2fec31c0e
"Trash" status for comments, first run, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 03:11:12 +00:00
ryan
af409e2dae
esc_url() for ()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 01:41:05 +00:00
ryan
3e73668bca
sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 01:22:25 +00:00
ryan
1466e9954b
Escape , , and for use in attributes by default since so many themes don't escape them. Use wp_get_current_commenter() to get the raw values.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 01:11:14 +00:00
azaozz
8dff8f9f73
Properly escape comment_author_url when displaying, for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-18 23:21:50 +00:00
azaozz
8e564c4782
Properly sanitize Gears storeName for IDN domains, fixes #9594
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-18 06:27:42 +00:00
azaozz
80c6f0727e
Flush the cache in Recent Comments widget on transition_comment_status, props josephscott, fixes #10427
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-16 22:31:22 +00:00
azaozz
e032847e3e
Hide update notification for themes that are updated manually, props Denis-de-Bernardy, fixes #10220
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:34:39 +00:00
azaozz
9f6cd3b709
Truncate comment agent when longer than 255 chars, props Denis-de-Bernardy, fixes #10389
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:20:24 +00:00
azaozz
33a5d20b5c
Properly escape the title in the feed widget, props nbachiyski, fixes #10378 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-11 04:18:26 +00:00
azaozz
49f9fb716c
Fix deprecated arg. in safecss_filter_attr(), for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-08 09:54:34 +00:00
ryan
df5809a0cc
Allow class, id, and style on headers. Props matt.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-06 14:37:48 +00:00
azaozz
a85254b70c
Convert the old style widgets order array only when loading the widgets screen, fixes #10300 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 12:49:54 +00:00
azaozz
e0e697974e
Inline CSS filter for kses, for trunk, fixes #10336
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 04:49:39 +00:00
ryan
509df6442d
Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 02:48:22 +00:00
ryan
8c62b0e1d6
Tango/GNOME smilies. Props jdub. fixes #10145
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-03 18:50:28 +00:00
ryan
684d12ae53
Better compression compat. Props dd32. see #10163
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-02 23:18:27 +00:00
ryan
a5786f5730
Update load_textdomain() phpdoc. Props nbachiyski. fixes #10286 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 20:05:14 +00:00
ryan
7e5166665c
Output final optgroup. Props hakre. fixes #10292 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 17:59:19 +00:00
azaozz
f385e7da46
Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 08:12:39 +00:00
azaozz
1a88d01e90
Fix the rounded corners on .widefat, for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 07:31:37 +00:00
azaozz
4b3d0ed00e
Fix vertical misalignment and cell borders in IE, props demetris, fixes #10090 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-28 03:41:01 +00:00
azaozz
daa5da7259
Fix pending comments count, paging and comments requests while moderating for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:40:06 +00:00
ryan
2ac19ec179
Fix compat with zend.ze1_compatibility_mode. Props gsnedders. fixes #10222 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:12:18 +00:00
azaozz
f4c520ff02
Fix typo in wp_style_is(), props Denis-de-Bernardy, fixes #10283 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 06:55:49 +00:00
azaozz
fe384afb00
Add missing localization in WP_HTTP, props Denis-de-Bernardy, fixes #10231 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 14:41:12 +00:00
azaozz
8b64b300cc
Fix cache in WP_Widget_Recent_Posts, fixes #10251 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 14:35:40 +00:00
azaozz
ec0eadf2c4
Use CSS instead of nbsp, props demetris, fixes #10206 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 12:56:24 +00:00
azaozz
64067f4612
Fix overlap in plugin and theme editors, props eddieringle, fixes #10101 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 11:07:10 +00:00
ryan
8483a08d39
Sort wp_page_menu() by menu_order. Props nathanrice. fixes #10266
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 05:24:02 +00:00
ryan
82472f5474
Fix role translation. fixes #10270 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-25 17:18:56 +00:00
azaozz
4ad0ddf7aa
Fix the test for autosave in post.js, fixes #10135 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-25 06:03:14 +00:00
ryan
c6838b1761
Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 22:10:46 +00:00
ryan
00c27d7e17
Revert [11524]. curl has its problems, but so does everything else. see #9998 fixes #10104 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 19:18:27 +00:00
ryan
4c0207a772
Merge latest pomo. Works around mbstring.func_overload. Props nbachiyski. fixes #10236 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 16:32:52 +00:00
westi
2562197d3b
Correct phpDoc comment for add_filter. Fixes #10164 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 18:14:46 +00:00
westi
0dba5eddcf
Introduce _deep_replace() and use it to improve the stripping of percent encoded values from urls. Fixes #10226 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 17:42:24 +00:00
azaozz
740a42b75a
Always load the Dashboard RSS widgets with AJAX, see #10133 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 10:30:09 +00:00
markjaquith
6283b5aaf1
Create wp_validate_redirect(), have the upgrade done link use it. props Westi. fixes #10193 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 19:30:17 +00:00
ryan
ddad3fa4a5
absint paged
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 17:30:39 +00:00
ryan
3737553e65
Reduce SimplePie memory usage. Props link92. fixes #10147 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 19:38:08 +00:00
ryan
b37b56a339
Optimize timezone dropdown creation. Props sambauers. fixes #10125 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 17:40:40 +00:00
azaozz
8502dc0487
Fall back to wp-tinymce.js if wp-tinymce.js.gz doesn't exist
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-17 01:06:32 +00:00
ryan
c0752626de
Plugin install fixes. Props Denis-de-Bernardy. see #10192
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 19:36:48 +00:00
ryan
4d0c574bed
Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 02:44:28 +00:00
ryan
8ffd022581
Add missing brackets. Props westonruter. fixes #8446 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:28:52 +00:00
ryan
4e6f054b47
Menu fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:22:53 +00:00
azaozz
cb0b89a71c
is_active_sidebar() should use wp_get_sidebars_widgets(), props greenshady and Denis-de-Bernardy, fixes #10136
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-14 08:37:07 +00:00
azaozz
cff6cd66cd
CSS tweaks for the uploader and Media Library, props hailin, fixes #10110
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-13 05:03:43 +00:00
ryan
6c2cebdc56
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 04:45:31 +00:00
matt
ecb825e4f1
Bumpity bump bump.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 01:29:29 +00:00
azaozz
4a60e70973
Fix check for a published post in calendar widget, props Denis-de-Bernardy, fixes #10091
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 00:04:20 +00:00
azaozz
de9947cc09
CSS tweak for Feature Filter (Theme Installer), props demetris, fixes #10088
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 22:11:26 +00:00
azaozz
5b0098f4d7
CSS tweaks for plugin page, props Denis-de-Bernardy, fixes #10054
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 21:55:14 +00:00
westi
c5ae6aa620
Remove theme_basename() for now as the changeset that introduced it was reverted and nothing uses it. See #10067 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 16:36:46 +00:00
westi
0c2e8444c4
Replace the _ before sorting the timezones. Fixes #10066 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 16:23:20 +00:00
azaozz
333924fbec
Check if turbo-nag exists and don't initialize Gears on every page load to check if it's enabled only check if it's installed to prevent crash in Firefox 3.0.10. Fixes #10083
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 02:52:16 +00:00
azaozz
8409a9149a
In get_posts() "category" is expected to be a string
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-09 21:48:58 +00:00
azaozz
71b4ed94f2
Add translation domain to the timezone picker, props nbachiyski, fixes #10066
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-08 21:02:19 +00:00
azaozz
ac029b70cf
bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-07 22:59:07 +00:00
azaozz
331751ae01
CSS tweaks for the plugins screen, same style for active and inactive for all screens
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-07 22:43:31 +00:00