Comments (4)
Added Comment flooding
since WP checks for the last commit you have before allowing you to post a new comment.
from stream.
@fjarrett Regarding 'Comment::Replied' action, would it be stored as a single record if a user replied to a comment, or would a 'Comment::Created' record be created as well ? I took the approach of not adding the 'Created' record in this scenario, hopefully it'd be mitigated by users ( or extensions 👍 ) querying the database.
from stream.
@fjarrett Actually the same thing happens with 'Comment::Approved' since some comments would get approved automatically on insertion, while others would not. I think this scenario requires an explicit second record for the approval action, to make it easy for users to query such actions, otherwise the query for approvals would need to check meta table for comment_approved meta field. Thoughts ?
from stream.
@fjarrett Final result:
- Adding a comment, while auto-approve is on, triggers two records ( created / approved )
- Adding a reply, adds an extra records ( 2 or 3 records per reply, depending on auto-approve )
Let me know what do you think should happen here.
from stream.
Related Issues (20)
- Vulnerability in 3.9.2 HOT 4
- "Comment author" field is displayed incorrectly for comment moderation actions
- WP-CLI stream query fatal error: array_key_exists() must be of type array HOT 1
- PHP 8.1: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
- PHP Error accessing user in wp cli triggered update
- PHP Fatal error: Uncaught ValueError w/ Yosat SEO HOT 5
- PHP 8.1 Constant WP_Stream\FILTER_SANITIZE_STRING is deprecated HOT 5
- Gravity Forms - Error Saving form HOT 2
- PHP Warnings/Notices on Gravity Forms note added
- Improve event source IP reporting HOT 1
- Rely on WP.org localization tooling
- 3.10.0 missing from Packagist HOT 3
- Dynamic callback function name cannot include hyphens HOT 6
- CLI: PHP Uncaught TypeError HOT 1
- Export stops at 10,000 items HOT 2
- Item count above table cuts off commas when updated via JS
- All commands return "Error: SITE IS DISCONNECTED"
- Revise the `autoload` value
- ACF Options page updates not being recorded
- Plugin Updates via WP Cron in Custom Plugin Not Logging Plugin Updates in Stream
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stream.