Commit Graph

276 Commits

Author SHA1 Message Date
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
dd32
035485998f Fix paging links "Displaying x–y of z" for Pages. Props Utkarsh. Fixes #12552
git-svn-id: http://svn.automattic.com/wordpress/trunk@13643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:41:09 +00:00
ryan
9f0db9355a Die if invalid post type is passed. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 20:33:03 +00:00
dd32
be50291e23 Move 'restrict_manage_posts' out of category check. Props jfarthing84. Fixes #12310
git-svn-id: http://svn.automattic.com/wordpress/trunk@13273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 01:33:35 +00:00
nacin
00706d68ce Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: http://svn.automattic.com/wordpress/trunk@13256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:09:49 +00:00
ryan
71b350a317 Don't include internal post types in the total. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 20:01:10 +00:00
ryan
f18f34ead8 Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 21:13:44 +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
d0f8826c0b Add more visibility args to post status registration. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:46:00 +00:00
ryan
9de60f3644 Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
ryan
5922f7e2c4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
markjaquith
639078ecf0 Include the post type, or else clicking All from pages will give you "all POSTS"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 20:33:45 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
decf135295 Update trash and right now links for pages. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
c6737c2f02 register_post_type(). see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 18:49:56 +00:00
ryan
252e24395f Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:23:10 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +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
westi
4bece20e85 Fix notice on edit posts page when logged in as a user without the 'edit_others_posts' capability.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 13:01:30 +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
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
73666bae79 Fix notice in post.php, props sirzooro, fixes #11132
git-svn-id: http://svn.automattic.com/wordpress/trunk@12184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 07:11:46 +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
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
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
azaozz
6a6257ee42 Show My Posts as default view on the Edit Posts screen for users without 'edit_others_posts' cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 22:37:51 +00:00
azaozz
52f4940dfb Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-12 10:57:15 +00:00
azaozz
0d3ce58ccb Notice fixes, props mrmist, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 00:40:39 +00:00
azaozz
e81414d3b3 Show Empty Trash button only when the user has cap. props mrmist, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 23:50:29 +00:00
ryan
9bb224cf1e Add some CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:58:59 +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
azaozz
f48bea5721 Improve QE data for Draft, Pending and Scheduled posts screens, see #10478
git-svn-id: http://svn.automattic.com/wordpress/trunk@11743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-25 12:21:55 +00:00
azaozz
571964a96b H2 "Add New" buttons for the main screens
git-svn-id: http://svn.automattic.com/wordpress/trunk@11554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-12 03:20:16 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +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
markjaquith
bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +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
ryan
808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan
5f7de2a553 Plural contexts. Props nbachiyski. fixes #8128
git-svn-id: http://svn.automattic.com/wordpress/trunk@11137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 16:22:14 +00:00
ryan
9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +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
azaozz
29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
ryan
fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
azaozz
0927fbcc0d Action -> Bulk Action for manage screens, props FFEMTcJ, fixes #8375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:57:56 +00:00
azaozz
0284ef6ae0 Easier translation for search strings in H2s
git-svn-id: http://svn.automattic.com/wordpress/trunk@10035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 12:01:02 +00:00
azaozz
e53337ede8 Add search string to H2s, fixes #8373
git-svn-id: http://svn.automattic.com/wordpress/trunk@10034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 09:20:52 +00:00
azaozz
74a0e7cab9 Coding for new icons for List/Excerpt view switch
git-svn-id: http://svn.automattic.com/wordpress/trunk@10004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 21:32:51 +00:00