Skip to content

Stream 3: Fix \WP_Stream\List_Table namespace so live updates work correctly#739

Merged
lukecarbis merged 1 commit intoxwp:developfrom
rob:fix-live-updates
Aug 26, 2015
Merged

Stream 3: Fix \WP_Stream\List_Table namespace so live updates work correctly#739
lukecarbis merged 1 commit intoxwp:developfrom
rob:fix-live-updates

Conversation

@rob
Copy link
Contributor

@rob rob commented Aug 26, 2015

(Reposting from #735 to issue PR against develop branch instead of master)

On a fresh Stream 3 install, live updates fail silently with the following error:

PHP Fatal error:  Class 'WP_Stream\\WP_Stream_List_Table' not found in /[...]/wp-content/plugins/stream/classes/class-live-update.php on line 179

Due to PHP's namespaces, this needs to be \WP_Stream\List_Table or just List_Table, not WP_Stream_List_Table. This commit fixes this so live updates work correctly again like they should.

Fixes "PHP Fatal error:  Class 'WP_Stream\\WP_Stream_List_Table' not found" error.
@lukecarbis
Copy link
Contributor

Legend. Thanks for this! 👌

lukecarbis pushed a commit that referenced this pull request Aug 26, 2015
Stream 3: Fix \WP_Stream\List_Table namespace so live updates work correctly
@lukecarbis lukecarbis merged commit 10324de into xwp:develop Aug 26, 2015
@rob rob deleted the fix-live-updates branch September 1, 2015 14:23
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.

2 participants