diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2020-06-28 22:08:22 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2020-06-28 22:08:22 +0000 |
commit | 43823df70a6f37d3e7a5128e1d2b8134678a99b9 (patch) | |
tree | b88b85f76d4b6eefb3327f0e072ede851cd1345b /src/js/_enqueues/wp/customize/controls.js | |
parent | a234b9165367b0e2682393bea55e9e7046d9d368 (diff) | |
download | wordpress-43823df70a6f37d3e7a5128e1d2b8134678a99b9.tar.gz wordpress-43823df70a6f37d3e7a5128e1d2b8134678a99b9.zip |
Comments: Rename the `$avoid_die` parameter of `wp_allow_comment()` and `wp_new_comment()` to `$wp_error`.
This makes the function signatures more consistent with `wp_update_comment()` and `wp_set_comment_status()`.
`wp_check_comment_flood()` is left as the only function with the `$avoid_die` parameter for now, as it does not return a `WP_Error` object.
Follow-up to [48154], [48207].
See #39732.
git-svn-id: https://develop.svn.wordpress.org/trunk@48208 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/wp/customize/controls.js')
0 files changed, 0 insertions, 0 deletions