Commit Graph

2627 Commits

Author SHA1 Message Date
nacin e2e2320f9e Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 18:18:39 +00:00
nacin a596163f6a Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 05:36:18 +00:00
dd32 fe89d62154 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-20 04:13:57 +00:00
dd32 a7cabc4a3e Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: http://svn.automattic.com/wordpress/trunk@15287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:28:27 +00:00
dd32 47f0da9c17 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: http://svn.automattic.com/wordpress/trunk@15286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:05:23 +00:00
dd32 b01a02e06e Fix typos in r15278. Caused by fat fingers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:48:30 +00:00
dd32 fc03d8c030 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: http://svn.automattic.com/wordpress/trunk@15278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:32:01 +00:00
nacin eb4c72e7d9 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 20:08:58 +00:00
markjaquith e3d5fb602b Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: http://svn.automattic.com/wordpress/trunk@15263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:07:02 +00:00
nacin 48bc4e220c Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:52:30 +00:00
ryan c735965594 Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: http://svn.automattic.com/wordpress/trunk@15253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:33:04 +00:00
nacin cc00a60ce0 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: http://svn.automattic.com/wordpress/trunk@15250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 08:40:52 +00:00
nacin 45ec93ad29 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-13 06:20:51 +00:00
nacin 9986917471 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 05:16:21 +00:00
ryan 5ecd1f31f2 Trim trailing whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 20:19:35 +00:00
wpmuguru faf9bd8483 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: http://svn.automattic.com/wordpress/trunk@15228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:18:17 +00:00
nacin 2eadcb9aef Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:04:06 +00:00
ryan c614b6d0a2 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +00:00
wpmuguru 9eaf91db65 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: http://svn.automattic.com/wordpress/trunk@15219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:34:32 +00:00
nacin 975b2cdb6d Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: http://svn.automattic.com/wordpress/trunk@15214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 05:19:36 +00:00
nacin 8fcdf9a979 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:03:17 +00:00
nacin 3c79510246 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:01:51 +00:00
westi 3061e08ec6 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: http://svn.automattic.com/wordpress/trunk@15203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:38:41 +00:00
wpmuguru 54521415c2 alway update fileupload_url during initial network install, see #13828
git-svn-id: http://svn.automattic.com/wordpress/trunk@15202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:31:46 +00:00
nacin 528951c7ef Provide context for screen options plural labels. fixes #13369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:56:14 +00:00
nacin 7420b784d5 Revert accidental commit. see [15199], see #13369
git-svn-id: http://svn.automattic.com/wordpress/trunk@15200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:48:04 +00:00
nacin c7600ab27b Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:44:54 +00:00
nacin e13e6254dc 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: http://svn.automattic.com/wordpress/trunk@15193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:57:30 +00:00
nacin 2010aac02c Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:37:15 +00:00
nacin af612805e8 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: http://svn.automattic.com/wordpress/trunk@15190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 16:07:33 +00:00
ryan 02be42f58d Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 14:41:51 +00:00
ryan 15e9538874 Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: http://svn.automattic.com/wordpress/trunk@15183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 21:59:13 +00:00
westi 64f3e40880 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 20:21:43 +00:00
ryan 2439833a7e Set the screen for add-tag ajax requests. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 16:52:25 +00:00
ryan 1849b362b0 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 15:34:42 +00:00
dd32 fe5e3d0fb6 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: http://svn.automattic.com/wordpress/trunk@15156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-07 11:19:51 +00:00
nacin f60838c8f9 s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-06 05:16:32 +00:00
nacin 3ba9fc235c More request_filesystem_credentials() string improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 18:58:41 +00:00
ryan 17129fb62e Cut 'em out, move 'em on, trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
nacin c23dadb3a2 Clear nav menu from menu locations on delete. Additional sanity checks. fixes #13690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 05:10:31 +00:00
nacin 80437ca9e1 Add missing spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 21:57:26 +00:00
nacin 09c448f63e 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: http://svn.automattic.com/wordpress/trunk@15098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 20:35:59 +00:00
ryan 1f60247343 Add export capability. fixes #13681
git-svn-id: http://svn.automattic.com/wordpress/trunk@15096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 18:02:05 +00:00
dd32 b9eff36d8d Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667
git-svn-id: http://svn.automattic.com/wordpress/trunk@15086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 04:11:29 +00:00
markjaquith 18094087e1 Fix the Author links from Edit Pages screen. props duck_. fixes #13665
git-svn-id: http://svn.automattic.com/wordpress/trunk@15085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 00:26:49 +00:00
nacin a57f8861e6 Move the Walker_Nav_Menu_Checklist class to admin/includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 15:47:53 +00:00
markjaquith 100e81c448 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: http://svn.automattic.com/wordpress/trunk@15072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 06:33:46 +00:00
markjaquith 945b9b66be Default Google Gears ignoreQuery to true in manifest. see #13562
git-svn-id: http://svn.automattic.com/wordpress/trunk@15068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-30 08:45:50 +00:00
nacin 239e7bf50f Consistent font size for menu instructions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 21:58:14 +00:00
nacin 37604414c4 Full no-JS and IE support for [15062]. fixes #13615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 20:33:48 +00:00
wpmuguru d69536a671 remove naughty not, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 19:10:49 +00:00
wpmuguru e1a7369889 check both wordpress & wordpress-mu roots in update core, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 18:21:30 +00:00
ryan ef70402de0 Bump WP version in update_core()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 17:28:09 +00:00
nacin 332c2773e0 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: http://svn.automattic.com/wordpress/trunk@15056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:46:46 +00:00
dd32 92eeafce24 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: http://svn.automattic.com/wordpress/trunk@15052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 13:16:35 +00:00
nacin 35d800986f Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 23:04:00 +00:00
nacin 99a0a98061 Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:41:39 +00:00
nacin 1a43aa80b8 Make nav menu meta box tab ordering consistent across post types and taxonomies. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:36:57 +00:00
wpmuguru e9a102d83a shake away out of date support files
git-svn-id: http://svn.automattic.com/wordpress/trunk@15041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 18:34:03 +00:00
ryan 2d10d9377a Do not show 'Network Activate' link if update fails. Props ocean90. fixes #13596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 16:42:09 +00:00
markjaquith 8cf0dd0eaa 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: http://svn.automattic.com/wordpress/trunk@15032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 15:49:13 +00:00
nacin 16f1b1c89a Shake away second copy of prototype.js during an upgrade. see [12557].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 05:54:57 +00:00
nacin e332bd3b0d Shake away MU files which are no longer in core on an upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 05:48:53 +00:00
nacin 2e1dc4195c Fix nonce check for updating custom fields. fixes #13586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 04:09:08 +00:00
nacin 43a718145f Use 'WordPress Blog' in the initial blogroll. see [14324].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 03:18:55 +00:00
ryan 5d5cb6e483 Allow plugin activation even if plugin generates extra output. Make warning more informative. fixes #13585
git-svn-id: http://svn.automattic.com/wordpress/trunk@15017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 00:18:00 +00:00
nacin 4b9021ce98 Menu touchups. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:45:52 +00:00
nacin 15a1a43cd1 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:22:09 +00:00
nacin da16117198 Remove some dead code. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:17:58 +00:00
wpmuguru a6e1307576 add fileupload_url option to main site on network install, see #13483
git-svn-id: http://svn.automattic.com/wordpress/trunk@14998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:06:48 +00:00
nacin 5613e5fe93 RTL string fix. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 14:14:58 +00:00
nbachiyski 8545387795 Prevent a notice if $_REQUEST['post_id'] is missing. Just use 0 in this case, which will be the same as using intval on an undefined value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:42:46 +00:00
dd32 de6abc0ee1 Add Importer support to Plugin Install workflow, Offers to Activate Plugin & Run installer, and returning to Imports upon successful Importer Plugin Installation. See #13566
git-svn-id: http://svn.automattic.com/wordpress/trunk@14985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:04:08 +00:00
dd32 f0c63decb0 Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: http://svn.automattic.com/wordpress/trunk@14984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 09:49:38 +00:00
nacin fee56ae40f gettext. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:51:09 +00:00
nacin 7eedc2359d Implement the Cancel menu item link for no JS. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:49:11 +00:00
nacin da7b990fb5 Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:24:33 +00:00
nacin bdb28315de Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 00:16:34 +00:00
westi b54183ae4c Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:01:21 +00:00
ryan 65c6c9a3bd Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: http://svn.automattic.com/wordpress/trunk@14944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 15:41:21 +00:00
ryan 1fa281b08c Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 14:49:43 +00:00
nacin 5f73dff48a In the page attributes box, generalize the screen reader text, also remove the help text which is now in the 'Help' tab. see #13539. subject to final UX review.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 07:14:42 +00:00
nacin aac7b130c0 Separate out multiple _ajax_nonce fields on post forms. Yay, validation. fixes #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:55:21 +00:00
nacin c490ca0680 Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:01:14 +00:00
nacin 8845d1f61f Hide Flash uploader and theme/plugin editor documentation feature, if no JS. Also some validation fixes in the theme editor. props ocean90. see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:57:55 +00:00
ryan 6c8ec25985 Post and page help. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:36:04 +00:00
ryan 1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
dd32 6f01187d74 Tweak String language to match language used elsewhere. Props Jane. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 01:27:58 +00:00
dd32 bfaf3d3f0b Revert back to spinner on bulk upgrades. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 01:23:25 +00:00
nacin b0e128e69b Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: http://svn.automattic.com/wordpress/trunk@14917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:41:18 +00:00
nacin 4ec5fd4f13 Generalize some strings. Also tidy the discussions meta box, which will stay as "page" as that is referring to the HTML page, not post/page/book etc. see #13539
git-svn-id: http://svn.automattic.com/wordpress/trunk@14904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 19:47:22 +00:00
markjaquith e3ffb4c442 Update upload quota filled message to mention the limit and not suggest file deletion. fixes #13479
git-svn-id: http://svn.automattic.com/wordpress/trunk@14897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:53:31 +00:00
nacin 655eedbb42 Stirng capitalization fix. see #12035.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:16:52 +00:00
dd32 ff31cebbfd Add Actions to the end of Bulk upgrades; Remove Spinners and instead show the individual upgrade steps (Then hidden upon completion for bulk upgrades). See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 13:57:06 +00:00
ryan 52f05426e0 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: http://svn.automattic.com/wordpress/trunk@14869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:18:07 +00:00
westi e5d7ab0841 phpDoc updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:28:07 +00:00
nacin 7a5d3f2688 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:50:20 +00:00
ryan 364584e3d9 Better text for locations box. Props filosofo. fixes #13520 see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:27:57 +00:00
markjaquith e3e565321c stripslashes() the site name before passing to populate_network(), not in it. We should always expect unslashed data. reverts [14754]. fixes #13448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:18:30 +00:00
ryan 27015b92ee Fix update label for link categories. Props duck_. fixes #13515
git-svn-id: http://svn.automattic.com/wordpress/trunk@14841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 16:09:52 +00:00
nacin 9e27536540 Styling for menu locations howto text. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 11:20:58 +00:00
nacin c83e17c1ce Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:26:41 +00:00
nacin 427a63a92a s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 05:15:55 +00:00
dd32 6f9650046a Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:29:00 +00:00
dd32 9991d1d735 Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:04:24 +00:00
westi 0c850182dc Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:58:06 +00:00
dd32 378f68a0a0 Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: http://svn.automattic.com/wordpress/trunk@14814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:49:21 +00:00
westi 24354ccdb4 Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:43:07 +00:00
dd32 70d0491c1c Fix potential notice in Upgrade process when failing part-way through. See #13171
git-svn-id: http://svn.automattic.com/wordpress/trunk@14812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:59:17 +00:00
dd32 989a52d7ff Ensure that the entire folder structure exists within the $needed_folders array before attempting to create folders. Fixes cases where the Zip file does not contain a node for a folder which contains subfolders without files in the same level. Fixes #13171
git-svn-id: http://svn.automattic.com/wordpress/trunk@14811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:56:31 +00:00
dd32 394fa6d6b2 Ensure slashing of paths returned by WP_Filesystem_Base::find_folder() is consistent with the slashing of paths; Affects Windows machines using the Direct transport.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:54:32 +00:00
dd32 f8111531f4 Correct the ZipArchive opening test logic. See #13491
git-svn-id: http://svn.automattic.com/wordpress/trunk@14800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 05:09:08 +00:00
nacin 628d7b8286 Most Recent tab for nav menu meta boxes for post types. props filosofo, see #13217.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:45 +00:00
dd32 da25731eae We're not as bold as some people make us out to be. Move the maximum upload size from a Heading to a paragraph text. Fix screen formatting on Multisite when over quota. see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 12:57:49 +00:00
nacin 870f3ab1c8 New screen options tab design. props JohnONolan, fixes #13477.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 03:20:25 +00:00
nacin acf5d97586 Shake away old files during the upgrade process. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:44:33 +00:00
westi 05ba5e4dec Restore some more "Show on screen" headers. See #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:29:45 +00:00
ryan f8f9eff02d Some explanatory text for the theme locations box. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:25:25 +00:00
nacin 3f443689ed Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:05:16 +00:00
ryan 2d3d649182 Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: http://svn.automattic.com/wordpress/trunk@14761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 19:33:57 +00:00
ryan 18b880f93e WP_Importer class. Props briancolinger. see #13034
git-svn-id: http://svn.automattic.com/wordpress/trunk@14760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 19:22:38 +00:00
wpmuguru 660cbfb825 strip slashes from site name during network install, fixes #13448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 20:43:53 +00:00
ryan 918b5b7a41 Meta box and screen option phpdoc and cleanup. Props hakre. fixes #13017
git-svn-id: http://svn.automattic.com/wordpress/trunk@14752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 19:11:33 +00:00
ryan f0bf7b3bd3 Don't subsitute a translated string into a translated string. Props dimadin. fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:18:26 +00:00
ryan ca5d99a7d7 Order pages in menu box by menu_order, title. Props filosofo. see #13329
git-svn-id: http://svn.automattic.com/wordpress/trunk@14744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 14:34:29 +00:00
nacin b4c50f1b5e Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:59:43 +00:00
markjaquith 20cb3ed21b Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan 49214491ab Remove taxonomy children cache purge. see #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:33:32 +00:00
ryan e070242b59 Remove old metaboxorder settings. see #13424
git-svn-id: http://svn.automattic.com/wordpress/trunk@14726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:30:05 +00:00
ryan 0ce5224be6 Allow removing all categories via quick edit. Props duck_. fixes #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:08:05 +00:00
ryan 53bff5059f Fix adding categories via bulk edit. Props duck_. see #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:03:54 +00:00
nacin c370c84d19 Remove autocomplete and codepress. for autocomplete, see #13283. for codepress, see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 03:48:22 +00:00
wpmuguru a4ff4953aa die in non-async upload in [14716], see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 01:34:01 +00:00
wpmuguru c5aab621a9 only die on async upload error, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 01:25:13 +00:00
nacin f02fddce86 Save menu locations meta box via ajax. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
ryan f0076eed1c Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00
wpmuguru f77a0f2bfd more use get_blogaddress_by_name, see #12735
git-svn-id: http://svn.automattic.com/wordpress/trunk@14705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 23:00:48 +00:00
wpmuguru 3d44d70aab observe fileupload_maxk in media uploader, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:09:56 +00:00
wpmuguru 80a8899c0b boldly go where no man has gone before, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 18:44:51 +00:00
nacin 6c01265794 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:39:53 +00:00
wpmuguru be5268eefc show upload limit in media upload UI, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 23:57:32 +00:00
wpmuguru 3f6a32a5ce block creation of 'files' sub site, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 22:18:40 +00:00
westi 5672ca994e Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:57:17 +00:00
nacin 051c2814da More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:36:49 +00:00
nacin f7d0fcb9d0 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:00:48 +00:00
nacin 54a46870d3 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:14:06 +00:00
nacin 00a291c71e Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:01:04 +00:00
nacin 5463205114 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:56:56 +00:00
nacin 7c8a77efa3 Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:47:03 +00:00
nacin c6d21e7fbb Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:46:25 +00:00
ryan 25dcb020af Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: http://svn.automattic.com/wordpress/trunk@14645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 20:06:50 +00:00
ryan c4aca99445 Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: http://svn.automattic.com/wordpress/trunk@14643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:30:43 +00:00
ryan 23e3b38d4f Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: http://svn.automattic.com/wordpress/trunk@14642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:20:04 +00:00
westi 867628913e Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:45:14 +00:00
westi e5fa82c152 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:39:56 +00:00
westi 7d40d97601 Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:12:46 +00:00
westi 82a12075bf Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:49:20 +00:00
westi 30128f636e Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:47:14 +00:00
nacin 518b19a404 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:03:59 +00:00
nacin d12cdce1b0 Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 13:12:45 +00:00
nacin c5d2cdc52d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:35:57 +00:00
nacin a743de0788 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
nacin 7bd274899d Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:54:21 +00:00
nbachiyski 4cf46b6d96 I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
westi 50b197cf94 Fix the default password nag clearer to work when an admin sets someone elses password away from the default. Fixes #12334.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 21:08:01 +00:00
ryan 067fc117cb Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: http://svn.automattic.com/wordpress/trunk@14602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:29:45 +00:00
ryan 282f3be632 Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: http://svn.automattic.com/wordpress/trunk@14598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:21:21 +00:00
ryan 0ce49ca934 Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 15:59:17 +00:00
nacin af91e5264a Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin 70f36f6c41 More typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:03:33 +00:00
nacin 7734a07cb2 Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
nacin c779fdccf5 Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202, props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:29:35 +00:00
nacin 7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
ryan e65ae591a0 Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:12:18 +00:00
nbachiyski 46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
ryan 321b1a613f Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:55:12 +00:00
ryan 345af3eb47 Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:43:12 +00:00
ryan bdb53fa4c3 No need to recount. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:38:51 +00:00
markjaquith 4ef8b0384d Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
git-svn-id: http://svn.automattic.com/wordpress/trunk@14551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:21:42 +00:00
nacin d91623d3d0 Fix double-tabbing in get_dropins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:41:14 +00:00
nacin f708a1bf38 Apply [14540] to get_mu_plugins and get_dropins. fixes #13322, props Miloslav.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:40:15 +00:00
ryan 45e43282ed Don't use closed dir handle. Props Miloslav. fixes #13322
git-svn-id: http://svn.automattic.com/wordpress/trunk@14540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 16:06:46 +00:00
westi 2bd47bd3c2 Fix typos. Props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 09:59:43 +00:00
wpmuguru cf8e9c752a don't allow blog sub site in folder install, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 18:37:38 +00:00
nacin fa23d1edf0 Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:53:40 +00:00
nacin 1e13b43af0 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:19:53 +00:00
nacin e34150ab5b Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
westi 666ba09317 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:37:51 +00:00
westi f1e2a3a5fa Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:10:53 +00:00
nacin aaf3bf031f Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 22:28:51 +00:00
wpmuguru 376a690988 add default comment status setting to populate_options(), see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:54:42 +00:00
nacin eded683486 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: http://svn.automattic.com/wordpress/trunk@14450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:40:04 +00:00
wpmuguru 96153a63ae add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:31:24 +00:00
wpmuguru b28c363d78 add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 18:18:35 +00:00
wpmuguru cea6004286 export improvements, props blepoxp, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@14444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:31:36 +00:00
nacin 0891a9dea0 More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin b5c233a1b5 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:41:46 +00:00
nacin 7466fadd24 Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
ryan 2ecda01ce0 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: http://svn.automattic.com/wordpress/trunk@14428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:46:42 +00:00
dd32 72f99c8a96 Silence PHP Warnings on is_writable calls. Can trigger open_basedir warnings on certain hosting environments. Props ocean90. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:39:57 +00:00
dd32 2bbdd19973 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:35:22 +00:00
nacin 5b6f2a3944 Add 'Network Activate' link to the plugin upgrader class. props PeteMall, fixes #13097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:18:49 +00:00
nacin 623461e9cf Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: http://svn.automattic.com/wordpress/trunk@14423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:08:02 +00:00
ryan dda59949de User deletion fixes. Props yoavf. fixes #13242
git-svn-id: http://svn.automattic.com/wordpress/trunk@14422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:04:42 +00:00
wpmuguru bc0ae7852f limit upload size to site's available limit, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:40:02 +00:00
nacin 248f4ab860 Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:16:48 +00:00
westi cdd52a2071 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:12:23 +00:00
nbachiyski bebd1b8ea6 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: http://svn.automattic.com/wordpress/trunk@14407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:37:07 +00:00
nacin b093a66876 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:31:34 +00:00
ryan 7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin efa2e9d397 Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:17:01 +00:00
nacin aca357b327 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
nacin ea7a0076b6 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:01:59 +00:00
nacin a7e2ac2fec Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:33:23 +00:00
dd32 3b5de7199e Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:29:17 +00:00
dd32 79bb63a4e0 Fix ZIP_ER_OK constant, Its a class constant, and only accessible as such under PHP5. Props sivel for noticing. Fixes #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:44:34 +00:00
ryan 172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
westi e13615c621 Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:29:15 +00:00
westi 628d0b247d Correctly mark things as private in the phpDoc
git-svn-id: http://svn.automattic.com/wordpress/trunk@14370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:27:15 +00:00
westi b5e08827bc Add a nag message for themes which are relying on the deprecated behaviour.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:23:34 +00:00
dd32 cdd4f4e250 Update logo image URL in Gears manifest. Props ocean90. Fixes #13177
git-svn-id: http://svn.automattic.com/wordpress/trunk@14356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:47:10 +00:00
ryan 6e0ddc4abc Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: http://svn.automattic.com/wordpress/trunk@14352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:40:34 +00:00
dd32 2db60de875 Skip over __MACOSX folders during zip extraction. Props chrisbliss18. Fixes #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:24:36 +00:00
nacin ec38ce48e9 Support network-wide plugin re-activation in upgrades and edits. props PeteMall, fixes #13216
git-svn-id: http://svn.automattic.com/wordpress/trunk@14348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:57:44 +00:00
ryan 91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
dd32 3213eab0f8 Check for "ZIP_ER_OK" return value on ZipArchive. See #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:25:30 +00:00
nacin 16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin f92971a7ff Use the correct defines in secret_salt_warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:50:55 +00:00
nacin 6ebe054817 Show > 100% blog space used in MS Right Now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:06:48 +00:00
nacin 3a2f3b3433 s/blog/site/ in more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 07:09:38 +00:00
nacin 1b6c254cb5 Change 'WordPress Development Blog' to 'WordPress Blog' in the dashboard widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:56:29 +00:00
nacin 0cfdd41300 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:37:46 +00:00
nacin bb3f1f5f45 Clean up secret_salt_warning. Use stronger version of wp_generate_password. Shrink line-height of #update-nag so multiple-line messages don't look so awful, use padding instead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:25:54 +00:00
nacin e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
westi 2c1cc83750 Fix support for rewrites on IIS7. Fixes #12973 props Frumph and ruslany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 21:41:20 +00:00
ryan de71b22e0e Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:16:21 +00:00
ryan 8420f41a24 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:27:46 +00:00
ryan 62a5269eed Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:47:11 +00:00
nacin d1a37c1f31 When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin 7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00
nacin 7677e2e874 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:11:44 +00:00
nacin 8b8250b8bb Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:01:44 +00:00
nacin cd9ab80421 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:39 +00:00
nacin 90ea03383f Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
nacin 8c9f71bb57 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
nacin 0fd5fee450 Better DNS error message in network.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:40:49 +00:00
nacin 540dcf5108 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: http://svn.automattic.com/wordpress/trunk@14271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:02:09 +00:00
nacin b8b7d95dd0 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:09:00 +00:00
nacin e40572be40 Some default password nag and user-edit div.error style cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 21:57:18 +00:00
ryan e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
ryan ebc2200460 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 18:52:14 +00:00
ryan b7543c5352 Hook update_option_new_admin_email to add_option_new_admin_email so that the confirmation email gets set even when new_admin_email doesn't already exist. see #12192
git-svn-id: http://svn.automattic.com/wordpress/trunk@14242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 18:20:11 +00:00
ryan 6cd2a49a40 Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 15:59:03 +00:00
dd32 84887d6386 Remove dead browse happy code. Has not been used for 18months in core admin. Props ocean90. Fixes #4833
git-svn-id: http://svn.automattic.com/wordpress/trunk@14233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:40:37 +00:00
dd32 fb888c7261 Hide Parent dropdown in Page-attributes metabox when no potential parents exist. Props sorich87. Fixes #12655
git-svn-id: http://svn.automattic.com/wordpress/trunk@14232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:30:32 +00:00
dd32 72f72cb238 Handle HTTP errors on popular tags requests, Handle HTTP Errors on listing loading slightly different no-js compatible. Fixes #13107
git-svn-id: http://svn.automattic.com/wordpress/trunk@14228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 05:39:39 +00:00
dd32 d0cb517220 Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 10:29:01 +00:00
dd32 5bde56c788 Correct "Last Edited by" username, Updates the last edited username upon save rather than upon a edit lock being created. Props rooodini & deepak.seth. Fixes #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@14216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:24:38 +00:00
wpmuguru 821db5b0b0 escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099
git-svn-id: http://svn.automattic.com/wordpress/trunk@14215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:15:00 +00:00
wpmuguru 4b0484781c remove from usermeta table in r14212, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:28:12 +00:00
wpmuguru 3c2369c8d7 remove alpha-beta1 metabox preferences from options table, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:09:48 +00:00
dd32 d000a0706f Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
git-svn-id: http://svn.automattic.com/wordpress/trunk@14210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 02:59:41 +00:00
ryan bc0947b075 Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: http://svn.automattic.com/wordpress/trunk@14206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:34:03 +00:00
nacin 866ed4fc0f Shake away files removed in 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 17:20:26 +00:00
ryan 070f285e4d Remove fat finger typo. see #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:26:00 +00:00
ryan 9f33300139 Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:25:05 +00:00
josephscott 47699849f7 - don't pass user id to list_users check
- only link the username if the edit_user cap check passes

