Commit Graph

2627 Commits

Author SHA1 Message Date
ryan 0eeb985ef2 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@16673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 22:12:09 +00:00
markjaquith 5f15bf9db2 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: http://svn.automattic.com/wordpress/trunk@16669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:41:47 +00:00
ryan 3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
ryan e999b49423 Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: http://svn.automattic.com/wordpress/trunk@16659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:11:47 +00:00
ryan ce490df051 Export filtering. Props duck_. fixes #15197
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
ryan 68f7ed2701 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: http://svn.automattic.com/wordpress/trunk@16651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:16:22 +00:00
westi e8471af340 Don't show the Post Format if the current theme doesn't support them. Fixes #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 12:31:27 +00:00
nbachiyski 44f183e8dd Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
git-svn-id: http://svn.automattic.com/wordpress/trunk@16635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 21:41:57 +00:00
nbachiyski db9eeb3019 Run the iis7_supports_permalinks() check first
* It's cheapest, most of the others involve disk operations
 * Doesn't go through win_is_writable(), which can't avoid relying on the @ operator


git-svn-id: http://svn.automattic.com/wordpress/trunk@16634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:50:59 +00:00
PeteMall 91d8dac6b7 Remove update notifications from site-themes. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:31:49 +00:00
nbachiyski 54886235ab Rename the $rm variable so that the logic in win_is_writable() makes more sense
git-svn-id: http://svn.automattic.com/wordpress/trunk@16623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:57:39 +00:00
nbachiyski ce7bc3977b Proper spacing in win_is_writable(), according to the coding standards
git-svn-id: http://svn.automattic.com/wordpress/trunk@16622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:13:27 +00:00
nbachiyski a3d185fd50 COonvert spaces to tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@16621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:11:09 +00:00
PeteMall dc7baa81e9 Remove theme udpate notification from site admin for multisite installs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 03:03:40 +00:00
scribu 6eff593e14 Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
ryan 096efd9957 Remove unnecessary addslashes. Props duck_. fixes #15325
git-svn-id: http://svn.automattic.com/wordpress/trunk@16608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 14:40:43 +00:00
westi d2bce97ced Make the list of actions that can be performed on a site in the User List in Network admin filterable.
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558

git-svn-id: http://svn.automattic.com/wordpress/trunk@16607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 13:31:42 +00:00
scribu 4a980032b8 Set get_users() as a replacement to get_editable_user_ids() and friends. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@16605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:39:39 +00:00
scribu cbca4fd42a Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 19:05:12 +00:00
scribu cc540d502a Fix problems with hidden columns on network users screen. Props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 17:39:44 +00:00
scribu 2f5360bfcf Update get_*_columns() method docs. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 09:12:38 +00:00
scribu 3014920524 Make date columns first sort in descending order. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 02:03:02 +00:00
scribu 94e36009c7 Make comment content column unsortable. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 18:45:28 +00:00
scribu 4e87af0b1f Check public flag instead of query_var to decide if counts should be linked. See #15573
git-svn-id: http://svn.automattic.com/wordpress/trunk@16579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 01:39:34 +00:00
scribu 87e98f9f22 Don't link post counts if taxonomy isn't queryable. Fixes #15573
git-svn-id: http://svn.automattic.com/wordpress/trunk@16578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 23:29:13 +00:00
markjaquith ad6e83136d Improve the wording of the file upload security message. props janeforshort. fixes #13550
git-svn-id: http://svn.automattic.com/wordpress/trunk@16577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:45:21 +00:00
PeteMall 24bd7a417e Use get_user_count() in network admin users. Fixes #15567
git-svn-id: http://svn.automattic.com/wordpress/trunk@16574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:03:28 +00:00
PeteMall 9855ee1aa2 Hide posts column for site-users. Props ocean90, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 19:51:36 +00:00
PeteMall 652db28fad Add screen option in site-users. Props duck_, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:54:53 +00:00
markjaquith 02e9501c47 Do not double up on id attribute for submit_button() if id is provided in other attributes param. props duck_. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:30:40 +00:00
westi dc79a67932 Error suppression is lame!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 11:19:23 +00:00
markjaquith dc77ee14f8 Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
PeteMall b27bd5b253 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 05:31:25 +00:00
PeteMall 5c803c9b28 Site Themes cleanup. See #14897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:27:54 +00:00
ryan 8b60cbd2db Set blog id for site-themes.php AJAX requests.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 22:27:05 +00:00
westi da6fe519f3 And proper context too!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 13:50:23 +00:00
westi 2e0a12e224 Correct incorrect action name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 13:41:57 +00:00
westi a1fa56fd5a Require nonces for all the confirm links so we know they actually came from us.
Add a nonce check on the confirm links in the Network Admin stage two.


