Commit Graph

8125 Commits

Author SHA1 Message Date
nacin
c1c79447a3 Move wp_redirect calls to the end of the switch in users.php. Fix unrelated bug where the user's cap should be check, rather than their role's cap. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:22:53 +00:00
markjaquith
8e2683d127 Add "paged param is greater than total pages" redirects to a few more screens. props greuben. fixes #16187
git-svn-id: http://svn.automattic.com/wordpress/trunk@17274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:03:38 +00:00
nacin
5787bf3e0e #blamenacin, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 23:22:03 +00:00
nacin
99171772c8 Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187. props MarkJaquith, greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:24:34 +00:00
nacin
7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
nacin
f1b634cfbe Document abstract methods in WP_List_Table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 08:05:23 +00:00
nacin
3a59f70f18 Multisite super admins should still be able to see the Plugins menu in the site admin. fixes #16184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 07:12:59 +00:00
nacin
f9cdc3156d Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 00:18:23 +00:00
nacin
f5cdbd1ded Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:42:22 +00:00
nacin
b8c4418d50 Only rely on is_super_admin for is_multisite when generating menu code. fixes #16184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 21:00:23 +00:00
ryan
8dbe915535 Strip and prepare ajax tag search string. Avoids applying slashes toward the character count. Props brianlayman. see #13580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:15:25 +00:00
nacin
6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
nacin
1d8f93ca24 Set the post format before publishing the post in Press This. props Otto42, fixes #16192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:58:58 +00:00
markjaquith
6031c43ecd Minify and bump list-table.js see #16190
git-svn-id: http://svn.automattic.com/wordpress/trunk@17253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:40:31 +00:00
markjaquith
52239c3f13 Simulate browser behavior for selecting first dropdown element in non-multiselect, if no elements are selected by default. props koopersmith. fixes #16190
git-svn-id: http://svn.automattic.com/wordpress/trunk@17252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:37:43 +00:00
markjaquith
5e71ad01fd Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@17250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:56:23 +00:00
nacin
727600ac64 RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:17:53 +00:00
nacin
caa9770b12 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-08 08:25:31 +00:00
markjaquith
39e64f8625 [17240] rendered the theme-change rules flush introduced in [16705] unnecessary.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 23:44:12 +00:00
ryan
536564b8ff Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: http://svn.automattic.com/wordpress/trunk@17239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 20:52:42 +00:00
ryan
e7890765b7 Fix post theme delete redirect. Props greuben. see #16117
git-svn-id: http://svn.automattic.com/wordpress/trunk@17238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 19:58:25 +00:00
ryan
9b88439cb6 Fix net admin theme deletion over FTP. see #16117
git-svn-id: http://svn.automattic.com/wordpress/trunk@17237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 19:01:34 +00:00
nacin
1b1997583b Err, oops. Put the class on the table row. props yoast, see [17234], see #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:47:39 +00:00
nacin
d2c179f49e Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:39:18 +00:00
ryan
5d9061c660 Add context to string. Props nbachiyski. fixes #16130
git-svn-id: http://svn.automattic.com/wordpress/trunk@17233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:23:52 +00:00
ryan
3baba9fd17 Use edit_comment cap. Props casben79. fixes #16129
git-svn-id: http://svn.automattic.com/wordpress/trunk@17232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:17:05 +00:00
westi
c0828c77d0 Ensure that we apply the absolute integer casting result to the variable we are going to use. See #16119
git-svn-id: http://svn.automattic.com/wordpress/trunk@17230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 08:51:45 +00:00
ryan
85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
nacin
02d663acb4 More room for your content! Increase default post edit rows as the meta boxes are all hidden by default. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 00:57:24 +00:00
ryan
bfee572698 Avoid notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 18:18:31 +00:00
ryan
694e3e9bf3 Don't show button in placeholder row. Props SergeyBiryukov. fixes #16095
git-svn-id: http://svn.automattic.com/wordpress/trunk@17222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 16:27:39 +00:00
nacin
a4306e1f57 br tags must self close. props blamescribu. see #16095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 03:52:36 +00:00
nacin
41423e2dee Use correct variable. props SergeyBiryukov, TobiasBg, fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 19:09:20 +00:00
nacin
b61a5b0526 Update indicator for the Network Admin link. fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 08:36:06 +00:00
nacin
82dd4d569c Quick RTL CSS fix in widgets admin. see #16082, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:29:22 +00:00
nacin
679051e9b0 Alter admin_notices usage in admin/includes/ms.php due to changes in the action with the network/user admin. props PeteMall, see #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:26:57 +00:00
ryan
55d6d8af12 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: http://svn.automattic.com/wordpress/trunk@17211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:19:34 +00:00
ryan
ea7daa92f9 RTL: Space between buttons. Props SergeyBiryukov. fixes #16084
git-svn-id: http://svn.automattic.com/wordpress/trunk@17209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:17:03 +00:00
ryan
a4c315bbe5 RTL: Custom background tweak. Props SergeyBiryukov, rasheed
git-svn-id: http://svn.automattic.com/wordpress/trunk@17208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:11:11 +00:00
ryan
3083d3c292 RTL: Space between texas and avatar. Props SergeyBiryukov, rasheed. fixes #16081
git-svn-id: http://svn.automattic.com/wordpress/trunk@17207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:09:36 +00:00
nacin
9602072aca Use correct variables. props garyc40, see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 10:55:10 +00:00
nacin
1be2df5578 Recommit [15986]. see #15226.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 08:34:11 +00:00
nacin
89b6b2a050 Compress and bump scripts for [17202]. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:20:57 +00:00
nacin
e8d5e62d1b Disabled states for first/prev and next/last pagination buttons when they should noop. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:19:26 +00:00
nacin
f15b1ad05d Allow us to return from whence we came. Specify wp_http_referer for user-edit in the network admin, as we may come from network/users or site-users. props PeteMall, SergeyBiryukov, fixes #16053.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 22:30:46 +00:00
nacin
53d0af84b0 Don't esc_html the default error string. props SergeyBiryukov, fixes #16058.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 22:14:42 +00:00
ryan
a6e8ff128f Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 01:52:03 +00:00
nacin
48c84b91de Remove a random nacin typo introduced in 3.0. see [12976], #16055.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:58:02 +00:00
nacin
1322474b22 div.alignleft.actions needs to wrap the 'Empty Trash' button too, otherwise they're not aligned. see #15580.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:56:38 +00:00
nacin
fea73f0bc5 Restore original argument order for the taxonomy quick_edit_custom_box hook. fixes #15285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 16:34:08 +00:00