Commit Graph

2612 Commits

Author SHA1 Message Date
Andrew Nacin 95ba00c277 Translate a string.
git-svn-id: https://develop.svn.wordpress.org/trunk@16119 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 15:38:13 +00:00
scribu c75430c485 remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16117 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:38:04 +00:00
Peter Westwood 9cba32348d First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16113 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:37:15 +00:00
Peter Westwood 5dc465110a Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@16112 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:29:57 +00:00
Andrew Nacin a4548a9fe2 <br/> tags are self-closing. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@16110 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 05:13:46 +00:00
scribu e20f409fd6 WP_List_Table::no_items() consistency fixes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16109 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:29:23 +00:00
scribu 9142cadca4 Move no_items logic to WP_Comments_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16108 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:17:00 +00:00
Andrew Nacin 0180091a56 Fix nested HTML in submit_button(). fixes #15257, see #15064.
git-svn-id: https://develop.svn.wordpress.org/trunk@16097 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:14:15 +00:00
scribu 68d5bd05df Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16096 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 00:13:45 +00:00
Andrew Nacin 8546c6797b Kill what_to_show on upgrade. fixes #9815.
git-svn-id: https://develop.svn.wordpress.org/trunk@16092 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:05 +00:00
Andrew Ozz d39d7e4ba4 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
scribu e76a5fe8b3 Fix bulk actions for Network Admin -> plugins. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16089 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:09:04 +00:00
Nikolay Bachiyski 1937c1221d Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren 4ae97bd34f Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16057 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 18:53:09 +00:00
Peter Westwood 3365e10951 Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
git-svn-id: https://develop.svn.wordpress.org/trunk@16047 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:41:37 +00:00
Andrew Nacin 036d6dbfa4 Don't show plugin update notifications outside of the network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16037 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:16 +00:00
Andrew Nacin 35966ee4ac Remove unnecessary bulk actions for plugins re: network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16036 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:30:37 +00:00
scribu 3c1191be53 Prevent double inclusion of plugin when already activated on main site. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16027 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 23:54:43 +00:00
Andrew Nacin 9cb09fd090 Docs for wp-admin/includes/file.php. props sivel, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16024 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:24:06 +00:00
scribu 7d80f2e1b3 Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
git-svn-id: https://develop.svn.wordpress.org/trunk@16012 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:40:14 +00:00
scribu 3682e8fc98 Pass $network_wide flag to de/activation hooks. See #14170
git-svn-id: https://develop.svn.wordpress.org/trunk@16011 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:20:53 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Andrew Nacin 605b0c48e3 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16004 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:48:55 +00:00
Andrew Nacin 71c59b865a Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Andrew Nacin 5c3d8ff7b7 Remove trailing newlines. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15985 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:21:27 +00:00
Andrew Nacin fb3a8f92bf Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Andrew Nacin 65cb97f7b7 s/awhile/a while/. props jane, PeteMall, fixes #15225.
git-svn-id: https://develop.svn.wordpress.org/trunk@15978 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:40:54 +00:00
Ryan Boren b9187fc683 Remove “Actions: ” string from action links (on updater screens). Props demetris. fixes #15047
git-svn-id: https://develop.svn.wordpress.org/trunk@15977 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:18:49 +00:00
Ryan Boren 7f1de33932 Hide more meta boxes by default. fixes #14212
git-svn-id: https://develop.svn.wordpress.org/trunk@15976 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:14:31 +00:00
Andrew Nacin 55db5a4d9d Classes must be defined before they are extended. props PeteMall, see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15969 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 04:48:03 +00:00
Andrew Nacin b0208b5a8c Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Andrew Nacin c1d8f9cd69 phpdoc for the various list table includes. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15958 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 04:04:18 +00:00
Andrew Nacin 2a7cb746de Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15955 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:57:43 +00:00
Andrew Nacin 6f05802a40 Shuffle list-table files. First pass. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
scribu 31cb193012 Add sanitized plugin name as id attribute to plugin rows. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15944 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 15:46:33 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin cd50525faa Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
scribu 7dc089e685 Revert [15925]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15927 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:05:00 +00:00
scribu 0658668634 Set $plugin_file as plugin row id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15925 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:46:01 +00:00
scribu 2146585c80 Use row_actions() in WP_Plugins_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15924 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:22:00 +00:00
Ryan Boren 6f62e4f13c Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
git-svn-id: https://develop.svn.wordpress.org/trunk@15920 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 20:17:17 +00:00
Ryan Boren f2dbc7d273 Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
scribu 04f36aafa9 Make plugin search & order methods, instead of standalone functions. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15912 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 11:08:35 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Ryan Boren 69994bf7ca Tabbed interface for site editing. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15903 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 18:35:52 +00:00
Andrew Nacin b41591f183 Please pardon my OCD.
git-svn-id: https://develop.svn.wordpress.org/trunk@15902 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:53:26 +00:00
Andrew Nacin 95332ccaa7 Hooks for user dashboard. props PeteMall, see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@15900 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:51:49 +00:00
Andrew Nacin df81af604c Network admin theme install. props PeteMall, fixes #15184.
git-svn-id: https://develop.svn.wordpress.org/trunk@15898 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:06:52 +00:00
Andrew Nacin 6d20960c97 Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:42:06 +00:00
scribu bb3325a6df Fix notices in WP_List_Table::ajax_response(). Props Utkarsh. Fixes #15185
git-svn-id: https://develop.svn.wordpress.org/trunk@15894 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:30:35 +00:00
scribu 82a68a8979 Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:15:50 +00:00
scribu a3ef15ffc0 Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
git-svn-id: https://develop.svn.wordpress.org/trunk@15887 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:03:25 +00:00
Ryan Boren 682376a2ae Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:08:47 +00:00
Andrew Nacin 82cd99503e Dashboard widgets in the network admin. props PeteMall. see #15163.
git-svn-id: https://develop.svn.wordpress.org/trunk@15878 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 10:06:17 +00:00
Ryan Boren 76b207939d Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:43:32 +00:00
Ryan Boren 7734b05a71 Add update-core to network admin. Props PeteMall. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15871 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:38:00 +00:00
Andrew Nacin 5382542c1a Add some more network admin logic to the plugins list table. fixes #15166.
git-svn-id: https://develop.svn.wordpress.org/trunk@15870 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:09:55 +00:00
Ryan Boren 771bf8b862 Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
git-svn-id: https://develop.svn.wordpress.org/trunk@15867 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:16:03 +00:00
Andrew Nacin 8c710ff5e8 Add files we've deleted thus far to update-core.
git-svn-id: https://develop.svn.wordpress.org/trunk@15859 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 11:56:04 +00:00
Andrew Nacin 0aba879b95 Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Dion Hulse 43bfe31ce2 Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: https://develop.svn.wordpress.org/trunk@15849 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:52:46 +00:00
Andrew Nacin 19f0fffed4 Remove debug cruft in [15844].
git-svn-id: https://develop.svn.wordpress.org/trunk@15845 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:59:26 +00:00
Andrew Nacin 22ba9295bf Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin fc71934f11 Full @since's for 3.1.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00
scribu 0911aa3e1a Use submit_button() in more places. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +00:00
Ryan Boren b92ecce757 Nav menu phpdoc updates. Props Utkarsh. fixes #15125
git-svn-id: https://develop.svn.wordpress.org/trunk@15815 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:05:33 +00:00
scribu baa3e083c7 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15810 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:58:06 +00:00
Ryan Boren e81d40fa7f Hook up theme filter. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15807 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:37:08 +00:00
Andrew Nacin 2e864d29ad Pass screen context to favorite_actions filter. props whoismanu, fixes #15117.
git-svn-id: https://develop.svn.wordpress.org/trunk@15802 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 09:53:04 +00:00
scribu ba394c63a4 Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15801 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 08:47:41 +00:00
scribu 2e0bd92a09 get_edit_term_link() improvements:
* add optional $object_type parameter
	* make $term_id and $taxonomy parameters mandatory
	* pass all relevant information to the filter
	* use in WP_Terms_Table
