This file contains 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
#dropmenu .children a { | |
color: #000; | |
} |
This file contains 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
// ==UserScript== | |
// @name wporg_admin | |
// @namespace http://themes.trac.wordpress.org | |
// @include http://themes.trac.wordpress.org/query?* | |
// ==/UserScript== | |
document.body.innerHTML=document.body.innerHTML.replace(/theme-(.*)(,.*)/g,"theme-$1$2<a target=\"_blank\" href=\"http://wordpress.org/extend/themes/admin/$1\">[ADMIN]<\/a>"); |
This file contains 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 | |
class NewLineCheck implements themecheck { | |
protected $error = array(); | |
function check( $php_files, $css_files, $other_files) { | |
$ret = true; | |
foreach ($php_files as $name => $content) { | |
checkcount(); | |
if ( preg_match('/\?>[\r\n]+^[\r\n]+<\?php/m',$content, $matches) ) { | |
$filename = tc_filename( $name ); |
This file contains 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
define('REVIEWER', true); | |
define('TC_PRE', 'Theme Review:[[br]] | |
- Themes should be reviewed using "define(\'WP_DEBUG\', true);" in wp-config.php[[br]] | |
- Themes should be reviewed using the test data from the Theme Checklists (TC) | |
<br />-----<br /> | |
'); | |
define('TC_POST', ' | |
<br />-----<br /> | |
General Observations:[[br]] | |
<br />-----<br /> |
This file contains 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 | |
class TextDomainCheck implements themecheck { | |
protected $error = array(); | |
function check( $php_files, $css_files, $other_files) { | |
$ret = true; | |
$php = implode(' ', $php_files); |
This file contains 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: Demo | |
Plugin URI: http://www.xxxx | |
Author: Name... | |
Author URI: http://www.xxxx | |
Demo: http://www.xxxxx | |
External: http://www.xxxxx | |
Description: A simple demo | |
PageLines: true |
This file contains 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
DELETE from wp_posts where `post_type` = 'boxes' |
This file contains 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
add_filter( 'pagelines_branding_rssurl', create_function('', 'return "http://feeds.feedburner.com/TheBlogOfPross";') ); |
This file contains 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
add_filter( 'render_css_posix_', '__return_true' ); |
OlderNewer