nacin
88f4b87d15
Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 00:50:55 +00:00
nacin
29b0cd92c6
Check in install.css for [13516]. Bump version, include version in readme.html. see #10835
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 22:44:27 +00:00
nacin
01d4f4f18c
Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:29:24 +00:00
nacin
2a3564c8ad
Provide filter to allow including comment author's URL in comment moderation link count. see #11684
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:02:14 +00:00
ryan
25a2a06a9e
Menu enhancements. Props ptahdunbar. fixes #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:00:49 +00:00
nacin
3bf738fcc2
Don't pass serialized values to hooks in options API. see #10788 see #12416
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:32:17 +00:00
dd32
9f1b20ba95
Use $wp_query->get_queried_object() in single_post_title(). Fixes #11731
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 13:00:27 +00:00
dd32
57c4fe34bd
Add meta_value_num meta_key ordering for WP_Query. Allows Natural numeric ordering of results. Props stencil & scribu for cleanups. Fixes #10649
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 12:49:10 +00:00
dd32
93e2940943
Allow WP_FALLBACK_THEME to be overridden. Props Denis-de-Bernardy. Fixes #12425
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 12:39:28 +00:00
dd32
b90b27a6d6
Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 12:19:09 +00:00
dd32
5fc388aa29
Fix Metadata deletion. See #12414 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 10:07:55 +00:00
dd32
89406adcee
Revert part of r13486, is_tax() is false for tags||categories. See #11904
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 09:45:52 +00:00
dd32
70e4a7d880
Re-use /page/xx/ for Post Paging on Page_on_front. Few fixes related to paging on front page. Fixes #12391
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 09:40:42 +00:00
dd32
479926f048
When using Page on front, Do not jump back to Blog listing when per-page query vars are set. Fixes #12047
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 09:19:34 +00:00
dd32
db84578f24
Initialise Search related query vars. Props scribu. Fixes #11480
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:47:11 +00:00
dd32
1b564b41f5
Use get_terms() in wp_count_terms(). Props scribu. Fixes #10746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:37:24 +00:00
dd32
b1621c63ae
Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625 , Fixes #6837
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:34:31 +00:00
dd32
dd78c07865
More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 05:59:39 +00:00
dd32
c29b107102
Fix spelling typo's in r13484. See #12200
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 04:27:32 +00:00
dd32
4e8de447f6
Support non-BASIC Authentication schemes in the HTTP API if server supports them. Props ssandison, See #4011 , Fixes #12200
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 04:24:04 +00:00
dd32
549cebcf5c
Add get_search_link() with Permastruct (/search/) support. Props jshreve. Update get_search_link(), get_search_feed_link() & get_search_comments_feed_link() to use it, as well as supporting Permastructs for those feeds. Fixes #10552
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 04:15:02 +00:00
dd32
0407057fec
Dont clobber taxonomy intersections/unions. Only redirects to the canonical url if only one term has been queried. Props scribu for some of the commit. See #8948
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 02:49:01 +00:00
nacin
2e2c626d97
Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 01:46:39 +00:00
nacin
2610af8b7b
Add filter to the links in paginate_links(). fixes #10826 , props johnjamesjacoby
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 01:42:25 +00:00
nacin
c345aa4b0b
Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 00:00:43 +00:00
nacin
bdd5e1755a
get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:22:56 +00:00
wpmuguru
fcf6942d33
more menu improvements, props ptahdunbar, see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
nacin
6df81f3d95
Escape mod_$theme option name. see #9015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 20:26:37 +00:00
nacin
56c3658154
Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 20:06:35 +00:00
nacin
9ee57d58a4
Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:57:04 +00:00
nacin
d662f07784
Deprecate get_profile() for get_the_author_meta(). fixes #10695 , props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:11:45 +00:00
nacin
325b5f6737
Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:49:49 +00:00
wpmuguru
1c87155b6d
warnings cleanup on archived/suspended sites, fixes #12396
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:48:37 +00:00
wpmuguru
21f661bdf0
warnings cleanup, dont show removed user in edit site, fixes #12409
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:27:34 +00:00
nacin
1cade6654c
Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 16:10:45 +00:00
nacin
1a511e40e1
Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 15:45:09 +00:00
nacin
9797dacaa0
add_editor_style() third pass. better performance and better child theme support. see #11512
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 07:36:35 +00:00
dd32
af48ab61de
New files svn:eol-style: native.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 03:37:38 +00:00
nacin
59b2461dcf
add_editor_style(), second pass. Accept an array of stylesheets, also allow multiple calls to the function. Support child themes. See #9015 see #11512
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 21:07:41 +00:00
nacin
45748141c0
Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 20:12:06 +00:00
nacin
84269822eb
Small fix to [13433], see #10788
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:26:51 +00:00
nacin
1ef299159c
Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:23:58 +00:00
nacin
90fe1465d3
s/cancelled/canceled/
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:12:27 +00:00
nacin
90a8933105
One less variable assignment in timer_start and timer_start. props hakre fixes #12389
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:09:29 +00:00
nacin
da2634030a
Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:06:09 +00:00
nacin
c277384459
Consistently pass unserialized values to hooks in update_site_option(). Change add_option() and add_site_option() to do the same. Any plugin using maybe_unserialize() would continue to work as the value would no longer need to be unserialized. fixes #10788
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 18:51:37 +00:00
nacin
f1f86f16e3
Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 17:18:59 +00:00
nacin
4b88d15411
Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 07:40:35 +00:00
nacin
a208566e67
Suppress potential is_readable() warning. Fixes #12148 props ocean90
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 07:25:10 +00:00
nacin
a8e56e49ec
Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:21:47 +00:00
nacin
dbdc7a9e83
@since version numbers and other docs for wp-db. props hakre see #12362
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:14:26 +00:00
nacin
8b4e58529b
A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin
bf207bc6e6
Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 04:53:30 +00:00
nacin
0b66fc91e0
Clean up redundant defined() check. Props TobiasBg fixes #12375
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:37:20 +00:00
wpmuguru
4dc6a43f96
always call set_blog_id after blog lookup, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:05:11 +00:00
ryan
a3ae373902
Note theme support for custom background, header, and menus. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:04:59 +00:00
westi
e2f5b1f6c9
Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:01:30 +00:00
ryan
2551152255
Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:00:26 +00:00
westi
e3cba9ffe7
'>"
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:57:38 +00:00
westi
34d3291d32
Disable update service editing by default for multisite. See #12229 .
...
Introduce __return_false for simple filtering. See #12381 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@13413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:56:28 +00:00
ryan
5a9eb8e363
Switch live() binding to a single selector. Props mdawaffe. fixes #12369
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:46:53 +00:00
westi
7ab6035d59
Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:16:07 +00:00
ryan
5de87dcff1
Order menus by ID so that the lowest ID is always used when guessing which menu to use in wp_nav_menu(). see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:13:13 +00:00
ryan
b77baf5afb
Create a default menu containing the first 15 top-level pages. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:06:44 +00:00
ryan
46ae8913d3
Pass taxonomy when looking for duplicate term slug.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:04:02 +00:00
ryan
a8a6d742e1
Default header selector, first pass. see #12343
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
wpmuguru
e8503ab54a
move nav menu css/js to nav-menu prefix, See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 17:10:00 +00:00
ryan
b61d45fa11
s/Custom Menu/Menu/. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 16:57:57 +00:00
dd32
9d54f38d89
Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 11:09:34 +00:00
dd32
f51247ef50
Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
markjaquith
280a19ff6c
Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:48:17 +00:00
dd32
cb8fd85d1e
Prefer $comment::comment_post_ID over $post global. Fixes #12217
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 07:56:25 +00:00
markjaquith
18c313559f
Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 05:40:03 +00:00
wpmuguru
4378b20de3
Warnings, code & UI/UX cleanup, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 23:12:51 +00:00
markjaquith
9296276140
Bump script version
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:54:00 +00:00
ryan
730f87bf97
Formatting cleanups for the nav menu widget. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:33:27 +00:00
wpmuguru
e50b8fa348
database code cleanup, See #12362
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:30:13 +00:00
wpmuguru
c9df482e54
update wpdb blogid using setter, See #12362
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:07:23 +00:00
ryan
a312eea3a7
Hash to static gravatar domains. Props apokalyptik.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:50:40 +00:00
nacin
8bcc5969dc
Spelling and grammar fun. Fixes #11875 props cnorris23
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +00:00
markjaquith
d01197b568
Some XSS escaping love for nav menus. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:10:12 +00:00
ryan
635409844e
Rename nav menu widget. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:25:13 +00:00
ryan
9ab7306993
Remove author tags. fixes #12366
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
nacin
f423a2ee5e
More wpdb cleanups, see #12362
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:58:52 +00:00
ryan
12f9c6113e
Nav menu cleanups. Props nbachiyski. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:52:54 +00:00
markjaquith
39b5d188b5
Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:37:00 +00:00
markjaquith
3024e581ca
Use esc_js() so pages with quotes can be added to custom menu. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:20:45 +00:00
markjaquith
67aed4d0a2
Fix menu links. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:11:49 +00:00
ryan
091d1150d3
Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
ryan
d5074db5ea
Reorg nav menu files. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00
nacin
cddfbdd914
Coil the kses entities whitelist. See #12284
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:33:14 +00:00
ryan
2430c97718
Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:41:35 +00:00
ryan
82d81675f9
s/custom_nav()/wp_nav_menu()/. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:18:13 +00:00
ryan
0a81feaaeb
Whitelist entities. Props miqrogroove. see #12284
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:37:20 +00:00
ryan
efe8a967be
Don't quote escaped strings. Props dd32. see #11608
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:30:34 +00:00
wpmuguru
e7114b42f9
dont show items when menu empty, See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 00:37:15 +00:00
nacin
5a1013b8ba
Don't use private wpdb vars. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 00:18:18 +00:00
nacin
496752e14e
Proper RTL + .dev.css support, first pass. See #12292
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:46:07 +00:00
nacin
99ee3da2df
Add .type-{post_type} to post_class. fixes #11609
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:32:17 +00:00
nacin
1a6f4adb67
Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:26:30 +00:00
nacin
c68fb87dee
Validate $object_id in *_metadata() functions. Props scribu fixes #11841
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:42:54 +00:00
ryan
be7d6dda05
Fix php open tag. Props TobiasBg. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:07:33 +00:00
ryan
5fa6e0a242
Some nav menu API. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:06:21 +00:00
nacin
dd8dbfb6fe
More wpdb cleanups, docs. see #11644 props hakre
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:04:29 +00:00
nacin
cc6e217d1d
Fall back to $wpdb::blogid, not main blog id, in wpdb->tables(). See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:38:41 +00:00
ryan
7d4fa95591
More output consolidation. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:22:56 +00:00
nacin
7aa43e9c8b
Ensure we have MS global tables defined during network install. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:58:53 +00:00
ryan
e35199deb6
More output consolidation. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:28:41 +00:00
ryan
fc6e8c8741
More output consolidation. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 18:45:59 +00:00
ryan
e87dd4f1c1
Start consolidatinh menu item outupt into output_menu_item(). DRY. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 18:17:51 +00:00
ryan
5f80b84a4f
Nav cleanup. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 17:13:24 +00:00
nacin
c5128bb074
Introduce unload_textdomain() and add plugin_locale and theme_locale filters to load_*_textdomain() functions. Fixes #9686 props nbachiyski
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 11:14:35 +00:00
nacin
4e56d1c6a9
Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 10:42:40 +00:00
nacin
b6050c6992
Don't show two ellipses in wp_widget_rss_output(). Fixes #11244 props miqrogroove
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 10:30:21 +00:00
nacin
16a3d5e0a1
Use sprintf() in hard-coded string. Use same comment and error code as other identical message. See #11644 props hakre
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:44:27 +00:00
nacin
25883dca37
Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:15:47 +00:00
nacin
39bcbf2755
Change inline docs to reflect [13324]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:08:50 +00:00
nacin
191e0df9d2
Improvements and fixes to wpdb::tables(). See #12083 see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:06:50 +00:00
dd32
3f35e43429
Restore [13194] which was accidentally overwritten in [13315]. See #12256
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 07:10:47 +00:00
wpmuguru
955e9e7527
add function for deleting individual menus, see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 03:19:30 +00:00
wpmuguru
d91b382e1f
fix debug notice in wp_set_object_terms(), props jeremyclarke, fixes #12344
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 02:37:19 +00:00
ryan
981e0c66b3
Revert [13187] pending further debate. see #12267
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 01:13:37 +00:00
ryan
766de41c58
Formatting cleanups. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 23:14:03 +00:00
markjaquith
09e8d27130
Whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 23:12:48 +00:00
markjaquith
c1b647bb52
Serve a real 404 for ?p=does-not-exist, ?cat=does-not-exist, etc. fixes #12250 . fixes #10930 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 22:54:21 +00:00
nacin
9a11f30898
Docs and code convention cleanups. see #11644 props hakre
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 22:53:54 +00:00
nacin
38421f8b70
Don't use PHP short tag. Fixes #12337 props junsuijin
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:26:48 +00:00
nacin
2ce7dc4dac
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
ryan
2b182d39d9
jQuery 1.4.2. fixes #12305
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:14 +00:00
nacin
2dcfc0913b
Remove unused 'secret' option. Fixes #12221
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:02 +00:00
nacin
2c52c876de
Introduce is_textdomain_loaded(). Fixes #10527 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 19:10:03 +00:00
ryan
0ebb6732bf
Custom background styling fixes. Props yoavf. see #12186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:46:29 +00:00
nacin
5557d3e4f0
Fix notice in WP_Http. Fixes #12316 props sivel.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:45:45 +00:00
nacin
10ee577b12
Introduce *_user_meta() functions, deprecate *_usermeta() family. Fixes #10837 props scribu, technosailor.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:35:35 +00:00
nacin
cd767cd7a8
Deprecate clean_url() for esc_url(). Fixes #12309
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:25:51 +00:00
nacin
5656a345b9
Use esc_url() instead of clean_url(). See #12309
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
wpmuguru
a2a3953308
improve custom menu hierarchy logic, See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:27:34 +00:00
ryan
1f169578f9
Don't require a default category for attachment types other than 'post'. Props jfarthing84. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:19:54 +00:00
dd32
0ec732b34a
Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:36:32 +00:00
wpmuguru
d34428341a
output correct parent id, visual hierarchy in admin, See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 02:01:44 +00:00
wpmuguru
624e51d2c8
add custom menu hierarchy support to admin, See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 00:26:21 +00:00
ryan
41bea20d51
Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 18:24:41 +00:00
dd32
f75b8a0395
Set svn:eol-style on new navigation file, Temporarily fix Notice in Menu code. See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 10:55:47 +00:00
dd32
1a5475f224
add show_tagcloud to Taxonomy registration & add basic PHPDoc, See #11612
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 02:55:07 +00:00
dd32
34a04942e9
Allow the Tag Cloud Widget to support non-tag taxonomies. Props Sivel. Fixes #11612
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 02:47:58 +00:00
dd32
47913f1e52
Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 02:17:39 +00:00
dd32
d271b1357b
Split WP_Http classes into separate file. Fixes #11559
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 02:06:24 +00:00
wpmuguru
be4fb62b25
use map_meta_cap for multisite superadmins, props dd32, fixes #12109
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:19:05 +00:00
ryan
e8d04df976
Use core jQuery UI. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:10:20 +00:00
ryan
dbfb51c6e0
Trim trailing whites
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:03:42 +00:00
ryan
28891708e3
Make js noConflict compat. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:58:00 +00:00
ryan
0363b31fa6
Move autocomplete to standard jquery directory. Use core jQuery. Use jQuery instead of $. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:35:05 +00:00
ryan
76017ffbd7
Rename file. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:18:57 +00:00
ryan
470eb8e6ce
Remove custom post states. Register taxonomy against menu_item post type. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 22:35:39 +00:00
ryan
f120e4319d
Don't show menu for menu taxonomy. see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 22:24:47 +00:00
ryan
94a42d9ba2
Set taxonomy label if none given.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 22:21:20 +00:00
wpmuguru
4d203a02c6
introduce custom menus, props jeffikus, See #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:57:43 +00:00
nacin
5d4bb4cd7a
Set svn eol-style native on new files
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:00:19 +00:00
nacin
4451f3f64f
Minor MS startup cleanups. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 14:07:23 +00:00
nacin
20f50e7f06
Rename is_installed() to ms_not_installed(). See #12083
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 13:51:32 +00:00
nacin
8ad91e8b54
Add template_include filter, to modify the template path before it is included. Fixes #11242
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:58:25 +00:00
nacin
804af64f88
Always pass widget instance to widget_title filter. Also add widget type, props scribu, fixes #11362
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 11:56:00 +00:00
nacin
f3bf4ec676
Fix wpdb::tables() prefix handling. Ensures PHP4 compat. See #12083
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 10:50:57 +00:00
dd32
679250491d
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
dd32
80d9329e5e
Remove unused references to global $wpdb
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 00:50:29 +00:00
nacin
12c913823d
Suffix and version bump for ie.css, see #12292
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 00:02:59 +00:00
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