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. git-svn-id: https://develop.svn.wordpress.org/trunk@30643 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7d95a91c5b
commit
c52dc42879
|
@ -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() &&
|
||||
|
|
Loading…
Reference in New Issue