Some PHP files are being served off plugins…

Some PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. files are being served off plugins.svn.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as text/x-php instead of text/plain:

$ curl –head https://plugins.svn.wordpress.org/bbpress/tags/2.0.2/index.php
Content-Type: text/x-php

$ curl –head https://plugins.svn.wordpress.org/1-flash-gallery/tags/1.2.5/addimage.php
Content-Type: text/plain

text/x-php then makes the browser serve it as a download, rather than simply displaying it.

This doesn’t look right at all: https://plugins.trac.wordpress.org/changeset?old_path=%2Fbuddypress%2Ftags%2F1.5.5&old=557590&new_path=%2Fbuddypress%2Ftags%2F1.5.6&new=557590#file24

#svn