sem101
Forum Replies Created
-
Forum: Plugins
In reply to: [XPoster - Share to X and Mastodon] Can't get past phone verificationOK, fair enough. For anyone else with similar issues…
If you have 1 phone and multiple web properties, you can only verify Twitter Apps with 1 phone. So you cannot change “read write” without verifying your phone first. But since your phone is already verified with another account, you’ll have to use a colleague phone. Get it?
Forum: Plugins
In reply to: [XPoster - Share to X and Mastodon] Can't get past phone verificationThanks for reply. Sorry my English…
Example: I have my own Twitter account with verified phone. My client has Twitter account with verified phone. BUT, client has 2nd website with 2nd Twitter – but client phone is already in use. So we cannot creat new app to read write without new phone for 2nd Twitter (Twitter must verify phone).
Make sense? Or am I missing step in Twitter API or Twitter Apps or WP to Twitter? Thanks you.
Forum: Plugins
In reply to: [WordPress Importer] PHP warnings with WordPress 4.0I’m getting this with debug on…
Strict Standards: Redefining already defined constructor for class WXR_Parser_Regex in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/parsers.php on line 408 Strict Standards: Declaration of WP_Import::bump_request_timeout() should be compatible with WP_Importer::bump_request_timeout($val) in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/wordpress-importer.php on line 38 Warning: Cannot modify header information - headers already sent by (output started at /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/parsers.php:408) in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-includes/option.php on line 750 Warning: Cannot modify header information - headers already sent by (output started at /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/parsers.php:408) in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-includes/option.php on line 751
WP 4.0
PHP 5.5.10
MySQL 5.5.34Forum: Plugins
In reply to: [Stream] Front-end calls to fry.x-team.comOkay, thanks. I’ll keep poking around. So the transient TTL is every 6 hours not every call? The calls seem very frequent (haven’t timed them yet). I’m using Little Snitch on Mac.
Hi thanks for the reply. I found this…
Edit htaccess inside wp-admin folder:
<Files admin-ajax.php> Order allow,deny Allow from all Satisfy any </Files>
Not quite sure I’m understanding or misinterpreting your response — but it seems very defensive vs helpful. (Don’t really care, I’ve seen this debate before.)
“Hijacking” the WP admin is not best practice (menu positions, gui, icon colors, etc). I have 25 plugins all putting their Settings API menus inside Settings. With exception to WPSEO — but at least he puts it below Settings.
Deleting AdRotate plugin now.
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sentHi Ajay,
So far, seems to work great WITHOUT removing nonce. I see you have 2 nonces in your form, but haven’t looked at all code so I don’t know reference.
This seems to be most non intrusive code that does not modify anything greatly. Hope it helps!
if ( isset( $_POST['crp_meta_box_nonce'] ) ) { if ( ! current_user_can( 'edit_post', $post_id ) ) { return; } }
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sentI’m going to add this for now…what do you think?
if ( isset( $_POST['crp_meta_box_nonce'] ) ) { if ( ! current_user_can( 'edit_post', $post_id ) ) { return; } }
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sentOkay, it’s NOT the nonce. It’s user roles. I should’ve know (because capabilities.php warning):
admin.inc.php (809)if ( ! current_user_can( 'edit_post' ) ) return;
I am done debugging. I’m just going to comment out that line and figure it out later. FYI, there are returns with no error handlers. Also, textdomain’s should not use DEFINED vars ??
Cool plugin, thanks!
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sentMaybe it’s a caching problem? I cannot verify nonce ??
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sentLine 773, admin.inc.php
wp_nonce_field( 'crp_meta_box', 'crp_meta_box_nonce' );
Commenting out the nonce solves the problem. I will investigate further…
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sentOK, it appears to be the meta box as assumed. I am currently debugging now. I have currently disabled the meta box:
admin.inc.php (760)
function crp_add_meta_box( $post_type, $post ) { add_meta_box( 'crp_metabox', __( 'Contextual Related Posts', CRP_LOCAL_NAME ), 'crp_call_meta_box', $post_type, 'advanced', 'default' ); } //add_action( 'add_meta_boxes', 'crp_add_meta_box' , 10, 2 );
When I disable meta box, I can easily save a post.
Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sent
Maybe it’s the META BOX ???Here are the steps to replicate…
1. DEBUG is true
2. MultiSite is true
3. All plugins deactivated
4. Twentyfourteen theme only
5. Activate CRP plugin
6. Create and Save a “test” postGet white screen and notices above.
I have repeated steps with popular plugins like CF7, EMP, etc. This seems to happening with Contextual Related Posts.
*** I have not tried with WP clean install or single blog. I have only tried with the steps listed above on MultiSite only.
localhost
WP 3.9.1
MultiSite
PHP 5.4.4Forum: Plugins
In reply to: [Contextual Related Posts] Debug mode headers already sent(see below)
Forum: Plugins
In reply to: [Contextual Related Posts] Are there any Filters or Action Hooks?I think I gots it:
function my_function() { return ':-)'; } function hook_crp_before_list_item( $before_list_item, $result, $output = null ) { $output .= my_function(); $output .= $before_list_item; //$output .= '<li><a href="' . get_permalink( $result->ID ) . '">' . get_the_title( $result->ID ) . '</a></li>'; return $output; } add_filter( 'crp_before_list_item', 'hook_crp_before_list_item', 2, 2 );