CYS: Mark several classes as internal (#51069)
* CYS: Mark several classes as internal * Add changelog file
This commit is contained in:
parent
502b4abe43
commit
e589fa87e1
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Mark several Customize Your Store PHP classes as internal
|
|
@ -7,6 +7,8 @@ use WP_Post;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Customize Your Store Task
|
* Customize Your Store Task
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CustomizeStore extends Task {
|
class CustomizeStore extends Task {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -8,6 +8,8 @@ use Automattic\Jetpack\Connection\Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Configuration
|
* Class Configuration
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class Configuration {
|
class Configuration {
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@ use WpOrg\Requests\Requests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Connection
|
* Class Connection
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class Connection {
|
class Connection {
|
||||||
const TEXT_COMPLETION_API_URL = 'https://public-api.wordpress.com/wpcom/v2/text-completion';
|
const TEXT_COMPLETION_API_URL = 'https://public-api.wordpress.com/wpcom/v2/text-completion';
|
||||||
|
|
|
@ -10,6 +10,8 @@ use WP_Error;
|
||||||
* ContentProcessor class.
|
* ContentProcessor class.
|
||||||
*
|
*
|
||||||
* Process images for content
|
* Process images for content
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ContentProcessor {
|
class ContentProcessor {
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@ namespace Automattic\WooCommerce\Blocks\AIContent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Patterns Dictionary class.
|
* Patterns Dictionary class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PatternsDictionary {
|
class PatternsDictionary {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,6 +6,8 @@ use WP_Error;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Patterns Helper class.
|
* Patterns Helper class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PatternsHelper {
|
class PatternsHelper {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,6 +7,8 @@ use WP_Error;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pattern Images class.
|
* Pattern Images class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class UpdatePatterns {
|
class UpdatePatterns {
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,8 @@ use Automattic\WooCommerce\Blocks\AI\Connection;
|
||||||
use WP_Error;
|
use WP_Error;
|
||||||
/**
|
/**
|
||||||
* Pattern Images class.
|
* Pattern Images class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class UpdateProducts {
|
class UpdateProducts {
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ use Automattic\WooCommerce\Blocks\Images\Pexels;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AIPatterns class.
|
* AIPatterns class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AIPatterns {
|
class AIPatterns {
|
||||||
const PATTERNS_AI_DATA_POST_TYPE = 'patterns_ai_data';
|
const PATTERNS_AI_DATA_POST_TYPE = 'patterns_ai_data';
|
||||||
|
|
|
@ -5,6 +5,8 @@ use WP_Error;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PatternsToolkit class.
|
* PatternsToolkit class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PTKClient {
|
class PTKClient {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,6 +7,8 @@ use WP_Upgrader;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PTKPatterns class.
|
* PTKPatterns class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PTKPatternsStore {
|
class PTKPatternsStore {
|
||||||
const TRANSIENT_NAME = 'ptk_patterns';
|
const TRANSIENT_NAME = 'ptk_patterns';
|
||||||
|
|
|
@ -5,6 +5,8 @@ use Automattic\WooCommerce\Admin\Features\Features;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PatternRegistry class.
|
* PatternRegistry class.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PatternRegistry {
|
class PatternRegistry {
|
||||||
const SLUG_REGEX = '/^[A-z0-9\/_-]+$/';
|
const SLUG_REGEX = '/^[A-z0-9\/_-]+$/';
|
||||||
|
|
Loading…
Reference in New Issue