see #13074


git-svn-id: http://svn.automattic.com/wordpress/trunk@14191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 22:53:44 +00:00
josephscott e26aed0ac4 New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074



git-svn-id: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +00:00
nbachiyski 16989ec444 Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
git-svn-id: http://svn.automattic.com/wordpress/trunk@14177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:44:21 +00:00
ryan fda80bc7f6 Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:43:53 +00:00
ryan 219f902d3d Add add_users cap to allow distringuishing between adding and creating users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 16:33:13 +00:00
nbachiyski 6a4971c131 Upgrader i18n fixes: add translator messages, take tags out of a message and use the correct error text when including both the title and the error message
git-svn-id: http://svn.automattic.com/wordpress/trunk@14173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 10:58:06 +00:00
nbachiyski a8f935789b Split the default password nag text to several translatable strings
git-svn-id: http://svn.automattic.com/wordpress/trunk@14170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:15:07 +00:00
nbachiyski 9aff4a6206 Take <em> tag out of translatable string
git-svn-id: http://svn.automattic.com/wordpress/trunk@14169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:06:41 +00:00
nbachiyski 4f9e5d644b Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
git-svn-id: http://svn.automattic.com/wordpress/trunk@14168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 15:13:27 +00:00
nacin a1c0cee221 Change the 'per page' screen options strings. fixes #12872, props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:15:58 +00:00
nacin b4da392519 Remove dead code. props azaozz, see #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 16:49:18 +00:00
nacin 98b9ace627 Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:54:45 +00:00
dd32 cc9c13d266 Use correct custom post_type token in get_sample_permalink()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:18:20 +00:00
dd32 18a81ac245 Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:09:45 +00:00
dd32 ceea02c6c8 Bump the other upgrade check, Fixes r14138. See #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:18:00 +00:00
dd32 0d0902e9e8 Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:08:40 +00:00
dd32 34c57058bf Update _wp_translate_postdata() capability checks to use Post Type API capability fields. Props duck_. Fixes #12987
git-svn-id: http://svn.automattic.com/wordpress/trunk@14130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:26:39 +00:00
dd32 abcbdf58b2 Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
git-svn-id: http://svn.automattic.com/wordpress/trunk@14127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:38:47 +00:00
dd32 688ae7577e Check $pagenow?post_type=$typenow for submenu titles, Fixes page titles for plugin pages added to custom post_type's. Fixes #12985
git-svn-id: http://svn.automattic.com/wordpress/trunk@14126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 02:56:00 +00:00
dd32 87bd780ca9 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
dd32 e56cc6ce28 Toggle between "Show Details" and "Hide Details" on GUU; Add no-js CSS class support to generic iframe header. Props ocean90. Fixes #12919
git-svn-id: http://svn.automattic.com/wordpress/trunk@14123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 12:27:13 +00:00
dd32 629432887e Return false on WP_Filesystem_FTPext::dirlist() for non-existant folders. See #12232. See #12057
git-svn-id: http://svn.automattic.com/wordpress/trunk@14120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 04:00:59 +00:00
nacin 9b76fb2563 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 21:45:16 +00:00
ryan e9dae8c287 Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 17:44:38 +00:00
ryan a86f7357c5 Add edit_theme_options capability
git-svn-id: http://svn.automattic.com/wordpress/trunk@14111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 15:36:44 +00:00
nacin c4abc1c875 Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
git-svn-id: http://svn.automattic.com/wordpress/trunk@14099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 02:29:10 +00:00
nacin 27a67938ee Be back compat with the contextual_help filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 16:09:56 +00:00
ryan 9f32130e38 Map 'index' to 'dashboard' for current screen. Fixes contextual help for the dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 21:55:09 +00:00
ryan 687ce2919f Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: http://svn.automattic.com/wordpress/trunk@14080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 21:56:57 +00:00
dd32 59bb0c7d9c Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:41:40 +00:00
dd32 659fa59ec5 Password nag should be a global user option. Fixes #12926
git-svn-id: http://svn.automattic.com/wordpress/trunk@14060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 13:05:04 +00:00
nacin 0de035558e Fix notice in get_media_items().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:49:58 +00:00
nacin 5e36f9f821 Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: http://svn.automattic.com/wordpress/trunk@14054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:54:33 +00:00
nacin 7b1211b536 Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 10:47:31 +00:00
nacin bf77b5c189 More grant/revoke super admin improvements. fixes #12933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-09 08:26:16 +00:00
nacin 6eaa3b9637 Fix revoke_super_admin(). see #12933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-09 07:17:42 +00:00
nacin 559a6e0855 Revert [14011]. Add some actions. fixes #12109, see #12460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 04:15:58 +00:00
nacin 53e0be05cb Remove references to the old .fade class for message divs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 03:36:52 +00:00
nacin 9ebf0afe13 Stop a dismissed admin notice feed from appearing on the next page load. see #12912.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 03:31:51 +00:00
wpmuguru b90e44bbb9 use meta caps in [14032], see #12109
git-svn-id: http://svn.automattic.com/wordpress/trunk@14033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 21:04:42 +00:00
ryan f609d0c8a3 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: http://svn.automattic.com/wordpress/trunk@14032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:28:10 +00:00
ryan 96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
nacin 736d80e1c0 Use correct var in inline_edit_row(). fixes #12887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 06:01:29 +00:00
nacin 06a8eee4e0 Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869
git-svn-id: http://svn.automattic.com/wordpress/trunk@14025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 05:08:37 +00:00
nacin c6ef197f53 New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 03:54:43 +00:00
nacin 60a2fe8c44 Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 02:58:23 +00:00
dd32 d5ee7bca10 Replace use of tmpfile() with a safe get_temp_dir(). tmpfile() may use a temporary directly which is not writable. Add static caching to get_temp_dir() & better protect against bad server configs. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:51 +00:00
markjaquith 07a523894a Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +00:00
wpmuguru aebc2cb826 set registered datestamp to current time during enable network, see #12747
git-svn-id: http://svn.automattic.com/wordpress/trunk@14012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 01:41:34 +00:00
wpmuguru 3e970343af add permission checks to grant/revoke_super_admin(), see #12109, related #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@14011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 22:28:21 +00:00
nacin 4892ad8757 Fix broken string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 09:31:38 +00:00
dd32 8984530614 Update broken translation. S/post thumbnail/featured image/
git-svn-id: http://svn.automattic.com/wordpress/trunk@14007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 09:15:35 +00:00
nacin c449adb237 File-level phpdoc for multisite files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 13:29:35 +00:00
nacin f925c3c2b4 Adjust get_file_description() to account for absolute paths. see #12843
git-svn-id: http://svn.automattic.com/wordpress/trunk@13994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:07:27 +00:00
nacin 37faed2c03 Give names to author.php and tag.php in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 11:23:09 +00:00
nacin 6182fa89af Give editor-style.css a name in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 11:14:29 +00:00
nacin 589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin 927a8afbf3 Allow "No role for this blog" to be chosen on user-edit. Add defensive checks for a few potential notices. fixes #10833
git-svn-id: http://svn.automattic.com/wordpress/trunk@13961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 08:08:12 +00:00
nacin 647fe5d199 Initialize some options for the secondary dashboard widget. see #11783
git-svn-id: http://svn.automattic.com/wordpress/trunk@13959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 07:31:28 +00:00
nacin c5c47b4b20 Make remove_user a meta capability. see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 05:14:34 +00:00
nacin 69f5922799 Use correct cap in get_editable_user_ids(). edit_cap is the meta cap (edit_post) and needs a post id passed, edit_type_cap is the primitive edit_posts cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 04:38:20 +00:00
nacin e7486800d9 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:27:23 +00:00
nacin d23bb077c3 Change "More Information" link to "Details" in plugin installer. Shorten/clarify a few other strings. see #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:04:48 +00:00
ryan 311b5a82cc Use wpdb->prefix instead of wpdb->base_prefix(). base_prefix() does not return the correct prefix when a blog ID is not passed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 17:23:36 +00:00
nacin 7b55c4688a Move add/remove super admin out of bulk edit and into user-edit.php. Introduce grant_super_admin() and revoke_super_admin(). Link to profile.php in ms-users user row for current user. Add defensive check by forcing IS_PROFILE_PAGE on user-edit if trying to edit your own user_id. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:46:07 +00:00
dd32 ee058cca62 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
nacin 6a1844f98e Allow MS cape-wearers to demote their blog roles to something without the edit_users cap. see #12387
git-svn-id: http://svn.automattic.com/wordpress/trunk@13934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:30:00 +00:00
wpmuguru 23a82e9619 fix caps check on delete user link, props ocean90, see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 03:40:49 +00:00
dd32 c2aba0b250 Correct typos in r13920. Use correct variable name. See #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 23:38:37 +00:00
dd32 f7b83bd893 Rename Install to More Information, Add an Install Now action link to the Plugin Installer search results. See #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 23:17:53 +00:00
markjaquith d510d0bdc7 Huge MS refactoring and code cleanup. see #12460. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 21:21:27 +00:00
markjaquith fb96ce358a Deletion link should always show
git-svn-id: http://svn.automattic.com/wordpress/trunk@13905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 20:13:04 +00:00
ryan 2cea68f079 Use get_home_url() and get_admin_url(). Props andreasnrb. see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 19:13:38 +00:00
nacin e2c3b87693 Fix typos in [13729]. edit_type_cap is a primitive cap, not meta. @todo: audit ptype cap calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:16:28 +00:00
ryan 8e4859a35c Use network_*_url(). see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 21:45:31 +00:00
dd32 949d9a0362 Do not add rel="attachment" for direct(File URL, not Post URL) links to non-media files in "Insert into Post". Fixes #7040
git-svn-id: http://svn.automattic.com/wordpress/trunk@13875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 09:57:34 +00:00
dd32 28b30dec84 Fix typo in r13850. See #12232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 08:23:46 +00:00
dd32 e4bd7fa6ce Add extra hooks to Right Now dashboard widget. Props jfarthing84. See #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:13:53 +00:00
dd32 f3e9d332d2 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 05:23:49 +00:00
dd32 bf6510abd1 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: http://svn.automattic.com/wordpress/trunk@13860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:39:00 +00:00
dd32 4422f6d1fd Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:37:10 +00:00
dd32 a47cdd86cb Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:07:03 +00:00
nacin d0404ed946 Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:22:05 +00:00
dd32 99c832385e Fix Link Category Tab styling. Props ocean90. Fixes #12712
git-svn-id: http://svn.automattic.com/wordpress/trunk@13840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:21:53 +00:00
nacin f16de21ca5 Use correct var in MS dashboard_quota(). props ocean90, see #12710. also fixes sprintf string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 21:50:54 +00:00
nacin 40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin a7feaed0e6 Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
nacin 6e0976117a Fix potential notice in wp_handle_sideload().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:42:34 +00:00
nacin 637d557aca Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: http://svn.automattic.com/wordpress/trunk@13817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 04:42:08 +00:00
nacin 47b80515da Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: http://svn.automattic.com/wordpress/trunk@13806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-23 19:13:58 +00:00
nacin e507f32dd4 Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 23:03:31 +00:00
nacin ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
nacin 59c4af548b Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 14:01:43 +00:00
nacin 243106b21e Fix the MS admin notice feed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 02:23:45 +00:00
nacin 261592f3e7 Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 01:31:18 +00:00
dd32 68445ab030 Use correct cap checks and nonces for custom post_type's
git-svn-id: http://svn.automattic.com/wordpress/trunk@13786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 02:29:11 +00:00
dd32 68562ccc93 Fix Quick edit for non-page Hierarchical post_types. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 03:05:25 +00:00
dd32 5d965f2c1c Add parent selection support for custom post_types to the Page Attributes metabox. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:46:31 +00:00
dd32 e2736b7583 Tabs are better than spaces. Whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:39:58 +00:00
dd32 48eb248a6d Fix notice in Page Templates when a Template is not set for the current page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:37:16 +00:00
dd32 78841d8f5f Add additional columns to the Posts Comments view. Props arena. Fixes #11231
git-svn-id: http://svn.automattic.com/wordpress/trunk@13775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:35:17 +00:00
nacin 30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
nacin 8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
wpmuguru 64f48fd0bc add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: http://svn.automattic.com/wordpress/trunk@13768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 20:48:59 +00:00
dd32 96db88e1b8 Highlight correct submenu for Theme Installs. Fix PHP Notice for unset object properties (requires among others may not be set).
git-svn-id: http://svn.automattic.com/wordpress/trunk@13763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 08:03:52 +00:00
nacin 8b7d7afa72 Clear cache of current theme name, if the theme name no longer exists. Fixes failures when an an active theme is renamed in its stylesheet. fixes #12428
git-svn-id: http://svn.automattic.com/wordpress/trunk@13762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 03:09:02 +00:00
wpmuguru 96d21ae1f3 force users to re-login after installing network, see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@13760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 23:35:04 +00:00
nacin 3a599d714e Correct a copy-paste error in wp_manage_posts_columns().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 22:34:58 +00:00
nacin 65e9cd7eb1 Add deprecated notices for Options > Misc settings registrations. see #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:32:27 +00:00
dd32 5a5064ae61 Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:50:43 +00:00
dd32 d51a95d091 Remove the now defunct link update checker from core. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:17:55 +00:00
markjaquith 6786e3ddb3 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:57:08 +00:00
ryan 6fe61df60f Introduce WP_DEFAULT_THEME
git-svn-id: http://svn.automattic.com/wordpress/trunk@13737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:42:49 +00:00
ryan 968c73da1e Use WP_FALLBACK_THEME when creating default stylesheet and template options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:39:38 +00:00
ryan e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
dd32 af6960601f post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@13729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 12:35:48 +00:00
markjaquith 94bcf51d32 Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 06:33:53 +00:00
markjaquith 411734437a Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 06:10:47 +00:00
markjaquith 58d47426cc More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 04:39:50 +00:00
ryan 60f8f5a6aa Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 22:01:49 +00:00
ryan c49ec29fdb Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:22:24 +00:00
wpmuguru 47302e0188 first pass on optional global terms, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:17:55 +00:00
ryan 10656cb1eb Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 16:34:30 +00:00
wpmuguru 0c2ab53136 introduce global_terms_enabled site option, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 15:31:50 +00:00
ryan f635d99754 Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
dd32 f07052a516 Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
git-svn-id: http://svn.automattic.com/wordpress/trunk@13686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 03:59:40 +00:00
nacin f6415fc7eb Fix logic and pull static code out of a loop. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:21:18 +00:00
nacin 20eae9d24a Use disabled() form helper. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:12:23 +00:00
ryan 5d6cd5deb5 Use page icon for page menus. fixes #12583
git-svn-id: http://svn.automattic.com/wordpress/trunk@13659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:54:47 +00:00
nacin 1f422200ee Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:34:27 +00:00
nacin 00c591591c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 01:51:24 +00:00
nacin 55e6976d96 Remove unused MU function and unnecessary separate includes file. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:46:05 +00:00
nacin 0069db858c Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:34:42 +00:00
nacin df48ab984f Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:17:07 +00:00
nacin 4f23fbe1c7 Don't page comments by default. fixes #12562
git-svn-id: http://svn.automattic.com/wordpress/trunk@13636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 21:04:41 +00:00
dd32 0d385b1408 Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
git-svn-id: http://svn.automattic.com/wordpress/trunk@13624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:23:03 +00:00
wpmuguru a7011c50ca allow existing media path on main site when converting to multisite, see #12549
git-svn-id: http://svn.automattic.com/wordpress/trunk@13619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 19:52:29 +00:00
wpmuguru 6b18130fb2 move multisite upgrade functions to upgrade.php, see #11771
git-svn-id: http://svn.automattic.com/wordpress/trunk@13618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 16:31:12 +00:00
nacin f77605f081 Remove htaccess.ms and wp-config.ms templates. These were brought inline in [13611]. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 20:11:18 +00:00
nacin d6c51469c2 s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: http://svn.automattic.com/wordpress/trunk@13612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 20:06:32 +00:00
nacin f210aed76d Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 19:36:35 +00:00
ryan b2c3ace49a Update ms-sites UI. Props ocean90. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 18:31:10 +00:00
dd32 f3af366e3d First scrape at new UI for Bulk plugin upgrades. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:39:50 +00:00
dd32 9e31757e40 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: http://svn.automattic.com/wordpress/trunk@13600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:00:42 +00:00
wpmuguru b47298ef62 set default value for upload_space_check_disabled, see #12463
git-svn-id: http://svn.automattic.com/wordpress/trunk@13595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 21:01:08 +00:00
dd32 e2ef640d36 Do not display user specified password during install. Fixes #12479. See #10396 for feedback
git-svn-id: http://svn.automattic.com/wordpress/trunk@13592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 12:25:30 +00:00
wpmuguru dec2715ca4 UI upgrade -> update, see #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 23:28:15 +00:00
ryan 103a4f46b6 Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 18:59:24 +00:00
ryan aa47e83dee Fix submenus for post types. Props TobiasBg. see #12453
git-svn-id: http://svn.automattic.com/wordpress/trunk@13579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 00:15:55 +00:00
nacin c4fa74306d Support for extra POST fields in WP_Filesystem. props dd32. see #12094
git-svn-id: http://svn.automattic.com/wordpress/trunk@13577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 19:53:39 +00:00
ryan 086ad7d933 Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: http://svn.automattic.com/wordpress/trunk@13576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 19:08:30 +00:00
wpmuguru c4f0134808 add features to export, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@13573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 16:45:40 +00:00
nacin 4c1b910030 First pass on network.php improvements. see #12094
git-svn-id: http://svn.automattic.com/wordpress/trunk@13571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:43:32 +00:00
nacin 8b87777391 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: http://svn.automattic.com/wordpress/trunk@13568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:04:25 +00:00
wpmuguru 7cafb3f959 set default value for add_new_users site option, see #12463
git-svn-id: http://svn.automattic.com/wordpress/trunk@13564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 22:57:12 +00:00
nacin b657e01fad Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 21:04:37 +00:00
ryan d71efc7362 Make favorite actions custom post type aware. Props ptahdunbar. fixes #12433
git-svn-id: http://svn.automattic.com/wordpress/trunk@13536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 16:03:27 +00:00
ryan 37bfdee064 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 15:48:01 +00:00
dd32 b56ae0e0cb Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 12:32:00 +00:00
dd32 0c2e896156 A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: http://svn.automattic.com/wordpress/trunk@13528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 11:57:03 +00:00
nacin 9a05d19cba Remove "Info" link in plugin installer. The "Install" link already opens a pop-up with information. see #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 06:01:00 +00:00
nacin 88f4b87d15 Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 00:50:55 +00:00
nacin 7c13a4d3b5 Boost number of comments allowed in configurable Recent Comments dashboard module. fixes #11891
git-svn-id: http://svn.automattic.com/wordpress/trunk@13519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 00:09:30 +00:00
nacin 01d4f4f18c Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:29:24 +00:00
ryan 25a2a06a9e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:00:49 +00:00
nacin 093beae9f1 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: http://svn.automattic.com/wordpress/trunk@13510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:39:06 +00:00
wpmuguru 210a5a70a1 more ms delete user tweaks, props ocean90, see #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:24:25 +00:00
wpmuguru 0fc4e2c9c1 cleanup confirm delete users, props ocean90, fixes #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 16:58:17 +00:00
dd32 83e11093ab remove LOWER() in Order by clause for Post Meta. Allows MySQL to use the indexes properly. Props Denis-de-Bernardy. Fixes #11741
git-svn-id: http://svn.automattic.com/wordpress/trunk@13503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 13:15:54 +00:00
dd32 9472175b79 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: http://svn.automattic.com/wordpress/trunk@13489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:12:05 +00:00
dd32 4a59fbc765 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: http://svn.automattic.com/wordpress/trunk@13488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:38:15 +00:00
dd32 b1621c63ae Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:34:31 +00:00
dd32 b9c22a4e91 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: http://svn.automattic.com/wordpress/trunk@13482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 03:18:40 +00:00
wpmuguru fcf6942d33 more menu improvements, props ptahdunbar, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
wpmuguru 1c5f2af719 warnings cleanup edit user, props dd32, see #12387
git-svn-id: http://svn.automattic.com/wordpress/trunk@13463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:07:25 +00:00
wpmuguru 1c87155b6d warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:48:37 +00:00
nacin 252e198ea8 Fix typos. props TobiasBg fixes #12398
git-svn-id: http://svn.automattic.com/wordpress/trunk@13455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 15:53:06 +00:00
nacin 9797dacaa0 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: http://svn.automattic.com/wordpress/trunk@13453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 07:36:35 +00:00
nacin b36063b03c Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: http://svn.automattic.com/wordpress/trunk@13451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 06:45:23 +00:00
wpmuguru ab6e21f6fb more multisite UI rebranding, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:08:01 +00:00
nacin 8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin 1409dcca90 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:41:23 +00:00
westi c7aa32c0ac Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:19:03 +00:00
westi 2372671879 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:41:33 +00:00