- Timestamp:
- 08/14/2026 11:17:51 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ai-client/class-wp-ai-client-prompt-builder.php
r63298 r63299 227 227 228 228 /** 229 * Clones the wrapped prompt builder alongside this instance. 230 * 231 * The wrapped builder mutates its own state, so without this a clone would 232 * share that state with the original and any change made to one would be 233 * visible in the other. 234 * 235 * @since 7.2.0 236 */ 237 public function __clone() { 238 $this->builder = clone $this->builder; 239 240 if ( null !== $this->error ) { 241 $this->error = clone $this->error; 242 } 243 } 244 245 /** 229 246 * Registers WordPress abilities as function declarations for the AI model. 230 247 *
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)