Tyrel Kelsey
Forum Replies Created
-
Forum: Plugins
In reply to: [New Relic Reporting for WordPress] Warning appearing with WP_DEBUG onHey Taylor,
Could you give me a list of plugins you’re using and if possible the value of the
$template
variable when it’s being passed toset_template()
. The easiest way to get that would probably be to just drop avar_dump()
call at the top of this function https://github.com/10up/wp-newrelic/blob/master/classes/class-wp-nr-apm.php#L59Forum: Fixing WordPress
In reply to: Query variables and URL rewriting magicYou can use all of the captures in the rules so you can write something like below and cover all of your variations with any page name.
add_filter( 'rewrite_rules_array', 'my_new_rewrite_rules' ); function my_new_rewrite_rules( $rules ) { $new_rules = array( '(students|parents|counselors|teachers)/([^/]+)/?$' => 'index.php?pagename=$matches[2]&dem=$matches[1]', ); $rules = $new_rules + $rules; return $rules; }
I just wrote a fix for this issue that you can download to test here https://github.com/ninnypants/search-everything-wordpress-plugin/zipball/exclude_category_fix
The issue is that the plugin currently only checks for http urls to enable https you can modify the file and replace
'https://' == substr( $content, 0, 7 )
with
preg_match( '#^https?://#i', $content )
There is a fix here. I’m not sure why it would be causing a 404 though, might just be the lack of posts. I’m testing on the 2011 theme.
https://github.com/ninnypants/search-everything-wordpress-plugin
And it will probably be updated in the repo soon
Forum: Plugins
In reply to: [Plugin: Transposh] Garbage code inserted into script tagsOk I’ve finally managed to track the problem into the database. Can you think of anything that would cause problems if it were messed up in the database? Transposh doesn’t seem to use the database too much.
Forum: Plugins
In reply to: [Plugin: Transposh] Garbage code inserted into script tagsOk I’m not completely sure of the relation but on the non translated side (nmcentennial.org) of the site everything works fine no weirdness shows up in the script tags, but when I switch to the translated section(nmcentennial.org/es/) the weird comments/html show up inside the script tags. If I turn on the option to translate the main language as well the the same comments/html show up on (nmcentennial.org)
I’ve disabled all other plugins and re-uploaded the code for transposh, but haven’t been able to make any headway on why it has started doing this.
Forum: Plugins
In reply to: Getting a WP user’s roleWorks thanks!
I was hoping for something simpler, but this seems to be the only way.Forum: Fixing WordPress
In reply to: Reset password key not working in 2.7It worked
Forum: Fixing WordPress
In reply to: Reset password key not working in 2.7This is for every member correct?