See #9702


git-svn-id: https://develop.svn.wordpress.org/trunk@15800 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 07:35:13 +00:00
Ryan Boren 8da08f0073 Fix notice when creating users. Props coffee2code. fixes #14286
git-svn-id: https://develop.svn.wordpress.org/trunk@15799 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:26:43 +00:00
Andrew Nacin 5e37bb785a s/showposts/posts_per_page/
git-svn-id: https://develop.svn.wordpress.org/trunk@15788 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 05:25:00 +00:00
scribu eb59a85d22 Add WP_List_Table columns before all others. Fixes #15075
git-svn-id: https://develop.svn.wordpress.org/trunk@15764 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:39:16 +00:00
Andrew Nacin 17b2091b43 s/Backend/Dashboard/. props markmcwilliams, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@15759 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 02:11:10 +00:00
Andrew Nacin a1cd90933d s/Wether/Whether/
git-svn-id: https://develop.svn.wordpress.org/trunk@15756 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:35:06 +00:00
scribu 500d2be317 Revert part of [15753]. See [12914]. See #14666
git-svn-id: https://develop.svn.wordpress.org/trunk@15754 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:58:45 +00:00
scribu 63d011c9dc Introduce remove_menu_page() and remove_submenu_page(). Fixes #12718
git-svn-id: https://develop.svn.wordpress.org/trunk@15753 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:35:31 +00:00
scribu 7005ab8841 Revive WP_User_Search as deprecated. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15748 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:13:11 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu 3950973583 Fix irrelevant error message on plugin activation again. Props andy. Fixes #7671
git-svn-id: https://develop.svn.wordpress.org/trunk@15744 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 15:27:47 +00:00
Andrew Nacin d8596259e2 Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: https://develop.svn.wordpress.org/trunk@15742 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:10:35 +00:00
Mark Jaquith dfa0e20a64 Fix an English fail.
git-svn-id: https://develop.svn.wordpress.org/trunk@15740 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:04:15 +00:00
Ryan Boren e40c09a140 Move themes_api() to theme.php so that it is available to themes.php. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15727 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 13:24:41 +00:00
Andrew Nacin 4360f8c1a4 Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
git-svn-id: https://develop.svn.wordpress.org/trunk@15722 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:53:04 +00:00
Ryan Boren 01094c2d95 Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15719 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:29:14 +00:00
Ryan Boren 81896473cf Revert [15717]; it had extra bits in it
git-svn-id: https://develop.svn.wordpress.org/trunk@15718 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:28:31 +00:00
Ryan Boren 6eba2ab51d Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15717 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:26:40 +00:00
Dion Hulse 0d9b6a856a Preserve search terms on plugin management pages during actions. Fixes #14905 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15697 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:26:58 +00:00
Andrew Nacin 6d07d415ec Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@15690 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:29:44 +00:00
Andrew Nacin ea2f90c70e Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
Andrew Ozz 358c7e1885 TinyMCE 3.3 first run
git-svn-id: https://develop.svn.wordpress.org/trunk@15683 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:14:12 +00:00
Ryan Boren f81a980a70 Eliminate admin_notice_feed(). Props technosailor. fixes #14587
git-svn-id: https://develop.svn.wordpress.org/trunk@15679 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:34:25 +00:00
Andrew Nacin 52eef00d94 Fix a comma splice. Props Amanda French.
git-svn-id: https://develop.svn.wordpress.org/trunk@15670 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 07:29:18 +00:00
Dion Hulse 57af0bf212 Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964
git-svn-id: https://develop.svn.wordpress.org/trunk@15666 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 10:02:23 +00:00
Andrew Nacin 842f61b71e Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@15664 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:34:09 +00:00
Andrew Nacin 7639bd04c7 Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it.
git-svn-id: https://develop.svn.wordpress.org/trunk@15662 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:16:38 +00:00
Andrew Nacin 6aea75f676 Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: https://develop.svn.wordpress.org/trunk@15661 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:51:34 +00:00
scribu 60adebf724 Remove misplaced code introduced in [15653]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15657 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:38:21 +00:00
Ryan Boren beb20a5bd5 get_theme_feature_list() replaces install_themes_feature_list(). Does translation and works if feature_list is not accessible from api.wordpress.org. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15655 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 15:28:28 +00:00
scribu 861c929165 Column headers revamp:
* undeprecate get_column_headers()
	* undeprecate get_hidden_columns()
	* in WP_List_Table, rename get_column_headers() to get_column_info()
	* remove $taxonomy argument from single_row()
	* merge manage_columns_prefs() into screen_meta()
