Commit Graph

6136 Commits

Author SHA1 Message Date
Andrew Nacin 8995a960b9 Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13610 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 19:36:35 +00:00
Ryan Boren 2cd7529b55 get_taxonomies(). Props ptahdunbar, scribu. fixes #12516
git-svn-id: https://develop.svn.wordpress.org/trunk@13608 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:20:11 +00:00
Dion Hulse 8dc67aa8f9 More whitespace & coding stadards cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13599 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 05:57:24 +00:00
Dion Hulse 89c01536de Coding Standards: no camelcase variables, use lowercase for variables. Props hakre. Fixes #12519
git-svn-id: https://develop.svn.wordpress.org/trunk@13598 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 05:53:20 +00:00
Dion Hulse ce6ac1f938 Fix double slashing on /index.php//taxonomy/term/ links. Props Scribu. Fixes #12508. Also Fixes #10445
git-svn-id: https://develop.svn.wordpress.org/trunk@13597 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 03:43:23 +00:00
Ron Rennick fce63decb9 update iis rewrite rules for MS, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13596 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 23:44:43 +00:00
Dion Hulse a8c6439c17 Bump the schema after [13576]. Props miqrogroove. Fixes #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13581 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 08:41:34 +00:00
Ron Rennick fff80a9035 use correct variable, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13580 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 02:23:30 +00:00
Andrew Nacin 7b7554b34d Fix notice. See #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13578 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 23:07:23 +00:00
Ryan Boren 1604a2e58b Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ron Rennick a4399a2db5 remove __( calls from ms startup, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13575 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:13:38 +00:00
Ryan Boren 764b0e4068 Background color selection. Props lancewillett. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13574 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:10:43 +00:00
Andrew Nacin 89d20b2df3 Ignore custom user tables when checking whether the blog is installed. see #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13569 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:27:18 +00:00
Andrew Nacin 4ee4545c85 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Andrew Nacin f9e7db18bf Fix typo in remove_all_filters() that prevented hooks from being removed by priority. fixes #12492, props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@13567 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 06:41:19 +00:00
Ryan Boren 0253ec2a10 allow empty table prefix on my-sites.php, see #12459
git-svn-id: https://develop.svn.wordpress.org/trunk@13563 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:55:02 +00:00
Ron Rennick feea30b2db allow empty table prefix on my-sites.php, see #12459
git-svn-id: https://develop.svn.wordpress.org/trunk@13562 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:21:24 +00:00
Peter Westwood 64dce47ade Improve kses handling of attributes in valid XHTML self closed img tags. Fixes #12394 props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@13561 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:11:08 +00:00
Matt Mullenweg c9dfdbc8c6 Better subdomains for faster Gravatar loading. An update to [13385].
git-svn-id: https://develop.svn.wordpress.org/trunk@13560 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 21:59:15 +00:00
Andrew Nacin e7c35109d6 Add the_feed_link(). fixes #11794, props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@13557 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 19:00:21 +00:00
Andrew Nacin ae7037d39b 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: https://develop.svn.wordpress.org/trunk@13553 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:36:49 +00:00
Ryan Boren 0a2d1ad6ec Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: https://develop.svn.wordpress.org/trunk@13551 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:06:14 +00:00
Ryan Boren d2dc5dd179 Fix is_nav_menu(). Props Utkarsh. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13550 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 17:56:24 +00:00
Dion Hulse b69c44c1f8 Add a 'pre_post_link' filter to get_permalink() before token replacement occurs. Fixes #12240
git-svn-id: https://develop.svn.wordpress.org/trunk@13549 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:57:32 +00:00
Dion Hulse fdf51312a0 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: https://develop.svn.wordpress.org/trunk@13548 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:49:06 +00:00
Dion Hulse 535f50f4ab Strip delete_themes from Multisite non-super-admins. Props Denis-de-Bernardy. Fixes #11802
git-svn-id: https://develop.svn.wordpress.org/trunk@13547 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:42:15 +00:00
Mark Jaquith a4acc65fb3 Remove arrows from Nav Menu items. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13543 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 03:58:02 +00:00
Andrew Nacin 8972671e78 Script bump from [13539]
git-svn-id: https://develop.svn.wordpress.org/trunk@13540 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:39:04 +00:00
Dion Hulse fcf2d321ab 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: https://develop.svn.wordpress.org/trunk@13532 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:53:51 +00:00
Dion Hulse 97bd9628d7 Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13531 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:32:00 +00:00
Dion Hulse 38817d572b 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: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Dion Hulse 9e3aaa0bf5 Add a front end Ajax handler. Props Denis-de-Bernardy. See #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13527 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:49:50 +00:00
Andrew Nacin cd9d4b8291 Add __return_true() to complement __return_false(). see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13526 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 08:50:27 +00:00
Andrew Nacin a7ddb80402 Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13520 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:50:55 +00:00
Andrew Nacin 463fb808cf Check in install.css for [13516]. Bump version, include version in readme.html. see #10835
git-svn-id: https://develop.svn.wordpress.org/trunk@13518 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 22:44:27 +00:00
Andrew Nacin 13d3a5bb5b Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13514 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:29:24 +00:00
Andrew Nacin 91b033f819 Provide filter to allow including comment author's URL in comment moderation link count. see #11684
git-svn-id: https://develop.svn.wordpress.org/trunk@13513 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:02:14 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Andrew Nacin 5c706700f3 Don't pass serialized values to hooks in options API. see #10788 see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13508 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:32:17 +00:00
Dion Hulse 81b675575d Use $wp_query->get_queried_object() in single_post_title(). Fixes #11731
git-svn-id: https://develop.svn.wordpress.org/trunk@13502 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:00:27 +00:00
Dion Hulse 5f43ce3a7b 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: https://develop.svn.wordpress.org/trunk@13501 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:49:10 +00:00
Dion Hulse e86fe47537 Allow WP_FALLBACK_THEME to be overridden. Props Denis-de-Bernardy. Fixes #12425
git-svn-id: https://develop.svn.wordpress.org/trunk@13500 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:39:28 +00:00
Dion Hulse 4997601dd1 Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395.
git-svn-id: https://develop.svn.wordpress.org/trunk@13499 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:19:09 +00:00
Dion Hulse 0f638312f7 Fix Metadata deletion. See #12414 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@13496 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 10:07:55 +00:00
Dion Hulse 0f8493b92b Revert part of r13486, is_tax() is false for tags||categories. See #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13495 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 09:45:52 +00:00
Dion Hulse bfe10ba981 Re-use /page/xx/ for Post Paging on Page_on_front. Few fixes related to paging on front page. Fixes #12391
git-svn-id: https://develop.svn.wordpress.org/trunk@13494 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 09:40:42 +00:00
Dion Hulse e7721041df When using Page on front, Do not jump back to Blog listing when per-page query vars are set. Fixes #12047
git-svn-id: https://develop.svn.wordpress.org/trunk@13493 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 09:19:34 +00:00
Dion Hulse 4070e39a15 Initialise Search related query vars. Props scribu. Fixes #11480
git-svn-id: https://develop.svn.wordpress.org/trunk@13492 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:47:11 +00:00
Dion Hulse 0cba2f4429 Use get_terms() in wp_count_terms(). Props scribu. Fixes #10746
git-svn-id: https://develop.svn.wordpress.org/trunk@13491 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:37:24 +00:00
Dion Hulse f937e72ae9 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: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse 10355ed13c More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13486 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 05:59:39 +00:00
Dion Hulse 913ab67ecb Fix spelling typo's in r13484. See #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13485 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:27:32 +00:00
Dion Hulse c74a4432b4 Support non-BASIC Authentication schemes in the HTTP API if server supports them. Props ssandison, See #4011, Fixes #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13484 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:24:04 +00:00
Dion Hulse 0b63979093 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: https://develop.svn.wordpress.org/trunk@13483 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:15:02 +00:00
Dion Hulse 4b4c0c6cd2 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: https://develop.svn.wordpress.org/trunk@13480 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 02:49:01 +00:00
Andrew Nacin 6f3f1d0806 Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
git-svn-id: https://develop.svn.wordpress.org/trunk@13479 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:46:39 +00:00
Andrew Nacin 98a2f10711 Add filter to the links in paginate_links(). fixes #10826, props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin 5b05536235 Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@13475 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:00:43 +00:00
Andrew Nacin da5a212bff get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin 7c2178caba Escape mod_$theme option name. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13469 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:26:37 +00:00
Andrew Nacin a7a3e94381 Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
git-svn-id: https://develop.svn.wordpress.org/trunk@13468 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:06:35 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Andrew Nacin f015c58d27 Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13464 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:11:45 +00:00
Andrew Nacin 7eea49d9d1 Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
git-svn-id: https://develop.svn.wordpress.org/trunk@13462 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:49:49 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick 60a2d570c0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin 545d58b699 Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
git-svn-id: https://develop.svn.wordpress.org/trunk@13456 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:10:45 +00:00
Andrew Nacin 44051cfdb6 Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
git-svn-id: https://develop.svn.wordpress.org/trunk@13454 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:45:09 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Dion Hulse bc2c6922cb New files svn:eol-style: native.
git-svn-id: https://develop.svn.wordpress.org/trunk@13448 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:37:38 +00:00
Andrew Nacin 394430fbbe 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: https://develop.svn.wordpress.org/trunk@13444 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:07:41 +00:00
Andrew Nacin 33798863d4 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Andrew Nacin a62faa1ccf Small fix to [13433], see #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13439 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:26:51 +00:00
Andrew Nacin e122f6d181 Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13438 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:23:58 +00:00
Andrew Nacin d2cfae455e s/cancelled/canceled/
git-svn-id: https://develop.svn.wordpress.org/trunk@13437 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:12:27 +00:00
Andrew Nacin b20651cc65 One less variable assignment in timer_start and timer_start. props hakre fixes #12389
git-svn-id: https://develop.svn.wordpress.org/trunk@13436 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:09:29 +00:00
Andrew Nacin 8f6c9e395f Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
git-svn-id: https://develop.svn.wordpress.org/trunk@13434 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:06:09 +00:00
Andrew Nacin 8271d92017 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: https://develop.svn.wordpress.org/trunk@13433 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 18:51:37 +00:00
Andrew Nacin 19f50392f9 Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
git-svn-id: https://develop.svn.wordpress.org/trunk@13432 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:18:59 +00:00
Andrew Nacin 4464b5d33c Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
git-svn-id: https://develop.svn.wordpress.org/trunk@13430 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:40:35 +00:00
Andrew Nacin aeebb3c2af Suppress potential is_readable() warning. Fixes #12148 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13429 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:25:10 +00:00
Andrew Nacin e7fa18385a Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:21:47 +00:00
Andrew Nacin 9a033bf679 @since version numbers and other docs for wp-db. props hakre see #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13426 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:14:26 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin e3b9237738 Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: https://develop.svn.wordpress.org/trunk@13424 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 04:53:30 +00:00
Andrew Nacin f62e8796d9 Clean up redundant defined() check. Props TobiasBg fixes #12375
git-svn-id: https://develop.svn.wordpress.org/trunk@13422 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:37:20 +00:00
Ron Rennick c02cd1ebc8 always call set_blog_id after blog lookup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13421 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:05:11 +00:00
Ryan Boren 61ffa682c1 Note theme support for custom background, header, and menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13417 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:04:59 +00:00
Peter Westwood 9ad6dd41c7 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Ryan Boren 3e8d636d4d Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13415 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:00:26 +00:00
Peter Westwood d25e3fdf2c '>"
git-svn-id: https://develop.svn.wordpress.org/trunk@13414 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:57:38 +00:00
Peter Westwood fd0925a920 Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381.

git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:56:28 +00:00
Ryan Boren cf9c66c4a5 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13411 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:53 +00:00
Peter Westwood fcd36216e0 Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@13408 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:16:07 +00:00
Ryan Boren 2cc6791fe7 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: https://develop.svn.wordpress.org/trunk@13407 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:13:13 +00:00
Ryan Boren 60cb61e54f Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13406 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:06:44 +00:00
Ryan Boren 4d3733bef0 Pass taxonomy when looking for duplicate term slug.
git-svn-id: https://develop.svn.wordpress.org/trunk@13405 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:04:02 +00:00
Ryan Boren 4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Ron Rennick 899906649c move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13402 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 17:10:00 +00:00
Ryan Boren 0489d40810 s/Custom Menu/Menu/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13401 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 16:57:57 +00:00
Dion Hulse 1fa94a6e1e Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13399 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 11:09:34 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Mark Jaquith 618803a53e Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13397 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:48:17 +00:00
Dion Hulse 922e3e828f Prefer $comment::comment_post_ID over $post global. Fixes #12217
git-svn-id: https://develop.svn.wordpress.org/trunk@13396 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 07:56:25 +00:00
Mark Jaquith 212cd616cb 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: https://develop.svn.wordpress.org/trunk@13395 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 05:40:03 +00:00
Ron Rennick ea97476b5c Warnings, code & UI/UX cleanup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13392 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 23:12:51 +00:00
Mark Jaquith ea659db305 Bump script version
git-svn-id: https://develop.svn.wordpress.org/trunk@13391 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:54:00 +00:00
Ryan Boren c5ed3410f1 Formatting cleanups for the nav menu widget. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13388 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:33:27 +00:00
Ron Rennick fcabf2c9df database code cleanup, See #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13387 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:30:13 +00:00
Ron Rennick b2e6817220 update wpdb blogid using setter, See #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13386 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:07:23 +00:00
Ryan Boren 69021b5fc4 Hash to static gravatar domains. Props apokalyptik.
git-svn-id: https://develop.svn.wordpress.org/trunk@13385 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:50:40 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Mark Jaquith 1b01dd4ecd Some XSS escaping love for nav menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13381 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:10:12 +00:00
Ryan Boren 01566773be Rename nav menu widget. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13378 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:25:13 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Andrew Nacin 686c7fa0e4 More wpdb cleanups, see #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13376 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:58:52 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Mark Jaquith 56862a5741 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13372 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:37:00 +00:00
Mark Jaquith 2586813ba9 Use esc_js() so pages with quotes can be added to custom menu. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13371 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:20:45 +00:00
Mark Jaquith cee605ea34 Fix menu links. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13370 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:11:49 +00:00
Ryan Boren ed332ce2bd 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: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Andrew Nacin e6b37271cd Coil the kses entities whitelist. See #12284
git-svn-id: https://develop.svn.wordpress.org/trunk@13363 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 07:33:14 +00:00
Ryan Boren 2d86f12b6f 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: https://develop.svn.wordpress.org/trunk@13362 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:41:35 +00:00
Ryan Boren f6e79cc66c s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13361 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:18:13 +00:00
Ryan Boren 096ea9990a Whitelist entities. Props miqrogroove. see #12284
git-svn-id: https://develop.svn.wordpress.org/trunk@13358 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:37:20 +00:00
Ryan Boren ab58e705b9 Don't quote escaped strings. Props dd32. see #11608
git-svn-id: https://develop.svn.wordpress.org/trunk@13357 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:30:34 +00:00
Ron Rennick 7623fc24ac dont show items when menu empty, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13354 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:37:15 +00:00
Andrew Nacin fb4b78214b Don't use private wpdb vars. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13353 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:18:18 +00:00
Andrew Nacin 1b3f29f056 Proper RTL + .dev.css support, first pass. See #12292
git-svn-id: https://develop.svn.wordpress.org/trunk@13351 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:46:07 +00:00
Andrew Nacin ef2c401876 Add .type-{post_type} to post_class. fixes #11609
git-svn-id: https://develop.svn.wordpress.org/trunk@13350 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:32:17 +00:00
Andrew Nacin 4f3ffedba8 Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy
git-svn-id: https://develop.svn.wordpress.org/trunk@13349 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:26:30 +00:00
Andrew Nacin d37de180e1 Validate $object_id in *_metadata() functions. Props scribu fixes #11841
git-svn-id: https://develop.svn.wordpress.org/trunk@13347 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:42:54 +00:00
Ryan Boren 54ff8bf47c Fix php open tag. Props TobiasBg. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13345 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:07:33 +00:00
Ryan Boren a4b48f6d6a Some nav menu API. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13344 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:06:21 +00:00
Andrew Nacin 0c2fa545cd More wpdb cleanups, docs. see #11644 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@13343 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:04:29 +00:00
Andrew Nacin 19db2cc569 Fall back to $wpdb::blogid, not main blog id, in wpdb->tables(). See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13341 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:38:41 +00:00
Ryan Boren 729d27f290 More output consolidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13338 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:22:56 +00:00
Andrew Nacin 4bad9d635f Ensure we have MS global tables defined during network install. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13337 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:58:53 +00:00
Ryan Boren 1aec1c4178 More output consolidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13336 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:28:41 +00:00
Ryan Boren 7976d36ca2 More output consolidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13334 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 18:45:59 +00:00
Ryan Boren e26a78918d Start consolidatinh menu item outupt into output_menu_item(). DRY. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13332 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 18:17:51 +00:00
Ryan Boren e498956867 Nav cleanup. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13331 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 17:13:24 +00:00
Andrew Nacin 2e11ad2c3c Introduce unload_textdomain() and add plugin_locale and theme_locale filters to load_*_textdomain() functions. Fixes #9686 props nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@13330 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 11:14:35 +00:00
Andrew Nacin af187b2759 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: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Andrew Nacin 11489bbd41 Don't show two ellipses in wp_widget_rss_output(). Fixes #11244 props miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@13328 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:30:21 +00:00
Andrew Nacin 59701fcaec Use sprintf() in hard-coded string. Use same comment and error code as other identical message. See #11644 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@13327 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:44:27 +00:00
Andrew Nacin 2a86f138e8 Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13326 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:15:47 +00:00
Andrew Nacin c4449c4cb2 Change inline docs to reflect [13324]
git-svn-id: https://develop.svn.wordpress.org/trunk@13325 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:08:50 +00:00