WordPress 4.0.1 Security Release
(cherry picked from commit ede7a54071)
This commit is contained in:
parent
c50ab0badf
commit
20bcf22980
4 changed files with 55 additions and 6 deletions
21
wordpress-4.0-systemlibs.patch
Normal file
21
wordpress-4.0-systemlibs.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff -up wordpress/wp-admin/includes/media.php.old wordpress/wp-admin/includes/media.php
|
||||
--- wordpress/wp-admin/includes/media.php.old 2014-09-30 08:54:21.666519693 +0200
|
||||
+++ wordpress/wp-admin/includes/media.php 2014-09-30 08:55:11.247757421 +0200
|
||||
@@ -2907,7 +2907,7 @@ function wp_read_video_metadata( $file )
|
||||
$metadata = array();
|
||||
|
||||
if ( ! class_exists( 'getID3' ) )
|
||||
- require( ABSPATH . WPINC . '/ID3/getid3.php' );
|
||||
+ require( '/usr/share/php/getid3/getid3.php' );
|
||||
$id3 = new getID3();
|
||||
$data = $id3->analyze( $file );
|
||||
|
||||
@@ -2962,7 +2962,7 @@ function wp_read_audio_metadata( $file )
|
||||
$metadata = array();
|
||||
|
||||
if ( ! class_exists( 'getID3' ) )
|
||||
- require( ABSPATH . WPINC . '/ID3/getid3.php' );
|
||||
+ require( '/usr/share/php/getid3/getid3.php' );
|
||||
$id3 = new getID3();
|
||||
$data = $id3->analyze( $file );
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue