Skip to content

Conversation

@mikeyarce
Copy link
Contributor

Description

Fixes #656

Currently there's a PHP Notice happening when you save screen option changes:
[07-Jun-2021 18:36:16 UTC] PHP Notice: Only variables should be passed by reference in wp-content/plugins/Edit-Flow/common/php/screen-options.php on line 169

Steps to Test

  1. Go to wp-admin/index.php?page=story-budget
  2. Click on Screen Options at the top
  3. Change the number of columns
  4. Refresh the page to make sure the setting was saved

@mikeyarce mikeyarce requested a review from htdat June 10, 2021 22:55
@mikeyarce
Copy link
Contributor Author

Looking at the test failures, it looks like the problem is:
Line indented incorrectly; expected at least 3 tabs, found 2

The problem happens because the whole file is indented incorrectly, but I don't think we should worry about that for this specific PR.

@htdat
Copy link
Member

htdat commented Jun 11, 2021

Tested and confirmed everything is OK.
🚢 !

Copy link
Member

@htdat htdat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢!

(I noticed that I did not formally send this review so... I am doing that now).

@mikeyarce mikeyarce merged commit 25672a3 into master Jun 15, 2021
@mikeyarce mikeyarce deleted the fix/pass-variable-reference branch June 15, 2021 03:20
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.

PHP Notice: Only variables should be passed by reference

3 participants