Commit Graph

16723 Commits

Author SHA1 Message Date
Ryan Boren
d6f842b4c2 Removed unused strings in script-loader. Props SergeyBiryukov. fixes #16332
git-svn-id: https://develop.svn.wordpress.org/trunk@18479 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:35:37 +00:00
Andrew Nacin
d367634aea Fire _deprecated_argument() for get_adjacent_post()'s crazy excluded_categories 'and' thing. fixes #17673.
git-svn-id: https://develop.svn.wordpress.org/trunk@18478 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:30:18 +00:00
Ryan Boren
a3b77d3e95 Support an array or comma-seperated list of excluded category IDs in get_adjacent_post(). Props solarissmoke. fixes #17673
git-svn-id: https://develop.svn.wordpress.org/trunk@18477 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:19:51 +00:00
Ryan Boren
58d9d5ea5d Remove return by ref from get_role(). Props scribu, elyobo. fixes #18237
git-svn-id: https://develop.svn.wordpress.org/trunk@18476 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:12:18 +00:00
Ryan Boren
40c8d3aff1 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: https://develop.svn.wordpress.org/trunk@18475 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:10:00 +00:00
Andrew Ozz
3fff132530 Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
git-svn-id: https://develop.svn.wordpress.org/trunk@18474 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-27 23:02:54 +00:00
Ryan Boren
24c08b8bf5 Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: https://develop.svn.wordpress.org/trunk@18473 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:35:39 +00:00
Ryan Boren
431cc66a5f phpdoc for all_items and menu_name. Props ocean90. fixes #18036
git-svn-id: https://develop.svn.wordpress.org/trunk@18472 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:31:36 +00:00
Ryan Boren
1567de3aaf Allow sorting by id in get_bookmarks(). Props SergeyBiryukov. see #18234 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18470 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:22:13 +00:00
Ryan Boren
4a1c73746f Recognize urls that start with a question mark as relative urls that do not require a scheme to be prepended. fixes #18260
git-svn-id: https://develop.svn.wordpress.org/trunk@18469 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 19:44:18 +00:00
Ryan Boren
5d649a9235 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: https://develop.svn.wordpress.org/trunk@18468 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 18:39:57 +00:00
Ryan Boren
6395eb9ab6 Explain the empty req_uri branch. Props duck_. fixes #17177
git-svn-id: https://develop.svn.wordpress.org/trunk@18467 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:20:07 +00:00
Ryan Boren
12b5c9c93e Optimize parse_request for the home page. Props duck_. see #17177
git-svn-id: https://develop.svn.wordpress.org/trunk@18466 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:18:07 +00:00
Peter Westwood
fe2dc7c083 Make [18456] more obvious. Fixes #16432.
git-svn-id: https://develop.svn.wordpress.org/trunk@18465 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 13:20:07 +00:00
Andrew Ozz
06f33f29ba Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18464 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 00:36:06 +00:00
Dion Hulse
4429d66a15 Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: https://develop.svn.wordpress.org/trunk@18462 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 10:57:34 +00:00
Andrew Nacin
685221ec7d Context for the color scheme strings. props SergeyBiryukov, fixes #18208.
git-svn-id: https://develop.svn.wordpress.org/trunk@18461 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 06:29:14 +00:00
Andrew Ozz
9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
potbot
e5a2801c6b POT, generated from r18458
git-svn-id: https://develop.svn.wordpress.org/trunk@18459 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:48:02 +00:00
Andrew Nacin
f376d654b8 Fix @sinces in Twenty Eleven. see #18045.
git-svn-id: https://develop.svn.wordpress.org/trunk@18458 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:44:47 +00:00
Ryan Boren
90ec88ca6e Empty headers instance var instead of unsetting to avoid warning. Props chrisbliss18. fixes #18157
git-svn-id: https://develop.svn.wordpress.org/trunk@18457 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:44:35 +00:00
Andrew Nacin
ac3ab55d1e Add pre_ent2ncr filter. props GaryJ, fixes #16432.
git-svn-id: https://develop.svn.wordpress.org/trunk@18456 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:41:21 +00:00
Andrew Nacin
f4ca2f5b82 Use the Settings fields/sections API in Twenty Eleven. props chipbennett for initial patch. see #18045. for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@18455 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:37:31 +00:00
Ryan Boren
6a85dc6dc1 Strip trailing slashes form WP_HOME and WP_SITEURL. Props xknown. fixes #17898
git-svn-id: https://develop.svn.wordpress.org/trunk@18454 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:35:23 +00:00
Andrew Ozz
ebbf92afc1 UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: https://develop.svn.wordpress.org/trunk@18453 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:15:27 +00:00
Ryan Boren
1b135d38f3 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: https://develop.svn.wordpress.org/trunk@18452 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:04:12 +00:00
Ryan Boren
0689b1b8a0 Show admin bar in single site backend by default. Props dimadin. fixes #17899
git-svn-id: https://develop.svn.wordpress.org/trunk@18451 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:41:18 +00:00
Ryan Boren
80f6c2833c Call register_shutdown_function() for SHORTINIT. Props jtclarke. fixes #16389
git-svn-id: https://develop.svn.wordpress.org/trunk@18450 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:37:47 +00:00
Ryan Boren
b4b82c9725 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18449 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:32:12 +00:00
Ryan Boren
985e2affd1 phpdoc typo fixes for functions.php. Props coffee2code. fixes #17752
git-svn-id: https://develop.svn.wordpress.org/trunk@18448 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:48:25 +00:00
Ryan Boren
f6153bcf5d Typo fix. Props kawauso. fixes #18177
git-svn-id: https://develop.svn.wordpress.org/trunk@18447 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:46:01 +00:00
Andrew Ozz
c1779932f1 Support for using wp_enqueue_script() and wp_enqueue_style() in the HTML body. All scripts and styles are added in the footer, fixes #9346
git-svn-id: https://develop.svn.wordpress.org/trunk@18446 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 16:32:01 +00:00
Ryan Boren
6b5d8397b0 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Andrew Nacin
14853ed87e Use login_post context for wp_login_form action. props mdawaffe, see #18137 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18444 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 23:11:36 +00:00
Ryan Boren
f39604511e Fix CPT rewrite generation when turning on permalinks. Props andy. see #18040 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18443 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:49:42 +00:00
Ryan Boren
4dcfeabff1 Sites search improvements. fixes #18013
git-svn-id: https://develop.svn.wordpress.org/trunk@18442 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:42:26 +00:00
potbot
1d6dd7deb1 POT, generated from r18439
git-svn-id: https://develop.svn.wordpress.org/trunk@18440 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-13 11:47:58 +00:00
Ryan Boren
b1f4e9a13f 1.2
git-svn-id: https://develop.svn.wordpress.org/trunk@18438 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-12 18:30:26 +00:00
Andrew Ozz
36144f6484 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18436 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:53:29 +00:00
Andrew Nacin
ffd9f52cb5 Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18435 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:48:43 +00:00
Andrew Nacin
56e834a8c2 Twenty Eleven: Don't set color in the * selector in editor styles. props MattyRob, fixes #18011 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18433 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:32:24 +00:00
Andrew Nacin
bdf534021b Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: https://develop.svn.wordpress.org/trunk@18432 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:22:24 +00:00
Andrew Nacin
3cd6df39aa Twenty Eleven: Prefix theme_options_render_page(). props chipbennett, see #18045. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18430 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:15:37 +00:00
Andrew Ozz
4a2626dd4c Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18428 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:16:09 +00:00
Andrew Nacin
bb7c1ac6d7 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18426 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:03:04 +00:00
Andrew Nacin
486b75c370 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18424 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 18:55:39 +00:00
Andrew Nacin
61f04c15cc Twenty Eleven: Don't call comments_popup_link() if post_password_required(). That'll result in double password messages. props helenyhou, fixes #17962 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18422 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 17:58:43 +00:00
Andrew Nacin
cfcb6d0ecc Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18420 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:50:34 +00:00
Andrew Nacin
5c7ed5305c Twenty Eleven: Update screenshot, use png. props iandstewart, fixes #18054 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18418 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:41:19 +00:00
Andrew Nacin
d81744097b Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18416 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:36:47 +00:00