refactor: Detach – toter Zweig, benannte Argumente; VariableDetachRewrite-Docblock nennt leftover()
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
7608be6558
commit
5064409f9a
@@ -14,7 +14,7 @@ defined('ABSPATH') || exit;
|
||||
* with variable, ruling V9): every attribute value that is exactly one reference $variable({"type":"content",
|
||||
* "value":{"name":"<id>",…}})$ becomes the value – for a strings variable with the reference's own before/after
|
||||
* around it. References embedded in a longer text stay (Divi resolves them inside the text; cutting them out would
|
||||
* change the text) and are named in notes(). Other references – colors, other variables, dynamic content – stay
|
||||
* change the text) and are reported through leftover() (ReportsLeftovers). Other references – colors, other variables, dynamic content – stay
|
||||
* untouched. Pure PHP.
|
||||
*/
|
||||
final class VariableDetachRewrite implements NodeRewrite, ReportsLeftovers
|
||||
|
||||
Reference in New Issue
Block a user