Commit Graph

22872 Commits

Author SHA1 Message Date
Andrew Nacin 1994738377 Twenty Thirteen: Call has_post_format() with the new array style. props obenland, fixes #24905. Merges [24934] to 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:43:19 +00:00
Andrew Nacin 1f0755d0eb Allow has_post_format() to accept an array of formats to check. props ericmann. fixes #17320.
Merges [24817] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:40:46 +00:00
Andrew Nacin 9a3800274e When rendering an audio or video shortcode in IE 6-8, call document.createElement() as a poor man's HTML5 shiv. see #24902.
Merges [24931] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:39:12 +00:00
Mark Jaquith eca46e6a00 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 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 19:26:47 +00:00
Bot (Assets) 7003e0fc8d Compress scripts/styles: 3.6-RC2-24928.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 19:07:10 +00:00
Andrew Nacin 54c7d280b2 Add screenshots and video to about page. props markjaquith. fixes #24832.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 17:55:42 +00:00
Andrew Nacin bd8f0d1e18 RTL fix for MediaElement.js video controls. Also filed upstream. fixes #24897.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 17:48:29 +00:00
Andrew Nacin bd60a7c1ac Update help text for [24860]. props ocean90. see #24804. for 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 14:31:54 +00:00
Bot (Assets) 726ef3555e Compress scripts/styles: 3.6-RC2-24920.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 07:11:17 +00:00
Andrew Nacin c1947f2d81 Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true.
Merges [24917] to the 3.6 branch.
fixes #24646.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 06:53:06 +00:00
Andrew Nacin 39c197dfdd Additional checks when evaluating the safety of an HTTP request, to avoid false negatives.
Merges [24915] to the 3.6 branch.
fixes #24646.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 06:46:02 +00:00
Andrew Nacin ac2cec1b99 Copy about.php string to freedoms and credits. Update CSS for 3.6 credits. see #24832.
Merges [24913] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 06:05:34 +00:00
Andrew Nacin a8b6a2a35c New build of MediaElement.js SWF. see #24183. For the 3.6 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 04:39:07 +00:00
Andrew Nacin 87a88757ab 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.
Merges [24908] to the 3.6 branch.

props azaozz.
fixes #24894.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 03:25:18 +00:00
Mark Jaquith f4e43052a1 Set post locked info height to auto so it doesn't overlap action links.
Fixes #24553 for 3.6. Props azaozz.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 03:10:05 +00:00
Michael Adams 5715986173 Improved XML handling for oEmbed.
Merges [24902] to branches/3.6


git-svn-id: http://core.svn.wordpress.org/branches/3.6@24903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 22:00:21 +00:00
Andrew Nacin 89198cfcf1 About page: Fix jQuery version # and decouple this from the string, as we had done in WP 3.3. see #24832.
Merges [24900] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 20:27:35 +00:00
Andrew Nacin c599795e18 Merge [24898] to the 3.6 branch. Overwrites [24897]. see #24832.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 19:41:56 +00:00
Andrew Nacin eaeb6ed623 Final about page string. see #24832.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 19:28:49 +00:00
Andrew Nacin 9ccf63b7d9 Introduce wp_safe_remote_request(). Also wp_safe_remote_head(), wp_safe_remote_get(), wp_safe_remote_post().
Reverts [24482].

Merges [24894] and [24895] to the 3.6 branch.

see #24646.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 18:41:03 +00:00
Andrew Nacin 117e705ca5 Make remaining about strings translatable. Final tweaks to strings and ordering of "Under the Hood". see #24832.
Merges [24892] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 15:34:57 +00:00
Bot (Assets) b8e9337e17 Compress scripts/styles: 3.6-RC2-24891.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 11:19:55 +00:00
Mark Jaquith 28bc408902 Improve the 3.6 about page "Under the Hood" copy.
Props markjaquith, aaroncampbell. See #24832 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-30 06:34:38 +00:00
Andrew Nacin 09c7a9b4e2 Add missing gettext. This is not a new string; it already exists a few lines up. props alex-ye, fixes #24880.
Merges [24885] to 3.6.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 19:52:00 +00:00
Aaron Campbell 5db18835ac Make the `show_post_locked_dialog` filter hide both the post locked and post taken over dialogs
props azaozz, DH-Shredder. Fixes #24830 for 3.6.


