Fırtına 30 05Sil baştan başlamak gerek bazen…

WordPress 2.8.2 fixes an XSS vulnerability. Comment author URLs were not fully sanitized when displayed in the admin. This could be exploited to redirect you away from the admin to another site.  Download 2.8.2 or automatically upgrade from the Tools->Upgrade page of your blog’s admin.

October 14th, 2009 Yazan: Turk3005 | Kategori: Wordpress | Bu Yazı İçin Yorum Yok. »

WordPress 2.8.1 fixes many bugs and tightens security for plugin administration pages. Core Security Technologies notified us that admin pages added by certain plugins could be viewed by unprivileged users, resulting in information being leaked. Not all plugins are vulnerable to this problem, but we advise upgrading to 2.8.1 to be safe.

What else is new since 2.8?  Read through the highlights below, or  view all changes since 2.8

  • Certain themes were calling get_categories() in such a way that it would fail in 2.8. 2.8.1 works around this so these themes won’t have to change.
  • Dashboard memory usage is reduced.  Some people were running out of memory when loading the dashboard, resulting in an incomplete page.
  • The automatic upgrade no longer accidentally deletes files when cleaning up from a failed upgrade.
  • A problem where the rich text editor wasn’t being loaded due to compression issues has been worked around.
  • Extra security has been put in place to better protect you from plugins that do not do explicit permission checks.
  • Translation of role names fixed.
  • wp_page_menu() defaults to sorting by the user specified menu order rather than the page title.
  • Upload error messages are now correctly reported.
  • Autosave error experienced by some IE users is fixed.
  • Styling glitch in the plugin editor fixed.
  • SSH2 filesystem requirements updated.
  • Switched back to curl as the default transport.
  • Updated the translation library to avoid a problem with mbstring.func_overload.
  • Stricter inline style sanitization.
  • Stricter menu security.
  • Disabled code highlighting due to browser incompatibilities.
  • RTL layout fixes.

October 14th, 2009 Yazan: Turk3005 | Kategori: Wordpress | Bu Yazı İçin Yorum Yok. »

Her yazınıza otomatik olarak more- Devamını Oku… tagı eklemek zorunda kalıyorsunuzdur ya da yazılarınız çok ise, bunlara tek tek more – Devamını Oku… eklemek zor olacaktır. Tüm yazılarınızın tüm sayfayı işgal etmesinden bunaldıysanız size yardımcı olacak bir yazı yayımlanmış.

Hiç uzatmadan burada anlatılanları uygulayıp sonuçları beraber görelim.

Önce kullandığınız temanın functions.php dosyasını açıp, şu kodu yerleştirin:

Kodu Buradan Kopyalayın
function excerpt($num) {
$limit = $num+1;
$excerpt = explode(‘ ‘, get_the_excerpt(), $limit);
array_pop($excerpt);
$excerpt = implode(” “,$excerpt).“…”;
echo $excerpt;
}

kaydedip bu dosyayı kapatın. Şimdi de temanızın index.php dosyasını açıp şunu;

Kodu Buradan Kopyalayın
<?php the_content(“Devamını Oku &raquo;”); ?>

ya da şunu bulup:

Kodu Buradan Kopyalayın
<?php the_excerpt(); ?>

şununla değiştirin:

Kodu Buradan Kopyalayın
<?php excerpt(‘25′); ?>

Not: Ben kendi uygulamamda, verilen 25 değerini değiştirmeden kullandım. Siz kendinize göre bunu değiştirirsiniz. Bu 25, yazıdaki ilk 25 kelimeye denktir. Ayrıca bu uygulamayı buradan indireceğiniz eklenti ile de yapabilirsiniz.

Sonuç:

Önce:


Sonra:


Share/Bookmark

October 14th, 2009 Yazan: Turk3005 | Kategori: Wordpress | Bu Yazı İçin Yorum Yok. »

Wordpress’i local bir sunucu üzerinde kurunca genelde yazı linklerinin

http://localhost/wordpress/?p=273

olduğunu görürsünüz. Wordpress’in kalıcı bağlantı kısmında kullanabileceğiniz bazı özel yapılar ise şöyledir:

Kalıcı Bağlantı Yapısı
/%postname%.html
/%category%/%postname%.html
/%postname% – %post_id%/
/%category%/%postname%/
/%postname%/
Kalıcı Bağlantı Çıktısı
http://localhost/wordpress/hello-world.html
http://localhost/wordpress/uncategorized/hello-world.html/
http://localhost/wordpress/hello-world – 1/
http://localhost/wordpress/uncategorized/hello-world/
http://localhost/wordpress/hello-world/

İşte bu yapıları, karşılarında verilen şekilde kullanmak isterseniz; local sunucunuzun Apache/Conf dizini içindeki httpd.conf dosyasını açıp şu iki satırı bulunuz:

Kodu Buradan Kopyalayın
#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c

Bu satırların başında yer alan # kısmını silip, sunucunuzu tekrar başlatınız. Şimdi Wordpress yönetim panelinizden Ayarlar >>>>> Kalıcı Bağlantılar kısmından yukarıdaki özel yapılardan birini ya da Wordpress Codex – Using Permalinks kısmından faydalanarak oluşturacağınız kalıcı bağlantı yapısını yerel sunucunuzda kullanınız.

Share/Bookmark

October 14th, 2009 Yazan: Turk3005 | Kategori: Wordpress | Bu Yazı İçin Yorum Yok. »

Biraz geç oldu ama…

nice bayramlara

Share/Bookmark

October 14th, 2009 Yazan: Turk3005 | Kategori: Wordpress | Bu Yazı İçin Yorum Yok. »