Ticket #16768: media_php4_constructor.patch
| File media_php4_constructor.patch, 509 bytes (added by , 15 years ago) |
|---|
-
media.php
1025 1025 var $linkifunknown = true; 1026 1026 1027 1027 /** 1028 * PHP4 constructor1028 * Constructor 1029 1029 */ 1030 function WP_Embed() {1031 return $this->__construct();1032 }1033 1034 /**1035 * PHP5 constructor1036 */1037 1030 function __construct() { 1038 1031 // Hack to get the [embed] shortcode to run before wpautop() 1039 1032 add_filter( 'the_content', array(&$this, 'run_shortcode'), 8 );