XMLRPC uploadFile OverWrite
-
I just developed procedure for posting from outside WordPress using XMLRPC. I use uploadFile() for posting attachment with my post. It was critical for me that parameter “overwrite” was working as expected. I developed procedure under WordPress 4.3. But than i had to upgrade to 4.4.2.
And it seems that parameter “overwrite” is not working anymore. Method uploadFile() always creates new file with appended numerical suffix increasing every time i run my procedure. No matter of parameter’s “overwrite” value.
Is it a bug? Or it is a deliberate behaviour?
Is there any workaround?Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘XMLRPC uploadFile OverWrite’ is closed to new replies.