Fixes #14952. Fixes #14776.


git-svn-id: https://develop.svn.wordpress.org/trunk@15653 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 13:35:06 +00:00
Ryan Boren e541559b37 Theme searching. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15644 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:28:03 +00:00
scribu 728285edbd Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15642 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 00:10:39 +00:00
scribu 523e35615c Map 'approved' comment view to 'approve' comment status. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15633 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:51:53 +00:00
scribu 2e97d45693 WP_Terms_Table cleanup:
* use column_*() methods
	* remove $taxonomy argument from single_row()
	* don't calculate tag full name in admin-ajax.php
See #14579



git-svn-id: https://develop.svn.wordpress.org/trunk@15632 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:30:53 +00:00
scribu 82b8a56920 WP_Comments_Table cleanup:
* use column_*() methods
	* remove extra arguments from single_row()
	* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
	* use $pending_count property instead of $_comment_pending_count global
See #14579



git-svn-id: https://develop.svn.wordpress.org/trunk@15630 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:46:29 +00:00
scribu 6c744c7278 Extra single_row_columns() out of single_row() for increased flexibility. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15629 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:21:32 +00:00
scribu 6a582df334 Add default display_rows() and single_row() methods to WP_List_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15622 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:07:39 +00:00
Andrew Nacin 66874878a1 Don't show the default password nag on the profile screen. props duck_, fixes #14861.
git-svn-id: https://develop.svn.wordpress.org/trunk@15614 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:49:04 +00:00
scribu 7bf97e4ab2 Fix posts screen for contributors. Fixes #14822
git-svn-id: https://develop.svn.wordpress.org/trunk@15605 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 22:22:36 +00:00
Peter Westwood bb132059a3 Apply some bandaid to WP_Comments_Table::prepare_items() to cover more of the different ways we include post IDs in urls/ajax queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@15604 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 20:34:40 +00:00
scribu 9d784b7329 Fix MS User search. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15603 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:20:07 +00:00
scribu 67cb12cebb Fix delete plugin links. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15597 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 12:15:50 +00:00
scribu b1def7dad8 Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
Andrew Nacin 39819adc3b Fix typo. props mrmist, fixes #14571.
git-svn-id: https://develop.svn.wordpress.org/trunk@15593 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 15:11:43 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
scribu 25677d588c introduce WP_List_Table::views(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15578 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 21:26:27 +00:00
scribu 5339a2f2f4 Fix theme pagination. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15577 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:26:01 +00:00
scribu 2084962f5a remove useless __() call with variable. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15573 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 18:19:38 +00:00
scribu d908e82bc5 Use get_users() in WP_MS_User_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15572 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 17:07:36 +00:00
scribu 248e0fd2c9 Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15571 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 16:53:59 +00:00
scribu 0c6e23f604 Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15569 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 15:15:46 +00:00
scribu 9344ecc8b5 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:49:52 +00:00
scribu ef3ee6e841 call get_users() from get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@15566 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:35:55 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +00:00
Ryan Boren 22bd5efd46 Hide more meta boxes by default. fixes #14212
git-svn-id: https://develop.svn.wordpress.org/trunk@15555 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:27:59 +00:00
Andrew Nacin b4369ec5b6 Use return_empty_array instead of create_function. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15546 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 04:54:27 +00:00
scribu 33f73ce32f Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15542 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 01:07:21 +00:00
scribu a90bc8e1d4 Fix post_author_meta_box(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15541 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:24:41 +00:00
scribu 0b1b005b66 Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15540 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:22:29 +00:00
scribu 8993abd1be use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00
scribu f4f1ee91ac use unaltered in the get_list_table_* filter
git-svn-id: https://develop.svn.wordpress.org/trunk@15535 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 11:02:51 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu 76ac1c93a8 Introduce get_list_table(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu c521615314 On the plugins page, set and at the right time. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15527 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-24 19:50:55 +00:00
scribu 13122b9048 Fix Recently Active plugins screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15525 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:31:42 +00:00
scribu 13cf1eda37 Use global_terms_enabled() instead of is_multisite() for term quick-editing
git-svn-id: https://develop.svn.wordpress.org/trunk@15524 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:56:39 +00:00
scribu 1c4aeef40e replace $table with $wp_list_table. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu b96c92620d use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15518 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 01:50:34 +00:00
scribu e848b8b815 Make deprecated functions work. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15517 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 18:08:42 +00:00
scribu a2a3bd31cb Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: https://develop.svn.wordpress.org/trunk@15516 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:56:24 +00:00
scribu 83d019c1d9 Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:33:56 +00:00
scribu 36d2fff18d Fix the comment type dropdown. Fixes #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15513 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:43:32 +00:00
scribu 316ce57342 Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15512 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:18:41 +00:00
scribu c016d150ef Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: https://develop.svn.wordpress.org/trunk@15511 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 20:10:28 +00:00
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu 1b4603a611 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +00:00
scribu 1a078f252a correct post id in comments_bubble()
git-svn-id: https://develop.svn.wordpress.org/trunk@15505 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:41:58 +00:00
scribu 0a6cb83e18 introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15504 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:30:27 +00:00
scribu 5b221368ad WP_Comments_Table::extra_tablenav() - move the closing div back to it's original position. Fixes #14612. Props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@15502 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-17 21:55:42 +00:00
scribu 6d510588aa Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15501 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-16 01:36:21 +00:00
scribu 52737f7b3e In WP_Posts_Table, merge _single_row_hierarchical() and _single_row(). Fixes #14089; see #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15500 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 22:36:17 +00:00
scribu 9b75ec1e92 Fix remaining links to ms-* files. Includes patch by markmcwilliams. See 14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15499 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 19:12:06 +00:00
scribu 9805f3a4b0 Fix Comments meta box in post editing screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15497 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:58:49 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu c5c084c42f Small, subtle fixes. See #14596
git-svn-id: https://develop.svn.wordpress.org/trunk@15493 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:15:31 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Peter Westwood 18a112a466 Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@15490 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-07 21:06:06 +00:00
Ryan Boren 01508edfac Favorite action for network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15489 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 19:07:03 +00:00
Ryan Boren 126dc0a006 Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15488 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 18:10:43 +00:00
Ryan Boren 20ef146992 Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: https://develop.svn.wordpress.org/trunk@15487 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:56:05 +00:00
Ryan Boren 7d0a19de0f Remove show_post_thumbnail_warning
git-svn-id: https://develop.svn.wordpress.org/trunk@15486 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:29:34 +00:00
Ryan Boren 383b705801 Remove 'plugins page is not visible to normal users' notice. We're just not that into you.
git-svn-id: https://develop.svn.wordpress.org/trunk@15485 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:25:54 +00:00
Ryan Boren 9d87a4c9a9 Update network upgrade links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15484 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 15:36:57 +00:00
Ryan Boren edd48280e3 Network Admin, first pass. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Mark Jaquith 59f6264c64 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: https://develop.svn.wordpress.org/trunk@15473 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-27 18:02:45 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Dion Hulse 2ea4fcd6d9 Only use maintenance_mode() for ( is_multisite() || (plugin|theme) being updated is in use ) with Plugin|Theme Bulk Upgrades. See #14393
git-svn-id: https://develop.svn.wordpress.org/trunk@15469 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-24 03:59:53 +00:00
Ryan Boren 0734c33eb0 Update wordpress.org blog url
git-svn-id: https://develop.svn.wordpress.org/trunk@15457 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 13:45:43 +00:00
Ryan Boren 432adc1c33 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15450 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 17:27:04 +00:00
Ryan Boren 0e8e96649b Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15445 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 16:28:26 +00:00
Peter Westwood e9aae4a53a Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@15381 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-10 07:25:10 +00:00
Andrew Nacin 9d381db2cb Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@15376 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 20:35:51 +00:00
Ryan Boren 630cc3878b Introduce DO_NOT_UPGRADE_GLOBAL_TABLES. fixes #14221 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15374 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 13:55:14 +00:00
Andrew Nacin 66a16124a4 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15367 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:24:38 +00:00
Andrew Nacin ec40f6b186 Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15358 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 22:05:27 +00:00
Andrew Nacin 1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Andrew Nacin 494f898c39 screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: https://develop.svn.wordpress.org/trunk@15339 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 08:38:06 +00:00
Andrew Nacin 73b2b7c164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15336 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 01:05:53 +00:00
Ryan Boren 494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Andrew Nacin 5154f54e0a Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: https://develop.svn.wordpress.org/trunk@15305 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 05:10:45 +00:00
Andrew Nacin dbcb4eeaa8 s/goto/go to/g. props demetris, fixes #13863.
git-svn-id: https://develop.svn.wordpress.org/trunk@15301 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 20:52:48 +00:00
Andrew Nacin 6121122d9a Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: https://develop.svn.wordpress.org/trunk@15300 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:38:19 +00:00
Andrew Nacin ccabcee5d7 Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15297 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 18:18:39 +00:00
Andrew Nacin 15a13b431b Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15293 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 05:36:18 +00:00
Dion Hulse 9c7369cca9 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15292 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:13:57 +00:00
Dion Hulse f13e3b1dc2 Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: https://develop.svn.wordpress.org/trunk@15287 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:28:27 +00:00
Dion Hulse 8290bddd76 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: https://develop.svn.wordpress.org/trunk@15286 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:05:23 +00:00
Dion Hulse e263911f0e Fix typos in r15278. Caused by fat fingers.
git-svn-id: https://develop.svn.wordpress.org/trunk@15280 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:48:30 +00:00
Dion Hulse 309a88827b Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: https://develop.svn.wordpress.org/trunk@15278 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:32:01 +00:00
Andrew Nacin 44bb966035 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: https://develop.svn.wordpress.org/trunk@15268 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 20:08:58 +00:00
Mark Jaquith 8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00
Andrew Nacin 09f7a954bf Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15254 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:52:30 +00:00
Ryan Boren 9968a51d0d Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: https://develop.svn.wordpress.org/trunk@15253 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:33:04 +00:00
Andrew Nacin b354c95af3 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: https://develop.svn.wordpress.org/trunk@15250 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:40:52 +00:00
Andrew Nacin 95256b14b9 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: https://develop.svn.wordpress.org/trunk@15242 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 06:20:51 +00:00
Andrew Nacin b7fe818d58 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: https://develop.svn.wordpress.org/trunk@15238 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 05:16:21 +00:00
Ryan Boren 82be9621ec Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:19:35 +00:00
Ron Rennick 3e360da417 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: https://develop.svn.wordpress.org/trunk@15228 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:18:17 +00:00
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Ron Rennick 9c74b84590 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: https://develop.svn.wordpress.org/trunk@15219 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:34:32 +00:00
Andrew Nacin e8f7f12adf Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 05:19:36 +00:00
Andrew Nacin 7a7a294de0 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: https://develop.svn.wordpress.org/trunk@15211 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:03:17 +00:00
Andrew Nacin 58951fbf39 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: https://develop.svn.wordpress.org/trunk@15210 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:01:51 +00:00
Peter Westwood 063ca11e7a Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.
git-svn-id: https://develop.svn.wordpress.org/trunk@15203 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:38:41 +00:00
Ron Rennick 06dadab38b alway update fileupload_url during initial network install, see #13828
git-svn-id: https://develop.svn.wordpress.org/trunk@15202 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:31:46 +00:00
Andrew Nacin 825032bbf6 Provide context for screen options plural labels. fixes #13369.
git-svn-id: https://develop.svn.wordpress.org/trunk@15201 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:56:14 +00:00
Andrew Nacin a052939dfc Revert accidental commit. see [15199], see #13369
git-svn-id: https://develop.svn.wordpress.org/trunk@15200 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:48:04 +00:00
Andrew Nacin 0ed6a9bbb2 Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: https://develop.svn.wordpress.org/trunk@15199 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:44:54 +00:00
Andrew Nacin a53e7e3018 Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Andrew Nacin 5dcf82f22f Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15191 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:37:15 +00:00
Andrew Nacin 9d38c0af9e Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 16:07:33 +00:00
Ryan Boren d61154542c Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15187 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 14:41:51 +00:00
Ryan Boren 5dc92cb07f Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: https://develop.svn.wordpress.org/trunk@15183 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:59:13 +00:00
Peter Westwood 537fcf4970 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:21:43 +00:00
Ryan Boren 9537ce264c Set the screen for add-tag ajax requests. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15178 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 16:52:25 +00:00
Ryan Boren d599a6ca65 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15175 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 15:34:42 +00:00
Dion Hulse ccbfa3b52b Do not check to see if parents of folders outside of the Destination folder exist within the Archive extractors, unzip_file() will take care of that area. Fixes #13741
git-svn-id: https://develop.svn.wordpress.org/trunk@15156 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-07 11:19:51 +00:00
Andrew Nacin 6f57a1a3ec s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Andrew Nacin ae77738ff9 More request_filesystem_credentials() string improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@15130 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 18:58:41 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin dd5d1692b8 Clear nav menu from menu locations on delete. Additional sanity checks. fixes #13690.
git-svn-id: https://develop.svn.wordpress.org/trunk@15100 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:10:31 +00:00
Andrew Nacin fb0187a5a0 Add missing spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@15099 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 21:57:26 +00:00
Andrew Nacin 3c50fb2f00 Clarify the connection information requested in request_filesystem_credentials() to reduce confusion surrounding FTP information versus your WordPress login. see #13467, props jane.
git-svn-id: https://develop.svn.wordpress.org/trunk@15098 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 20:35:59 +00:00
Ryan Boren 171d6811cc Add export capability. fixes #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15096 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:02:05 +00:00
Dion Hulse 792509c0be Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667
git-svn-id: https://develop.svn.wordpress.org/trunk@15086 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 04:11:29 +00:00
Mark Jaquith b8f92556c3 Fix the Author links from Edit Pages screen. props duck_. fixes #13665
git-svn-id: https://develop.svn.wordpress.org/trunk@15085 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 00:26:49 +00:00
Andrew Nacin d5dd6a6aec Move the Walker_Nav_Menu_Checklist class to admin/includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@15077 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 15:47:53 +00:00
Mark Jaquith 29a6333a1f Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: https://develop.svn.wordpress.org/trunk@15072 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 06:33:46 +00:00
Mark Jaquith 8484570814 Default Google Gears ignoreQuery to true in manifest. see #13562
git-svn-id: https://develop.svn.wordpress.org/trunk@15068 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-30 08:45:50 +00:00
Andrew Nacin b5f97b05ee Consistent font size for menu instructions.
git-svn-id: https://develop.svn.wordpress.org/trunk@15067 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 21:58:14 +00:00
Andrew Nacin 45057df1ae Full no-JS and IE support for [15062]. fixes #13615.
git-svn-id: https://develop.svn.wordpress.org/trunk@15063 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 20:33:48 +00:00
Ron Rennick 1485267cce remove naughty not, see #13625
git-svn-id: https://develop.svn.wordpress.org/trunk@15061 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 19:10:49 +00:00
Ron Rennick 4ee6b4d663 check both wordpress & wordpress-mu roots in update core, see #13625
git-svn-id: https://develop.svn.wordpress.org/trunk@15059 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 18:21:30 +00:00
Ryan Boren 75714534b9 Bump WP version in update_core()
git-svn-id: https://develop.svn.wordpress.org/trunk@15057 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 17:28:09 +00:00
Andrew Nacin 60b96042f2 Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621.
git-svn-id: https://develop.svn.wordpress.org/trunk@15056 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:46:46 +00:00
Dion Hulse da3b4b351e Always fallback to PclZip in the event that ZipArchive does not return true. The PHP Zip extension is hit-and-miss with OSX generated zip files, sometimes 0 will be emitted and extraction will succeed, others it will fail with. Reverts r14346, r14377, partially r14800. See #12637. See #13491
git-svn-id: https://develop.svn.wordpress.org/trunk@15052 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 13:16:35 +00:00
Andrew Nacin 51cc204001 Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: https://develop.svn.wordpress.org/trunk@15049 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 23:04:00 +00:00
Andrew Nacin 52ec03b947 Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604.
git-svn-id: https://develop.svn.wordpress.org/trunk@15047 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:41:39 +00:00
Andrew Nacin 69c7b18960 Make nav menu meta box tab ordering consistent across post types and taxonomies. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15045 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:36:57 +00:00
Ron Rennick 3fe2b52e01 shake away out of date support files
git-svn-id: https://develop.svn.wordpress.org/trunk@15041 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 18:34:03 +00:00
Ryan Boren e0e67c56ba Do not show 'Network Activate' link if update fails. Props ocean90. fixes #13596
git-svn-id: https://develop.svn.wordpress.org/trunk@15038 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 16:42:09 +00:00
Mark Jaquith cb6f66977e Do proper caps check when processing bulk edited posts, and hide the checkbox on the Page edit page for users who lack permissions. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@15032 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 15:49:13 +00:00
Andrew Nacin cb8002eb29 Shake away second copy of prototype.js during an upgrade. see [12557].
git-svn-id: https://develop.svn.wordpress.org/trunk@15030 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 05:54:57 +00:00
Andrew Nacin 5df7a4ffd6 Shake away MU files which are no longer in core on an upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@15029 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 05:48:53 +00:00
Andrew Nacin d70faa9a43 Fix nonce check for updating custom fields. fixes #13586.
git-svn-id: https://develop.svn.wordpress.org/trunk@15028 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 04:09:08 +00:00
Andrew Nacin a2806d3bc0 Use 'WordPress Blog' in the initial blogroll. see [14324].
git-svn-id: https://develop.svn.wordpress.org/trunk@15027 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 03:18:55 +00:00