Skip to content

Merge from head repository#76

Merged
NeilWJames merged 2 commits intoNeilWJames:mainfrom
wp-document-revisions:main
May 31, 2024
Merged

Merge from head repository#76
NeilWJames merged 2 commits intoNeilWJames:mainfrom
wp-document-revisions:main

Conversation

@NeilWJames
Copy link
Copy Markdown
Owner

No description provided.

earthlingdavey and others added 2 commits May 28, 2024 16:22
This PR fixes an error that I've seen where the following error is returned.

```
TypeError: Cannot read properties of undefined (reading 'bindPostDocumentUploadCB')
    at HTMLDocument.<anonymous> (VM5802 media-upload.php:3:33)
```

To reproduce the error. 

- Open console in browser
- Create a new document
- Click Upload new version.
- You will see the error is logged.
Fix: TypeError: window.WPDocumentRevisions is undefined
@NeilWJames NeilWJames merged commit b98f454 into NeilWJames:main May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants