Make WordPress Core


Ignore:
Timestamp:
05/30/2023 05:43:27 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous corrections and improvements to docblocks.

See #57840

File:
1 edited

Legend:

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

    r55851 r55870  
    75767576                         * @since 4.6.0 The default now takes the original `memory_limit` into account.
    75777577                         *
    7578                          * @param int|string $filtered_limit Maximum memory limit to allocate for images.
     7578                         * @param int|string $filtered_limit Maximum memory limit to allocate for image processing.
    75797579                         *                                   Default `WP_MAX_MEMORY_LIMIT` or the original
    75807580                         *                                   php.ini `memory_limit`, whichever is higher.
     
    75877587                default:
    75887588                        /**
    7589                          * Filters the memory limit allocated for arbitrary contexts.
     7589                         * Filters the memory limit allocated for an arbitrary context.
    75907590                         *
    75917591                         * The dynamic portion of the hook name, `$context`, refers to an arbitrary
     
    75957595                         * @since 4.6.0
    75967596                         *
    7597                          * @param int|string $filtered_limit Maximum memory limit to allocate for images.
    7598                          *                                   Default '256M' or the original php.ini `memory_limit`,
     7597                         * @param int|string $filtered_limit Maximum memory limit to allocate for this context.
     7598                         *                                   Default WP_MAX_MEMORY_LIMIT` or the original php.ini `memory_limit`,
    75997599                         *                                   whichever is higher. Accepts an integer (bytes), or a
    76007600                         *                                   shorthand string notation, such as '256M'.
Note: See TracChangeset for help on using the changeset viewer.