Commit Graph

8345 Commits

Author SHA1 Message Date
Ryan Boren 95d1619373 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: https://develop.svn.wordpress.org/trunk@17637 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:30:02 +00:00
Andrew Nacin ac0c1a2a77 Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17633 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 11:50:27 +00:00
Andrew Nacin 3d84216d69 Remove more E_RECOVERABLE_ERROR checks. props duck_, see #16920.
git-svn-id: https://develop.svn.wordpress.org/trunk@17632 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-12 09:21:13 +00:00
Ryan Boren 2d5559bb8f Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17630 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:55:11 +00:00
Andrew Ozz 4c572d1f03 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Andrew Ozz 69fe5f9755 Remove width: 99.5% from metaboxes, props andrewryno, fixes #17084
git-svn-id: https://develop.svn.wordpress.org/trunk@17624 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-08 20:35:51 +00:00
Andrew Ozz 53d3dae91f Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: https://develop.svn.wordpress.org/trunk@17623 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 18:45:22 +00:00
Mark Jaquith 587abe5d6b Restore compat.php includes. see #16918
git-svn-id: https://develop.svn.wordpress.org/trunk@17622 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 15:47:04 +00:00
Dion Hulse e849d6437d Move closedir() to better locations to prevent the need for error suppression, prevents suppressed Warnings/Notices to be thrown during Plugin Installation. Fixes #16547
git-svn-id: https://develop.svn.wordpress.org/trunk@17617 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 09:07:56 +00:00
Andrew Nacin 6aabec9e3c Remove type attribute from textarea. props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@17615 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 08:30:08 +00:00
Dion Hulse 6549a0aa0e Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
git-svn-id: https://develop.svn.wordpress.org/trunk@17609 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 00:42:07 +00:00
Ryan Boren 9691cb5eb2 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 17:13:04 +00:00
Dion Hulse 739e666801 Add missing closing fieldset tag. Props bluntelk. Fixes #17042 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17593 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-04 08:04:41 +00:00
Dion Hulse d61b17049e Set the mb_string internal encoding to ISO-8859-1 whilst uncompressing archives using PclZip. Fixes 'PCLZIP_ERR_BAD_FORMAT (-10) : Invalid block size' errors on systems utilising mbstring.func_overload. Fixes #15789
git-svn-id: https://develop.svn.wordpress.org/trunk@17592 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 12:32:06 +00:00
Dion Hulse 8fafc66e84 Remove debug cruft from [17590]. See #14182
git-svn-id: https://develop.svn.wordpress.org/trunk@17591 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 11:55:27 +00:00
Dion Hulse 3c3304e25f When upgrading plugins|themes, if the new destination folder is different from the previous folder, delete the old folder upon upgrade. Fixes #14182
git-svn-id: https://develop.svn.wordpress.org/trunk@17590 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 11:54:07 +00:00
Dion Hulse 95bafc3a51 Allow plugins to hook into /wp-admin/update-core.php. Props ampt. Fixes #15221
git-svn-id: https://develop.svn.wordpress.org/trunk@17589 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 09:41:19 +00:00
Dion Hulse a41a62b0c3 Hide update bubble counts for users who can't perform the update. Props garyc40 for initial patch. Fixes #14447
git-svn-id: https://develop.svn.wordpress.org/trunk@17588 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 08:59:01 +00:00
Andrew Ozz 44a5c913d8 Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: https://develop.svn.wordpress.org/trunk@17587 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 20:40:16 +00:00
Ryan Boren 5d9e489b0c esc_url_raw() when doing urlencode()
git-svn-id: https://develop.svn.wordpress.org/trunk@17584 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 19:35:38 +00:00
Ryan Boren cb873824ee s/esc_url_raw/esc_url/. Props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@17582 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 19:29:06 +00:00
Dion Hulse 0483fd3e64 @ignore for _copy_dir(). Props duck_. See #14484
git-svn-id: https://develop.svn.wordpress.org/trunk@17581 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 10:40:55 +00:00
Dion Hulse b688575c19 Back-compat for core upgrades with pre-3.2. Utilises a temporary _copy_dir() function which can be removed in 3.3-dev to bring immediate wp-content relief to the 3.1-3.2 upgrades. See #14484
git-svn-id: https://develop.svn.wordpress.org/trunk@17580 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:50:01 +00:00
Dion Hulse abb6e01681 Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
git-svn-id: https://develop.svn.wordpress.org/trunk@17579 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:17:27 +00:00
Dion Hulse 64686e2515 Back-compat for upgrades with WP_LANG_DIR. See #11495
git-svn-id: https://develop.svn.wordpress.org/trunk@17578 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:13:50 +00:00
Dion Hulse 69e93e978a Typo in r17576, Twentyten isn't new to 3.2. See #14484 See #11495
git-svn-id: https://develop.svn.wordpress.org/trunk@17577 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:32:58 +00:00
Dion Hulse 20603ca19c Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495
git-svn-id: https://develop.svn.wordpress.org/trunk@17576 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:28:36 +00:00
Andrew Nacin f9eb15c0ce Remove cryptic bitwise check. Todo, CPT/supports checks. see #17005.
git-svn-id: https://develop.svn.wordpress.org/trunk@17574 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 06:33:20 +00:00
Ryan Boren 642f81dd68 Add some nonce checks to the uploaders. Props duck_. For trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17568 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 21:30:59 +00:00
Andrew Nacin 289a5e5c8f Bump update-core and readme for 3.2.
git-svn-id: https://develop.svn.wordpress.org/trunk@17561 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 21:14:46 +00:00
Andrew Ozz 9c18de1484 Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17556 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 20:12:32 +00:00
Dion Hulse ec8280cfd8 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: https://develop.svn.wordpress.org/trunk@17555 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 02:42:20 +00:00
Andrew Nacin 5fc7b13692 Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421.
git-svn-id: https://develop.svn.wordpress.org/trunk@17544 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:57:12 +00:00
Andrew Nacin 3697db55bc Don't show two 'Create Menu' buttons on nav-menus.php. fixes #16715.
git-svn-id: https://develop.svn.wordpress.org/trunk@17543 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:47:45 +00:00
Andrew Nacin 711abb67bc Avoid functions.php from ever being treated as a page template. fixes #16689.
git-svn-id: https://develop.svn.wordpress.org/trunk@17539 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:40:52 +00:00
Dion Hulse 1a22b56c53 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17534 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:35:41 +00:00
Dion Hulse 1359ecd06b Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
git-svn-id: https://develop.svn.wordpress.org/trunk@17525 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 00:04:15 +00:00
Mark Jaquith 97587c5374 Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: https://develop.svn.wordpress.org/trunk@17523 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-21 18:30:56 +00:00
Andrew Ozz 80e0029a13 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: https://develop.svn.wordpress.org/trunk@17522 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-17 22:01:40 +00:00
Ryan Boren 652ac55480 Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17510 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:56:12 +00:00
Ryan Boren 4cb526a5b1 Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17502 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 21:54:05 +00:00
Andrew Nacin b905438706 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17496 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 18:33:55 +00:00
Andrew Nacin 22230cb94e Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17481 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 10:12:38 +00:00
Andrew Nacin 6970857abf Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17475 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 04:24:20 +00:00
Andrew Nacin 395bb6ad4c Ensure we're matching the complete theme directory when excluding parent templates from the theme editor. props chrisbliss18, fixes #16607 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17471 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-21 18:57:09 +00:00
Ryan Boren e7ceede332 Don't allow changing the post type. Props nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17457 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 18:58:06 +00:00
Ryan Boren 2394a8d68d Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17449 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 03:43:47 +00:00
Andrew Nacin b6d982827e s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17448 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-14 22:57:18 +00:00
Mark Jaquith 2c7004c199 Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17445 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-13 14:44:16 +00:00
Ryan Boren e431f630a2 Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17439 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:37:26 +00:00
Ryan Boren 451d7d8ffb Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Ryan Boren 7c37c82691 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17431 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:30:26 +00:00
Mark Jaquith a701db272d Skip authors that no longer exist when doing an export. props nacin. fixes #16479
git-svn-id: https://develop.svn.wordpress.org/trunk@17415 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:58:41 +00:00
Mark Jaquith fd3c1fd8e3 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17410 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:11:17 +00:00
Ryan Boren 777b15311d Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17398 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:31:05 +00:00
Ryan Boren 9aa164cfc8 Properly encode the post title. Props koopersmith, nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17395 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:26:46 +00:00
Ryan Boren e83b5ac2ea Add cap and type checks to media item fetch. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17390 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:22:53 +00:00
Ryan Boren b625dbb1bb Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17383 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 20:00:21 +00:00
Mark Jaquith 0c02c273cb Remove unused/non-functional code with old-style CSRF checking. see #16499
git-svn-id: https://develop.svn.wordpress.org/trunk@17381 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 07:23:05 +00:00
Andrew Nacin 861b32c855 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17372 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 12:18:57 +00:00
Andrew Nacin cea40dfbeb Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: https://develop.svn.wordpress.org/trunk@17369 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-27 19:37:38 +00:00
Ryan Boren 0d8d463048 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@17368 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-27 15:18:22 +00:00
Peter Westwood c4d608db4f Don't redirect continually on empty search results pages. Fixes #16357 props garyc40
git-svn-id: https://develop.svn.wordpress.org/trunk@17366 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-26 09:56:17 +00:00
Ryan Boren 7a4c821757 Fix theme filtering when no JS. Props dd32. fixes #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@17364 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 20:00:42 +00:00
Ryan Boren 363faf4eba Add name to reassign user dropdown. Props nacin. fixes #16361
git-svn-id: https://develop.svn.wordpress.org/trunk@17363 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 19:36:50 +00:00
Ryan Boren b84defcda1 Fix redirects for trashed post bulk ops. Props nacin, SergeyBiryukov. fixes #16355
git-svn-id: https://develop.svn.wordpress.org/trunk@17362 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 19:30:24 +00:00
Ryan Boren e131cde02f Pagination fixes. Props garyc40. fixes #16357
git-svn-id: https://develop.svn.wordpress.org/trunk@17361 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 19:20:20 +00:00
Ryan Boren fd7c566154 Don't pass deprecated arg to update_blog_status(). Props PeteMall. fixes #15605
git-svn-id: https://develop.svn.wordpress.org/trunk@17360 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 17:39:10 +00:00
Peter Westwood 87da8df4f1 Fix the bulk actions on Network > Sites and Network > Users. Fixes #16364
git-svn-id: https://develop.svn.wordpress.org/trunk@17359 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 14:34:41 +00:00
Mark Jaquith e0f37101f7 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: https://develop.svn.wordpress.org/trunk@17356 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 04:16:55 +00:00
Ryan Boren bdd25aad05 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Andrew Nacin 3b7734f41a Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341.
git-svn-id: https://develop.svn.wordpress.org/trunk@17353 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:36:54 +00:00
Andrew Nacin 3949bb8c60 doaction buttons don't need a name, only an ID. fixes #16345.
git-svn-id: https://develop.svn.wordpress.org/trunk@17352 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:31:35 +00:00
Andrew Nacin d59f1e165e Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344.
git-svn-id: https://develop.svn.wordpress.org/trunk@17350 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:27:04 +00:00
Andrew Nacin a399fa0529 Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: https://develop.svn.wordpress.org/trunk@17349 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:25:32 +00:00
Ryan Boren a73eee9c84 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: https://develop.svn.wordpress.org/trunk@17347 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 03:25:29 +00:00
Ryan Boren 2d0150b6de From post back to get. Props SergeyBiryukov. fixes #16335
git-svn-id: https://develop.svn.wordpress.org/trunk@17345 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 01:31:21 +00:00
Mark Jaquith 4bca42b961 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith 19b385450e Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Andrew Nacin 04f552b7d5 Use get_column_count() instead of manual logic. props scribu, fixes #16279.
git-svn-id: https://develop.svn.wordpress.org/trunk@17342 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 07:39:21 +00:00
Andrew Nacin e8040ea42d Properly account for columns shown in the list table display_rows_or_placeholder methods. props garyc40, fixes #16279.
git-svn-id: https://develop.svn.wordpress.org/trunk@17339 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:19:34 +00:00
Andrew Nacin 28e3e0a809 Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322.
git-svn-id: https://develop.svn.wordpress.org/trunk@17338 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:46 +00:00
Andrew Nacin acd01861fb Don't allow the 'Path' column on sites.php to be hidden. see #16322.
git-svn-id: https://develop.svn.wordpress.org/trunk@17337 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:01 +00:00
Andrew Nacin b789eb1ace Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322.
git-svn-id: https://develop.svn.wordpress.org/trunk@17336 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:08:24 +00:00
Andrew Nacin a79c8d9715 Compress and bump, see #16308.
git-svn-id: https://develop.svn.wordpress.org/trunk@17335 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 20:59:53 +00:00
Andrew Nacin d65e456c90 Remove duplicated CSS section. props markmcwilliams, fixes #16308.
git-svn-id: https://develop.svn.wordpress.org/trunk@17334 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 20:55:37 +00:00
Andrew Nacin b8c1e1bb13 Add the load-edit-link-categories.php hook for back compat. fixes #16307.
git-svn-id: https://develop.svn.wordpress.org/trunk@17333 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 03:05:22 +00:00
Andrew Nacin 4ab2d68486 Correct user admin redirection checks, and deny access to the user admin when not running multisite. fixes #16297.
git-svn-id: https://develop.svn.wordpress.org/trunk@17332 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 03:04:20 +00:00
Peter Westwood 1827a3df9b Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17328 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 16:49:46 +00:00
Andrew Nacin 01bf30c760 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: https://develop.svn.wordpress.org/trunk@17327 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 09:44:17 +00:00
Mark Jaquith 57571e6675 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17326 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 17:32:35 +00:00
Andrew Nacin 7c379501ac s/get_list_table/_get_list_table/ in admin-ajax. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17325 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 11:06:22 +00:00
Mark Jaquith 5a60e327c2 Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
git-svn-id: https://develop.svn.wordpress.org/trunk@17324 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-17 23:36:23 +00:00
Andrew Nacin 9fd728dc4e Set base if we return to network step 2. props scribu, fixes #15620.
git-svn-id: https://develop.svn.wordpress.org/trunk@17323 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:50:45 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Andrew Nacin 71b24d4577 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17321 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:34:38 +00:00
Andrew Nacin 8030796b65 Remove assignment that is later overridden. props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@17319 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:47:21 +00:00
Mark Jaquith 4c70887da7 Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
git-svn-id: https://develop.svn.wordpress.org/trunk@17318 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:38:44 +00:00
Andrew Nacin 7e475d7622 Pass id to the site-users and site-themes search form. props ocean90, fixes #16246.
git-svn-id: https://develop.svn.wordpress.org/trunk@17314 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 21:25:33 +00:00
Peter Westwood 4f1ab301db Switch to REQUEST so the search always shows up when no-js not just when you have an old GET request in the url too. Fixes #14927 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@17311 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 16:09:34 +00:00
Andrew Nacin 6227ef5aa2 Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241.
git-svn-id: https://develop.svn.wordpress.org/trunk@17310 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 07:26:45 +00:00
Peter Westwood 966477d6f7 Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
git-svn-id: https://develop.svn.wordpress.org/trunk@17309 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 03:40:52 +00:00
Andrew Nacin ac32c2b55b Broken Themes should be in an h3.
git-svn-id: https://develop.svn.wordpress.org/trunk@17308 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 02:17:42 +00:00
Peter Westwood 59ed14ce74 Switch back to GET from REQUEST for these so the non js searches work again. See #14927
git-svn-id: https://develop.svn.wordpress.org/trunk@17307 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 02:03:46 +00:00
Ryan Boren 5844e953a8 Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: https://develop.svn.wordpress.org/trunk@17303 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 00:35:29 +00:00
Andrew Nacin fa0584e236 Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@17297 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 07:20:13 +00:00
Andrew Nacin 96fa9d4b56 Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@17294 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 01:02:15 +00:00
Peter Westwood 1f730d43b8 The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@17293 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 23:19:51 +00:00
Andrew Nacin af64a47f5d Remove the button too. props ryan, see #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17291 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:56:10 +00:00
Andrew Nacin 599875b5b9 Old files removal for 3.1, against r17285.
git-svn-id: https://develop.svn.wordpress.org/trunk@17290 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:19:05 +00:00
Andrew Nacin 7232a40edc Revert unrelated cruft in [17288]. see #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17289 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:00:30 +00:00
Andrew Nacin a711d9b671 Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17288 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 21:57:30 +00:00
Andrew Nacin 54c72a97cb Don't use deprecated arguments. props PeteMall, see #15605.
git-svn-id: https://develop.svn.wordpress.org/trunk@17287 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:39:26 +00:00
Mark Jaquith 852a939130 Recompress some JS scripts that were done without YUI munging.
git-svn-id: https://develop.svn.wordpress.org/trunk@17286 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:04:58 +00:00
Mark Jaquith a31ca04ccc script compress and bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17285 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:17:22 +00:00
Mark Jaquith 9ce71fde62 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: https://develop.svn.wordpress.org/trunk@17284 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:14:12 +00:00
Andrew Nacin 4fcde740f1 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: https://develop.svn.wordpress.org/trunk@17281 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:50:23 +00:00
Andrew Nacin 911530b2fe Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: https://develop.svn.wordpress.org/trunk@17278 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:21:30 +00:00
Andrew Nacin 03582ad585 Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17277 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:50:35 +00:00
Andrew Nacin aa8519609e Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17276 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:34:18 +00:00
Andrew Nacin 166014d76e Move wp_redirect calls to the end of the switch in users.php. Fix unrelated bug where the user's cap should be check, rather than their role's cap. see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17275 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:22:53 +00:00
Mark Jaquith b6cd198d8e Add "paged param is greater than total pages" redirects to a few more screens. props greuben. fixes #16187
git-svn-id: https://develop.svn.wordpress.org/trunk@17274 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:03:38 +00:00
Andrew Nacin fabe2d6fdc #blamenacin, see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17273 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 23:22:03 +00:00
Andrew Nacin 51b498aec2 Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187. props MarkJaquith, greuben.
git-svn-id: https://develop.svn.wordpress.org/trunk@17271 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:24:34 +00:00
Andrew Nacin 19122c3516 Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17270 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:06:33 +00:00
Andrew Nacin 6356b0a0b8 Document abstract methods in WP_List_Table.
git-svn-id: https://develop.svn.wordpress.org/trunk@17268 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 08:05:23 +00:00
Andrew Nacin 334356506b Multisite super admins should still be able to see the Plugins menu in the site admin. fixes #16184.
git-svn-id: https://develop.svn.wordpress.org/trunk@17267 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 07:12:59 +00:00
Andrew Nacin 84e50d906f Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: https://develop.svn.wordpress.org/trunk@17264 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 00:18:23 +00:00
Andrew Nacin 6d0af32ea7 Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17262 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:42:22 +00:00
Andrew Nacin 173b89b166 Only rely on is_super_admin for is_multisite when generating menu code. fixes #16184.
git-svn-id: https://develop.svn.wordpress.org/trunk@17259 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 21:00:23 +00:00
Ryan Boren 545cc85918 Strip and prepare ajax tag search string. Avoids applying slashes toward the character count. Props brianlayman. see #13580
git-svn-id: https://develop.svn.wordpress.org/trunk@17256 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:15:25 +00:00
Andrew Nacin 4c869552ff Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17255 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:03:50 +00:00
Andrew Nacin 5ce8a20462 Set the post format before publishing the post in Press This. props Otto42, fixes #16192.
git-svn-id: https://develop.svn.wordpress.org/trunk@17254 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:58:58 +00:00
Mark Jaquith 3a2c242339 Minify and bump list-table.js see #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17253 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:40:31 +00:00
Mark Jaquith 733f374f85 Simulate browser behavior for selecting first dropdown element in non-multiselect, if no elements are selected by default. props koopersmith. fixes #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17252 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:37:43 +00:00
Mark Jaquith d25923ae63 Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@17250 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:56:23 +00:00
Andrew Nacin 372caaea9d RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: https://develop.svn.wordpress.org/trunk@17247 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:17:53 +00:00
Andrew Nacin d3af28cd11 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: https://develop.svn.wordpress.org/trunk@17242 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-08 08:25:31 +00:00
Mark Jaquith c0148a5a15 [17240] rendered the theme-change rules flush introduced in [16705] unnecessary.
git-svn-id: https://develop.svn.wordpress.org/trunk@17241 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 23:44:12 +00:00
Ryan Boren d95ed80091 Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: https://develop.svn.wordpress.org/trunk@17239 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 20:52:42 +00:00
Ryan Boren d1575abd76 Fix post theme delete redirect. Props greuben. see #16117
git-svn-id: https://develop.svn.wordpress.org/trunk@17238 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 19:58:25 +00:00
Ryan Boren 5cd255f193 Fix net admin theme deletion over FTP. see #16117
git-svn-id: https://develop.svn.wordpress.org/trunk@17237 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 19:01:34 +00:00
Andrew Nacin 6d4007a6ee Err, oops. Put the class on the table row. props yoast, see [17234], see #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17235 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:47:39 +00:00
Andrew Nacin 465650292a Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17234 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:39:18 +00:00
Ryan Boren bb9c93115e Add context to string. Props nbachiyski. fixes #16130
git-svn-id: https://develop.svn.wordpress.org/trunk@17233 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:23:52 +00:00
Ryan Boren ecfd980687 Use edit_comment cap. Props casben79. fixes #16129
git-svn-id: https://develop.svn.wordpress.org/trunk@17232 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:17:05 +00:00
Peter Westwood e82c3fd2d5 Ensure that we apply the absolute integer casting result to the variable we are going to use. See #16119
git-svn-id: https://develop.svn.wordpress.org/trunk@17230 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 08:51:45 +00:00
Ryan Boren eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Andrew Nacin cc3ed56b35 More room for your content! Increase default post edit rows as the meta boxes are all hidden by default. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@17225 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 00:57:24 +00:00
Ryan Boren b27d7ad9b0 Avoid notice.
git-svn-id: https://develop.svn.wordpress.org/trunk@17223 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-05 18:18:31 +00:00