Notice: Undefined index: path
-
Custom Permalinks Plugin:
Request to enhance:
-> custom-permalinks.php
-> Line 268
-> function
-> custom_permalinks_trailingslash::if ( trim($_CPRegisteredURL,’/’) == trim($request,’/’) ) {
return ($string{0} == ‘/’ ? ‘/’ : ”) . trailingslashit($url[‘path’]) . $_CPRegisteredURL;
}
/*———————
———–To———-
———————-*/if ( trim($_CPRegisteredURL,’/’) == trim($request,’/’) ) {
if(isset($url[‘path’])){
return ($string{0} == ‘/’ ? ‘/’ : ”) . trailingslashit($url[‘path’]) . $_CPRegisteredURL;
}
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Notice: Undefined index: path’ is closed to new replies.