Changes between Initial Version and Version 1 of Ticket #41999
- Timestamp:
- 09/27/2017 08:25:20 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41999
- Property Keywords close added
-
Property
Type
changed from
defect (bug)
toenhancement
-
Ticket #41999 – Description
initial v1 8 8 Other WP include and plugin files that contain direct code (rather than only function/class definitions), have a catch for this: 9 9 10 {{{ 10 11 if ( ! defined( 'ABSPATH' ) ) { 11 12 exit; // Exit if accessed directly. 12 13 } 14 }}} 13 15 14 16 I suggest this gets added to the top of the /wp-includes/theme-compat/embed.php file.