spikerrbg
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Hide & Security Enhancer] Nothing hide were is problem.Hello friend.
Your right. When stop minify its working. Its hide but whitout wp rocket website load 20% more slow. Have any solution of this ?Forum: Plugins
In reply to: [Mapster WP Maps] Not show after last update custom post typeYep work fine when not block endpoint.
Friend im fix problem dont know what is logic.function disable_default_endpoints( $endpoints ) { $endpoints_to_remove = array( '/oembed/1.0', '/wp/v2', '/wp/v2/media', '/wp/v2/types', '/wp/v2/statuses', '/wp/v2/taxonomies', '/wp/v2/tags', '/wp/v2/users', '/wp/v2/comments', '/wp/v2/settings', '/wp/v2/themes', '/wp/v2/blocks', '/wp/v2/oembed', '/wp/v2/posts', '/wp/v2/pages', '/wp/v2/block-renderer', '/wp/v2/search', '/wp/v2/categories' );In this list im add ‘wp/v2/mapster-wp-maps’ and now show for non register user.
Forum: Plugins
In reply to: [Mapster WP Maps] Not show after last update custom post typeFriend if im use this filter how can give access to your plugin use JSON for non register user.
// Disable some endpoints for unauthenticated users add_filter( 'rest_endpoints', 'disable_default_endpoints' ); function disable_default_endpoints( $endpoints ) { $endpoints_to_remove = array( '/oembed/1.0', '/wp/v2', '/wp/v2/media', '/wp/v2/types', '/wp/v2/statuses', '/wp/v2/taxonomies', '/wp/v2/tags', '/wp/v2/users', '/wp/v2/comments', '/wp/v2/settings', '/wp/v2/themes', '/wp/v2/blocks', '/wp/v2/oembed', '/wp/v2/posts', '/wp/v2/pages', '/wp/v2/block-renderer', '/wp/v2/search', '/wp/v2/categories' ); if ( ! is_user_logged_in() ) { foreach ( $endpoints_to_remove as $rem_endpoint ) { // $base_endpoint = "/wp/v2/{$rem_endpoint}"; foreach ( $endpoints as $maybe_endpoint => $object ) { if ( stripos( $maybe_endpoint, $rem_endpoint ) !== false ) { unset( $endpoints[ $maybe_endpoint ] ); } } } } return $endpoints; }Forum: Plugins
In reply to: [Mapster WP Maps] Not show after last update custom post typeHello im find were is problem. Im use code for block not register user to use wp-json.
Your plugin request wp-json.
Look picture: https://ibb.co/wNnq5Bs
This is code im use to stop not register people use JSON.add_filter( 'rest_authentication_errors', function( $result ) { // If a previous authentication check was applied, // pass that result along without modification. if ( true === $result || is_wp_error( $result ) ) { return $result; } // No authentication has been performed yet. // Return an error if user is not logged in. if ( ! is_user_logged_in() ) { return new WP_Error( 'rest_not_logged_in', __( 'You are not currently logged in.' ), array( 'status' => 401 ) ); } // Our custom authentication check should have no effect // on logged-in requests return $result; });My website is https://urlis.net/fzw4o
How can give access only on your plugin to use JSON ?
Good day.Forum: Plugins
In reply to: [Mapster WP Maps] Not show after last update custom post typeSure give me your email cuz not wanna share public picture and administrator username or password
Im fix problem whit downgrade and after this upgrade.
Forum: Plugins
In reply to: [Elite Licenser Lite - Software License Key Manager] Total not workingif manual try to add this when upload plugin in wp-content/plugins and when click on plugin name in admin menu need write code and email.
When write email and code again nothing happen.
After long time show this error cURL error 28: Operation timed out after 120005 milliseconds with 0 bytes received
If you put wrong code or email again nothing happenForum: Plugins
In reply to: [WP Date and Time Shortcode] work time open or closeHello mate.
Im wanna thanks so mutch. Its work.im wanna to say on people google analytic show how many people visit your page. This plugin only show direct in wordpress. Why you wanna charge money for any who you dont make it.
Yep its fixed. Thanks
Same error after update 3.x.x