Skip to content

Commit c828ba1

Browse files
Docs: Document the $xmlrpc_logging global in logIO().
Follow-up to [1348], [19935]. Props viralsampat, upadalavipul, sabernhardt. See #60021. git-svn-id: https://develop.svn.wordpress.org/trunk@57752 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d1fafd8 commit c828ba1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/xmlrpc.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,13 @@
9191
/**
9292
* logIO() - Writes logging info to a file.
9393
*
94+
* @since 1.2.0
9495
* @deprecated 3.4.0 Use error_log()
9596
* @see error_log()
9697
*
97-
* @param string $io Whether input or output
98+
* @global int|bool $xmlrpc_logging Whether to enable XML-RPC logging.
99+
*
100+
* @param string $io Whether input or output.
98101
* @param string $msg Information describing logging reason.
99102
*/
100103
function logIO( $io, $msg ) {

0 commit comments

Comments
 (0)