Commit Graph

2939 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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
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
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 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
Andrew Nacin caa6046220 [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: https://develop.svn.wordpress.org/trunk@18297 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 08:30:53 +00:00
Andrew Ozz afa3e61432 Always use curly brackets with foreach, see [18295]
git-svn-id: https://develop.svn.wordpress.org/trunk@18296 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 01:03:55 +00:00
Andrew Ozz 3ff031ae87 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@18295 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 00:24:47 +00:00
Andrew Nacin 8e9b972098 Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.
git-svn-id: https://develop.svn.wordpress.org/trunk@18294 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 21:38:57 +00:00
Dion Hulse 577f585169 Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: https://develop.svn.wordpress.org/trunk@18290 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 12:47:18 +00:00
Andrew Nacin 80d166905a Browser nag dismiss: hide-if-no-js. props duck_, see #17766.
git-svn-id: https://develop.svn.wordpress.org/trunk@18281 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 21:14:03 +00:00
Ryan Boren 7d7509eabd Improvements to invalid menu item handling. Props ocean90. fixes #13958
git-svn-id: https://develop.svn.wordpress.org/trunk@18277 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:52:15 +00:00
Andrew Nacin a657a1986c @since s/3.2/3.2.0/
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 04:40:18 +00:00
Dion Hulse 1b36a05e18 Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
git-svn-id: https://develop.svn.wordpress.org/trunk@18265 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:33:17 +00:00
Dion Hulse 4963d5f945 Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
git-svn-id: https://develop.svn.wordpress.org/trunk@18264 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:16:42 +00:00
Andrew Nacin 9ebb57dafd 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: https://develop.svn.wordpress.org/trunk@18262 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 02:35:00 +00:00
Andrew Nacin c24e4daf5a Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.
git-svn-id: https://develop.svn.wordpress.org/trunk@18260 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 00:55:48 +00:00
Ryan Boren 9216255ee3 Update _old_files for 3.2. see #17759
git-svn-id: https://develop.svn.wordpress.org/trunk@18256 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:15:01 +00:00
Ryan Boren 46d96c7704 Bring out the pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Andrew Ozz e3a1054bef Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Mark Jaquith 2aea6faf97 Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: https://develop.svn.wordpress.org/trunk@18234 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:02:03 +00:00
Dion Hulse 9cb7da13d2 Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927
git-svn-id: https://develop.svn.wordpress.org/trunk@18228 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 06:31:39 +00:00
Andrew Nacin e304611748 Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611.
git-svn-id: https://develop.svn.wordpress.org/trunk@18227 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 06:22:33 +00:00
Andrew Nacin b2c50ddc56 Core support for partial updates. see #10611.
git-svn-id: https://develop.svn.wordpress.org/trunk@18225 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 05:47:44 +00:00
Andrew Ozz fc4915fb0f Do not run bulk edit when the user clicks on a filter, fixes #17733
git-svn-id: https://develop.svn.wordpress.org/trunk@18222 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 00:01:16 +00:00
Andrew Ozz ba1211237c Enable autocomplete on the href and title fields in the link popup, props nacin, fixes #17101
Remove unneeded for=".." attributes from the <label> tags there.

git-svn-id: https://develop.svn.wordpress.org/trunk@18207 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 22:39:08 +00:00
Andrew Nacin 24d38bc521 Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: https://develop.svn.wordpress.org/trunk@18194 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:49:27 +00:00
Mark Jaquith ac81c1fef8 Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674
git-svn-id: https://develop.svn.wordpress.org/trunk@18193 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:27:57 +00:00
Ryan Boren 4efc4641ac Don't add search wildcards to an empty string. fixes #17719
git-svn-id: https://develop.svn.wordpress.org/trunk@18179 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 16:05:04 +00:00
Andrew Ozz 76f9fca002 Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts

git-svn-id: https://develop.svn.wordpress.org/trunk@18158 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 01:14:26 +00:00
Ryan Boren b6eed7bea8 Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
git-svn-id: https://develop.svn.wordpress.org/trunk@18150 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 15:14:51 +00:00
Andrew Ozz 35ba083b00 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Nacin 4e3cdbfc61 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18136 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 23:30:46 +00:00
Ryan Boren 332d95b648 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Andrew Nacin 36f1805ec4 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 22:03:36 +00:00
Ryan Boren 218486fb46 Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18109 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 21:27:42 +00:00
Ryan Boren 45486df91d Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: https://develop.svn.wordpress.org/trunk@18106 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:33:45 +00:00
Ryan Boren 7cb543f37f Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: https://develop.svn.wordpress.org/trunk@18105 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:30:29 +00:00
Andrew Ozz 715e5a905b Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18104 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:08:41 +00:00
Ryan Boren ac3a991b17 Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: https://develop.svn.wordpress.org/trunk@18093 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:03:41 +00:00