Commit Graph

23130 Commits

Author SHA1 Message Date
Andrew Nacin
1174ee5b3e Remove reference to unused global. props jdgrimes. fixes #24807.
git-svn-id: https://develop.svn.wordpress.org/trunk@24978 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-05 21:42:48 +00:00
Andrew Nacin
146c230132 Pass $update = true to the save_post and wp_insert_post hooks in wp_publish_post().
see #21450, [24823].

props wpsmith.
fixes #24957.


git-svn-id: https://develop.svn.wordpress.org/trunk@24977 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-05 21:41:51 +00:00
Andrew Nacin
5b6261954b Don't return false from search_theme_directories() when a single directory is not readable.
Issue a notice.

props csixty4.
fixes #24639.



git-svn-id: https://develop.svn.wordpress.org/trunk@24976 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-05 21:40:28 +00:00
Andrew Nacin
04e6b828d4 Remove unused variable. props jeremyfelt. fixes #24959.
git-svn-id: https://develop.svn.wordpress.org/trunk@24975 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-05 21:38:24 +00:00
Mark Jaquith
271e9b40a4 Remove $pagenow global from three functions that don’t use it.
Props jeremyfelt. Fixes #24920.

git-svn-id: https://develop.svn.wordpress.org/trunk@24974 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-02 04:42:08 +00:00
Andrew Nacin
2a2a356b47 Remove ultimately unnecessary visibility keyword from a WP_Locale method because this file is included when we bail for PHP 4. props ocean90. fixes #24915. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24971 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 19:47:36 +00:00
Andrew Nacin
1995c79e13 Update Akismet external to 2.5.9. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24969 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 19:41:20 +00:00
potbot
99167f5cf4 POT, generated from r24959
git-svn-id: https://develop.svn.wordpress.org/trunk@24966 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 18:14:18 +00:00
potbot
74da915d77 POT, generated from r24959
git-svn-id: https://develop.svn.wordpress.org/trunk@24964 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 18:14:14 +00:00
potbot
6f7af7c421 POT, generated from r24959
git-svn-id: https://develop.svn.wordpress.org/trunk@24962 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 18:14:10 +00:00
potbot
f768dc18c1 POT, generated from r24959
git-svn-id: https://develop.svn.wordpress.org/trunk@24960 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 18:14:06 +00:00
Lance Willett
b2a35247fa Bundled themes: bump version numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@24958 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 17:52:36 +00:00
Andrew Nacin
ac43cf6aba Restore the revisions meta box for 3.6. Hidden by default as before. Can be useful for a few lingering use cases. see #24804.
git-svn-id: https://develop.svn.wordpress.org/trunk@24955 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 17:06:38 +00:00
bumpbot
fc56eaff50 Compress scripts/styles: 3.7-alpha-24954.
git-svn-id: https://develop.svn.wordpress.org/trunk@24954 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 16:59:00 +00:00
Mark Jaquith
c0214aa7cb Make the About video responsive.
fixes #24832 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24952 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 16:16:58 +00:00
Andrew Nacin
bad74bd045 On the about page, only serve Opera mp4. Pre-Chromium Opera and MediaElement.js doesn't load ogv (video/ogg). see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24950 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 15:41:11 +00:00
Andrew Nacin
ada99c68f8 Set audio player to width: 100% and avoid breaking the layout in iOS when we fall back to a link.
props markjaquith, davidjlaietta.
fixes #24896.



git-svn-id: https://develop.svn.wordpress.org/trunk@24948 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 14:48:39 +00:00
Andrew Nacin
86708be8a6 Update MediaElement.js to 2.13.0 build, which fixes issues WordPress reported. see #24183.
git-svn-id: https://develop.svn.wordpress.org/trunk@24946 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 13:46:19 +00:00
Andrew Nacin
eedc483e37 Use wp_get_mime_types() when calling wp_check_filetype() in the audio and video shortcodes. fixes #24911.
git-svn-id: https://develop.svn.wordpress.org/trunk@24944 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 13:33:15 +00:00
Andrew Nacin
40477d88a4 Update about page for new screenshot and new video encoding. Remove old screenshots directory. fixes #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24942 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 13:29:29 +00:00
Andrew Nacin
3db89c648e Pass pluginPath to MediaElement.js, fixing playback when ME.js is served through load-scripts.php.
props ocean90, wonderboymusic, azaozz.
fixes #24902.



