Commit Graph

65 Commits

Author SHA1 Message Date
ryan
81e213c211 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:01:29 +00:00
nacin
051c2814da More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:36:49 +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
nacin
f1032cf165 Use get_edit_post_link(). Props jfarthing84, fixes #12288
git-svn-id: http://svn.automattic.com/wordpress/trunk@13230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 20:03:05 +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
ryan
b99372f363 Fix attachment view link title attribute. Props chdorner. fixes #10571
git-svn-id: http://svn.automattic.com/wordpress/trunk@12876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:44:47 +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
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
101751921b Add media_row_actions filter. Props holizz. fixes #9172
git-svn-id: http://svn.automattic.com/wordpress/trunk@12221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:46:07 +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
be026258fa "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz
4105845402 Stop direct loading of files in wp-admin that should only be included, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-03 00:04:45 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
markjaquith
d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
azaozz
e30370d886 Fix "No posts found" on media screens, props hakre, fixes #9680
git-svn-id: http://svn.automattic.com/wordpress/trunk@11185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:31:32 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
dc4c461c89 Show actions on hover for links and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 19:00:48 +00:00
azaozz
80e0aebc12 Fix Media Library when empty, fixes #8430
git-svn-id: http://svn.automattic.com/wordpress/trunk@9980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 13:17:27 +00:00
ryan
3117f4ee53 Fix media columns
git-svn-id: http://svn.automattic.com/wordpress/trunk@9878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:26:53 +00:00
ryan
ed031adb99 Fix warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@9877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:18:17 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
markjaquith
821218975c Repoint and redirect edit.php?p=X to edit-comments.php?p=X
git-svn-id: http://svn.automattic.com/wordpress/trunk@9807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 04:51:47 +00:00
azaozz
f7fdaa9884 Fix table headers for media library page
git-svn-id: http://svn.automattic.com/wordpress/trunk@9772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 03:57:18 +00:00
azaozz
a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
ryan
86702a2520 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 17:56:44 +00:00
ryan
9811ed02cd Fix row alternation for media library screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 19:40:24 +00:00
ryan
2fdde1e736 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:22:24 +00:00
ryan
0b2c0cf5ba Media column changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 05:39:40 +00:00
westi
70a3aa877d Introduce _draft_or_post_title() instead of lots of duplicated (no title) code. Fixes #7801.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 21:32:13 +00:00
azaozz
6cd6f6d9f8 Add table footers and action selects at the bottom
git-svn-id: http://svn.automattic.com/wordpress/trunk@9028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 09:26:21 +00:00
azaozz
b50ce20195 Get the hidden columns in edit-attachment-rows.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 22:04:28 +00:00
ryan
24823f8c9e Consolidate column header code. Add column hiding to taxonomy pages (incomplete). see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 05:41:45 +00:00
azaozz
fe921a53ec Reattaching of orphan attachments and choose post/page ajaxed search box
git-svn-id: http://svn.automattic.com/wordpress/trunk@8901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 04:24:28 +00:00
ryan
168652f6c4 Implement attachmenet delete link. Use get_edit_post_link(). see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 19:28:26 +00:00
ryan
cb6611d1f0 Column hiding for media library. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 17:53:30 +00:00
ryan
56fe88e88f Merge crazyhorse management pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 04:06:36 +00:00
westi
c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
ryan
c2e5bd7c3b Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: http://svn.automattic.com/wordpress/trunk@8484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 05:22:58 +00:00
ryan
cbf1aed77d Allow editing of attachmentts with no titles. Props mdawaffe. fixes #6839 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 15:28:08 +00:00
markjaquith
f945af84d8 Don't show broken parent post links for orphaned media. fixes #6408
git-svn-id: http://svn.automattic.com/wordpress/trunk@7543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 02:50:01 +00:00
ryan
6de702f183 pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:21:27 +00:00
ryan
f503cf59a6 Wrap comment bubbles in minimum width div to avoid chopping. Props mt. fixes #6207
git-svn-id: http://svn.automattic.com/wordpress/trunk@7427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 21:40:17 +00:00