Commit Graph

23092 Commits

Author SHA1 Message Date
Ryan Boren
acc0aec2b0 Silence is_dir() to avoud warning when upload_tmp_dir is outside open_basedir.
Props dpash
fixes #24704


git-svn-id: http://core.svn.wordpress.org/trunk@24995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 17:39:33 +00:00
Ryan Boren
3a5f483e14 Set RTL body class for iframes.
Props mitchoyoshitaka
see #24149


git-svn-id: http://core.svn.wordpress.org/trunk@24994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 17:35:43 +00:00
Ryan Boren
0e923a5c9d Deprecate get_dashboard_blog().
Remove contextual help for Dashboard Site from the network settings screen.

Props sillybean, ocean90
fixes #24838


git-svn-id: http://core.svn.wordpress.org/trunk@24993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 16:07:46 +00:00
Ryan Boren
dd7a9120df Bestow sentience upon users. Level up their pronoun.
Props johnbillion
fixes #24513


git-svn-id: http://core.svn.wordpress.org/trunk@24992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 16:04:07 +00:00
Andrew Nacin
aa5f2e18be Twenty Fourteen: Missing semicolons. props trishasalas. fixes #24947.
git-svn-id: http://core.svn.wordpress.org/trunk@24991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 09:50:17 +00:00
Andrew Nacin
dec0f1279e Twenty Fourteen: Use correct function prefix. props Jayjdk. fixes #24898.
git-svn-id: http://core.svn.wordpress.org/trunk@24990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 09:45:29 +00:00
Andrew Nacin
809761c430 Twenty fourteen: Fix typo. props jeherve, fixes #24964.
git-svn-id: http://core.svn.wordpress.org/trunk@24989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 09:44:23 +00:00
Dominik Schilling
b7c13e27c2 Remove reference to unused variable. fixes #24965.
git-svn-id: http://core.svn.wordpress.org/trunk@24988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 09:38:24 +00:00
Dominik Schilling
55d3e33a56 Remove unused variable. props jeremyfelt. fixes #24893.
git-svn-id: http://core.svn.wordpress.org/trunk@24987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 09:01:25 +00:00
Andrew Nacin
8ee6d136de Adjust esc_sql()'s @param documentation to reflect that it allows for arrays. props scribu, fixes #22573.
git-svn-id: http://core.svn.wordpress.org/trunk@24986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:11:30 +00:00
Andrew Nacin
8211e6172a Add data types to @param documentation for the _page_rows() method of the posts list table. props c3mdigital, fixes #24872.
git-svn-id: http://core.svn.wordpress.org/trunk@24985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:10:03 +00:00
Andrew Nacin
6bb179d880 Remove redundant sentence in the docblock of get_comment(). props jdgrimes, fixes #24904.
git-svn-id: http://core.svn.wordpress.org/trunk@24984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:08:17 +00:00
Andrew Nacin
08c4061af7 In get_attached_file(), fix the explanation of when the filter is bypassed. props devesine, fixes #24571.
git-svn-id: http://core.svn.wordpress.org/trunk@24983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:07:42 +00:00
Andrew Nacin
33f018ec0c Clean up the documentation for dynamic_sidebar(). props johnbillion, fixes #24720.
git-svn-id: http://core.svn.wordpress.org/trunk@24982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:03:49 +00:00
Andrew Nacin
cf9dad79f1 Adjust menus help text to reflect how a menu item is actually edited. props nullvariable, fixes #24935.
git-svn-id: http://core.svn.wordpress.org/trunk@24981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:02:34 +00:00
Andrew Nacin
a226d1ea5e Change nav menus help text to reflect the proper name of the "Custom Menu" widget. props SergeyBiryukov, fixes #24860.
git-svn-id: http://core.svn.wordpress.org/trunk@24980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:01:53 +00:00
Andrew Nacin
1ecc494434 Change nav menus help text to reflect the proper name of the "Custom Menu" widget. props DrewAPicture, fixes #24860.
git-svn-id: http://core.svn.wordpress.org/trunk@24979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:01:04 +00:00
Andrew Nacin
6a01479ba1 Remove reference to unused global. props jdgrimes. fixes #24807.
git-svn-id: http://core.svn.wordpress.org/trunk@24978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 21:42:48 +00:00
Andrew Nacin
487327cf4e 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: http://core.svn.wordpress.org/trunk@24977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 21:41:51 +00:00
Andrew Nacin
dfb236ee00 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: http://core.svn.wordpress.org/trunk@24976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 21:40:28 +00:00
Andrew Nacin
82c4745df2 Remove unused variable. props jeremyfelt. fixes #24959.
git-svn-id: http://core.svn.wordpress.org/trunk@24975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 21:38:24 +00:00
Mark Jaquith
e553e85ebb Remove $pagenow global from three functions that don’t use it.
Props jeremyfelt. Fixes #24920.