git-svn-id: https://develop.svn.wordpress.org/trunk@24940 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-01 13:15:14 +00:00
potbot
1d77948ae0 POT, generated from r24936
git-svn-id: https://develop.svn.wordpress.org/trunk@24938 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 21:14:30 +00:00
bumpbot
da11128f06 Compress scripts/styles: 3.7-alpha-24936.
git-svn-id: https://develop.svn.wordpress.org/trunk@24936 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 20:59:00 +00:00
Andrew Nacin
6270683b3c Twenty Thirteen: Call has_post_format() with the new array style. props obenland, fixes #24905.
git-svn-id: https://develop.svn.wordpress.org/trunk@24934 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 20:42:38 +00:00
Andrew Nacin
a5bdd9439c When rendering an audio or video shortcode in IE 6-8, call document.createElement() as a poor man's HTML5 shiv. see #24902.
git-svn-id: https://develop.svn.wordpress.org/trunk@24931 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 20:36:47 +00:00
Mark Jaquith
301258c30b Revisions: set the table layout to fixed and word-wrap to break-word so long lines don't cause issues.
Props azaozz. Fixes #24901 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24929 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 19:25:31 +00:00
bumpbot
71fe031bc3 Compress scripts/styles: 3.7-alpha-24927.
git-svn-id: https://develop.svn.wordpress.org/trunk@24927 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 18:58:58 +00:00
Andrew Nacin
61e90c400f Add screenshots and video to about page. props markjaquith. fixes #24832. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24926 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 17:56:24 +00:00
Andrew Nacin
26548bb1c5 RTL fix for MediaElement.js video controls. Also filed upstream. fixes #24897. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24924 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 17:50:37 +00:00
Andrew Nacin
5b101da0b1 Update help text for [24860]. props ocean90. see #24804. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24922 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 15:27:02 +00:00
bumpbot
86edc66c26 Compress scripts/styles: 3.7-alpha-24919.
git-svn-id: https://develop.svn.wordpress.org/trunk@24919 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:59:00 +00:00
Andrew Nacin
9d5bd5f7eb Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true.
fixes #24646.



git-svn-id: https://develop.svn.wordpress.org/trunk@24917 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:52:13 +00:00
Andrew Nacin
6894354b9b Additional checks when evaluating the safety of an HTTP request, to avoid false negatives.
* Check if the host is considered a safe redirect host.
 * Check if the host is another domain in a multisite installation.
 * Add a filter to control this.

This only occurs when the DNS resolution of a domain points elsewhere in an internal network, but only internally (and has its own public IP outside the network). This could be considered a bad configuration.

fixes #24646.



git-svn-id: https://develop.svn.wordpress.org/trunk@24915 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:44:57 +00:00
Andrew Nacin
35357d6ec7 Copy about.php string to freedoms and credits. Update CSS for 3.6 credits. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24913 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:04:41 +00:00
bumpbot
abf081b02a Compress scripts/styles: 3.7-alpha-24912.
git-svn-id: https://develop.svn.wordpress.org/trunk@24912 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 04:58:59 +00:00
Andrew Nacin
911b0b4fb7 New build of MediaElement.js SWF. see #24183.
git-svn-id: https://develop.svn.wordpress.org/trunk@24910 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 04:38:34 +00:00
Andrew Nacin
61405b9934 Heartbeat: Reduce the heartbeat from 120 sec to 100 sec when the window doesn't have the focus, to be shorter than the post lock expiration window.
props azaozz.
fixes #24894.



git-svn-id: https://develop.svn.wordpress.org/trunk@24908 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 03:23:22 +00:00
Mark Jaquith
0a739e4ae0 Set post locked info height to auto so it doesn't overlap action links.
Fixes #24553 for trunk. Props azaozz.

git-svn-id: https://develop.svn.wordpress.org/trunk@24906 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 03:10:00 +00:00
potbot
f7f6aa3685 POT, generated from r24904
git-svn-id: https://develop.svn.wordpress.org/trunk@24905 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 23:14:01 +00:00
Lance Willett
e0135dd36b Twenty Thirteen: combine two similar Nothing Found strings. Fixes #24891.
git-svn-id: https://develop.svn.wordpress.org/trunk@24904 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 22:24:53 +00:00
Michael Adams (mdawaffe)
755d98f7dc Improved XML handling for oEmbed.
git-svn-id: https://develop.svn.wordpress.org/trunk@24902 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 21:57:27 +00:00
Andrew Nacin
2f9c67878e About page: Fix jQuery version # and decouple this from the string, as we had done in WP 3.3. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24900 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 20:26:32 +00:00
Andrew Nacin
43014887c6 Final final about string fixes. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24898 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 19:40:35 +00:00
Andrew Nacin
dbe4197dd3 Add missing documentation from [24894]. see #24646.
git-svn-id: https://develop.svn.wordpress.org/trunk@24895 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 18:39:57 +00:00
Andrew Nacin
84255b0e03 Introduce wp_safe_remote_request(). Also wp_safe_remote_head(), wp_safe_remote_get(), wp_safe_remote_post().
Reverts [24482].

see #24646.



git-svn-id: https://develop.svn.wordpress.org/trunk@24894 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 15:37:01 +00:00
Andrew Nacin
3be1012e8a Make remaining about strings translatable. Final tweaks to strings and ordering of "Under the Hood". see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24892 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 15:31:18 +00:00
Dion Hulse
6ceefc0e26 WP_HTTP: PHPDoc updates for WP_Http::handle_redirects(). Props DrewAPicture. Fixes #16889
git-svn-id: https://develop.svn.wordpress.org/trunk@24890 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 06:47:03 +00:00
Mark Jaquith
4d1eb934b4 Improve the 3.6 about page "Under the Hood" copy.
Props markjaquith, aaroncampbell. See #24832 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24888 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 06:34:24 +00:00
Andrew Nacin
cafccbea91 Add missing gettext. This is not a new string; it already exists a few lines up. props alex-ye, fixes #24880.
git-svn-id: https://develop.svn.wordpress.org/trunk@24885 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:48:41 +00:00
Andrew Nacin
b725127d21 Rename post_lock_text hook to post_locked_dialog, and lock_taken_over_dialog to post_lock_lost_dialog. fixes #24830 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24884 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:40:13 +00:00