mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Standardise the type name for booleans and integers.
This brings these docs inline with the documentation standards. Props ravipatel, justinahinon Fixes #51426 git-svn-id: https://develop.svn.wordpress.org/trunk@49120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5574,8 +5574,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param integer $post_ID Post ID.
|
||||
* @param array $enclosure Enclosure data.
|
||||
* @param int $post_ID Post ID.
|
||||
* @param array $enclosure Enclosure data.
|
||||
*/
|
||||
public function add_enclosure_if_new( $post_ID, $enclosure ) {
|
||||
if ( is_array( $enclosure ) && isset( $enclosure['url'] ) && isset( $enclosure['length'] ) && isset( $enclosure['type'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user