git-svn-id: http://core.svn.wordpress.org/branches/3.6@24886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 19:48:46 +00:00
Andrew Nacin 8968466a8f New build of SWFUpload that ignores URL query strings. Merges [24880] to 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 19:15:42 +00:00
Mark Jaquith e27f0200dc Delete old autosave if new autosave has same content as the post.
Props nacin. Fixes #7392 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 19:06:10 +00:00
Jon Cave 8882efb65a Fix potential SQLi through improper use of API functions. For 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 18:18:58 +00:00
Aaron Campbell 97865924f3 Fixes JavaScript error caused by [24828] which was an improper port of [24827]
See #24829


git-svn-id: http://core.svn.wordpress.org/branches/3.6@24874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 18:15:42 +00:00
Andrew Nacin 50e982066b Reset $wpdb->insert_id on a failed INSERT or REPLACE. See [24459] [24494].
Merges [24872] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 18:15:31 +00:00
Andrew Nacin fa7a32a078 Limit pingback response size. fixes #4137.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 17:59:31 +00:00
Andrew Nacin a6db358996 Unique load array in load-scripts and load-styles. Merges [24868] to 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 17:57:31 +00:00
Andrew Nacin e58cf9fc12 Fix pass by reference issue. see #24873.
Merges [24865] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 17:53:58 +00:00
Mark Jaquith 405868ad1b Revisions: Fix PHP loading of comparison to first revision, and premature rendering of tooltip.
Props aaroncampbell, markjaquith. Fixes #24873 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 17:27:48 +00:00
Bot (Assets) 30a741fda8 Compress scripts/styles: 3.6-RC2-24863.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 14:27:40 +00:00
Andrew Nacin e072fdd0d2 Update MediaElement.js SWF file from upstream. Fixes issues with controls. fixes #24183.
Merges [24861] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 09:17:37 +00:00
Andrew Nacin 63dc4f045b Change 'Change two revisions' to 'Compare any two revisions' for clarity. props siobhan. see #24804.
Merges [24859] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 06:57:17 +00:00
Andrew Nacin 8d99b69aa6 Update HTML classes in the audio and video shortcodes. props rfair404. fixes #24820.
Merges [24857] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 06:52:15 +00:00
Andrew Nacin 358469acb8 Remove unnecessary cap checks from [24854]. You need these capabilities (or equivalent) to access the screens for these feature pointers. see #24832.
Merges [24855] to the 3.6 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.6@24856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 06:44:52 +00:00
Mark Jaquith 181a58856b Tooltips for 3.6 features: Revisions, Post Locking.
Props siobhan. See #24832 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 06:19:05 +00:00
Mark Jaquith fccefa2cb9 Avoid racing TinyMCE, which avoids the creation of unnecessary autosaves. props azaozz. see #7392, for 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 06:12:03 +00:00
Mark Jaquith 70179e54f7 Fix wrong use of `esc_html_e()`.
Props ocean90. Fixes #24854 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 01:06:31 +00:00
Mark Jaquith 9746ffb294 Fix a variable typo in `get_post_gallery_images()`.
props rodrigosprimo. Fixes #24202 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 00:54:44 +00:00
Mark Jaquith 19a830ecca Rename the new 'left'/'right' flags on the `_wp_post_revision_field_$field` filter to 'from'/'to'.
Fixes #24848 for 3.6.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 23:28:25 +00:00
Aaron Campbell 9e0dbb3933 Disable ability to restore a revision if another user has the post lock
props adamsilverstein. Fixes #24829 for 3.6.


git-svn-id: http://core.svn.wordpress.org/branches/3.6@24828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 21:55:04 +00:00
Mark Jaquith ea7420867a Remove our revisions easter egg, as it doesn't have a place in our new UI.
There will be opportunities for other easter eggs. This one has had its decade.

Fixes #24852 for 3.6. Props noahsilverstein.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:56:20 +00:00
Andrew Ozz 4fdc7d3f03 Add "experimental" to heartbeat phpdoc, fixes #24855 for 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:55:53 +00:00
Mark Jaquith b6aa366ec2 Revisions: Combine our tooltip and from/to templates into one generic template
We had three copies of essentially the same template. Now just one, with minor logic inside.

Also fixes a bug where tooltip.revision was being initially set to a diff instead of a revision.

For 3.6. See #24804.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:22:17 +00:00
Mark Jaquith 11645a544a Fix the positioning of the post lock icon/layout in RTL mode.
Fixes #24850 for 3.6. Props ocean90, rasheed.

git-svn-id: http://core.svn.wordpress.org/branches/3.6@24811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:08:01 +00:00
Andrew Nacin 810e1bcc10 Branch 3.6.
git-svn-id: http://core.svn.wordpress.org/branches/3.6@24805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 18:48:10 +00:00