Commit Graph

8232 Commits

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