Commit Graph

2410 Commits

Author SHA1 Message Date
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