Commit Graph

16711 Commits

Author SHA1 Message Date
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
Andrew Nacin f733b63c93 Shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@18414 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:34:15 +00:00
Andrew Nacin 57b3d031a7 Restore page-template-default body class. props peterwilsoncc, fixes #18018 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18412 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:31:57 +00:00
Andrew Nacin f7b63919c2 Twenty Eleven: Update editor style for blockquotes and images. props iandstewart, fixes #18008 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18410 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:29:14 +00:00
Andrew Nacin 56b52fb9f1 Twenty Eleven: Fix search form width in IE7. props iandstewart, fixes #18004 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18408 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:27:53 +00:00
Ryan Boren f8c336ca41 Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18406 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-07 18:03:30 +00:00
Andrew Nacin c8947a4f44 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18404 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-06 23:33:05 +00:00
Andrew Ozz 4e43ac83bd Fix typo in 2011, props AndrewFrazier, fixes #17989 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18403 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 21:59:43 +00:00
Peter Westwood e9dc68fc4d Update the version in trunk. Props MarkJaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@18400 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 10:04:17 +00:00
Andrew Ozz 576466e544 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18399 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 07:03:26 +00:00
Ryan Boren 4e3b568f1b Bump, 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@18395 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 20:19:42 +00:00
Andrew Nacin 8e62c8d66f Twenty Eleven bump. see #17759.
git-svn-id: https://develop.svn.wordpress.org/trunk@18394 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 20:02:05 +00:00
Andrew Nacin 19e358a2c5 Affirm current credits timeout. see #17759.
git-svn-id: https://develop.svn.wordpress.org/trunk@18393 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 15:58:43 +00:00