Commit Graph

8613 Commits

Author SHA1 Message Date
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 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
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 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
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 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 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
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
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
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 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 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 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 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
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 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
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
Andrew Ozz bb5f063809 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: https://develop.svn.wordpress.org/trunk@18390 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-03 18:15:04 +00:00
Ryan Boren 9e7890c3f6 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@18386 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:59:45 +00:00
Andrew Ozz 1d8d8bffc9 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: https://develop.svn.wordpress.org/trunk@18381 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:46:00 +00:00
Andrew Ozz 9977a6a559 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: https://develop.svn.wordpress.org/trunk@18380 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:23:09 +00:00
Andrew Nacin b40bdc3928 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18375 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:50:07 +00:00
Andrew Nacin 85d77664fb wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18374 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:46:46 +00:00
Ryan Boren 6022d6e39c Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18369 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:47:35 +00:00
Ryan Boren 2258beaf3c Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18365 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:44:56 +00:00
Andrew Ozz 520081cec7 User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@18364 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 16:17:49 +00:00
Dion Hulse 100f17c96d Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: https://develop.svn.wordpress.org/trunk@18362 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 06:47:34 +00:00
Ryan Boren cdd05b3c9f Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18350 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:47:04 +00:00
Andrew Ozz c2c5456fd1 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:40:04 +00:00
Andrew Ozz 5bdde5667e Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: https://develop.svn.wordpress.org/trunk@18347 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 19:35:26 +00:00
Ryan Boren 091ec81919 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Ryan Boren fec6f56351 Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
git-svn-id: https://develop.svn.wordpress.org/trunk@18340 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 21:49:22 +00:00
Nikolay Bachiyski 497b25df66 Fix typo, fixes #17868, props rasheed2 and vanillalounge
git-svn-id: https://develop.svn.wordpress.org/trunk@18337 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 11:18:20 +00:00
Ryan Boren ba11fe1ed2 Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
git-svn-id: https://develop.svn.wordpress.org/trunk@18332 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 19:57:21 +00:00
Andrew Ozz 1598bef0d5 Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
git-svn-id: https://develop.svn.wordpress.org/trunk@18331 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 19:41:42 +00:00
Andrew Nacin 5244cdb17e Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359.
git-svn-id: https://develop.svn.wordpress.org/trunk@18327 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:45:21 +00:00
Peter Westwood 41d548231e Ensure we have a valid timezone identifier before trying to use it.
Validate the new timezone identifier during option update.
Fixes #17840.

git-svn-id: https://develop.svn.wordpress.org/trunk@18323 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 14:58:50 +00:00
Andrew Nacin fdbc800dcc Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: https://develop.svn.wordpress.org/trunk@18320 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:05:46 +00:00
Andrew Nacin 5ef9f551a3 Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: https://develop.svn.wordpress.org/trunk@18319 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:02:58 +00:00
Dion Hulse 2ed7ccf052 Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
git-svn-id: https://develop.svn.wordpress.org/trunk@18318 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-17 05:41:35 +00:00
Andrew Nacin 702409e5d9 Add missing translate() call.
git-svn-id: https://develop.svn.wordpress.org/trunk@18315 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-16 00:18:51 +00:00
Andrew Nacin d75f27ab80 Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@18314 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-15 19:23:35 +00:00
Dion Hulse 696c091d9a Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
git-svn-id: https://develop.svn.wordpress.org/trunk@18310 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:55:04 +00:00
Dion Hulse 31b16ec043 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: https://develop.svn.wordpress.org/trunk@18309 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:40:38 +00:00