git-svn-id: http://core.svn.wordpress.org/trunk@24974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-02 04:42:08 +00:00
Andrew Nacin
0652398a22 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: http://core.svn.wordpress.org/trunk@24971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 19:47:36 +00:00
Andrew Nacin
46ffa911ad Update Akismet external to 2.5.9. for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 19:41:20 +00:00
Bot (Translations)
ad0a839e73 POT, generated from r24959
git-svn-id: http://core.svn.wordpress.org/trunk@24966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 18:14:18 +00:00
Bot (Translations)
9ac0f4b099 POT, generated from r24959
git-svn-id: http://core.svn.wordpress.org/trunk@24964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 18:14:14 +00:00
Bot (Translations)
9d24ab34f4 POT, generated from r24959
git-svn-id: http://core.svn.wordpress.org/trunk@24962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 18:14:10 +00:00
Bot (Translations)
ab5f0c56bc POT, generated from r24959
git-svn-id: http://core.svn.wordpress.org/trunk@24960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 18:14:06 +00:00
Lance Willett
eddab8187b Bundled themes: bump version numbers.
git-svn-id: http://core.svn.wordpress.org/trunk@24958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 17:52:36 +00:00
Andrew Nacin
6ed7794598 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: http://core.svn.wordpress.org/trunk@24955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 17:06:38 +00:00
Bot (Assets)
58a55d858c Compress scripts/styles: 3.7-alpha-24954.
git-svn-id: http://core.svn.wordpress.org/trunk@24954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 16:59:00 +00:00
Mark Jaquith
e70f497ce0 Make the About video responsive.
fixes #24832 for trunk.

git-svn-id: http://core.svn.wordpress.org/trunk@24952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 16:16:58 +00:00
Andrew Nacin
cb7a7709cb 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: http://core.svn.wordpress.org/trunk@24950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 15:41:11 +00:00
Andrew Nacin
6861353737 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: http://core.svn.wordpress.org/trunk@24948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 14:48:39 +00:00
Andrew Nacin
f66e1e4a69 Update MediaElement.js to 2.13.0 build, which fixes issues WordPress reported. see #24183.
git-svn-id: http://core.svn.wordpress.org/trunk@24946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 13:46:19 +00:00
Andrew Nacin
7d53482cee Use wp_get_mime_types() when calling wp_check_filetype() in the audio and video shortcodes. fixes #24911.
git-svn-id: http://core.svn.wordpress.org/trunk@24944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 13:33:15 +00:00
Andrew Nacin
91c3637bbb Update about page for new screenshot and new video encoding. Remove old screenshots directory. fixes #24832.
git-svn-id: http://core.svn.wordpress.org/trunk@24942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 13:29:29 +00:00
Andrew Nacin
f590791d93 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: http://core.svn.wordpress.org/trunk@24940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 13:15:14 +00:00
Bot (Translations)
1d05ebdd86 POT, generated from r24936
git-svn-id: http://core.svn.wordpress.org/trunk@24938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 21:14:30 +00:00
Bot (Assets)
65483f6356 Compress scripts/styles: 3.7-alpha-24936.
git-svn-id: http://core.svn.wordpress.org/trunk@24936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:59:00 +00:00
Andrew Nacin
1b52a6fb36 Twenty Thirteen: Call has_post_format() with the new array style. props obenland, fixes #24905.
git-svn-id: http://core.svn.wordpress.org/trunk@24934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:42:38 +00:00
Andrew Nacin
bd1d854f10 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: http://core.svn.wordpress.org/trunk@24931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:36:47 +00:00
Mark Jaquith
ab8dbdeb83 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: http://core.svn.wordpress.org/trunk@24929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 19:25:31 +00:00
Bot (Assets)
e3f59ceafa Compress scripts/styles: 3.7-alpha-24927.
git-svn-id: http://core.svn.wordpress.org/trunk@24927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 18:58:58 +00:00
Andrew Nacin
9841710058 Add screenshots and video to about page. props markjaquith. fixes #24832. for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 17:56:24 +00:00
Andrew Nacin
87b02fb372 RTL fix for MediaElement.js video controls. Also filed upstream. fixes #24897. for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 17:50:37 +00:00
Andrew Nacin
c7a35ddee1 Update help text for [24860]. props ocean90. see #24804. for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 15:27:02 +00:00
Bot (Assets)
b95be39fbb Compress scripts/styles: 3.7-alpha-24919.
git-svn-id: http://core.svn.wordpress.org/trunk@24919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 06:59:00 +00:00
Andrew Nacin
21a1fe8d4b Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true.
fixes #24646.



git-svn-id: http://core.svn.wordpress.org/trunk@24917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 06:52:13 +00:00
Andrew Nacin
1ec392175c 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: http://core.svn.wordpress.org/trunk@24915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 06:44:57 +00:00