Make WordPress Core

Changeset 30198


Ignore:
Timestamp:
11/03/2014 05:54:04 AM (9 years ago)
Author:
wonderboymusic
Message:

Fill in the @param types for the args for functions missing them in wp-admin/includes/post.php.

See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r30105 r30198  
    725725 * @since 1.2.0
    726726 *
    727  * @param unknown_type $post_ID
    728  * @return unknown
     727 * @param int $post_ID
     728 * @return int|bool
    729729 */
    730730function add_meta( $post_ID ) {
     
    764764 * @since 1.2.0
    765765 *
    766  * @param unknown_type $mid
    767  * @return unknown
     766 * @param int $mid
     767 * @return bool
    768768 */
    769769function delete_meta( $mid ) {
     
    795795 * @since 2.1.0
    796796 *
    797  * @param unknown_type $mid
    798  * @return unknown
     797 * @param int $mid
     798 * @return object|bool
    799799 */
    800800function get_post_meta_by_id( $mid ) {
     
    809809 * @since 1.2.0
    810810 *
    811  * @param unknown_type $postid
    812  * @return unknown
     811 * @param int $postid
     812 * @return mixed
    813813 */
    814814function has_meta( $postid ) {
     
    825825 * @since 1.2.0
    826826 *
    827  * @param unknown_type $meta_id
    828  * @param unknown_type $meta_key Expect Slashed
    829  * @param unknown_type $meta_value Expect Slashed
    830  * @return unknown
     827 * @param int    $meta_id
     828 * @param string $meta_key Expect Slashed
     829 * @param string $meta_value Expect Slashed
     830 * @return bool
    831831 */
    832832function update_meta( $meta_id, $meta_key, $meta_value ) {
     
    998998 * @since 2.5.0
    999999 *
    1000  * @param unknown_type $type
    1001  * @return unknown
     1000 * @param string $type
     1001 * @return mixed
    10021002 */
    10031003function get_available_post_mime_types($type = 'attachment') {
     
    10721072 * @since 2.5.0
    10731073 *
    1074  * @param unknown_type $id
    1075  * @param unknown_type $page
     1074 * @param string $id
     1075 * @param string $page
    10761076 * @return unknown
    10771077 */
Note: See TracChangeset for help on using the changeset viewer.