Andrew Ozz
db90ff5bc9
Add 2x icons for the list/excerpt switch on the Posts screen, props empireoflight, see #21019
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21246 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 06:53:43 +00:00
Andrew Ozz
5372c1bcae
TinyMCE icons sprite with tweaked positions, props lessbloat, see #21019
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21245 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 06:11:30 +00:00
Mark Jaquith
fb1bc4691f
Increase the height of the widget drag/drop placeholder by one pixel so it matches the size of the dragged widget. props alexvorn2. props SergeyBiryukov. fixes #21054
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21244 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:21:59 +00:00
Mark Jaquith
4c7b196b6d
Remove an errant 1 pixel border below the header image in Twenty Eleven. props alexvorn2. props SergeyBiryukov. fixes #21057
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21243 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:13:50 +00:00
Mark Jaquith
ea8be18c39
Collapse an i18n context to make it more accurate and to make for one less string to translate. props pavelevap. fixes #21137
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21242 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:08:43 +00:00
Mark Jaquith
ebcf49cf93
Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21241 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:03:53 +00:00
Mark Jaquith
4423cd9a67
Hide UI for Attachment taxonomies if show_ui is false for that taxonomy. props simonwheatley. fixes #21104
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21240 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 04:56:50 +00:00
Mark Jaquith
68ff684271
Supply the missing @return doc for get_the_content_feed(). props c3mdigital. fixes #21148
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21239 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 04:51:00 +00:00
Mark Jaquith
fb23c2d9f4
Use a CDATA section for RSS2 comments feeds, so HTML in comments doesn't kill XML validation. props bazza. fixes #16466
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21238 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 04:25:57 +00:00
Mark Jaquith
0290c34cee
Do not block XML-RPC uploads when upload_space_check_disabled is true, regardless of fileupload_maxk value. props SergeyBiryukov. fixes #16217
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21237 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 03:49:23 +00:00
Mark Jaquith
fb97d0a0d9
Do not display an error message when a plugin or theme being updated is found to already be up to date. Note the fact, and call it success. props solarissmoke. fixes #19752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21236 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 03:40:32 +00:00
Mark Jaquith
d3039fdd15
Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21235 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 03:33:01 +00:00
Mark Jaquith
6ef0b4c765
Insert a proper line break (instead of an HTML line break) into the "first comment". props nacin. fixes #16712
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21234 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 03:19:02 +00:00
bumpbot
12f878c0ec
Compress scripts/styles: 3.5-alpha-21233. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21233 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-08 22:58:20 +00:00
Andrew Ozz
23cbfec581
TinyMCE: don't throw fatal errors for malformed/invalid image caption shortcodes, props SergeyBiryukov, see #21145
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21232 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-08 21:11:23 +00:00
Dion Hulse
fc9df89100
WP_HTTP: Add a @link to the Chunked Decode RFC for documentation of how to decode the data correctly. Props mailnew2ster. Fixes #14184
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21231 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-08 05:34:47 +00:00
Dion Hulse
77c54f2481
WP_HTTP: Remove a empty() check that would never be empty due to the format of HTTP Headers, value would always contain at least a space followed by the value. See #14184
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21230 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-08 05:16:26 +00:00
bumpbot
420c84a793
Compress scripts/styles: 3.5-alpha-21229. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21229 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 16:58:20 +00:00
Andrew Ozz
35d883e244
Update TinyMCE to 3.5.4.1, fixes #21173
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21228 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 16:22:53 +00:00
Dion Hulse
28d82c9b04
WP_HTTP: Allow for cookies with "empty" values be sent, this affects sending cookies such as test=0, which would previously fail. Props mailnew2ster for initial patch. See #14184
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21227 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 12:06:09 +00:00
Dion Hulse
ceec50af94
WP_HTTP: Respect that some cookies do not have an expiration time, this is a valid use-case that WP_HTTP_Cookie::test() should not discard, a non-existant expiration date simply means to let it expire at the end of the session. Props mailnew2ster. Fixes #14191
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21226 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 04:23:49 +00:00
Dion Hulse
f2bd679b96
WP_HTTP: Add a filter to WP_HTTP_Proxy::send_through_proxy() to allow for plugins to modify which requests are sent to a proxy dynamically. Fixes #20222
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21225 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 02:27:13 +00:00
Dion Hulse
21aefa4e4f
Make get_home_path() work in more cases by being case insensitive and sanitzing Windows paths. In some cases (such as differing case of hostnames or paths in the site/home options, or when SCRIPT_FILENAME contains forward slashes) the function was failing to return the correct path, and would instead return /. Props to SergeyBiryukov for the initial patch. Fixes #20449 Fixes #10447
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21224 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-06 13:54:15 +00:00
Dion Hulse
b47a1a46e5
WP_Filesystem: Return symlinked directory names correctly, previously the FTP extensions would return it as 'source -> dest' instead of simply 'source'. Props kurtpayne. Fixes #17846
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21223 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-06 11:39:39 +00:00
Dion Hulse
641b92e43d
WP_Filesystem: When recursivly searching for a directory path, only search for unfound directory entries. This solves a case where the same directory may be entered twice inadvertantly when nested directories using the same name exist. Fixes #20652
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21222 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-06 11:19:46 +00:00
Dion Hulse
a30fde5be4
WP_Filesystem: Correct a rare case where the FTP directory will be detected incorrectly when the final path token exists higher in the chain, for example /x/x/Z/x/Z/ would be detected as /x/x/Z/. Fixes #20934
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21221 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-06 10:41:32 +00:00
bumpbot
0d795fe1d1
Compress scripts/styles: 3.5-alpha-21220.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21220 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 20:58:21 +00:00
Mark Jaquith
5ab7fcea5e
Better image extension regexes, so we don't just grab the "jpe" from "jpeg" files in media_sideload_image(). props sivel. fixes #16693
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21219 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 20:51:55 +00:00
Andrew Ozz
757652fe01
Clarify that 'html' refers to the Text editor tab, see #20993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21218 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 20:28:01 +00:00
Mark Jaquith
13c2591ec0
Also switch back the @uses annotation for [21215]. props duck_. see #20484 . see #16639
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21217 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 20:09:28 +00:00
Mark Jaquith
643be5f649
Periods at the ends of sentences should be in the translated string, not outside it. Fixes an instance of that on the Tags page. props Nao. fixes #21131
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21216 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 20:06:19 +00:00
Mark Jaquith
8d0e99aaba
Implement the IIS logic test that #16639 should have gotten back in the day, before it was disabled altogether. IIS canonical redirects now only supported for pretty permalink–supporting IIS7 installs. props nacin. fixes #20484 . see #16639
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21215 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 19:59:35 +00:00
Mark Jaquith
7d1a3effe2
Increase the z-index of widgets so they don't appear behind menu portions while dragging. props jkudish. fixes #20300
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21214 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 19:24:57 +00:00
Andrew Nacin
d1270f0d77
Allow wp_update_post() to accept the same second argument as wp_insert_post(), allowing for WP_Error return values on failure. props scribu, mikeschinkel. fixes #15036 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21213 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 19:21:57 +00:00
Mark Jaquith
5d74a50af4
Switch "HTML" tab to "Text" in DFW mode. Update documentation and inline comments to refer to the "Text" tab or mode instead of "HTML". see #20993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21212 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 15:28:13 +00:00
Mark Jaquith
40da33e326
Rename the "HTML" editor tab to "Text" (as it has never been a pure HTML editor, but a text editor that supports HTML and also does some HTML transformations automatically). fixes #20993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21211 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 15:19:01 +00:00
bumpbot
34ec1a7c61
Compress scripts/styles: 3.5-alpha-21210.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21210 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 14:58:19 +00:00
Mark Jaquith
1f25a79a65
Uncheck the "select all" checkbox when one of the child checkboxes is manually unchecked. props SergeyBiryukov. fixes #20261
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21209 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 14:08:20 +00:00
Mark Jaquith
e7d8706111
Allow home page of multisite (subdir install) sites to resolve regardless of capitalization, as they already do for URLs other than the home page. props SergeyBiryukov. fixes #16200
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21208 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 13:50:24 +00:00
Mark Jaquith
b9ddde32f8
Reënable canonical redirects for IIS. Let's work out any remaining bugs in this cycle. fixes #20484 . reverts [17492]. see #16639
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21207 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 13:23:39 +00:00
bumpbot
9ec3e4e928
Compress scripts/styles: 3.5-alpha-21206.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21206 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-04 06:58:20 +00:00
Mark Jaquith
20813bcbe2
Change a jQuery selector to work around a change in jQuery 1.7.2 related to some class names containing colons. props SergeyBiryukov. fixes #21106 for trunk. see #21152
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21205 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-04 05:58:28 +00:00
Andrew Nacin
6ef3ff3062
Remove charset attribute from script elements. props neoxx, fixes #21146 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21204 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-03 13:27:14 +00:00
Andrew Nacin
260e9ec7ab
require_once dashboard.php in wp_ajax_dashboard_widgets() so it is testable. props kurtpayne. fixes #UT41.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21203 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 15:07:39 +00:00
Andrew Nacin
178c404146
Eliminate $user_pass_md5. fixes #21125 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21202 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 15:04:06 +00:00
Andrew Nacin
ccba2c1f57
Remove more code not specific to updating core from core_upgrade_preamble(). fixes #21124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21201 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 12:58:03 +00:00
Andrew Nacin
c5d586e5bf
Un-indent after [21198]. see #19824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21200 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 12:55:09 +00:00
Andrew Nacin
493a3874dd
Allow the 'WordPress Updates' page to be accessible even if you cannot update core, as long as you can update plugins or themes. fixes #21124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21199 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 12:54:05 +00:00
Andrew Nacin
4a23ebe03d
Enforce multisite plugins menu preference in map_meta_cap(). This means a simple current_user_can('activate_plugins') check will handle the 'Enable administration menus' setting.
...
Remove bogus checks for enabling/disabling the 'themes' menu (something core does not handle out of the box) when in the network admin.
fixes #21123 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21198 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 12:40:25 +00:00
Andrew Nacin
36a8b05233
Cap checks for links in the upgrader, for plugins. fixes #19824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21197 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-30 12:19:13 +00:00