Remove unused migration plugin
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
Binary file not shown.
@@ -1,298 +0,0 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Velvet Blues Update URLs 3.2\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-09-27 09:14-0600\n"
|
||||
"PO-Revision-Date: 2013-09-27 09:16-0600\n"
|
||||
"Last-Translator: Velvet Blues <info@velvetblues.com>\n"
|
||||
"Language-Team: VelvetBlues.com <info@velvetblues.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-Language: English\n"
|
||||
"X-Poedit-Country: UNITED STATES\n"
|
||||
"X-Poedit-SourceCharset: utf-8\n"
|
||||
"X-Poedit-SearchPath-0: C:\\Documents and Settings\\Shirley Patterson\\Desktop\\Projects\\Repository\\velvet-blues-update-urls\\tags\\3.2\n"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:46
|
||||
msgid "Content Items (Posts, Pages, Custom Post Types, Revisions)"
|
||||
msgstr ""
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:47
|
||||
msgid "Excerpts"
|
||||
msgstr "Excerpts"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:48
|
||||
msgid "Attachments"
|
||||
msgstr "Attachments"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:49
|
||||
msgid "Links"
|
||||
msgstr "Links"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:50
|
||||
msgid "Custom Fields"
|
||||
msgstr "Custom Fields"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:51
|
||||
msgid "GUIDs"
|
||||
msgstr "GUIDs"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:69
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:81
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:122
|
||||
msgid "ERROR"
|
||||
msgstr "ERROR"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:69
|
||||
msgid "Please try again."
|
||||
msgstr "Please try again."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:81
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:107
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:122
|
||||
msgid "Your URLs have not been updated."
|
||||
msgstr "Your URLs have not been updated."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:81
|
||||
msgid "Please select at least one checkbox."
|
||||
msgstr "Please select at least one checkbox."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:97
|
||||
msgid "Why do the results show 0 URLs updated?"
|
||||
msgstr "Why do the results show 0 URLs updated?"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:97
|
||||
msgid "This happens if a URL is incorrect OR if it is not found in the content. Check your URLs and try again."
|
||||
msgstr "This happens if a URL is incorrect OR if it is not found in the content. Check your URLs and try again."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:97
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:152
|
||||
msgid "Want us to do it for you?"
|
||||
msgstr "Want us to do it for you?"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:97
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:152
|
||||
msgid "Contact us at"
|
||||
msgstr "Contact us at"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:97
|
||||
msgid "We will backup your website and move it for $65 OR simply update your URLs for only $29."
|
||||
msgstr "We will backup your website and move it for $65 OR simply update your URLs for only $29."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:107
|
||||
msgid "ERROR: Something may have gone wrong."
|
||||
msgstr "ERROR: Something may have gone wrong."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:111
|
||||
msgid "Success! Your URLs have been updated."
|
||||
msgstr "Success! Your URLs have been updated."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:115
|
||||
msgid "Results"
|
||||
msgstr "Results"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:118
|
||||
#, php-format
|
||||
msgid "If you found our plugin useful, %s please consider donating"
|
||||
msgstr "If you found our plugin useful, %s please consider donating"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:118
|
||||
msgid "The safer, easier way to pay online!"
|
||||
msgstr "The safer, easier way to pay online!"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:122
|
||||
msgid "Please enter values for both the old url and the new url."
|
||||
msgstr "Please enter values for both the old url and the new url."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:130
|
||||
#, php-format
|
||||
msgid "After moving a website, %s lets you fix old URLs in content, excerpts, links, and custom fields."
|
||||
msgstr "After moving a website, %s lets you fix old URLs in content, excerpts, links, and custom fields."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:130
|
||||
msgid "WE RECOMMEND THAT YOU BACKUP YOUR WEBSITE."
|
||||
msgstr "WE RECOMMEND THAT YOU BACKUP YOUR WEBSITE."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:130
|
||||
msgid "You may need to restore it if incorrect URLs are entered in the fields below."
|
||||
msgstr "You may need to restore it if incorrect URLs are entered in the fields below."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:131
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:141
|
||||
msgid "Step"
|
||||
msgstr "Step"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:131
|
||||
msgid "Enter your URLs in the fields below"
|
||||
msgstr "Enter your URLs in the fields below"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:133
|
||||
msgid "Old URL"
|
||||
msgstr "Old URL"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:133
|
||||
msgid "Old Site Address"
|
||||
msgstr "Old Site Address"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:137
|
||||
msgid "New URL"
|
||||
msgstr "New URL"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:137
|
||||
msgid "New Site Address"
|
||||
msgstr "New Site Address"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:141
|
||||
msgid "Choose which URLs should be updated"
|
||||
msgstr "Choose which URLs should be updated"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:143
|
||||
msgid "URLs in page content"
|
||||
msgstr "URLs in page content"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:143
|
||||
msgid "posts, pages, custom post types, revisions"
|
||||
msgstr "posts, pages, custom post types, revisions"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:144
|
||||
msgid "URLs in excerpts"
|
||||
msgstr "URLs in excerpts"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:145
|
||||
msgid "URLs in links"
|
||||
msgstr "URLs in links"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:146
|
||||
msgid "URLs for attachments"
|
||||
msgstr "URLs for attachments"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:146
|
||||
msgid "images, documents, general media"
|
||||
msgstr "images, documents, general media"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:147
|
||||
msgid "URLs in custom fields and meta boxes"
|
||||
msgstr "URLs in custom fields and meta boxes"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:148
|
||||
msgid "Update ALL GUIDs"
|
||||
msgstr "Update ALL GUIDs"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:148
|
||||
msgid "GUIDs for posts should only be changed on development sites."
|
||||
msgstr "GUIDs for posts should only be changed on development sites."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:148
|
||||
msgid "Learn More."
|
||||
msgstr "Learn More."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:150
|
||||
msgid "Update URLs NOW"
|
||||
msgstr "Update URLs NOW"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:152
|
||||
msgid "Need help?"
|
||||
msgstr "Need help?"
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:152
|
||||
#, php-format
|
||||
msgid "Get support at the %s plugin page%s."
|
||||
msgstr "Get support at the %s plugin page%s."
|
||||
|
||||
#: C:\Documents
|
||||
#: and Settings\Shirley
|
||||
#: Patterson\Desktop\Projects\Repository\velvet-blues-update-urls\tags\3.2/velvet-blues-update-urls.php:152
|
||||
msgid "We will backup your website and move it for $65 OR update your URLs for only $29."
|
||||
msgstr "We will backup your website and move it for $65 OR update your URLs for only $29."
|
||||
|
||||
Binary file not shown.
@@ -1,253 +0,0 @@
|
||||
# Copyright (C) 2011 Velvet Blues Update URLs
|
||||
# This file is distributed under the same license as the Velvet Blues Update URLs package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Velvet Blues Update URLs 3.2\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tag/velvet-blues-update-urls\n"
|
||||
"POT-Creation-Date: 2013-09-27 14:42:17+00:00\n"
|
||||
"PO-Revision-Date: 2013-09-30 05:40+0200\n"
|
||||
"Last-Translator: HakanEr <hakanerwptr@gmail.com>\n"
|
||||
"Language-Team: hakan er <hakanerwptr@gmail.com>\n"
|
||||
"Language: turkish\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
|
||||
#: velvet-blues-update-urls.php:46
|
||||
msgid "Content Items (Posts, Pages, Custom Post Types, Revisions)"
|
||||
msgstr ""
|
||||
"İçerik Öğeleri (Yazılar, Sayfalar, Kişisel Yazı Biçimleri, Düzenlemeler)"
|
||||
|
||||
#: velvet-blues-update-urls.php:47
|
||||
msgid "Excerpts"
|
||||
msgstr "Alıntılar"
|
||||
|
||||
#: velvet-blues-update-urls.php:48
|
||||
msgid "Attachments"
|
||||
msgstr "Ekler"
|
||||
|
||||
#: velvet-blues-update-urls.php:49
|
||||
msgid "Links"
|
||||
msgstr "Bağlantılar"
|
||||
|
||||
#: velvet-blues-update-urls.php:50
|
||||
msgid "Custom Fields"
|
||||
msgstr "Özel Alanlar"
|
||||
|
||||
#: velvet-blues-update-urls.php:51
|
||||
msgid "GUIDs"
|
||||
msgstr "Klavuzlar"
|
||||
|
||||
#: velvet-blues-update-urls.php:69 velvet-blues-update-urls.php:81
|
||||
#: velvet-blues-update-urls.php:122
|
||||
msgid "ERROR"
|
||||
msgstr "HATA"
|
||||
|
||||
#: velvet-blues-update-urls.php:69
|
||||
msgid "Please try again."
|
||||
msgstr "Lütfen tekrar deneyin."
|
||||
|
||||
#: velvet-blues-update-urls.php:81 velvet-blues-update-urls.php:107
|
||||
#: velvet-blues-update-urls.php:122
|
||||
msgid "Your URLs have not been updated."
|
||||
msgstr "Bağlantılarınız güncellenmedi."
|
||||
|
||||
#: velvet-blues-update-urls.php:81
|
||||
msgid "Please select at least one checkbox."
|
||||
msgstr "En az bir onay kutusunu seçin."
|
||||
|
||||
#: velvet-blues-update-urls.php:97
|
||||
msgid "Why do the results show 0 URLs updated?"
|
||||
msgstr "Sonuçlarda neden 0 URL güncellendi gösteriyor?"
|
||||
|
||||
#: velvet-blues-update-urls.php:97
|
||||
msgid ""
|
||||
"This happens if a URL is incorrect OR if it is not found in the content. "
|
||||
"Check your URLs and try again."
|
||||
msgstr ""
|
||||
"Bu, eğer bir URL hatalıysa VEYA içerikte bulunamadıysa meydana gelir. "
|
||||
"URL'lerinizi kontrol edin ve yeniden deneyin."
|
||||
|
||||
#: velvet-blues-update-urls.php:97 velvet-blues-update-urls.php:152
|
||||
msgid "Want us to do it for you?"
|
||||
msgstr "Bunu sizin için yapmamızı ister misiniz?"
|
||||
|
||||
#: velvet-blues-update-urls.php:97 velvet-blues-update-urls.php:152
|
||||
msgid "Contact us at"
|
||||
msgstr "İletişim adresimiz"
|
||||
|
||||
#: velvet-blues-update-urls.php:97
|
||||
msgid ""
|
||||
"We will backup your website and move it for $65 OR simply update your URLs "
|
||||
"for only $29."
|
||||
msgstr ""
|
||||
"65$ karşılığında web sitenizi yedekleyecek ve onu taşıyacağız VEYA sadece "
|
||||
"29$ karşılığında URL'lerinizi güncelleyeceğiz."
|
||||
|
||||
#: velvet-blues-update-urls.php:107
|
||||
msgid "ERROR: Something may have gone wrong."
|
||||
msgstr "HATA: Bir şeyler ters gitmiş olabilir."
|
||||
|
||||
#: velvet-blues-update-urls.php:111
|
||||
msgid "Success! Your URLs have been updated."
|
||||
msgstr "Başarılı! URL leriniz güncellendi."
|
||||
|
||||
#: velvet-blues-update-urls.php:115
|
||||
msgid "Results"
|
||||
msgstr "Sonuçlar"
|
||||
|
||||
#: velvet-blues-update-urls.php:118
|
||||
msgid "If you found our plugin useful, %s please consider donating"
|
||||
msgstr "Eğer eklentimizi kullanışlı bulduysanız, %s lütfen bağış yapın"
|
||||
|
||||
#: velvet-blues-update-urls.php:118
|
||||
msgid "The safer, easier way to pay online!"
|
||||
msgstr "Online ödemenin güvenli ve kolay yolu!"
|
||||
|
||||
#: velvet-blues-update-urls.php:122
|
||||
msgid "Please enter values for both the old url and the new url."
|
||||
msgstr "Lütfen eski ve yeni url değerlerinin ikisini de girin."
|
||||
|
||||
#: velvet-blues-update-urls.php:130
|
||||
msgid ""
|
||||
"After moving a website, %s lets you fix old URLs in content, excerpts, "
|
||||
"links, and custom fields."
|
||||
msgstr ""
|
||||
"Bir siteyi taşıdıktan sonra, %s içerik, alıntılar ve özel alan içindeki "
|
||||
"URL'lerinizi düzeltmenizi sağlar."
|
||||
|
||||
#: velvet-blues-update-urls.php:130
|
||||
msgid "WE RECOMMEND THAT YOU BACKUP YOUR WEBSITE."
|
||||
msgstr "WEB SİTENİZİ YEDEKLEMENİZİ ÖNERİYORUZ."
|
||||
|
||||
#: velvet-blues-update-urls.php:130
|
||||
msgid ""
|
||||
"You may need to restore it if incorrect URLs are entered in the fields below."
|
||||
msgstr ""
|
||||
"Eğer aşağıdaki alanlara yanlış URL'ler girerseniz, onu yeniden yüklemeniz "
|
||||
"gerekebilir."
|
||||
|
||||
#: velvet-blues-update-urls.php:131 velvet-blues-update-urls.php:141
|
||||
msgid "Step"
|
||||
msgstr "Adım"
|
||||
|
||||
#: velvet-blues-update-urls.php:131
|
||||
msgid "Enter your URLs in the fields below"
|
||||
msgstr "Aşağıdaki alanlara URL leri girin"
|
||||
|
||||
#: velvet-blues-update-urls.php:133
|
||||
msgid "Old URL"
|
||||
msgstr "Eski URL"
|
||||
|
||||
#: velvet-blues-update-urls.php:133
|
||||
msgid "Old Site Address"
|
||||
msgstr "Eski Site Adresi"
|
||||
|
||||
#: velvet-blues-update-urls.php:137
|
||||
msgid "New URL"
|
||||
msgstr "Yeni URL"
|
||||
|
||||
#: velvet-blues-update-urls.php:137
|
||||
msgid "New Site Address"
|
||||
msgstr "Yeni Site Adresi"
|
||||
|
||||
#: velvet-blues-update-urls.php:141
|
||||
msgid "Choose which URLs should be updated"
|
||||
msgstr "Hangi URL lerin güncelleneceğini seçin"
|
||||
|
||||
#: velvet-blues-update-urls.php:143
|
||||
msgid "URLs in page content"
|
||||
msgstr "Sayfadaki içerik URL leri"
|
||||
|
||||
#: velvet-blues-update-urls.php:143
|
||||
msgid "posts, pages, custom post types, revisions"
|
||||
msgstr "yazılar, sayfalar, kişisel yazı biçimleri, düzenlemeler"
|
||||
|
||||
#: velvet-blues-update-urls.php:144
|
||||
msgid "URLs in excerpts"
|
||||
msgstr "Alıntılardaki URL ler"
|
||||
|
||||
#: velvet-blues-update-urls.php:145
|
||||
msgid "URLs in links"
|
||||
msgstr "Bağlantılardaki URL'ler"
|
||||
|
||||
#: velvet-blues-update-urls.php:146
|
||||
msgid "URLs for attachments"
|
||||
msgstr "Ekler için URL ler"
|
||||
|
||||
#: velvet-blues-update-urls.php:146
|
||||
msgid "images, documents, general media"
|
||||
msgstr "resimler, dökümanlar, genel ortam"
|
||||
|
||||
#: velvet-blues-update-urls.php:147
|
||||
msgid "URLs in custom fields and meta boxes"
|
||||
msgstr "Özel alan ve meta kutularındaki URL ler"
|
||||
|
||||
#: velvet-blues-update-urls.php:148
|
||||
msgid "Update ALL GUIDs"
|
||||
msgstr "Tüm Klavuzları Güncelle"
|
||||
|
||||
#: velvet-blues-update-urls.php:148
|
||||
msgid "GUIDs for posts should only be changed on development sites."
|
||||
msgstr "Yazı klavuzları sadece geliştirilen sitelerde değiştirilmelidir."
|
||||
|
||||
#: velvet-blues-update-urls.php:148
|
||||
msgid "Learn More."
|
||||
msgstr "Daha Fazla."
|
||||
|
||||
#: velvet-blues-update-urls.php:150
|
||||
msgid "Update URLs NOW"
|
||||
msgstr "URL leri Şimdi Güncelle"
|
||||
|
||||
#: velvet-blues-update-urls.php:152
|
||||
msgid "Need help?"
|
||||
msgstr "Yardım mı lazım?"
|
||||
|
||||
#: velvet-blues-update-urls.php:152
|
||||
msgid "Get support at the %s plugin page%s."
|
||||
msgstr "%s eklenti sayfasından%s destek al."
|
||||
|
||||
#: velvet-blues-update-urls.php:152
|
||||
msgid ""
|
||||
"We will backup your website and move it for $65 OR update your URLs for only "
|
||||
"$29."
|
||||
msgstr ""
|
||||
"65$ karşılığında web sitenizi yedekleyecek ve onu taşıyacağız VEYA 29$ "
|
||||
"karşılığında URL'lerinizi güncelleyeceğiz."
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
msgid "Velvet Blues Update URLs"
|
||||
msgstr "Velvet Blues Update URLs"
|
||||
|
||||
#. Plugin URI of the plugin/theme
|
||||
msgid ""
|
||||
"http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/"
|
||||
msgstr ""
|
||||
"http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/"
|
||||
|
||||
#. Description of the plugin/theme
|
||||
msgid ""
|
||||
"This plugin <strong>updates all urls in your website</strong> by replacing "
|
||||
"old urls with new urls. To get started: 1) Click the \"Activate\" link to "
|
||||
"the left of this description, and 2) Go to your <a href=\"options-general."
|
||||
"php?page=velvet-blues-update-urls.php\">Update URLs</a> page to use it."
|
||||
msgstr ""
|
||||
"Bu eklenti eski URL leri yenileriyle değiştirerek <strong>web sitenizdeki "
|
||||
"tüm bağlantıları günceller</strong>. Başlamak için: 1) Bu açıklamanın "
|
||||
"solundaki \"Etkinleştir\" bağlantısına tıklayın ve 2) Kullanmak için <a href="
|
||||
"\"options-general.php?page=velvet-blues-update-urls.php\">Update URLs</a> "
|
||||
"sayfasına gidin."
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "VelvetBlues.com"
|
||||
msgstr "VelvetBlues.com"
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
msgid "http://www.velvetblues.com/"
|
||||
msgstr "http://www.velvetblues.com/"
|
||||
|
||||
#~ msgid "Click here."
|
||||
#~ msgstr "Buraya tıkla."
|
||||
@@ -1,229 +0,0 @@
|
||||
# Copyright (C) 2013 Velvet Blues Update URLs
|
||||
# This file is distributed under the same license as the Velvet Blues Update URLs package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Velvet Blues Update URLs 3.2\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tag/velvet-blues-update-urls\n"
|
||||
"POT-Creation-Date: 2013-09-27 14:42:17+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
#: velvet-blues-update-urls.php:46
|
||||
msgid "Content Items (Posts, Pages, Custom Post Types, Revisions)"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:47
|
||||
msgid "Excerpts"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:48
|
||||
msgid "Attachments"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:49
|
||||
msgid "Links"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:50
|
||||
msgid "Custom Fields"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:51
|
||||
msgid "GUIDs"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:69 velvet-blues-update-urls.php:81
|
||||
#: velvet-blues-update-urls.php:122
|
||||
msgid "ERROR"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:69
|
||||
msgid "Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:81 velvet-blues-update-urls.php:107
|
||||
#: velvet-blues-update-urls.php:122
|
||||
msgid "Your URLs have not been updated."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:81
|
||||
msgid "Please select at least one checkbox."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:97
|
||||
msgid "Why do the results show 0 URLs updated?"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:97
|
||||
msgid ""
|
||||
"This happens if a URL is incorrect OR if it is not found in the content. "
|
||||
"Check your URLs and try again."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:97 velvet-blues-update-urls.php:152
|
||||
msgid "Want us to do it for you?"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:97 velvet-blues-update-urls.php:152
|
||||
msgid "Contact us at"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:97
|
||||
msgid ""
|
||||
"We will backup your website and move it for $65 OR simply update your URLs "
|
||||
"for only $29."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:107
|
||||
msgid "ERROR: Something may have gone wrong."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:111
|
||||
msgid "Success! Your URLs have been updated."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:115
|
||||
msgid "Results"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:118
|
||||
msgid "If you found our plugin useful, %s please consider donating"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:118
|
||||
msgid "The safer, easier way to pay online!"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:122
|
||||
msgid "Please enter values for both the old url and the new url."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:130
|
||||
msgid ""
|
||||
"After moving a website, %s lets you fix old URLs in content, excerpts, "
|
||||
"links, and custom fields."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:130
|
||||
msgid "WE RECOMMEND THAT YOU BACKUP YOUR WEBSITE."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:130
|
||||
msgid ""
|
||||
"You may need to restore it if incorrect URLs are entered in the fields below."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:131 velvet-blues-update-urls.php:141
|
||||
msgid "Step"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:131
|
||||
msgid "Enter your URLs in the fields below"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:133
|
||||
msgid "Old URL"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:133
|
||||
msgid "Old Site Address"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:137
|
||||
msgid "New URL"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:137
|
||||
msgid "New Site Address"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:141
|
||||
msgid "Choose which URLs should be updated"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:143
|
||||
msgid "URLs in page content"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:143
|
||||
msgid "posts, pages, custom post types, revisions"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:144
|
||||
msgid "URLs in excerpts"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:145
|
||||
msgid "URLs in links"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:146
|
||||
msgid "URLs for attachments"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:146
|
||||
msgid "images, documents, general media"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:147
|
||||
msgid "URLs in custom fields and meta boxes"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:148
|
||||
msgid "Update ALL GUIDs"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:148
|
||||
msgid "GUIDs for posts should only be changed on development sites."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:148
|
||||
msgid "Learn More."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:150
|
||||
msgid "Update URLs NOW"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:152
|
||||
msgid "Need help?"
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:152
|
||||
msgid "Get support at the %s plugin page%s."
|
||||
msgstr ""
|
||||
|
||||
#: velvet-blues-update-urls.php:152
|
||||
msgid ""
|
||||
"We will backup your website and move it for $65 OR update your URLs for only "
|
||||
"$29."
|
||||
msgstr ""
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
msgid "Velvet Blues Update URLs"
|
||||
msgstr ""
|
||||
|
||||
#. Plugin URI of the plugin/theme
|
||||
msgid ""
|
||||
"http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
msgid ""
|
||||
"This plugin <strong>updates all urls in your website</strong> by replacing "
|
||||
"old urls with new urls. To get started: 1) Click the \"Activate\" link to "
|
||||
"the left of this description, and 2) Go to your <a href=\"options-general."
|
||||
"php?page=velvet-blues-update-urls.php\">Update URLs</a> page to use it."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "VelvetBlues.com"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
msgid "http://www.velvetblues.com/"
|
||||
msgstr ""
|
||||
@@ -1,133 +0,0 @@
|
||||
=== Velvet Blues Update URLs ===
|
||||
Contributors: VelvetBlues.com
|
||||
Donate link: http://www.velvetblues.com/go/updateurlsdonate/
|
||||
Tags: permalinks, urls, links, update links, move wordpress, location, update urls, update permalinks, move, link, url, permalink, excerpt, content links, excerpt links, custom field links, meta, post meta
|
||||
Requires at least: 4.5
|
||||
Tested up to: 5.1
|
||||
Stable tag: 3.2.9
|
||||
License: GPLv2 or later
|
||||
|
||||
Updates all urls and content links in your website.
|
||||
|
||||
== Description ==
|
||||
|
||||
If you move your WordPress website to a new domain name, you will find that internal links to pages and references to images are not updated. Instead, these links and references will point to your old domain name. This plugin fixes that problem by helping you change old urls and links in your website.
|
||||
|
||||
= Features: =
|
||||
* Users can choose to update links embedded in content, excerpts, or custom fields
|
||||
* Users can choose whether to update links for attachments
|
||||
* View how many items were updated
|
||||
|
||||
== Installation ==
|
||||
|
||||
Installation and uninstallation are extremely simple. You can use WordPress' automatic install or follow the manual instructions below.
|
||||
|
||||
= Installing: =
|
||||
|
||||
1. Download the package.
|
||||
2. Extract it to the "plugins" folder of your WordPress directory.
|
||||
3. In the Admin Panel, go to "Plugins" and activate it.
|
||||
4. Go to Tools -> Update URLs to use it.
|
||||
|
||||
= Uninstalling: =
|
||||
|
||||
1. In the Admin Panel, go to "Plugins" and deactivate the plugin.
|
||||
2. Go to the "plugins" folder of your WordPress directory and delete the files/folder for this plugin.
|
||||
|
||||
= Usage: =
|
||||
|
||||
Using this plugin is very simple. Once it has been activated, navigate to Tools -> Update URLs and follow the instructions. Please Note: Changes are irreversible. If you haven't used this plugin before, please backup your website before proceeding.
|
||||
|
||||
You can also contact us for assistance. Velvet Blues will backup your website and replace your URLs for only $29. If you need your website moved, we charge a flat fee of $75 and will finish your move within 48 hours - week days only. For same-day or weekend jobs, we charge a flat rate of $125. Contact us at info@velvetblues.com for more information.
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= Why are my urls not updated? =
|
||||
|
||||
URLs are only replaced when an exact match is found. Be sure that you have entered the correct url and hit submit. (Note: Matching is case-sensitive.)
|
||||
|
||||
= Why do I see the message "You do not have sufficient permissions to access this page"? =
|
||||
|
||||
Make sure that the plugin is activated and that you are an administrator level user.
|
||||
|
||||
= This plugin saved me a lot of work. Where can I donate? =
|
||||
|
||||
Thanks, donations help us to continue improving our plugins. [Donate Here via PayPal.](http://www.velvetblues.com/go/updateurlsdonate/)
|
||||
|
||||
= I'm afraid to screw this up. Will you do it for me? =
|
||||
|
||||
Of course! Velvet Blues will backup your website and replace your URLs for only $39. If you need your website moved, we charge a flat fee of $75 and will finish your move within 48 hours - week days only. For same-day or weekend jobs, we charge a flat rate of $125. Contact us at info@velvetblues.com for more information.
|
||||
|
||||
== Screenshots ==
|
||||
|
||||
1. The Admin screen for the plugin. screenshot-1.png
|
||||
|
||||
== Change Log ==
|
||||
|
||||
= 3.2.9 =
|
||||
* Confirmed compatibility with WordPress 5.1.x releases.
|
||||
* Version Update.
|
||||
|
||||
= 3.2.8 =
|
||||
* Confirmed compatibility with WordPress 4.9.x releases.
|
||||
* Version Update.
|
||||
|
||||
= 3.2.7 =
|
||||
* Maintenance Update.
|
||||
|
||||
= 3.2.6 =
|
||||
* Tested with 4.6.
|
||||
* Version Update.
|
||||
|
||||
= 3.2.5 =
|
||||
* Updated label ID for better UX when selecting url location options.
|
||||
* Added use if is_serialized() to remove PHP NOTICES about offsets during url update process.
|
||||
* Confirmed compatibility to with WP 4.6 and updated stable tag.
|
||||
|
||||
= 3.2.3 =
|
||||
* Confirmed compatibility with WordPress 4.0.x releases.
|
||||
* Updated readme file.
|
||||
|
||||
= 3.2.2 =
|
||||
* Relocated Update URLs tab to Tools section. It is now found under Tools->Update URLs
|
||||
* Added additional serialization checks for postmeta.
|
||||
|
||||
= 3.2.1 =
|
||||
* Bug fixes.
|
||||
* Added Turkish language file.
|
||||
|
||||
= 3.2 =
|
||||
* Confirmed compatibility with WordPress 3.6.x releases.
|
||||
* Added option to replace urls within Links.
|
||||
* Updated success and error dialogs and other text throught plugin.
|
||||
|
||||
= 3.1 =
|
||||
* Confirmed compatibility with WordPress 3.5 release.
|
||||
|
||||
= 3.0 =
|
||||
* Confirmed compatibility with latest WordPress releases and added support for future versions.
|
||||
* Redesigned interface.
|
||||
* Added the ability to update links in custom fields.
|
||||
* Improved security against potential cross-site attacks by adding nonces and a referrer check and added exit to script if accessed directly.
|
||||
* New error messages and field validation.
|
||||
* Made changing ALL GUIDs optional, and turned off by default.
|
||||
* Internationalized plugin.
|
||||
* Updated License to GPLv2 or later.
|
||||
* Fixed Typos
|
||||
|
||||
= 2.0.1 =
|
||||
* Confirmed compatibility with WordPress 3.1.x releases.
|
||||
* Updated FAQs and Contributors.
|
||||
|
||||
= 2.0 =
|
||||
* Added the ability to update links in excerpt fields.
|
||||
* Updated code for full compatibility with WordPress 3.0 releases.
|
||||
|
||||
= 1.0.3 =
|
||||
* Confirmed compatibility with recent WordPress releases.
|
||||
|
||||
= 1.0.2 =
|
||||
* Fixed PHP short tag problem, so as to be compatible with all configurations.
|
||||
|
||||
= 1.0.1 =
|
||||
* Fixed possible interactions with other plugins.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
@@ -1,308 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: Velvet Blues Update URLs
|
||||
Plugin URI: http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
|
||||
Description: This plugin <strong>updates all urls in your website</strong> by replacing old urls with new urls. To get started: 1) Click the "Activate" link to the left of this description, and 2) Go to your <a href="tools.php?page=velvet-blues-update-urls.php">Update URLs</a> page to use it.
|
||||
Author: VelvetBlues.com
|
||||
Author URI: http://www.velvetblues.com/
|
||||
Author Email: info@velvetblues.com
|
||||
Version: 3.2.9
|
||||
License: GPLv2 or later
|
||||
Text Domain: velvet-blues-update-urls
|
||||
*/
|
||||
/* Copyright 2019 Velvet Blues Web Design (email : info@velvetblues.com)
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
if ( !function_exists( 'add_action' ) ) { exit;
|
||||
}
|
||||
function VelvetBluesUU_add_management_page(){
|
||||
add_management_page("Velvet Blues Update URLs", "Update URLs", "manage_options", basename(__FILE__), "VelvetBluesUU_management_page");
|
||||
}
|
||||
function VelvetBluesUU_load_textdomain(){
|
||||
load_plugin_textdomain( 'velvet-blues-update-urls', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
||||
}
|
||||
function VelvetBluesUU_management_page(){
|
||||
if ( !function_exists( 'VB_update_urls' ) ) {
|
||||
function VB_update_urls($options,$oldurl,$newurl){
|
||||
global $wpdb;
|
||||
$results = array();
|
||||
$queries = array(
|
||||
'content' => array("UPDATE $wpdb->posts SET post_content = replace(post_content, %s, %s)", __('Content Items (Posts, Pages, Custom Post Types, Revisions)','velvet-blues-update-urls') ),
|
||||
'excerpts' => array("UPDATE $wpdb->posts SET post_excerpt = replace(post_excerpt, %s, %s)", __('Excerpts','velvet-blues-update-urls') ),
|
||||
'attachments' => array("UPDATE $wpdb->posts SET guid = replace(guid, %s, %s) WHERE post_type = 'attachment'", __('Attachments','velvet-blues-update-urls') ),
|
||||
'links' => array("UPDATE $wpdb->links SET link_url = replace(link_url, %s, %s)", __('Links','velvet-blues-update-urls') ),
|
||||
'custom' => array("UPDATE $wpdb->postmeta SET meta_value = replace(meta_value, %s, %s)", __('Custom Fields','velvet-blues-update-urls') ),
|
||||
'guids' => array("UPDATE $wpdb->posts SET guid = replace(guid, %s, %s)", __('GUIDs','velvet-blues-update-urls') )
|
||||
);
|
||||
foreach($options as $option){
|
||||
if( $option == 'custom' ){
|
||||
$n = 0;
|
||||
$row_count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->postmeta" );
|
||||
$page_size = 10000;
|
||||
$pages = ceil( $row_count / $page_size );
|
||||
|
||||
for( $page = 0; $page < $pages; $page++ ) {
|
||||
$current_row = 0;
|
||||
$start = $page * $page_size;
|
||||
$end = $start + $page_size;
|
||||
$pmquery = "SELECT * FROM $wpdb->postmeta WHERE meta_value <> ''";
|
||||
$items = $wpdb->get_results( $pmquery );
|
||||
foreach( $items as $item ){
|
||||
$value = $item->meta_value;
|
||||
if( trim($value) == '' )
|
||||
continue;
|
||||
|
||||
$edited = VB_unserialize_replace( $oldurl, $newurl, $value );
|
||||
|
||||
if( $edited != $value ){
|
||||
$fix = $wpdb->query("UPDATE $wpdb->postmeta SET meta_value = '".$edited."' WHERE meta_id = ".$item->meta_id );
|
||||
if( $fix )
|
||||
$n++;
|
||||
}
|
||||
}
|
||||
}
|
||||
$results[$option] = array($n, $queries[$option][1]);
|
||||
}
|
||||
else{
|
||||
$result = $wpdb->query( $wpdb->prepare( $queries[$option][0], $oldurl, $newurl) );
|
||||
$results[$option] = array($result, $queries[$option][1]);
|
||||
}
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
}
|
||||
if ( !function_exists( 'VB_unserialize_replace' ) ) {
|
||||
function VB_unserialize_replace( $from = '', $to = '', $data = '', $serialised = false ) {
|
||||
try {
|
||||
if ( false !== is_serialized( $data ) ) {
|
||||
$unserialized = unserialize( $data );
|
||||
$data = VB_unserialize_replace( $from, $to, $unserialized, true );
|
||||
}
|
||||
elseif ( is_array( $data ) ) {
|
||||
$_tmp = array( );
|
||||
foreach ( $data as $key => $value ) {
|
||||
$_tmp[ $key ] = VB_unserialize_replace( $from, $to, $value, false );
|
||||
}
|
||||
$data = $_tmp;
|
||||
unset( $_tmp );
|
||||
}
|
||||
else {
|
||||
if ( is_string( $data ) )
|
||||
$data = str_replace( $from, $to, $data );
|
||||
}
|
||||
if ( $serialised )
|
||||
return serialize( $data );
|
||||
} catch( Exception $error ) {
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
if ( isset( $_POST['VBUU_settings_submit'] ) && !check_admin_referer('VBUU_submit','VBUU_nonce')){
|
||||
if(isset($_POST['VBUU_oldurl']) && isset($_POST['VBUU_newurl'])){
|
||||
if(function_exists('esc_attr')){
|
||||
$vbuu_oldurl = esc_attr(trim($_POST['VBUU_oldurl']));
|
||||
$vbuu_newurl = esc_attr(trim($_POST['VBUU_newurl']));
|
||||
}else{
|
||||
$vbuu_oldurl = attribute_escape(trim($_POST['VBUU_oldurl']));
|
||||
$vbuu_newurl = attribute_escape(trim($_POST['VBUU_newurl']));
|
||||
}
|
||||
}
|
||||
echo '<div id="message" class="error fade"><p><strong>'.__('ERROR','velvet-blues-update-urls').' - '.__('Please try again.','velvet-blues-update-urls').'</strong></p></div>';
|
||||
}
|
||||
elseif( isset( $_POST['VBUU_settings_submit'] ) && !isset( $_POST['VBUU_update_links'] ) ){
|
||||
if(isset($_POST['VBUU_oldurl']) && isset($_POST['VBUU_newurl'])){
|
||||
if(function_exists('esc_attr')){
|
||||
$vbuu_oldurl = esc_attr(trim($_POST['VBUU_oldurl']));
|
||||
$vbuu_newurl = esc_attr(trim($_POST['VBUU_newurl']));
|
||||
}else{
|
||||
$vbuu_oldurl = attribute_escape(trim($_POST['VBUU_oldurl']));
|
||||
$vbuu_newurl = attribute_escape(trim($_POST['VBUU_newurl']));
|
||||
}
|
||||
}
|
||||
echo '<div id="message" class="error fade"><p><strong>'.__('ERROR','velvet-blues-update-urls').' - '.__('Your URLs have not been updated.','velvet-blues-update-urls').'</p></strong><p>'.__('Please select at least one checkbox.','velvet-blues-update-urls').'</p></div>';
|
||||
}
|
||||
elseif( isset( $_POST['VBUU_settings_submit'] ) ){
|
||||
$vbuu_update_links = $_POST['VBUU_update_links'];
|
||||
if(isset($_POST['VBUU_oldurl']) && isset($_POST['VBUU_newurl'])){
|
||||
if(function_exists('esc_attr')){
|
||||
$vbuu_oldurl = esc_attr(trim($_POST['VBUU_oldurl']));
|
||||
$vbuu_newurl = esc_attr(trim($_POST['VBUU_newurl']));
|
||||
}else{
|
||||
$vbuu_oldurl = attribute_escape(trim($_POST['VBUU_oldurl']));
|
||||
$vbuu_newurl = attribute_escape(trim($_POST['VBUU_newurl']));
|
||||
}
|
||||
}
|
||||
if(($vbuu_oldurl && $vbuu_oldurl != 'http://www.oldurl.com' && trim($vbuu_oldurl) != '') && ($vbuu_newurl && $vbuu_newurl != 'http://www.newurl.com' && trim($vbuu_newurl) != '')){
|
||||
$results = VB_update_urls($vbuu_update_links,$vbuu_oldurl,$vbuu_newurl);
|
||||
$empty = true;
|
||||
$emptystring = '<strong>'.__('Why do the results show 0 URLs updated?','velvet-blues-update-urls').'</strong><br/>'.__('This happens if a URL is incorrect OR if it is not found in the content. Check your URLs and try again.','velvet-blues-update-urls').'<br/><br/><strong>'.__('Want us to do it for you?','velvet-blues-update-urls').'</strong><br/>'.__('Contact us at','velvet-blues-update-urls').' <a href="mailto:info@velvetblues.com?subject=Move%20My%20WP%20Site">info@velvetblues.com</a>. '.__('We will backup your website and move it for $75 OR simply update your URLs for only $39.','velvet-blues-update-urls');
|
||||
|
||||
$resultstring = '';
|
||||
foreach($results as $result){
|
||||
$empty = ($result[0] != 0 || $empty == false)? false : true;
|
||||
$resultstring .= '<br/><strong>'.$result[0].'</strong> '.$result[1];
|
||||
}
|
||||
|
||||
if( $empty ):
|
||||
?>
|
||||
<div id="message" class="error fade">
|
||||
<table>
|
||||
<tr>
|
||||
<td><p><strong>
|
||||
<?php _e('ERROR: Something may have gone wrong.','velvet-blues-update-urls'); ?>
|
||||
</strong><br/>
|
||||
<?php _e('Your URLs have not been updated.','velvet-blues-update-urls'); ?>
|
||||
</p>
|
||||
<?php
|
||||
else:
|
||||
?>
|
||||
<div id="message" class="updated fade">
|
||||
<table>
|
||||
<tr>
|
||||
<td><p><strong>
|
||||
<?php _e('Success! Your URLs have been updated.','velvet-blues-update-urls'); ?>
|
||||
</strong></p>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<p><u>
|
||||
<?php _e('Results','velvet-blues-update-urls'); ?>
|
||||
</u><?php echo $resultstring; ?></p>
|
||||
<?php echo ($empty)? '<p>'.$emptystring.'</p>' : ''; ?></td>
|
||||
<td width="60"></td>
|
||||
<td align="center"><?php if( !$empty ): ?>
|
||||
<p>
|
||||
<?php //You can now uninstall this plugin.<br/> ?>
|
||||
<?php printf(__('If you found our plugin useful, %s please consider donating','velvet-blues-update-urls'),'<br/>'); ?>.</p>
|
||||
<p><a style="outline:none;" href="http://www.velvetblues.com/go/updateurlsdonate/" target="_blank"><img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" alt="PayPal -<?php _e('The safer, easier way to pay online!','velvet-blues-update-urls'); ?>"></a></p>
|
||||
<?php endif; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
else{
|
||||
echo '<div id="message" class="error fade"><p><strong>'.__('ERROR','velvet-blues-update-urls').' - '.__('Your URLs have not been updated.','velvet-blues-update-urls').'</p></strong><p>'.__('Please enter values for both the old url and the new url.','velvet-blues-update-urls').'</p></div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h2>Velvet Blues Update URLs</h2>
|
||||
<form method="post" action="tools.php?page=<?php echo basename(__FILE__); ?>">
|
||||
<?php wp_nonce_field('VBUU_submit','VBUU_nonce'); ?>
|
||||
<p><?php printf(__("After moving a website, %s lets you fix old URLs in content, excerpts, links, and custom fields.",'velvet-blues-update-urls'),'<strong>Update URLs</strong>'); ?></p>
|
||||
<p><strong>
|
||||
<?php _e('WE RECOMMEND THAT YOU BACKUP YOUR WEBSITE.','velvet-blues-update-urls'); ?>
|
||||
</strong><br/>
|
||||
<?php _e('You may need to restore it if incorrect URLs are entered in the fields below.','velvet-blues-update-urls'); ?>
|
||||
</p>
|
||||
<h3 style="margin-bottom:5px;">
|
||||
<?php _e('Step'); ?>
|
||||
1:
|
||||
<?php _e('Enter your URLs in the fields below','velvet-blues-update-urls'); ?>
|
||||
</h3>
|
||||
<table class="form-table">
|
||||
<tr valign="middle">
|
||||
<th scope="row" width="140" style="width:140px"><strong>
|
||||
<?php _e('Old URL','velvet-blues-update-urls'); ?>
|
||||
</strong><br/>
|
||||
<span class="description">
|
||||
<?php _e('Old Site Address','velvet-blues-update-urls'); ?>
|
||||
</span></th>
|
||||
<td><input name="VBUU_oldurl" type="text" id="VBUU_oldurl" value="<?php echo (isset($vbuu_oldurl) && trim($vbuu_oldurl) != '')? $vbuu_oldurl : 'http://www.oldurl.com'; ?>" style="width:300px;font-size:20px;" onfocus="if(this.value=='http://www.oldurl.com') this.value='';" onblur="if(this.value=='') this.value='http://www.oldurl.com';" /></td>
|
||||
</tr>
|
||||
<tr valign="middle">
|
||||
<th scope="row" width="140" style="width:140px"><strong>
|
||||
<?php _e('New URL','velvet-blues-update-urls'); ?>
|
||||
</strong><br/>
|
||||
<span class="description">
|
||||
<?php _e('New Site Address','velvet-blues-update-urls'); ?>
|
||||
</span></th>
|
||||
<td><input name="VBUU_newurl" type="text" id="VBUU_newurl" value="<?php echo (isset($vbuu_newurl) && trim($vbuu_newurl) != '')? $vbuu_newurl : 'http://www.newurl.com'; ?>" style="width:300px;font-size:20px;" onfocus="if(this.value=='http://www.newurl.com') this.value='';" onblur="if(this.value=='') this.value='http://www.newurl.com';" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
<h3 style="margin-bottom:5px;">
|
||||
<?php _e('Step'); ?>
|
||||
2:
|
||||
<?php _e('Choose which URLs should be updated','velvet-blues-update-urls'); ?>
|
||||
</h3>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<td><p style="line-height:20px;">
|
||||
<input name="VBUU_update_links[]" type="checkbox" id="VBUU_update_true" value="content" checked="checked" />
|
||||
<label for="VBUU_update_true"><strong>
|
||||
<?php _e('URLs in page content','velvet-blues-update-urls'); ?>
|
||||
</strong> (
|
||||
<?php _e('posts, pages, custom post types, revisions','velvet-blues-update-urls'); ?>
|
||||
)</label>
|
||||
<br/>
|
||||
<input name="VBUU_update_links[]" type="checkbox" id="VBUU_update_true1" value="excerpts" />
|
||||
<label for="VBUU_update_true1"><strong>
|
||||
<?php _e('URLs in excerpts','velvet-blues-update-urls'); ?>
|
||||
</strong></label>
|
||||
<br/>
|
||||
<input name="VBUU_update_links[]" type="checkbox" id="VBUU_update_true2" value="links" />
|
||||
<label for="VBUU_update_true2"><strong>
|
||||
<?php _e('URLs in links','velvet-blues-update-urls'); ?>
|
||||
</strong></label>
|
||||
<br/>
|
||||
<input name="VBUU_update_links[]" type="checkbox" id="VBUU_update_true3" value="attachments" />
|
||||
<label for="VBUU_update_true3"><strong>
|
||||
<?php _e('URLs for attachments','velvet-blues-update-urls'); ?>
|
||||
</strong> (
|
||||
<?php _e('images, documents, general media','velvet-blues-update-urls'); ?>
|
||||
)</label>
|
||||
<br/>
|
||||
<input name="VBUU_update_links[]" type="checkbox" id="VBUU_update_true4" value="custom" />
|
||||
<label for="VBUU_update_true4"><strong>
|
||||
<?php _e('URLs in custom fields and meta boxes','velvet-blues-update-urls'); ?>
|
||||
</strong></label>
|
||||
<br/>
|
||||
<input name="VBUU_update_links[]" type="checkbox" id="VBUU_update_true5" value="guids" />
|
||||
<label for="VBUU_update_true5"><strong>
|
||||
<?php _e('Update ALL GUIDs','velvet-blues-update-urls'); ?>
|
||||
</strong> <span class="description" style="color:#f00;">
|
||||
<?php _e('GUIDs for posts should only be changed on development sites.','velvet-blues-update-urls'); ?>
|
||||
</span> <a href="http://codex.wordpress.org/Changing_The_Site_URL#Important_GUID_Note" target="_blank">
|
||||
<?php _e('Learn More.','velvet-blues-update-urls'); ?>
|
||||
</a></label>
|
||||
</p></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<input class="button-primary" name="VBUU_settings_submit" value="<?php _e('Update URLs NOW','velvet-blues-update-urls'); ?>" type="submit" />
|
||||
</p>
|
||||
</form>
|
||||
<p> <br/>
|
||||
<strong>
|
||||
<?php _e('Need help?','velvet-blues-update-urls'); ?>
|
||||
</strong> <?php printf(__("Get support at the %s plugin page%s.",'velvet-blues-update-urls'),'<a href="http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/" target="_blank">Velvet Blues Update URLs','</a>'); ?>
|
||||
<?php if( !isset( $empty ) ): ?>
|
||||
<br/>
|
||||
<strong>
|
||||
<?php _e('Want us to do it for you?','velvet-blues-update-urls'); ?>
|
||||
</strong>
|
||||
<?php _e('Contact us at','velvet-blues-update-urls'); ?>
|
||||
<a href="mailto:info@velvetblues.com?subject=Move%20My%20WP%20Site">info@velvetblues.com</a>.
|
||||
<?php _e('We will backup your website and move it for $75 OR update your URLs for only $29.','velvet-blues-update-urls'); ?>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
add_action('admin_menu', 'VelvetBluesUU_add_management_page');
|
||||
add_action('admin_init','VelvetBluesUU_load_textdomain');
|
||||
?>
|
||||
Reference in New Issue
Block a user