mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: In various @return tags, list the expected type first, instead of false or WP_Error.
Follow-up to [46696], [47060], [49926], [49927]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@49929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -938,7 +938,7 @@ function do_enclose( $content, $post ) {
|
||||
*
|
||||
* @param string $url URL to retrieve HTTP headers from.
|
||||
* @param bool $deprecated Not Used.
|
||||
* @return false|string False on failure, headers on success.
|
||||
* @return string|false Headers on success, false on failure.
|
||||
*/
|
||||
function wp_get_http_headers( $url, $deprecated = false ) {
|
||||
if ( ! empty( $deprecated ) ) {
|
||||
@@ -6914,7 +6914,7 @@ function mysql_to_rfc3339( $date_string ) {
|
||||
* 'image', or an arbitrary other context. If an arbitrary context is passed,
|
||||
* the similarly arbitrary {@see '$context_memory_limit'} filter will be
|
||||
* invoked. Default 'admin'.
|
||||
* @return false|int|string The limit that was set or false on failure.
|
||||
* @return int|string|false The limit that was set or false on failure.
|
||||
*/
|
||||
function wp_raise_memory_limit( $context = 'admin' ) {
|
||||
// Exit early if the limit cannot be changed.
|
||||
|
||||
Reference in New Issue
Block a user