Commit Graph

212 Commits

Author SHA1 Message Date
nacin
48d8763734 Commit the rest of [15955]. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:58:25 +00:00
ryan
9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
scribu
e975e650cf Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 00:10:39 +00:00
scribu
9a9e872597 introduce WP_List_Table::views(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 21:26:27 +00:00
scribu
75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu
cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu
c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
nacin
34c1fa6d0b target=blank for help. props jorbin, see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 21:00:39 +00:00
ryan
08334aed6e Entities cleanup for help. Props zeo. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 17:44:38 +00:00
nacin
fc172d4d9a Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:16:40 +00:00
nbachiyski
bb00d56a67 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: http://svn.automattic.com/wordpress/trunk@14989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:52:15 +00:00
ryan
1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
ryan
097ecfced8 Media help. Props filosofo. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 22:38:29 +00:00
ryan
74bccde257 Use subquery when finding detached objects. Props filosofo. fixes #13496
git-svn-id: http://svn.automattic.com/wordpress/trunk@14808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 23:05:35 +00:00
nacin
a3dfa293d0 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: http://svn.automattic.com/wordpress/trunk@14789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:23:52 +00:00
westi
bd467ad036 First pass at making the scan for lost attachments custom post type aware. See #10911.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 21:24:40 +00:00
nacin
c6d21e7fbb Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:46:25 +00:00
westi
51e54f5a0b Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:55:52 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
wpmuguru
55446491fa fix page count calc for unattached media, props PeteMall, see #12448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 23:30:06 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
nacin
6efe44acbc Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: http://svn.automattic.com/wordpress/trunk@13978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:38:38 +00:00
nacin
30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
ryan
e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
dd32
5f8dc97924 Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325
git-svn-id: http://svn.automattic.com/wordpress/trunk@13690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 07:40:50 +00:00
nacin
a9642826f3 Don't use deprecated functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:02:26 +00:00
nacin
127c046cba Fall back to displaying mime type when file has no extension. fixes #9924 props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@13541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 22:45:11 +00:00
azaozz
e41f7c83ce Clean attachment cache when reattaching, fixes #11647
git-svn-id: http://svn.automattic.com/wordpress/trunk@13192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 07:43:35 +00:00
nacin
01429c0362 Improve updated messages in Media Library. Add plural strings, add Undo links for trash. Fixes #11402
git-svn-id: http://svn.automattic.com/wordpress/trunk@13153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 13:17:31 +00:00
nacin
8aede6cab7 Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: http://svn.automattic.com/wordpress/trunk@13100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:49:27 +00:00
ryan
a7e2f2533b Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: http://svn.automattic.com/wordpress/trunk@12972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:59:18 +00:00
azaozz
eb130cc23e Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: http://svn.automattic.com/wordpress/trunk@12655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 05:23:22 +00:00
ryan
45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
azaozz
8368df8c17 Add AYS popup when deleting media, fixes #11673
git-svn-id: http://svn.automattic.com/wordpress/trunk@12591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-31 02:37:56 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
azaozz
d4d309a1c6 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: http://svn.automattic.com/wordpress/trunk@12377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 06:40:16 +00:00
ryan
657aa5adc3 Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: http://svn.automattic.com/wordpress/trunk@12375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:14:43 +00:00
ryan
e5d2d65a36 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: http://svn.automattic.com/wordpress/trunk@12308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 20:00:33 +00:00
azaozz
f296da8169 "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 03:56:20 +00:00
azaozz
c3f7df6b24 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
azaozz
d1f60c88f0 Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 03:08:38 +00:00
azaozz
fb1bb44d60 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: http://svn.automattic.com/wordpress/trunk@12162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 10:38:19 +00:00
azaozz
d0c8558025 Undo for posts, pages and media, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 02:46:08 +00:00
markjaquith
34f36995f2 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: http://svn.automattic.com/wordpress/trunk@12110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 17:56:28 +00:00
markjaquith
7a86ba7cf9 Hide "Attach" link for media (which requires JS) if no JS available. (BUGS ON A PLANE!)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 18:54:17 +00:00
ryan
57f26bb58e Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
azaozz
fecbb60966 Add "View trash" link to the notice after moving to the trash
git-svn-id: http://svn.automattic.com/wordpress/trunk@11952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-19 01:06:17 +00:00