This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The loop that displays an attachment | |
| * | |
| */ | |
| ?> | |
| <?php if ( ! empty( $post->post_parent ) ) : ?> | |
| <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ) ); ?>" rel="gallery"><?php | |
| /* translators: %s - title of parent post */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: file name sanitizer | |
| Description: Removes accents at file upload from WP Trac. Patch at http://core.trac.wordpress.org/attachment/ticket/22363/22363.8.patch | |
| Version: 26 10 2013 | |
| */ | |
| remove_filter('sanitize_file_name', $filename, $filename_raw); | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* disable and redirect feed links snippet | |
| by Cristovao Verstraeten - apleasantview.com 2013*/ | |
| function simple_nofeed() { | |
| remove_action( 'wp_head', 'feed_links', 2 ); | |
| remove_action( 'wp_head', 'feed_links_extra', 3 ); | |
| if ( is_feed() ) | |
| { | |
| status_header( '404' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> | |
| <os:ShortName>WordPress Plugins Directory</os:ShortName> | |
| <os:Description>WordPress Plugins Directory</os:Description> | |
| <os:InputEncoding>UTF-8</os:InputEncoding> | |
| <os:Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC3ElEQVQ4jXVTz0sbaxT9Vl30D+if8AoPusmmf1E3gWyyziIyMvcbS2RMnDBmxoAbwYBxJpmagGhDggpRW2h9T32JYWaycSA/TAbKRON3utFCte/AhQv33AuHew5jzyBJ0lvOeYaITjnnc875/LHPSJL09jn/N8iynFQUZVQulxu9Xu+L53ljz/PGvV7vS7lcbiiKMpJlOfliMZ1OvyKimqZpV0EQdA4PD1EsFsE5hyRJMAwD7XYbg8HgP03Troiolk6nX/06QERqoVD4Oh6Pp4ZhQJblP9bu7i4A/CgUCl855xnGGGOc83eKooyiKLqo1+twHAfLy8uoVCpwHAeO42BrawuKouDu7g4AEEWR/yjnb0ZEqm3b+0/DTqeDbDaLSqUCIQQAoFQqIZPJwPM9AMDk9ha2be9zzjOMc37p+/5pvV4HAPi+j5WVFaiqim63CwCoVqtQVRXl8g4A4Pu37/B9/5SI/mFENJvP50Nd1zEcDnF/fw/TNLG6uoparQYhBK6vr/GRcxTXiwCAnZ0dRFE04pzfMiKaRVE0Wl9fx9HREYQQaLVayOVyaLfbEEJgPp9D0zSUSiUMBgOsra1hNpuNiChkRNTxff/Utm1sbm7i4eEBNzc3+Mg5Li4u0Gg0IISAZ |
NewerOlder