Commit Graph

204 Commits

Author SHA1 Message Date
Andrew Nacin 53d3846f6a target=blank for help. props jorbin, see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15132 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:00:39 +00:00
Ryan Boren 52246de342 Entities cleanup for help. Props zeo. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15094 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 17:44:38 +00:00
Andrew Nacin e89212637d Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15054 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:16:40 +00:00
Nikolay Bachiyski 432ac03fb2 Menu translatable strings cleanup.
* Take out <strong> of the translatable part of For more information:
 * Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes


git-svn-id: https://develop.svn.wordpress.org/trunk@14989 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:52:15 +00:00
Ryan Boren aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Ryan Boren 6d50e25273 Media help. Props filosofo. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14908 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 22:38:29 +00:00
Ryan Boren e24b346263 Use subquery when finding detached objects. Props filosofo. fixes #13496
git-svn-id: https://develop.svn.wordpress.org/trunk@14808 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 23:05:35 +00:00
Andrew Nacin 5eeb02d2ea Exclusion instead of inclusion for post types for lost attachment scan. Exclude attachments and any !public types, and don't consider attachments on unregistered post types to be lost. fixes #10911.
git-svn-id: https://develop.svn.wordpress.org/trunk@14789 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 19:23:52 +00:00
Peter Westwood 5aa105a6af First pass at making the scan for lost attachments custom post type aware. See #10911.
git-svn-id: https://develop.svn.wordpress.org/trunk@14701 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:24:40 +00:00
Andrew Nacin 47136b319f Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Peter Westwood 208fe21987 Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.
git-svn-id: https://develop.svn.wordpress.org/trunk@14548 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:55:52 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Ron Rennick 2d684e0eb7 fix page count calc for unattached media, props PeteMall, see #12448
git-svn-id: https://develop.svn.wordpress.org/trunk@14185 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 23:30:06 +00:00
Andrew Nacin ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Andrew Nacin ebd39b1233 Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:38:38 +00:00
Andrew Nacin dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Dion Hulse fa7d038cae Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325
git-svn-id: https://develop.svn.wordpress.org/trunk@13690 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 07:40:50 +00:00
Andrew Nacin 2265baca72 Don't use deprecated functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@13601 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:02:26 +00:00
Andrew Nacin 5333c986e3 Fall back to displaying mime type when file has no extension. fixes #9924 props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@13541 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:45:11 +00:00
Andrew Ozz 6ea8ad96ef Clean attachment cache when reattaching, fixes #11647
git-svn-id: https://develop.svn.wordpress.org/trunk@13192 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 07:43:35 +00:00
Andrew Nacin 307c874967 Improve updated messages in Media Library. Add plural strings, add Undo links for trash. Fixes #11402
git-svn-id: https://develop.svn.wordpress.org/trunk@13153 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 13:17:31 +00:00
Andrew Nacin 8be6c296b1 Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:49:27 +00:00
Ryan Boren 107f08638f Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: https://develop.svn.wordpress.org/trunk@12972 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:18 +00:00
Andrew Ozz f3a95270ad Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: https://develop.svn.wordpress.org/trunk@12655 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 05:23:22 +00:00
Ryan Boren dfe2e39c2c Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Andrew Ozz e5e9a6686d Add AYS popup when deleting media, fixes #11673
git-svn-id: https://develop.svn.wordpress.org/trunk@12591 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-31 02:37:56 +00:00
Andrew Ozz 060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +00:00
Andrew Ozz 770fd776d7 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Ryan Boren 16b48edadf Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: https://develop.svn.wordpress.org/trunk@12375 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:14:43 +00:00
Ryan Boren d6003d7fa6 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: https://develop.svn.wordpress.org/trunk@12308 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 20:00:33 +00:00
Andrew Ozz 365fea47fc "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12290 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 03:56:20 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Ryan Boren 42a3082c21 Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:49:16 +00:00
Andrew Ozz 3f51751c4d Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: https://develop.svn.wordpress.org/trunk@12196 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 03:08:38 +00:00
Andrew Ozz 0093a3a989 Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12162 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 10:38:19 +00:00
Andrew Ozz b86ab00920 Undo for posts, pages and media, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12121 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 02:46:08 +00:00
Mark Jaquith a556c8ce89 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: https://develop.svn.wordpress.org/trunk@12110 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 17:56:28 +00:00
Mark Jaquith 9bb3e2ca73 Hide "Attach" link for media (which requires JS) if no JS available. (BUGS ON A PLANE!)
git-svn-id: https://develop.svn.wordpress.org/trunk@11979 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-27 18:54:17 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Andrew Ozz 1011e0cf58 Add "View trash" link to the notice after moving to the trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11952 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-19 01:06:17 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Andrew Ozz 782977afbf "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11841 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 08:35:24 +00:00
Andrew Ozz aa630abdab Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11807 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-12 10:57:15 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz 6b3f1c63a0 Fix notice in upload.php, props mrmist, fixes #10223
git-svn-id: https://develop.svn.wordpress.org/trunk@11715 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:39:56 +00:00
Andrew Ozz 4f1b61b10d H2 "Add New" buttons for the main screens
git-svn-id: https://develop.svn.wordpress.org/trunk@11554 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-12 03:20:16 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Mark Jaquith a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00