Make WordPress Core


Ignore:
Timestamp:
05/29/2015 09:16:59 PM (9 years ago)
Author:
wonderboymusic
Message:

Add (more) missing doc blocks to wp-admin/includes/*.

See #32444.

File:
1 edited

Legend:

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

    r32650 r32655  
    186186 *
    187187 * @param mixed $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen,
    188  *  or an existing screen object.
     188 *                         or an existing screen object.
    189189 */
    190190function set_current_screen( $hook_name = '' ) {
     
    388388     *
    389389     * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
    390      *  Defaults to the current $hook_suffix global.
     390     *                                    Defaults to the current $hook_suffix global.
    391391     * @return WP_Screen Screen object.
    392392     */
    393393    public static function get( $hook_name = '' ) {
    394 
    395394        if ( $hook_name instanceof WP_Screen ) {
    396395            return $hook_name;
     
    583582     *
    584583     * @param string $admin The admin to check against (network | user | site).
    585      * If empty any of the three admins will result in true.
    586      * @return boolean True if the screen is in the indicated admin, false otherwise.
    587      *
     584     *                      If empty any of the three admins will result in true.
     585     * @return bool True if the screen is in the indicated admin, false otherwise.
    588586     */
    589587    public function in_admin( $admin = null ) {
Note: See TracChangeset for help on using the changeset viewer.