File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7626,9 +7626,8 @@ const EasyCoder_Rest = {
7626
7626
}
7627
7627
7628
7628
const url = program . getValue ( command . url ) ;
7629
- // Default is the path for a WordPress installation
7630
7629
if ( ! EasyCoder_Rest . restPath ) {
7631
- EasyCoder_Rest . restPath = `/wp-content/plugins/easycoder/rest.php ` ;
7630
+ EasyCoder_Rest . restPath = `. ` ;
7632
7631
}
7633
7632
let path = url ;
7634
7633
if ( ! url . startsWith ( `http` ) ) {
Original file line number Diff line number Diff line change @@ -136,9 +136,8 @@ const EasyCoder_Rest = {
136
136
}
137
137
138
138
const url = program . getValue ( command . url ) ;
139
- // Default is the path for a WordPress installation
140
139
if ( ! EasyCoder_Rest . restPath ) {
141
- EasyCoder_Rest . restPath = `/wp-content/plugins/easycoder/rest.php ` ;
140
+ EasyCoder_Rest . restPath = `. ` ;
142
141
}
143
142
let path = url ;
144
143
if ( ! url . startsWith ( `http` ) ) {
You can’t perform that action at this time.
0 commit comments