Commit Graph

2924 Commits

Author SHA1 Message Date
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
Peter Westwood f3b35cf893 Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
git-svn-id: https://develop.svn.wordpress.org/trunk@18090 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:44:10 +00:00
Ryan Boren 2960bcac77 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18089 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:41:43 +00:00
Ryan Boren 89561d578e s/seperator/separator/. Props brandonburke. fixes #17610
git-svn-id: https://develop.svn.wordpress.org/trunk@18084 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 19:58:36 +00:00
Ryan Boren d5e77eefbf Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: https://develop.svn.wordpress.org/trunk@18082 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 16:08:46 +00:00
Andrew Ozz b0ff53d233 Fix notice, props greuben, fixes #17613
git-svn-id: https://develop.svn.wordpress.org/trunk@18074 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 14:12:08 +00:00
Andrew Ozz be987907b8 Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: https://develop.svn.wordpress.org/trunk@18071 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 21:18:58 +00:00
Andrew Nacin cec199aa57 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@18053 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 05:41:34 +00:00
Ryan Boren 657155ed7c Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: https://develop.svn.wordpress.org/trunk@18041 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:36:26 +00:00
Ryan Boren 385262f36e Fix notices. Props ocean90. fixes #17528
git-svn-id: https://develop.svn.wordpress.org/trunk@18038 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:46:40 +00:00
Ryan Boren 64367f2de7 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: https://develop.svn.wordpress.org/trunk@18034 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:05:52 +00:00
Andrew Ozz 1ed0c5b42d Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: https://develop.svn.wordpress.org/trunk@18025 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:55:59 +00:00
Ryan Boren ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren ab6db3e04f Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: https://develop.svn.wordpress.org/trunk@18009 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:11:03 +00:00
Ryan Boren c9566759db Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
git-svn-id: https://develop.svn.wordpress.org/trunk@18008 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:08:19 +00:00
Ryan Boren da02537bb0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: https://develop.svn.wordpress.org/trunk@17999 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:25:28 +00:00