Commit Graph

6121 Commits

Author SHA1 Message Date
ryan 1d9fdca363 allow empty table prefix on my-sites.php, see #12459
git-svn-id: http://svn.automattic.com/wordpress/trunk@13563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 22:55:02 +00:00
wpmuguru d3e9b5ba92 allow empty table prefix on my-sites.php, see #12459
git-svn-id: http://svn.automattic.com/wordpress/trunk@13562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 22:21:24 +00:00
westi 3775882493 Improve kses handling of attributes in valid XHTML self closed img tags. Fixes #12394 props dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 22:11:08 +00:00
matt 73a11f4d4e Better subdomains for faster Gravatar loading. An update to [13385].
git-svn-id: http://svn.automattic.com/wordpress/trunk@13560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 21:59:15 +00:00
nacin 04e0052f4e Add the_feed_link(). fixes #11794, props sirzooro.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 19:00:21 +00:00
nacin dc764e91cd Add id argument to wp_dropdown_users() and wp_dropdown_categories(). props johnbillion. Ensure we're escaping name and id in wp_dropdown_users(). fixes #12132
git-svn-id: http://svn.automattic.com/wordpress/trunk@13553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:36:49 +00:00
ryan 95623b4ce5 Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: http://svn.automattic.com/wordpress/trunk@13551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:06:14 +00:00
ryan b37894c348 Fix is_nav_menu(). Props Utkarsh. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 17:56:24 +00:00
dd32 302fd434c9 Add a 'pre_post_link' filter to get_permalink() before token replacement occurs. Fixes #12240
git-svn-id: http://svn.automattic.com/wordpress/trunk@13549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 11:57:32 +00:00
dd32 4c7070fb41 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: http://svn.automattic.com/wordpress/trunk@13548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 11:49:06 +00:00
dd32 65b22dcf9c Strip delete_themes from Multisite non-super-admins. Props Denis-de-Bernardy. Fixes #11802
git-svn-id: http://svn.automattic.com/wordpress/trunk@13547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 11:42:15 +00:00
markjaquith 10cab63cd7 Remove arrows from Nav Menu items. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 03:58:02 +00:00
nacin 694a32766c Script bump from [13539]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 22:39:04 +00:00
dd32 beb8322289 Fix notices inside wp_nav_menu(), Ensure echo => false is passed to fallback callbacks so the function doesnt print HTML directly. See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 12:53:51 +00:00
dd32 b56ae0e0cb Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 12:32:00 +00:00
dd32 0c2e896156 A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: http://svn.automattic.com/wordpress/trunk@13528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 11:57:03 +00:00
dd32 ffe41241ef Add a front end Ajax handler. Props Denis-de-Bernardy. See #12400
git-svn-id: http://svn.automattic.com/wordpress/trunk@13527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 11:49:50 +00:00
nacin d5427d9210 Add __return_true() to complement __return_false(). see #12381
git-svn-id: http://svn.automattic.com/wordpress/trunk@13526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 08:50:27 +00:00
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