Commit Graph

8611 Commits

Author SHA1 Message Date
azaozz
21058cf460 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: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
dd32
adbcddd6eb Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: http://svn.automattic.com/wordpress/trunk@18462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 10:57:34 +00:00
azaozz
5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
azaozz
49c71bc6db UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: http://svn.automattic.com/wordpress/trunk@18453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:15:27 +00:00
ryan
3c930bc018 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:04:12 +00:00
ryan
4e538ea9c8 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: http://svn.automattic.com/wordpress/trunk@18449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:32:12 +00:00
ryan
a117773fc8 Typo fix. Props kawauso. fixes #18177
git-svn-id: http://svn.automattic.com/wordpress/trunk@18447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 17:46:01 +00:00
ryan
4ad0954961 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-20 22:04:35 +00:00
ryan
7f88e6ee2f Sites search improvements. fixes #18013
git-svn-id: http://svn.automattic.com/wordpress/trunk@18442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 15:42:26 +00:00
azaozz
b87d9d50d6 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:53:29 +00:00
nacin
6fba9adeaf Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:48:43 +00:00
nacin
916a1c943c Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 20:22:24 +00:00
azaozz
fcc103f0b2 Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:16:09 +00:00
nacin
61afb5def3 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:03:04 +00:00
nacin
8ead4891b9 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 18:55:39 +00:00
nacin
bac625849e Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:50:34 +00:00
nacin
0904773260 Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:36:47 +00:00
ryan
7697960abe Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-07 18:03:30 +00:00
nacin
c8e85fcb81 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-06 23:33:05 +00:00
azaozz
9d23dd8753 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 07:03:26 +00:00
nacin
4a387dc4f0 Affirm current credits timeout. see #17759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-04 15:58:43 +00:00
azaozz
86067bcf74 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: http://svn.automattic.com/wordpress/trunk@18390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-03 18:15:04 +00:00
ryan
98ea343717 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:59:45 +00:00
azaozz
a1beac9a44 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: http://svn.automattic.com/wordpress/trunk@18381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:46:00 +00:00
azaozz
f158ed15d2 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: http://svn.automattic.com/wordpress/trunk@18380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:23:09 +00:00
nacin
db78833264 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: http://svn.automattic.com/wordpress/trunk@18375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:50:07 +00:00
nacin
ad1e1df0f2 wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:46:46 +00:00
ryan
68d8691cc8 Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:47:35 +00:00
ryan
db253a3fe7 Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:44:56 +00:00
azaozz
b80ad7a9cf User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 16:17:49 +00:00
dd32
4e0de4a1d3 Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 06:47:34 +00:00
ryan
08b6aa116e 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: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:47:04 +00:00
azaozz
06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
azaozz
df0cca6ae4 Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: http://svn.automattic.com/wordpress/trunk@18347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 19:35:26 +00:00
ryan
593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
ryan
65332fb735 Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 21:49:22 +00:00
nbachiyski
f76ad7a71a Fix typo, fixes #17868, props rasheed2 and vanillalounge
git-svn-id: http://svn.automattic.com/wordpress/trunk@18337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 11:18:20 +00:00
ryan
5eaf7b7e05 Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
git-svn-id: http://svn.automattic.com/wordpress/trunk@18332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:57:21 +00:00
azaozz
7ba19933f3 Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
git-svn-id: http://svn.automattic.com/wordpress/trunk@18331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:41:42 +00:00
nacin
9096c1a3c6 Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-22 19:45:21 +00:00
westi
fda24a53ed 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: http://svn.automattic.com/wordpress/trunk@18323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-20 14:58:50 +00:00
nacin
c774b1b42d Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:05:46 +00:00
nacin
7b3569ab29 Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:02:58 +00:00
dd32
6de00a0495 Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
git-svn-id: http://svn.automattic.com/wordpress/trunk@18318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-17 05:41:35 +00:00
nacin
c5f8e9a376 Add missing translate() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-16 00:18:51 +00:00
nacin
e169b152bd Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-15 19:23:35 +00:00
dd32
2f3d9c768f Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
git-svn-id: http://svn.automattic.com/wordpress/trunk@18310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:55:04 +00:00
dd32
d8a6868d99 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: http://svn.automattic.com/wordpress/trunk@18309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:40:38 +00:00
dd32
aee92ce43b Fix the Margins in the Tag metabox for RTL. Props yoavf. Fixes #17799
git-svn-id: http://svn.automattic.com/wordpress/trunk@18308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:31:35 +00:00
dd32
9903d372b6 Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
git-svn-id: http://svn.automattic.com/wordpress/trunk@18307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 12:39:11 +00:00