Commit Graph

2822 Commits

Author SHA1 Message Date
ryan
a5361b3b24 Export commentmeta. Props duck_. see #12871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 19:25:45 +00:00
azaozz
258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
dd32
bed23730dc Handle zip error's in PclZip better. PclZip::extract() returns an array on success, 0 on failure. Fixes #17224
git-svn-id: http://svn.automattic.com/wordpress/trunk@17693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 14:30:44 +00:00
dd32
26cc29597b Ensure all theme searching is done case-insensitive. Props solarissmoke for initial path. Fixes #17059
git-svn-id: http://svn.automattic.com/wordpress/trunk@17691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 13:01:52 +00:00
nacin
5f29ef7e7b Add the filter in display_rows, rather than _display_rows.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:33:53 +00:00
nacin
26989db5d4 Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:20:49 +00:00
nacin
efce9e6953 This folder is back now under new management. Quit killing it on auto updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 16:55:48 +00:00
dd32
f4ccdcc188 Do not delete local package files in WP_Upgrader. Props joelhardi. Fixes #14963
git-svn-id: http://svn.automattic.com/wordpress/trunk@17660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-19 05:54:01 +00:00
ryan
5fc53472ce Introduce get_screen_icon(). Props aaroncampbell. fixes #15377
git-svn-id: http://svn.automattic.com/wordpress/trunk@17656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:51:54 +00:00
nacin
1e96186c14 Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 11:50:27 +00:00
ryan
64552a67ee Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:55:11 +00:00
azaozz
24599d17f0 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: http://svn.automattic.com/wordpress/trunk@17625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-10 18:36:05 +00:00
dd32
efa709d1b5 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: http://svn.automattic.com/wordpress/trunk@17617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 09:07:56 +00:00
nacin
16e649f95f Remove type attribute from textarea. props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 08:30:08 +00:00
ryan
91dc365567 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:13:04 +00:00
dd32
9081c7636c 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: http://svn.automattic.com/wordpress/trunk@17592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 12:32:06 +00:00
dd32
65db854b9f Remove debug cruft from [17590]. See #14182
git-svn-id: http://svn.automattic.com/wordpress/trunk@17591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 11:55:27 +00:00
dd32
479e64c170 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: http://svn.automattic.com/wordpress/trunk@17590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 11:54:07 +00:00
dd32
ca26b494da @ignore for _copy_dir(). Props duck_. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 10:40:55 +00:00
dd32
dfaa85ee9a 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: http://svn.automattic.com/wordpress/trunk@17580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:50:01 +00:00
dd32
dd3c9a5195 Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:17:27 +00:00
dd32
e16755db0d Back-compat for upgrades with WP_LANG_DIR. See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:13:50 +00:00
dd32
4a7cdbc0d7 Typo in r17576, Twentyten isn't new to 3.2. See #14484 See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 13:32:58 +00:00
dd32
5b12ecb83d 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: http://svn.automattic.com/wordpress/trunk@17576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 13:28:36 +00:00
ryan
924f783fda Add some nonce checks to the uploaders. Props duck_. For trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:30:59 +00:00
nacin
f88e2edae0 Bump update-core and readme for 3.2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 21:14:46 +00:00
azaozz
62f2f81ad9 Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:12:32 +00:00
dd32
00dc7a57d6 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: http://svn.automattic.com/wordpress/trunk@17555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 02:42:20 +00:00
nacin
adcc961d69 Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:57:12 +00:00
nacin
8d7df99551 Avoid functions.php from ever being treated as a page template. fixes #16689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:40:52 +00:00
dd32
ebf169b350 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:35:41 +00:00
dd32
a83a2842ea Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
git-svn-id: http://svn.automattic.com/wordpress/trunk@17525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 00:04:15 +00:00
markjaquith
d36a6d3d6c Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: http://svn.automattic.com/wordpress/trunk@17523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-21 18:30:56 +00:00
azaozz
78c18602c6 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: http://svn.automattic.com/wordpress/trunk@17522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-17 22:01:40 +00:00
ryan
30462d25ca 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: http://svn.automattic.com/wordpress/trunk@17502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 21:54:05 +00:00
nacin
68322f81b5 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 18:33:55 +00:00
nacin
c6edeffa66 Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 10:12:38 +00:00
nacin
1445d78cf0 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: http://svn.automattic.com/wordpress/trunk@17475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 04:24:20 +00:00
ryan
400dc5312f Don't allow changing the post type. Props nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 18:58:06 +00:00
ryan
65702d0ad1 Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 03:43:47 +00:00
ryan
19afce5e23 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: http://svn.automattic.com/wordpress/trunk@17439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:37:26 +00:00
ryan
f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
ryan
ba47c80ef7 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: http://svn.automattic.com/wordpress/trunk@17431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:26 +00:00
markjaquith
3dabc4a39e Skip authors that no longer exist when doing an export. props nacin. fixes #16479
git-svn-id: http://svn.automattic.com/wordpress/trunk@17415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:58:41 +00:00
markjaquith
dff3130153 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:11:17 +00:00
ryan
687c69d009 Properly encode the post title. Props koopersmith, nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:26:46 +00:00
ryan
5385398e76 Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:00:21 +00:00
nacin
277be4ce51 Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 19:37:38 +00:00
markjaquith
7cb71c46d5 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: http://svn.automattic.com/wordpress/trunk@17356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 04:16:55 +00:00
ryan
862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00