Commit Graph

186 Commits

Author SHA1 Message Date
markjaquith fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
nacin 456a6151c0 Please pardon my OCD.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:53:26 +00:00
nacin 09570f0114 Hooks for user dashboard. props PeteMall, see #14696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:51:49 +00:00
nacin 17e10b80ab Dashboard widgets in the network admin. props PeteMall. see #15163.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 10:06:17 +00:00
dd32 ed9028c408 Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: http://svn.automattic.com/wordpress/trunk@15849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 10:52:46 +00:00
scribu 799baf139c Use submit_button() in more places. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 18:24:34 +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
ryan 2a7220b15a Revert [15717]; it had extra bits in it
git-svn-id: http://svn.automattic.com/wordpress/trunk@15718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:28:31 +00:00
ryan d78d29dfc4 Fix user edit urls for network admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@15717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:26:40 +00:00
scribu 449d62100e Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: http://svn.automattic.com/wordpress/trunk@15596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 23:35:28 +00:00
nacin 15bc341696 phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +00:00
ryan 84ce78ab1f Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:56:05 +00:00
ryan a67155f514 Update wordpress.org blog url
git-svn-id: http://svn.automattic.com/wordpress/trunk@15457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 13:45:43 +00:00
westi 0c850182dc Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:58:06 +00:00
nacin c779fdccf5 Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202, props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:29:35 +00:00
nacin 7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
nbachiyski bebd1b8ea6 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: http://svn.automattic.com/wordpress/trunk@14407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:37:07 +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
nacin 1b6c254cb5 Change 'WordPress Development Blog' to 'WordPress Blog' in the dashboard widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:56:29 +00:00
nacin 647fe5d199 Initialize some options for the secondary dashboard widget. see #11783
git-svn-id: http://svn.automattic.com/wordpress/trunk@13959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 07:31:28 +00:00
dd32 e4bd7fa6ce Add extra hooks to Right Now dashboard widget. Props jfarthing84. See #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:13:53 +00:00
nacin 59c4af548b Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 14:01:43 +00:00
nacin 261592f3e7 Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 01:31:18 +00:00
dd32 b56ae0e0cb Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 12:32:00 +00:00
nacin 7c13a4d3b5 Boost number of comments allowed in configurable Recent Comments dashboard module. fixes #11891
git-svn-id: http://svn.automattic.com/wordpress/trunk@13519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 00:09:30 +00:00
nacin 9ec5ce818a Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@13373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 16:45:33 +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
nacin c8c6e1e6d7 RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:14:37 +00:00
nacin 87556345bf Re-position the QuickPress ajax spinner. Fixes #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:35:47 +00:00
nacin ef49fb5612 Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:39:39 +00:00
wpmuguru 1651f7e92a fix dashboard right now category links, fixes #12205
git-svn-id: http://svn.automattic.com/wordpress/trunk@13057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 20:10:15 +00:00
ryan 012ef7a259 Set post_type for QuickPress publishing. Props nacin. fixes #12049
git-svn-id: http://svn.automattic.com/wordpress/trunk@12874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:36:17 +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 7f699e5857 Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:15:53 +00:00
ryan 6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
westi 10a6d0e916 Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 10:51:29 +00:00
azaozz 6769f5d7e8 Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
git-svn-id: http://svn.automattic.com/wordpress/trunk@12401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 09:45:29 +00:00
azaozz 9b3f5be113 Swap Spam and Trash in comment action links, fixes #11258
git-svn-id: http://svn.automattic.com/wordpress/trunk@12311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:05:03 +00:00
azaozz 2a8e03ae14 Reorder comment actions, fixes #11258
git-svn-id: http://svn.automattic.com/wordpress/trunk@12287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 12:57:35 +00:00
azaozz 85b81cc6cf Escape $title in dashboard Recent Drafts to reveal HTML tags, props Simek, fixes #11128
git-svn-id: http://svn.automattic.com/wordpress/trunk@12235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:31:06 +00:00
ryan 47001b4c43 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: http://svn.automattic.com/wordpress/trunk@12209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:52:38 +00:00
ryan 7154852c94 Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: http://svn.automattic.com/wordpress/trunk@12193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:42:58 +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
ryan 9dbf6545f0 Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685
git-svn-id: http://svn.automattic.com/wordpress/trunk@12026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 22:04:54 +00:00
azaozz 4b53a32f07 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: http://svn.automattic.com/wordpress/trunk@12015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 09:02:22 +00:00
azaozz d20c23e98d Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
ryan 3ab19e267d Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: http://svn.automattic.com/wordpress/trunk@11988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:42:33 +00:00
westi e803c73428 Switch round some quotes. Fixes #10669 props niallkennedy
git-svn-id: http://svn.automattic.com/wordpress/trunk@11953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-20 13:49:20 +00:00