WordPress.org

New to Translating WordPress? Read through our Translator Handbook to get started. Hide

Translation of Development Readme (trunk): Shqip (Kosovo)

1 2 3
Filter ↓ Sort ↓ All (32) Untranslated (32)
Prio Original string Translation
A feature plugin for core to provide Application Passwords You have to log in to add a translation. Details

A feature plugin for core to provide Application Passwords

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Short description.
Priority:
high
More links:
Application Passwords You have to log in to add a translation. Details

Application Passwords

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Plugin name.
Priority:
high
More links:
Installation Instructions You have to log in to add a translation. Details

Installation Instructions

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in faq header.
Priority:
normal
More links:
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. You have to log in to add a translation. Details

Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site.

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description paragraph.
Priority:
normal
More links:
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit. You have to log in to add a translation. Details

Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit.

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description paragraph.
Priority:
normal
More links:
Now that you have your new password, you will need to base64 encode it using a terminal window as well as your username to use it with the REST API. The command you will use is as follows: <code>shell echo -n "USERNAME:PASSWORD" | base64</code> Within this, you will replace <em>USERNAME:PASSWORD</em> with your username and newly generated application password. For example: <code>shell echo -n "admin:mypassword123" | base64</code> You have to log in to add a translation. Details

Now that you have your new password, you will need to base64 encode it using a terminal window as well as your username to use it with the REST API. The command you will use is as follows: <code>shell echo -n "USERNAME:PASSWORD" | base64</code> Within this, you will replace <em>USERNAME:PASSWORD</em> with your username and newly generated application password. For example: <code>shell echo -n "admin:mypassword123" | base64</code>

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description paragraph.
Priority:
normal
More links:
This test uses the technologies listed below, but you can use any XML-RPC request. You have to log in to add a translation. Details

This test uses the technologies listed below, but you can use any XML-RPC request.

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description paragraph.
Priority:
normal
More links:
This test uses the technologies listed below, but you can use any REST API request. You have to log in to add a translation. Details

This test uses the technologies listed below, but you can use any REST API request.

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description paragraph.
Priority:
normal
More links:
Local development environment (e.g. MAMP, DesktopServer, Vagrant) running on localhost You have to log in to add a translation. Details

Local development environment (e.g. MAMP, DesktopServer, Vagrant) running on localhost

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
XML-RPC enabled within WordPress You have to log in to add a translation. Details

XML-RPC enabled within WordPress

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
Local development environment (e.g. MAMP, XAMPP, DesktopServer, Vagrant) running on localhost You have to log in to add a translation. Details

Local development environment (e.g. MAMP, XAMPP, DesktopServer, Vagrant) running on localhost

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
A Mac or Linux terminal You have to log in to add a translation. Details

A Mac or Linux terminal

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
Mac OSX or Linux You have to log in to add a translation. Details

Mac OSX or Linux

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
cURL You have to log in to add a translation. Details

cURL

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
Once the <em>Add New</em> button is clicked, your new application password will appear. Be sure to keep this somewhere safe, as it will not be displayed to you again. If you lose this password, it cannot be obtained again. You have to log in to add a translation. Details

Once the <em>Add New</em> button is clicked, your new application password will appear. Be sure to keep this somewhere safe, as it will not be displayed to you again. If you lose this password, it cannot be obtained again.

You have to log in to edit this translation.

or Cancel

Meta

Status:
untranslated
Comment:
Found in description list item.
Priority:
normal
More links:
1 2 3
Legend:
Current
Waiting
Fuzzy
Old
With Warnings

Export as

Skip to toolbar