WordPress.org
News
Showcase
Hosting
Extend
Themes
Plugins
Patterns
Blocks
Openverse
↗
︎
Learn
Learn WordPress
Documentation
Forums
Developers
WordPress.tv
↗
︎
Community
Make WordPress
Photo Directory
Five for the Future
Events
Job Board
↗
︎
About
About WordPress
Enterprise
Gutenberg
↗
︎
Get WordPress
Search Trac
Get WordPress
Make WordPress Core
Blog
Handbook
Tickets
Components
Browse Source
Trac Timeline
Create a New Ticket
Search:
Login
Notifications
Context Navigation
Back to Ticket #20170
Ticket #20170
: xmlrpc-parser-error.php
File xmlrpc-parser-error.php,
318 bytes
(added by
tszming
,
13 years ago
)
Line
1
<?php
2
3
require
"class-IXR.php"
;
4
5
$USER
=
'admin'
;
6
$PASS
=
'AB'
;
7
8
$client
=
new
IXR_Client
(
'http://wordpress.com/xmlrpc.php'
);
9
10
if
(
!
$client
->
query
(
'wp.getCategories'
,
''
,
$USER
,
$PASS
))
11
{
12
echo
$client
->
getErrorCode
()
.
":"
.
$client
->
getErrorMessage
();
13
}
14
15
Trac UI Preferences
Download in other formats:
Original Format