mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-27 18:51:27 +01:00
5c9d92b7f8
3 new filters that aim to improve the extensibility of Press This: 1) `press_this_save_post_content` - Applied right after the side_load_images in order to allow potential side loads of other types of media. Example use case: side load non-image media, such as audio or video. 2) `press_this_useful_html_elements` Allows filtering of currently hard coded array of HTML elements allowed in fetch_source_html step for special cases where additional HTML elements need to be kept. Example use case: HTML5 elements, such as amp-img, that someone wants to pull in. 3) `press_this_suggested_content` A filter for the content right before it's passed to the editor and presented to the user. Example use case is when someone stored posts in a different, non-HTML format, such as Markdown, this is essential. Fixes #34455. Props cadeyrn, kraftbj Built from https://develop.svn.wordpress.org/trunk@36672 git-svn-id: http://core.svn.wordpress.org/trunk@36639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
36 lines
629 B
PHP
36 lines
629 B
PHP
<?php
|
|
/**
|
|
* The WordPress version string
|
|
*
|
|
* @global string $wp_version
|
|
*/
|
|
$wp_version = '4.5-alpha-36672';
|
|
|
|
/**
|
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
|
*
|
|
* @global int $wp_db_version
|
|
*/
|
|
$wp_db_version = 36654;
|
|
|
|
/**
|
|
* Holds the TinyMCE version
|
|
*
|
|
* @global string $tinymce_version
|
|
*/
|
|
$tinymce_version = '4304-20160219';
|
|
|
|
/**
|
|
* Holds the required PHP version
|
|
*
|
|
* @global string $required_php_version
|
|
*/
|
|
$required_php_version = '5.2.4';
|
|
|
|
/**
|
|
* Holds the required MySQL version
|
|
*
|
|
* @global string $required_mysql_version
|
|
*/
|
|
$required_mysql_version = '5.0';
|