git-svn-id: http://svn.automattic.com/wordpress/trunk@16548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 12:14:03 +00:00
westi 52dc84f158 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 11:46:10 +00:00
westi 93e23a7101 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 11:39:50 +00:00
scribu 0324721ed2 Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: http://svn.automattic.com/wordpress/trunk@16536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:31 +00:00
nacin 69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
PeteMall 9a23bd6078 Use first and last name in network admin users. Fixes #15528.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 04:31:31 +00:00
nacin d29759048d Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
nacin b306f9f9c6 Indent a foreach.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:20:32 +00:00
scribu 2410a3bd8e Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 14:03:49 +00:00
ryan 49fd963999 Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: http://svn.automattic.com/wordpress/trunk@16502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 06:10:07 +00:00
ryan e3d61691fa Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: http://svn.automattic.com/wordpress/trunk@16501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 05:48:35 +00:00
nacin 9e91b81274 self_admin_url in plugin-install. props ocean90, fixes #14062.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 01:38:21 +00:00
nacin 9576fc93bf Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 01:23:44 +00:00
ryan c1812e444d Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:16:03 +00:00
nacin 8233e4f6b5 Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
ryan 07d265659b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: http://svn.automattic.com/wordpress/trunk@16476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 00:04:04 +00:00
scribu d5b3719be8 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: http://svn.automattic.com/wordpress/trunk@16472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 21:39:22 +00:00
ryan a216b1ed8f Fix undefined offset warnings on pages the current user does not have perms for. Props wpdavis. fixes #15469
git-svn-id: http://svn.automattic.com/wordpress/trunk@16471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:55:05 +00:00
nacin b8ce0261df More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
scribu cf06d54257 Always use 'paged' in list tables. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 17:00:24 +00:00
nacin 485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin 3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin b68b0a5f01 Fix width of nav menu search boxes. props batmoo, fixes #15464.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 05:16:43 +00:00
nacin 931cecae63 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:30:55 +00:00
nacin 1b3ddf631e What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:22:01 +00:00
nacin 0902043f6d We don't want a populated WP_User object here. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 00:26:29 +00:00
nacin 52fca11fca Kill unnecessary br.clear after div.tablenav. fixes #15354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 20:10:12 +00:00
ryan 847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
markjaquith 6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
scribu 0921736b76 Differentiate between localized and raw total pages. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
nacin d22cc9bd64 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:58:15 +00:00
scribu b4674ec053 Remove drag_drop_help() and plugins_search_help(). Fixes #15451
git-svn-id: http://svn.automattic.com/wordpress/trunk@16426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:41:26 +00:00
scribu 2dcfb8a55f Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: http://svn.automattic.com/wordpress/trunk@16383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 12:53:11 +00:00
nacin 478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu e2be537941 Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: http://svn.automattic.com/wordpress/trunk@16376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:35:42 +00:00
scribu 14fa85ba94 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu 2bcb10213c Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:34:59 +00:00
scribu e1c3e15de4 Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:19:45 +00:00
scribu a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
nacin d81d7b7f4a Some escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@16366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 17:33:16 +00:00
scribu 03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu bb15731084 Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:47:14 +00:00
scribu 68981ccac4 Add back 'Submitted on ' text. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:58:39 +00:00
scribu e875f0f5da Fix 'response' column title. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:53:21 +00:00
scribu e496292ae5 Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: http://svn.automattic.com/wordpress/trunk@16354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:47:34 +00:00
scribu 2c9faf261b Make custom plugin columns hideable. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:21:40 +00:00
scribu 59ccc3815c Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:01:57 +00:00
scribu c37e363bc8 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:57:25 +00:00
scribu 7184b861c3 Introduce WP_Plugins_List_table:single_row(). See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:30:20 +00:00
scribu 37f29e649e Move network only status check out of foreach. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:25:56 +00:00
scribu bdbfca56a7 Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:58:23 +00:00
nacin 81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin e8af3af849 Use cap->edit_post in WP_Posts_List_Table. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 00:13:08 +00:00
ryan 8b562f1fb9 Set is_site_themes from current screen so the ajax request returns the proper rows for site-themes.php searches. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:08 +00:00
westi 435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu 98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
ryan f5282d040d Check delete_site and delete_sites caps. Check for delete_user is more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 16:35:28 +00:00
ryan dd1630305b Check delete caps in network users admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 16:00:41 +00:00
nacin e915bc2f45 Remove dead code. props nathanrice, fixes #13893.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:26:14 +00:00
markjaquith 82ea187e58 Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:21:17 +00:00
markjaquith 75d045de8e Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith 6d78cf73f9 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00
nacin 5f4a583fb1 Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00