brucewp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [OnePress] customize with css bullet menuthanks for the answer and it’s possible to personalize the bullet by sections?
I think to the path with #servicename …if do a PR is accepted?
Forum: Plugins
In reply to: [WPS Hide Login] redirect to strange utlok I will try …
Forum: Plugins
In reply to: [WPS Hide Login] redirect to strange utlhow?
Forum: Plugins
In reply to: [WPS Hide Login] redirect to strange utlyes
another note with this link it’s possible discover the login formhttps://computeplant.s2-tastewp.com/wp-login.php?q=/aaaaa&sgs-token=bbbb
it’s corrects ?ok thanks I investigate further …
https://computeplant.s2-tastewp.com/wp-admin
https://computeplant.s2-tastewp.com/wp-login.php
https://computeplant.s2-tastewp.com/wp-signup.phpI not understand why this behaviour and not 404seems works without subdir
But not understand why if I enter without submit in correct login … /wp-admin and /wp-login.php are accesible this is a big issue…
this function
public static function get_url_path( $url ) { // Get the site url parts. $url_parts = parse_url( Helper_Service::get_site_url() ); // Get the home path. $home_path = ! empty( $url_parts['path'] ) ? trailingslashit( $url_parts['path'] ) : '/'; // Remove the query args from the url. $url = explode( '?', preg_replace( '|//+|', '/', $url ) ); // Get the url path. $path = parse_url( $url[0], PHP_URL_PATH ); //die(var_export("$home_path $path $url[0]", true)); // Return the path without home path. return str_replace( $home_path, '', $path ); }I looking in the code the problems I think is with subdirectory. The “?” Is stripped but after this we have the slug too. Instead without subdirectory the “?” Isnt stripped I think …
I’m a developer so some suggestions also a code-level, to investigate is appreciated
The method
– public function handle_request() {with mysite/wordpress/wp-login.php – is called
with mysite/wordpress/mycustomlogin – noHi, @k3llanved
I know the behavior, but I obtain only 404 responses.
the URL is the correct one (set in config page).
I found a way to rollback in case of a problem thanks!Also the default page returned 404
My installation is on wordpress directory (I’m in test mode)
My setup: Only this plugin active basic theme (Twenty Twenty-ThreeVersione: 1.0)