Commit Graph

2875 Commits

Author SHA1 Message Date
nacin
277be4ce51 Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 19:37:38 +00:00
markjaquith
7cb71c46d5 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: http://svn.automattic.com/wordpress/trunk@17356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 04:16:55 +00:00
ryan
862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
nacin
34358d9a42 Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:36:54 +00:00
nacin
45828057ed doaction buttons don't need a name, only an ID. fixes #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:31:35 +00:00
nacin
a1d3c1c62a Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:27:04 +00:00
nacin
19efd03fe8 Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:25:32 +00:00
ryan
498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
markjaquith
47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith
acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin
385ac2ef74 Use get_column_count() instead of manual logic. props scribu, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 07:39:21 +00:00
nacin
8dc4329246 Properly account for columns shown in the list table display_rows_or_placeholder methods. props garyc40, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:19:34 +00:00
nacin
7061e7efe0 Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:46 +00:00
nacin
cda05de396 Don't allow the 'Path' column on sites.php to be hidden. see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:01 +00:00
nacin
ee1a4eba16 Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:08:24 +00:00
westi
3c278d6421 Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:49:46 +00:00
markjaquith
df3882ab23 Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
git-svn-id: http://svn.automattic.com/wordpress/trunk@17324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-17 23:36:23 +00:00
nacin
37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin
94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin
a099ac06a7 Remove assignment that is later overridden. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:47:21 +00:00
markjaquith
e5a88166a9 Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
git-svn-id: http://svn.automattic.com/wordpress/trunk@17318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:38:44 +00:00
nacin
49887cdd9a Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 07:26:45 +00:00
westi
035b3fb22a Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 03:40:52 +00:00
ryan
d0e923486b Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: http://svn.automattic.com/wordpress/trunk@17303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:35:29 +00:00
nacin
dcbe9ba65d Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 07:20:13 +00:00
nacin
7a38616d0f Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 01:02:15 +00:00
westi
93465db918 The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:19:51 +00:00
nacin
35066d7770 Remove the button too. props ryan, see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:56:10 +00:00
nacin
b2d0685b2d Old files removal for 3.1, against r17285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:19:05 +00:00
nacin
c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
markjaquith
bf473f3545 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: http://svn.automattic.com/wordpress/trunk@17284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:14:12 +00:00
nacin
519449a9f9 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:50:23 +00:00
nacin
d1c2b06a7e Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:21:30 +00:00
nacin
9c1f2901cd Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:50:35 +00:00
nacin
68c994d72b Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:34:18 +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
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
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
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
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
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
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
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
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
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
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
nacin
a18f529d6e Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 04:49:27 +00:00
ryan
b6346ae5cd Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: http://svn.automattic.com/wordpress/trunk@17189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 23:38:21 +00:00
nacin
138c0ff862 Typo fix. props Kawauso.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 21:58:44 +00:00
ryan
2df3d85f4e Fix registered and path column sorting. Props garyc40. fixes #16034
git-svn-id: http://svn.automattic.com/wordpress/trunk@17180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 18:06:33 +00:00
markjaquith
ff92f29be4 urlencode() theme name when creating theme edit link. props tomthewebmaster. fixes #16028
git-svn-id: http://svn.automattic.com/wordpress/trunk@17177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:09:01 +00:00
ryan
9b3c2a5db3 Hard limit to 10 comments on edit post screen. Props greuben. fixes #15998
git-svn-id: http://svn.automattic.com/wordpress/trunk@17168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 15:58:46 +00:00
ryan
0630489d88 Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000
git-svn-id: http://svn.automattic.com/wordpress/trunk@17160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 19:34:31 +00:00
ryan
226e983063 Link Links columns to link manager. Props nacin. fixes #15994
git-svn-id: http://svn.automattic.com/wordpress/trunk@17159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-27 16:57:19 +00:00
ryan
b9187228d2 Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: http://svn.automattic.com/wordpress/trunk@17156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:06:15 +00:00
ryan
9433827b1c RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: http://svn.automattic.com/wordpress/trunk@17153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:54:52 +00:00
ryan
964e5e46ec Give search submit buttons a unique ID. Props dd32. fixes #15979
git-svn-id: http://svn.automattic.com/wordpress/trunk@17151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:49:51 +00:00
nacin
434087c311 RTL for theme installer. props yoavf, fixes #15984.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 06:31:46 +00:00
nacin
8011db1107 Revert to esc_html when escaping the textarea for nav menu item description. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 18:42:59 +00:00
nacin
9009245db5 Tag textareas escaped earlier with textarea_escaped. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 17:58:01 +00:00
nacin
6ca0be1c1e RTL for the new style pagination links. fixes #15974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 13:48:13 +00:00
ryan
625a229313 MS themes fixes. Fix bulk actions when no items selected. Props SergeyBiryukov, nacin. fixes #15920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:41:36 +00:00
nacin
b0be8cd9f4 Validation fixes. props ocean90, fixes #15287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 14:19:41 +00:00
ryan
476e468faf Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:21:29 +00:00
westi
56584f6801 Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:41:05 +00:00
ryan
ad52588e82 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@17117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:44:51 +00:00
ryan
41476a07ea Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922
git-svn-id: http://svn.automattic.com/wordpress/trunk@17115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:34:14 +00:00
ryan
edc2f694ad Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 19:03:43 +00:00
ryan
1fe263e46c Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
git-svn-id: http://svn.automattic.com/wordpress/trunk@17108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 17:38:22 +00:00
markjaquith
b9a7bb4bc7 Display placeholder when no comments found. props garyc40. fixes #15937
git-svn-id: http://svn.automattic.com/wordpress/trunk@17103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:34:29 +00:00
ryan
587ea006b5 Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:17:58 +00:00
ryan
a1d8c65604 Add delete support to network themes. Props PeteMall. fixes #15707
git-svn-id: http://svn.automattic.com/wordpress/trunk@17101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 16:50:16 +00:00
nacin
9fdf778067 New help strings in internal linking. props jane, see #15739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 15:04:59 +00:00
nacin
e5b099a459 Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:58:54 +00:00
nacin
53895d9778 Don't include trash posts in the sticky posts count. props garyc40, fixes #15934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:58:17 +00:00
ryan
3bce6d9be9 List table spinner. Props scribu. see #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 18:45:05 +00:00
ryan
eb9fa27602 Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:25:39 +00:00
nacin
e68063f9f3 Don't check the upload space site option if the option is disabled. props greuben, fixes #13601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:44:33 +00:00
ryan
e8468d167a Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:25:35 +00:00
ryan
edd8ffdb68 Consistently use edit_posts_per_page. Props sorich87. fixes #14135
git-svn-id: http://svn.automattic.com/wordpress/trunk@17082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:18:13 +00:00
nacin
60a828c31f Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 15:26:44 +00:00
ryan
8d56bc7265 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: http://svn.automattic.com/wordpress/trunk@17078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 12:38:21 +00:00
nacin
e1eec3925a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:25:21 +00:00
nacin
041c9a445e Don't double-slash list table include. props wpmuguru, fixes #15904.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:14:15 +00:00
markjaquith
3469500927 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: http://svn.automattic.com/wordpress/trunk@17062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 19:22:31 +00:00
nacin
ade50f7e35 Allow dfault post format selections. fixes #15882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:36:11 +00:00
ryan
09a2d27d5e Remove 'Search Results filter from ms themes. fixes #15872
git-svn-id: http://svn.automattic.com/wordpress/trunk@17050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 01:11:38 +00:00
ryan
26129ad9a1 Search query string tweaks for net plugins. Props PeteMall. see #15872
git-svn-id: http://svn.automattic.com/wordpress/trunk@17038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 23:47:40 +00:00
ryan
1d304b55c6 Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
git-svn-id: http://svn.automattic.com/wordpress/trunk@17033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:53:47 +00:00
ryan
58e65d1855 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: http://svn.automattic.com/wordpress/trunk@17032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:48:30 +00:00
scribu
01c718f85f Fix notices in quick-edit. See #15285
git-svn-id: http://svn.automattic.com/wordpress/trunk@17027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 13:20:17 +00:00
scribu
6bc5c659ce Always show term search box. See #15857
git-svn-id: http://svn.automattic.com/wordpress/trunk@17026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 11:41:59 +00:00
scribu
e729294124 Display categories again. Props garyc40. Fixes #15857
git-svn-id: http://svn.automattic.com/wordpress/trunk@17025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 11:17:41 +00:00
scribu
c1e19baef8 Disable sorting by post count for now. See #15861
git-svn-id: http://svn.automattic.com/wordpress/trunk@17024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 10:25:27 +00:00
westi
4b4e4a02d2 Make note that this is a preview_iframe. See #15856
git-svn-id: http://svn.automattic.com/wordpress/trunk@17018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:30:33 +00:00
scribu
0879929ca7 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:38:15 +00:00
scribu
6963b1997b Get only required fields in populate_network(). See #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:11:21 +00:00
ryan
2cc6b2e7ff phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: http://svn.automattic.com/wordpress/trunk@17009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 22:46:13 +00:00
westi
3122155c6c Give the button an id so it validates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 21:35:39 +00:00
westi
08576ca317 Give the screen options Apply button an id so it validates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 21:08:37 +00:00
scribu
cfe09b99e5 Introduce WP_List_Table::search_box(). See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@17006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 20:45:10 +00:00
PeteMall
b9c491d090 New filter for network admin plugins action link. Fixes #15850.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:22:46 +00:00
scribu
5fce5c6d14 Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:05:14 +00:00
ryan
3a66c698ee Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@17001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 17:48:20 +00:00
nacin
eb574d4e5f Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:31:42 +00:00
nacin
a189f21c45 Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:18:28 +00:00
nacin
117be6ae19 Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:48:16 +00:00
nacin
cc08068dba Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:43:22 +00:00
nacin
8c03934da4 We don't apply markup here. see #15742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:04:54 +00:00
nacin
6f1016586f Use maybe_network_admin_url. see #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:12:55 +00:00
PeteMall
932ef80a9e s/<? /<?php / in [16963].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 23:21:07 +00:00
nacin
50669e46f6 Post formats help text. fixes #15376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:24:34 +00:00
PeteMall
527a1381d6 This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:11:55 +00:00
westi
dd86bd529f This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:09:50 +00:00
westi
c9809f18f3 Re-instate this code so AJAX still works
git-svn-id: http://svn.automattic.com/wordpress/trunk@16966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:04:31 +00:00
westi
d70286d3a6 Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: http://svn.automattic.com/wordpress/trunk@16965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:58:05 +00:00
nacin
6f607d4046 Revert [16645]. see #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:50:39 +00:00
nacin
6c025aa06f Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:48:40 +00:00
westi
98ae904159 Fix HTML validation errors. Fixes #15716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:34:59 +00:00
nacin
d3d0fe2e2e s/example-about-page/sample-page/. see #14973.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:55:49 +00:00
nacin
844636bf1c Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:27:38 +00:00
scribu
87c95d40f8 Limit height only to iframe body. Fixes #15679
git-svn-id: http://svn.automattic.com/wordpress/trunk@16937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 10:39:50 +00:00
ryan
7f88c122ea Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:36:24 +00:00
nacin
1050da7bce Remove unneeded stripslashes. see #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 18:56:15 +00:00
nacin
f4c1734b60 Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 17:58:47 +00:00
scribu
e6d0e7a509 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: http://svn.automattic.com/wordpress/trunk@16911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:53:31 +00:00
scribu
0f6329b74f Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: http://svn.automattic.com/wordpress/trunk@16908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 10:22:06 +00:00
dd32
20e1171ae8 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:31:33 +00:00
ryan
ad6f2b2921 Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
git-svn-id: http://svn.automattic.com/wordpress/trunk@16903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 22:38:27 +00:00
ryan
07d2164984 Add user id to lock. Props duck_. see #15130
git-svn-id: http://svn.automattic.com/wordpress/trunk@16901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:23:46 +00:00
ryan
3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
ryan
5868584335 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:33:39 +00:00
dd32
4d74379c6b Add missing global for r16881 See #15781
git-svn-id: http://svn.automattic.com/wordpress/trunk@16882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 06:40:52 +00:00
dd32
3615a69edd Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
git-svn-id: http://svn.automattic.com/wordpress/trunk@16881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 05:43:35 +00:00
westi
568043870d Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:40:49 +00:00
nacin
a717edca97 Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 18:02:54 +00:00
ryan
3df76a04e3 Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
git-svn-id: http://svn.automattic.com/wordpress/trunk@16841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:37:16 +00:00