Add an entry to the changelog for the wp_editor_expand hook denoting that the $post_type parameter was added in 4.1.0.
See #30458. Built from https://develop.svn.wordpress.org/trunk@30643 git-svn-id: http://core.svn.wordpress.org/trunk@30633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -17,8 +17,9 @@ $_wp_editor_expand = $_content_editor_dfw = false;
|
||||
* Filter whether to enable the 'expand' functionality in the post editor.
|
||||
*
|
||||
* @since 4.0.0
|
||||
* @since 4.1.0 Added the `$post_type` parameter.
|
||||
*
|
||||
* @param bool $expand Whether to enable the 'expand' functionality. Default true.
|
||||
* @param bool $expand Whether to enable the 'expand' functionality. Default true.
|
||||
* @param string $post_type Post type.
|
||||
*/
|
||||
if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() &&
|
||||
|
||||
Reference in New Issue
Block a user