Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPDoc improvements #542

Open
wants to merge 303 commits into
base: develop
Choose a base branch
from

Conversation

paulschreiber
Copy link
Contributor

Adds missing PHPDoc comments. Fixes warnings.

Assumes presence/merging of fix/phpcs.

trepmal and others added 30 commits March 23, 2017 09:20
In Test_Author_Queried_Object, tests will fail when, by default, tables for subsite are created as temporary.
It can lead to unexpected bugs and make it not clear why we cached an
empty array (and therefore harder to debug).
No need to test PHP nightly for now; 7 + 7.1 are good for now. Drop
WordPress 4.5.
Script was stopping after no co-authors was find. Now script will
display an error message and continue to the next post.
Script was stopping after no co-authors was find. Now script will
display an error message and continue to the next post.
Resolves Automattic#417

* Removed duplicate left join for optimization
sboisvert and others added 25 commits June 5, 2018 12:34
…meta-key

Test test_coauthors_links_singe_guests_authors wrongly passing
…-guest-author

Added FAQ to readme on how to disable Guest Authors
Repro steps:
- in `archive.php`, use `the_archive_title()` method
- load a category archive page

Expected results:
"Category: category_name"

Actual results:
null

Notes:
The `filter_author_archive_title()` function is hooked to the `get_the_archive_title` filter, which can run in other archive templates such as `category` or `tag`. When run in such a template, the function does not return the `$title` parameter, resulting in `null`.
…on_pre_user_query

Removed function action_pre_user_query and its hooks
resolves “missing full stop” warnings
* [Style] Identation changed to tab

* [Feat] Added personal data exporter to guest authors

* [Feat] Added a filter to allow third part plugins add guest author data

* [Style] WPCS fixes

* [Fix] Filter name changed

* [Style] WPCS fixes

* [Fix] Filter name changed
…ests

Re-enable disabled Test_Author_Queries tests
Add post type parameter to the Mine link, so it works for Pages
🐛Only filter author template for title
@GaryJones
Copy link
Contributor

This can't be merged as is, but I'm adding this to a future milestone so that it can be used as inspiration for fresh PRs.

@GaryJones GaryJones changed the base branch from main to develop August 25, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet