Commit Graph

8580 Commits

Author SHA1 Message Date
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
nacin e149164921 Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:50:16 +00:00
nacin 9d2edcd9ac [18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:30:53 +00:00
azaozz 626fa3b3d3 Always use curly brackets with foreach, see [18295]
git-svn-id: http://svn.automattic.com/wordpress/trunk@18296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 01:03:55 +00:00
azaozz 8416d1c0e0 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@18295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 00:24:47 +00:00
nacin 7271998aa6 Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 21:38:57 +00:00
dd32 ed5785c9ef Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: http://svn.automattic.com/wordpress/trunk@18290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 12:47:18 +00:00
azaozz 192a616b7f More Press This cleanup and fixes, see #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 23:12:21 +00:00
azaozz caf4a20ae8 Press This RTL css fixes, props ocean90, fixes #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:17:34 +00:00
nacin ea1c1a370b Browser nag dismiss: hide-if-no-js. props duck_, see #17766.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:14:03 +00:00
nacin 7542e878f0 UI refresh for Press This. props koopersmith, see #17757.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:37:23 +00:00
nacin 1a62cfa691 Fix display of browser nag, use lowercase hex values, move identical styles out of colors-* and into dashboard.css. props duck_, fixes #17765.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:32:19 +00:00
ryan 4bb54d8f68 Improvements to invalid menu item handling. Props ocean90. fixes #13958
git-svn-id: http://svn.automattic.com/wordpress/trunk@18277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:52:15 +00:00
ryan 46f63a6b1e Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:44:06 +00:00
nacin 2571545ec0 @since s/3.2/3.2.0/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 04:40:18 +00:00
dd32 7123b0b62a Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:33:17 +00:00
dd32 694ec284a8 Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:16:42 +00:00
nacin fcf8586289 Make update-core only do sanity checks against readme.html and version.php, both always included even in partial builds. fixes #17760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 02:35:00 +00:00
nacin d648585363 Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 00:55:48 +00:00
koopersmith 0f85a171c2 The Lightening, Part 2: Return of the Luminous Hex Codes. Make the admin styles a bit brighter. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:47:28 +00:00
ryan a9ddd3474c Update _old_files for 3.2. see #17759
git-svn-id: http://svn.automattic.com/wordpress/trunk@18256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:15:01 +00:00
ryan daa14c36f9 Bring out the pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
nacin bfe6bef203 Remove 'Development.' fixes #15991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:55:28 +00:00
nacin 60bdbe765f Don't add extra spaces. props duck_, see #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:30:54 +00:00
nacin 57f51582b1 Translate a missing string. props ldebrouwer, fixes #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:28:02 +00:00
nacin 343d07bb5a Fix whitespace discrepancy between Manage Themes and Install Themes tabs. props trepmal. Don't show a single Manage Themes heading as a tab if the user doesn't have install_themes. fixes #17758.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:16:30 +00:00
azaozz 12dd9113cb Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: http://svn.automattic.com/wordpress/trunk@18247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:13:26 +00:00
nacin 9d31daac05 Revert [18243].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:01:52 +00:00
nacin ca53db156d s/Blue/Classic/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:37:14 +00:00
nacin d6b239adf1 Some more credits strings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:27:14 +00:00
azaozz 2c0b56039f DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: http://svn.automattic.com/wordpress/trunk@18241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:08:49 +00:00
koopersmith 262b95b4ad Improve contrast on login screen by darkening shadow. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:48:25 +00:00