sdc-build-wp 4.1.0 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/composer.json +2 -3
- package/composer.lock +3 -313
- package/index.js +38 -21
- package/lib/blocks.js +8 -6
- package/lib/style.js +17 -0
- package/package.json +1 -1
- package/vendor/composer/autoload_classmap.php +0 -37
- package/vendor/composer/autoload_psr4.php +0 -1
- package/vendor/composer/autoload_real.php +2 -0
- package/vendor/composer/autoload_static.php +0 -53
- package/vendor/composer/installed.json +1 -329
- package/vendor/composer/installed.php +3 -39
- package/vendor/composer/platform_check.php +26 -0
- package/lib/bustCache.js +0 -14
- package/vendor/dealerdirect/phpcodesniffer-composer-installer/LICENSE.md +0 -22
- package/vendor/dealerdirect/phpcodesniffer-composer-installer/README.md +0 -285
- package/vendor/dealerdirect/phpcodesniffer-composer-installer/composer.json +0 -71
- package/vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php +0 -637
- package/vendor/phpcsstandards/phpcsextra/CHANGELOG.md +0 -590
- package/vendor/phpcsstandards/phpcsextra/LICENSE +0 -165
- package/vendor/phpcsstandards/phpcsextra/Modernize/Docs/FunctionCalls/DirnameStandard.xml +0 -40
- package/vendor/phpcsstandards/phpcsextra/Modernize/Sniffs/FunctionCalls/DirnameSniff.php +0 -382
- package/vendor/phpcsstandards/phpcsextra/Modernize/ruleset.xml +0 -5
- package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Docs/Arrays/ArrayBraceSpacingStandard.xml +0 -94
- package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Docs/Arrays/CommaAfterLastStandard.xml +0 -43
- package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Sniffs/Arrays/ArrayBraceSpacingSniff.php +0 -305
- package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Sniffs/Arrays/CommaAfterLastSniff.php +0 -226
- package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/ruleset.xml +0 -5
- package/vendor/phpcsstandards/phpcsextra/README.md +0 -573
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/DisallowShortArraySyntaxStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/DuplicateArrayKeyStandard.xml +0 -44
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/MixedArrayKeyTypesStandard.xml +0 -40
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/MixedKeyedUnkeyedArrayStandard.xml +0 -31
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/DisallowAnonClassParenthesesStandard.xml +0 -24
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/DisallowFinalClassStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/ModifierKeywordOrderStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/RequireAnonClassParenthesesStandard.xml +0 -23
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/RequireFinalClassStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/ConstructorDestructorReturnStandard.xml +0 -64
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/ForeachUniqueAssignmentStandard.xml +0 -26
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/NoDoubleNegativeStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/NoEchoSprintfStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/StaticInFinalClassStandard.xml +0 -43
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Constants/LowercaseClassResolutionKeywordStandard.xml +0 -23
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Constants/ModifierKeywordOrderStandard.xml +0 -30
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Constants/UppercaseMagicConstantsStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/ControlStructures/DisallowAlternativeSyntaxStandard.xml +0 -35
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/ControlStructures/DisallowLonelyIfStandard.xml +0 -49
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/ControlStructures/IfElseDeclarationStandard.xml +0 -37
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Files/SeparateFunctionsFromOOStandard.xml +0 -45
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/FunctionDeclarations/NoLongClosuresStandard.xml +0 -42
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/FunctionDeclarations/RequireFinalMethodsInTraitsStandard.xml +0 -33
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowLongListSyntaxStandard.xml +0 -23
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowShortListSyntaxStandard.xml +0 -23
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowCurlyBraceSyntaxStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowDeclarationWithoutNameStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/EnforceCurlyBraceSyntaxStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/OneDeclarationPerFileStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/NamingConventions/NoReservedKeywordParameterNamesStandard.xml +0 -23
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/OOStructures/AlphabeticExtendsImplementsStandard.xml +0 -27
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/ConcatPositionStandard.xml +0 -31
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/DisallowLogicalAndOrStandard.xml +0 -30
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/DisallowShortTernaryStandard.xml +0 -26
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/DisallowStandalonePostIncrementDecrementStandard.xml +0 -44
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/StrictComparisonsStandard.xml +0 -29
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/TypeSeparatorSpacingStandard.xml +0 -33
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/PHP/LowercasePHPTagStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/PHP/OneStatementInShortEchoTagStandard.xml +0 -41
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowMixedGroupUseStandard.xml +0 -39
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseClassStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseConstStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseFunctionStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/KeywordSpacingStandard.xml +0 -29
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/LowercaseFunctionConstStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoLeadingBackslashStandard.xml +0 -23
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoUselessAliasesStandard.xml +0 -30
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/AnonClassKeywordSpacingStandard.xml +0 -31
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/CommaSpacingStandard.xml +0 -94
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/DisallowInlineTabsStandard.xml +0 -25
- package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/PrecisionAlignmentStandard.xml +0 -29
- package/vendor/phpcsstandards/phpcsextra/Universal/Helpers/DummyTokenizer.php +0 -60
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php +0 -89
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/DuplicateArrayKeySniff.php +0 -297
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/MixedArrayKeyTypesSniff.php +0 -174
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/MixedKeyedUnkeyedArraySniff.php +0 -134
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/DisallowAnonClassParenthesesSniff.php +0 -112
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/DisallowFinalClassSniff.php +0 -116
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/ModifierKeywordOrderSniff.php +0 -188
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/RequireAnonClassParenthesesSniff.php +0 -81
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/RequireFinalClassSniff.php +0 -102
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/ConstructorDestructorReturnSniff.php +0 -211
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/ForeachUniqueAssignmentSniff.php +0 -153
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/NoDoubleNegativeSniff.php +0 -269
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/NoEchoSprintfSniff.php +0 -131
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/StaticInFinalClassSniff.php +0 -216
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Constants/LowercaseClassResolutionKeywordSniff.php +0 -106
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Constants/ModifierKeywordOrderSniff.php +0 -199
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Constants/UppercaseMagicConstantsSniff.php +0 -89
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/ControlStructures/DisallowAlternativeSyntaxSniff.php +0 -216
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/ControlStructures/DisallowLonelyIfSniff.php +0 -348
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/ControlStructures/IfElseDeclarationSniff.php +0 -164
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Files/SeparateFunctionsFromOOSniff.php +0 -190
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/FunctionDeclarations/NoLongClosuresSniff.php +0 -233
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/FunctionDeclarations/RequireFinalMethodsInTraitsSniff.php +0 -120
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Lists/DisallowLongListSyntaxSniff.php +0 -71
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Lists/DisallowShortListSyntaxSniff.php +0 -86
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/DisallowCurlyBraceSyntaxSniff.php +0 -81
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/DisallowDeclarationWithoutNameSniff.php +0 -80
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/EnforceCurlyBraceSyntaxSniff.php +0 -81
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/OneDeclarationPerFileSniff.php +0 -96
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/NamingConventions/NoReservedKeywordParameterNamesSniff.php +0 -190
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/OOStructures/AlphabeticExtendsImplementsSniff.php +0 -275
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/ConcatPositionSniff.php +0 -204
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/DisallowLogicalAndOrSniff.php +0 -112
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/DisallowShortTernarySniff.php +0 -76
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/DisallowStandalonePostIncrementDecrementSniff.php +0 -197
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/StrictComparisonsSniff.php +0 -116
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/TypeSeparatorSpacingSniff.php +0 -85
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/PHP/LowercasePHPTagSniff.php +0 -87
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/PHP/OneStatementInShortEchoTagSniff.php +0 -101
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowMixedGroupUseSniff.php +0 -248
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowUseClassSniff.php +0 -211
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowUseConstSniff.php +0 -211
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowUseFunctionSniff.php +0 -211
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/KeywordSpacingSniff.php +0 -207
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/LowercaseFunctionConstSniff.php +0 -156
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/NoLeadingBackslashSniff.php +0 -170
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/NoUselessAliasesSniff.php +0 -155
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/AnonClassKeywordSpacingSniff.php +0 -79
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/CommaSpacingSniff.php +0 -408
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/DisallowInlineTabsSniff.php +0 -173
- package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/PrecisionAlignmentSniff.php +0 -445
- package/vendor/phpcsstandards/phpcsextra/Universal/ruleset.xml +0 -5
- package/vendor/phpcsstandards/phpcsextra/composer.json +0 -69
- package/vendor/phpcsstandards/phpcsutils/.phpdoc.xml.dist +0 -36
- package/vendor/phpcsstandards/phpcsutils/CHANGELOG.md +0 -1106
- package/vendor/phpcsstandards/phpcsutils/LICENSE +0 -165
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/AbstractSniffs/AbstractArrayDeclarationSniff.php +0 -551
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/BCFile.php +0 -781
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/BCTokens.php +0 -123
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php +0 -202
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php +0 -44
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php +0 -47
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php +0 -43
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php +0 -50
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php +0 -246
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php +0 -218
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php +0 -687
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrListWithCache.php +0 -269
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php +0 -164
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php +0 -75
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php +0 -459
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php +0 -837
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php +0 -55
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php +0 -227
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php +0 -156
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php +0 -232
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php +0 -276
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php +0 -828
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php +0 -262
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Lists.php +0 -359
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/MessageHelper.php +0 -145
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Namespaces.php +0 -389
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/NamingConventions.php +0 -116
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Numbers.php +0 -322
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ObjectDeclarations.php +0 -359
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Operators.php +0 -252
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Orthography.php +0 -120
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Parentheses.php +0 -419
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/PassedParameters.php +0 -510
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php +0 -143
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php +0 -331
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php +0 -432
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php +0 -333
- package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/ruleset.xml +0 -4
- package/vendor/phpcsstandards/phpcsutils/README.md +0 -297
- package/vendor/phpcsstandards/phpcsutils/composer.json +0 -92
- package/vendor/phpcsstandards/phpcsutils/phpcsutils-autoload.php +0 -68
- package/vendor/wp-coding-standards/wpcs/CHANGELOG.md +0 -1654
- package/vendor/wp-coding-standards/wpcs/LICENSE +0 -21
- package/vendor/wp-coding-standards/wpcs/README.md +0 -261
- package/vendor/wp-coding-standards/wpcs/WordPress/AbstractArrayAssignmentRestrictionsSniff.php +0 -261
- package/vendor/wp-coding-standards/wpcs/WordPress/AbstractClassRestrictionsSniff.php +0 -257
- package/vendor/wp-coding-standards/wpcs/WordPress/AbstractFunctionParameterSniff.php +0 -111
- package/vendor/wp-coding-standards/wpcs/WordPress/AbstractFunctionRestrictionsSniff.php +0 -358
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Arrays/ArrayIndentationStandard.xml +0 -116
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Arrays/ArrayKeySpacingRestrictionsStandard.xml +0 -31
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Arrays/MultipleStatementAlignmentStandard.xml +0 -50
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/CodeAnalysis/EscapedNotTranslatedStandard.xml +0 -24
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/DateTime/CurrentTimeTimestampStandard.xml +0 -35
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/DateTime/RestrictedFunctionsStandard.xml +0 -54
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml +0 -119
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/NamingConventions/ValidHookNameStandard.xml +0 -35
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/NamingConventions/ValidPostTypeSlugStandard.xml +0 -121
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/PHP/IniSetStandard.xml +0 -40
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/PHP/StrictInArrayStandard.xml +0 -53
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/PHP/YodaConditionsStandard.xml +0 -27
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Security/SafeRedirectStandard.xml +0 -23
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapabilitiesStandard.xml +0 -69
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapitalPDangitStandard.xml +0 -43
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/ClassNameCaseStandard.xml +0 -23
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CronIntervalStandard.xml +0 -45
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedClassesStandard.xml +0 -23
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedFunctionsStandard.xml +0 -23
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedParameterValuesStandard.xml +0 -23
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedParametersStandard.xml +0 -40
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/EnqueuedResourceParametersStandard.xml +0 -92
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/EnqueuedResourcesStandard.xml +0 -57
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/PostsPerPageStandard.xml +0 -73
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/CastStructureSpacingStandard.xml +0 -27
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/ControlStructureSpacingStandard.xml +0 -150
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml +0 -19
- package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/OperatorSpacingStandard.xml +0 -61
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ArrayWalkingFunctionsHelper.php +0 -108
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ConstantsHelper.php +0 -135
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ContextHelper.php +0 -394
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/DeprecationHelper.php +0 -84
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/EscapingFunctionsTrait.php +0 -256
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/FormattingFunctionsHelper.php +0 -60
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/IsUnitTestTrait.php +0 -238
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ListHelper.php +0 -101
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/MinimumWPVersionTrait.php +0 -159
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/PrintingFunctionsTrait.php +0 -122
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/RulesetPropertyHelper.php +0 -73
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/SanitizationHelperTrait.php +0 -418
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/SnakeCaseHelper.php +0 -60
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/UnslashingFunctionsHelper.php +0 -59
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ValidationHelper.php +0 -349
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/VariableHelper.php +0 -262
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/WPDBTrait.php +0 -115
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/WPGlobalVariablesHelper.php +0 -312
- package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/WPHookHelper.php +0 -113
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php +0 -72
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayDeclarationSpacingSniff.php +0 -252
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php +0 -550
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayKeySpacingRestrictionsSniff.php +0 -174
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/MultipleStatementAlignmentSniff.php +0 -583
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/CodeAnalysis/AssignmentInTernaryConditionSniff.php +0 -173
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/CodeAnalysis/EscapedNotTranslatedSniff.php +0 -89
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php +0 -301
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff.php +0 -761
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/PreparedSQLSniff.php +0 -242
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/RestrictedClassesSniff.php +0 -57
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/RestrictedFunctionsSniff.php +0 -63
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/SlowDBQuerySniff.php +0 -58
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DateTime/CurrentTimeTimestampSniff.php +0 -168
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php +0 -59
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Files/FileNameSniff.php +0 -313
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php +0 -1297
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidFunctionNameSniff.php +0 -188
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php +0 -277
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidPostTypeSlugSniff.php +0 -230
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidVariableNameSniff.php +0 -289
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/DevelopmentFunctionsSniff.php +0 -63
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/DiscouragedPHPFunctionsSniff.php +0 -100
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/DontExtractSniff.php +0 -52
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/IniSetSniff.php +0 -193
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/NoSilencedErrorsSniff.php +0 -245
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/POSIXFunctionsSniff.php +0 -73
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/PregQuoteDelimiterSniff.php +0 -70
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/RestrictedPHPFunctionsSniff.php +0 -45
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/StrictInArraySniff.php +0 -122
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/TypeCastsSniff.php +0 -90
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/YodaConditionsSniff.php +0 -124
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/EscapeOutputSniff.php +0 -903
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/NonceVerificationSniff.php +0 -422
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/PluginMenuSlugSniff.php +0 -126
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/SafeRedirectSniff.php +0 -45
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php +0 -244
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php +0 -862
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/AlternativeFunctionsSniff.php +0 -371
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/CapabilitiesSniff.php +0 -478
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/CapitalPDangitSniff.php +0 -315
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/ClassNameCaseSniff.php +0 -897
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/CronIntervalSniff.php +0 -321
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedClassesSniff.php +0 -152
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedFunctionsSniff.php +0 -1708
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedParameterValuesSniff.php +0 -291
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedParametersSniff.php +0 -509
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DiscouragedConstantsSniff.php +0 -160
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DiscouragedFunctionsSniff.php +0 -54
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/EnqueuedResourceParametersSniff.php +0 -241
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php +0 -108
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/GlobalVariablesOverrideSniff.php +0 -436
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/I18nSniff.php +0 -977
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/PostsPerPageSniff.php +0 -102
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/CastStructureSpacingSniff.php +0 -59
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php +0 -486
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php +0 -63
- package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/OperatorSpacingSniff.php +0 -60
- package/vendor/wp-coding-standards/wpcs/WordPress/ruleset.xml +0 -13
- package/vendor/wp-coding-standards/wpcs/WordPress-Core/ruleset.xml +0 -948
- package/vendor/wp-coding-standards/wpcs/WordPress-Docs/ruleset.xml +0 -109
- package/vendor/wp-coding-standards/wpcs/WordPress-Extra/ruleset.xml +0 -199
- package/vendor/wp-coding-standards/wpcs/composer.json +0 -88
- package/vendor/wp-coding-standards/wpcs/phpcs.xml.dist.sample +0 -153
|
@@ -1,1708 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* WordPress Coding Standard.
|
|
4
|
-
*
|
|
5
|
-
* @package WPCS\WordPressCodingStandards
|
|
6
|
-
* @link https://github.com/WordPress/WordPress-Coding-Standards
|
|
7
|
-
* @license https://opensource.org/licenses/MIT MIT
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
namespace WordPressCS\WordPress\Sniffs\WP;
|
|
11
|
-
|
|
12
|
-
use PHPCSUtils\Utils\MessageHelper;
|
|
13
|
-
use WordPressCS\WordPress\AbstractFunctionRestrictionsSniff;
|
|
14
|
-
use WordPressCS\WordPress\Helpers\MinimumWPVersionTrait;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Restricts the use of various deprecated WordPress functions and suggests alternatives.
|
|
18
|
-
*
|
|
19
|
-
* This sniff will throw an error when usage of deprecated functions is detected
|
|
20
|
-
* if the function was deprecated before the minimum supported WP version;
|
|
21
|
-
* a warning otherwise.
|
|
22
|
-
* By default, it is set to presume that a project will support the current
|
|
23
|
-
* WP version and up to three releases before.
|
|
24
|
-
*
|
|
25
|
-
* @since 0.11.0
|
|
26
|
-
* @since 0.13.0 Class name changed: this class is now namespaced.
|
|
27
|
-
* @since 0.14.0 Now has the ability to handle minimum supported WP version
|
|
28
|
-
* being provided via the command-line or as as <config> value
|
|
29
|
-
* in a custom ruleset.
|
|
30
|
-
*
|
|
31
|
-
* @uses \WordPressCS\WordPress\Helpers\MinimumWPVersionTrait::$minimum_wp_version
|
|
32
|
-
*/
|
|
33
|
-
final class DeprecatedFunctionsSniff extends AbstractFunctionRestrictionsSniff {
|
|
34
|
-
|
|
35
|
-
use MinimumWPVersionTrait;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* List of deprecated functions with alternative when available.
|
|
39
|
-
*
|
|
40
|
-
* Version numbers should be fully qualified.
|
|
41
|
-
* Replacement functions should have parentheses.
|
|
42
|
-
*
|
|
43
|
-
* To retrieve a function list for comparison, the following tool is available:
|
|
44
|
-
* https://github.com/JDGrimes/wp-deprecated-code-scanner
|
|
45
|
-
*
|
|
46
|
-
* {@internal To be updated after every major release. Last updated for WordPress 6.5-RC3.}
|
|
47
|
-
*
|
|
48
|
-
* @var array
|
|
49
|
-
*/
|
|
50
|
-
private $deprecated_functions = array(
|
|
51
|
-
// WP 0.71.
|
|
52
|
-
'the_category_head' => array(
|
|
53
|
-
'alt' => 'get_the_category_by_ID()',
|
|
54
|
-
'version' => '0.71',
|
|
55
|
-
),
|
|
56
|
-
'the_category_ID' => array(
|
|
57
|
-
'alt' => 'get_the_category()',
|
|
58
|
-
'version' => '0.71',
|
|
59
|
-
),
|
|
60
|
-
|
|
61
|
-
// WP 1.2.0.
|
|
62
|
-
'permalink_link' => array(
|
|
63
|
-
'alt' => 'the_permalink()',
|
|
64
|
-
'version' => '1.2.0',
|
|
65
|
-
),
|
|
66
|
-
|
|
67
|
-
// WP 1.5.0.
|
|
68
|
-
'start_wp' => array(
|
|
69
|
-
// Verified correct alternative.
|
|
70
|
-
'alt' => 'the Loop',
|
|
71
|
-
'version' => '1.5.0',
|
|
72
|
-
),
|
|
73
|
-
|
|
74
|
-
// WP 1.5.1.
|
|
75
|
-
'get_postdata' => array(
|
|
76
|
-
'alt' => 'get_post()',
|
|
77
|
-
'version' => '1.5.1',
|
|
78
|
-
),
|
|
79
|
-
|
|
80
|
-
// WP 2.0.0.
|
|
81
|
-
'create_user' => array(
|
|
82
|
-
'alt' => 'wp_create_user()',
|
|
83
|
-
'version' => '2.0.0',
|
|
84
|
-
),
|
|
85
|
-
'next_post' => array(
|
|
86
|
-
'alt' => 'next_post_link()',
|
|
87
|
-
'version' => '2.0.0',
|
|
88
|
-
),
|
|
89
|
-
'previous_post' => array(
|
|
90
|
-
'alt' => 'previous_post_link()',
|
|
91
|
-
'version' => '2.0.0',
|
|
92
|
-
),
|
|
93
|
-
'user_can_create_draft' => array(
|
|
94
|
-
'alt' => 'current_user_can()',
|
|
95
|
-
'version' => '2.0.0',
|
|
96
|
-
),
|
|
97
|
-
'user_can_create_post' => array(
|
|
98
|
-
'alt' => 'current_user_can()',
|
|
99
|
-
'version' => '2.0.0',
|
|
100
|
-
),
|
|
101
|
-
'user_can_delete_post' => array(
|
|
102
|
-
'alt' => 'current_user_can()',
|
|
103
|
-
'version' => '2.0.0',
|
|
104
|
-
),
|
|
105
|
-
'user_can_delete_post_comments' => array(
|
|
106
|
-
'alt' => 'current_user_can()',
|
|
107
|
-
'version' => '2.0.0',
|
|
108
|
-
),
|
|
109
|
-
'user_can_edit_post' => array(
|
|
110
|
-
'alt' => 'current_user_can()',
|
|
111
|
-
'version' => '2.0.0',
|
|
112
|
-
),
|
|
113
|
-
'user_can_edit_post_comments' => array(
|
|
114
|
-
'alt' => 'current_user_can()',
|
|
115
|
-
'version' => '2.0.0',
|
|
116
|
-
),
|
|
117
|
-
'user_can_edit_post_date' => array(
|
|
118
|
-
'alt' => 'current_user_can()',
|
|
119
|
-
'version' => '2.0.0',
|
|
120
|
-
),
|
|
121
|
-
'user_can_edit_user' => array(
|
|
122
|
-
'alt' => 'current_user_can()',
|
|
123
|
-
'version' => '2.0.0',
|
|
124
|
-
),
|
|
125
|
-
'user_can_set_post_date' => array(
|
|
126
|
-
'alt' => 'current_user_can()',
|
|
127
|
-
'version' => '2.0.0',
|
|
128
|
-
),
|
|
129
|
-
|
|
130
|
-
// WP 2.1.0.
|
|
131
|
-
'dropdown_cats' => array(
|
|
132
|
-
'alt' => 'wp_dropdown_categories()',
|
|
133
|
-
'version' => '2.1.0',
|
|
134
|
-
),
|
|
135
|
-
'get_archives' => array(
|
|
136
|
-
'alt' => 'wp_get_archives()',
|
|
137
|
-
'version' => '2.1.0',
|
|
138
|
-
),
|
|
139
|
-
'get_author_link' => array(
|
|
140
|
-
'alt' => 'get_author_posts_url()',
|
|
141
|
-
'version' => '2.1.0',
|
|
142
|
-
),
|
|
143
|
-
'get_autotoggle' => array(
|
|
144
|
-
'alt' => '',
|
|
145
|
-
'version' => '2.1.0',
|
|
146
|
-
),
|
|
147
|
-
'get_link' => array(
|
|
148
|
-
'alt' => 'get_bookmark()',
|
|
149
|
-
'version' => '2.1.0',
|
|
150
|
-
),
|
|
151
|
-
'get_linkcatname' => array(
|
|
152
|
-
'alt' => 'get_category()',
|
|
153
|
-
'version' => '2.1.0',
|
|
154
|
-
),
|
|
155
|
-
'get_linkobjects' => array(
|
|
156
|
-
'alt' => 'get_bookmarks()',
|
|
157
|
-
'version' => '2.1.0',
|
|
158
|
-
),
|
|
159
|
-
'get_linkobjectsbyname' => array(
|
|
160
|
-
'alt' => 'get_bookmarks()',
|
|
161
|
-
'version' => '2.1.0',
|
|
162
|
-
),
|
|
163
|
-
'get_linkrating' => array(
|
|
164
|
-
'alt' => 'sanitize_bookmark_field()',
|
|
165
|
-
'version' => '2.1.0',
|
|
166
|
-
),
|
|
167
|
-
'get_links' => array(
|
|
168
|
-
'alt' => 'get_bookmarks()',
|
|
169
|
-
'version' => '2.1.0',
|
|
170
|
-
),
|
|
171
|
-
'get_links_list' => array(
|
|
172
|
-
'alt' => 'wp_list_bookmarks()',
|
|
173
|
-
'version' => '2.1.0',
|
|
174
|
-
),
|
|
175
|
-
'get_links_withrating' => array(
|
|
176
|
-
'alt' => 'get_bookmarks()',
|
|
177
|
-
'version' => '2.1.0',
|
|
178
|
-
),
|
|
179
|
-
'get_linksbyname' => array(
|
|
180
|
-
'alt' => 'get_bookmarks()',
|
|
181
|
-
'version' => '2.1.0',
|
|
182
|
-
),
|
|
183
|
-
'get_linksbyname_withrating' => array(
|
|
184
|
-
'alt' => 'get_bookmarks()',
|
|
185
|
-
'version' => '2.1.0',
|
|
186
|
-
),
|
|
187
|
-
'get_settings' => array(
|
|
188
|
-
'alt' => 'get_option()',
|
|
189
|
-
'version' => '2.1.0',
|
|
190
|
-
),
|
|
191
|
-
'link_pages' => array(
|
|
192
|
-
'alt' => 'wp_link_pages()',
|
|
193
|
-
'version' => '2.1.0',
|
|
194
|
-
),
|
|
195
|
-
'links_popup_script' => array(
|
|
196
|
-
'alt' => '',
|
|
197
|
-
'version' => '2.1.0',
|
|
198
|
-
),
|
|
199
|
-
'list_authors' => array(
|
|
200
|
-
'alt' => 'wp_list_authors()',
|
|
201
|
-
'version' => '2.1.0',
|
|
202
|
-
),
|
|
203
|
-
'list_cats' => array(
|
|
204
|
-
'alt' => 'wp_list_categories()',
|
|
205
|
-
'version' => '2.1.0',
|
|
206
|
-
),
|
|
207
|
-
'tinymce_include' => array(
|
|
208
|
-
'alt' => 'wp_editor()',
|
|
209
|
-
'version' => '2.1.0',
|
|
210
|
-
),
|
|
211
|
-
'wp_get_links' => array(
|
|
212
|
-
'alt' => 'wp_list_bookmarks()',
|
|
213
|
-
'version' => '2.1.0',
|
|
214
|
-
),
|
|
215
|
-
'wp_get_linksbyname' => array(
|
|
216
|
-
'alt' => 'wp_list_bookmarks()',
|
|
217
|
-
'version' => '2.1.0',
|
|
218
|
-
),
|
|
219
|
-
'wp_get_post_cats' => array(
|
|
220
|
-
'alt' => 'wp_get_post_categories()',
|
|
221
|
-
'version' => '2.1.0',
|
|
222
|
-
),
|
|
223
|
-
'wp_list_cats' => array(
|
|
224
|
-
'alt' => 'wp_list_categories()',
|
|
225
|
-
'version' => '2.1.0',
|
|
226
|
-
),
|
|
227
|
-
'wp_set_post_cats' => array(
|
|
228
|
-
'alt' => 'wp_set_post_categories()',
|
|
229
|
-
'version' => '2.1.0',
|
|
230
|
-
),
|
|
231
|
-
|
|
232
|
-
// WP 2.2.0.
|
|
233
|
-
'comments_rss' => array(
|
|
234
|
-
'alt' => 'get_post_comments_feed_link()',
|
|
235
|
-
'version' => '2.2.0',
|
|
236
|
-
),
|
|
237
|
-
|
|
238
|
-
// WP 2.3.0.
|
|
239
|
-
'permalink_single_rss' => array(
|
|
240
|
-
'alt' => 'the_permalink_rss()',
|
|
241
|
-
'version' => '2.3.0',
|
|
242
|
-
),
|
|
243
|
-
|
|
244
|
-
// WP 2.5.0.
|
|
245
|
-
'comments_rss_link' => array(
|
|
246
|
-
'alt' => 'post_comments_feed_link()',
|
|
247
|
-
'version' => '2.5.0',
|
|
248
|
-
),
|
|
249
|
-
'documentation_link' => array(
|
|
250
|
-
'alt' => '',
|
|
251
|
-
'version' => '2.5.0',
|
|
252
|
-
),
|
|
253
|
-
'get_attachment_icon' => array(
|
|
254
|
-
'alt' => 'wp_get_attachment_image()',
|
|
255
|
-
'version' => '2.5.0',
|
|
256
|
-
),
|
|
257
|
-
'get_attachment_icon_src' => array(
|
|
258
|
-
'alt' => 'wp_get_attachment_image_src()',
|
|
259
|
-
'version' => '2.5.0',
|
|
260
|
-
),
|
|
261
|
-
'get_attachment_innerHTML' => array(
|
|
262
|
-
'alt' => 'wp_get_attachment_image()',
|
|
263
|
-
'version' => '2.5.0',
|
|
264
|
-
),
|
|
265
|
-
'get_author_rss_link' => array(
|
|
266
|
-
'alt' => 'get_author_feed_link()',
|
|
267
|
-
'version' => '2.5.0',
|
|
268
|
-
),
|
|
269
|
-
'get_category_rss_link' => array(
|
|
270
|
-
'alt' => 'get_category_feed_link()',
|
|
271
|
-
'version' => '2.5.0',
|
|
272
|
-
),
|
|
273
|
-
'get_the_attachment_link' => array(
|
|
274
|
-
'alt' => 'wp_get_attachment_link()',
|
|
275
|
-
'version' => '2.5.0',
|
|
276
|
-
),
|
|
277
|
-
'gzip_compression' => array(
|
|
278
|
-
'alt' => '',
|
|
279
|
-
'version' => '2.5.0',
|
|
280
|
-
),
|
|
281
|
-
'wp_clearcookie' => array(
|
|
282
|
-
'alt' => 'wp_clear_auth_cookie()',
|
|
283
|
-
'version' => '2.5.0',
|
|
284
|
-
),
|
|
285
|
-
'wp_get_cookie_login' => array(
|
|
286
|
-
'alt' => '',
|
|
287
|
-
'version' => '2.5.0',
|
|
288
|
-
),
|
|
289
|
-
'wp_login' => array(
|
|
290
|
-
'alt' => 'wp_signon()',
|
|
291
|
-
'version' => '2.5.0',
|
|
292
|
-
),
|
|
293
|
-
'wp_setcookie' => array(
|
|
294
|
-
'alt' => 'wp_set_auth_cookie()',
|
|
295
|
-
'version' => '2.5.0',
|
|
296
|
-
),
|
|
297
|
-
|
|
298
|
-
// WP 2.6.0.
|
|
299
|
-
'dropdown_categories' => array(
|
|
300
|
-
'alt' => 'wp_category_checklist()',
|
|
301
|
-
'version' => '2.6.0',
|
|
302
|
-
),
|
|
303
|
-
'dropdown_link_categories' => array(
|
|
304
|
-
'alt' => 'wp_link_category_checklist()',
|
|
305
|
-
'version' => '2.6.0',
|
|
306
|
-
),
|
|
307
|
-
|
|
308
|
-
// WP 2.7.0.
|
|
309
|
-
'get_commentdata' => array(
|
|
310
|
-
'alt' => 'get_comment()',
|
|
311
|
-
'version' => '2.7.0',
|
|
312
|
-
),
|
|
313
|
-
// This is a method i.e. WP_Filesystem_Base::find_base_dir() See #731.
|
|
314
|
-
'find_base_dir' => array(
|
|
315
|
-
'alt' => 'WP_Filesystem::abspath()',
|
|
316
|
-
'version' => '2.7.0',
|
|
317
|
-
),
|
|
318
|
-
// This is a method i.e. WP_Filesystem_Base::get_base_dir() See #731.
|
|
319
|
-
'get_base_dir' => array(
|
|
320
|
-
'alt' => 'WP_Filesystem::abspath()',
|
|
321
|
-
'version' => '2.7.0',
|
|
322
|
-
),
|
|
323
|
-
|
|
324
|
-
// WP 2.8.0.
|
|
325
|
-
'__ngettext' => array(
|
|
326
|
-
'alt' => '_n()',
|
|
327
|
-
'version' => '2.8.0',
|
|
328
|
-
),
|
|
329
|
-
'__ngettext_noop' => array(
|
|
330
|
-
'alt' => '_n_noop()',
|
|
331
|
-
'version' => '2.8.0',
|
|
332
|
-
),
|
|
333
|
-
'attribute_escape' => array(
|
|
334
|
-
'alt' => 'esc_attr()',
|
|
335
|
-
'version' => '2.8.0',
|
|
336
|
-
),
|
|
337
|
-
'get_author_name' => array(
|
|
338
|
-
'alt' => 'get_the_author_meta(\'display_name\')',
|
|
339
|
-
'version' => '2.8.0',
|
|
340
|
-
),
|
|
341
|
-
'get_category_children' => array(
|
|
342
|
-
'alt' => 'get_term_children()',
|
|
343
|
-
'version' => '2.8.0',
|
|
344
|
-
),
|
|
345
|
-
'get_catname' => array(
|
|
346
|
-
'alt' => 'get_cat_name()',
|
|
347
|
-
'version' => '2.8.0',
|
|
348
|
-
),
|
|
349
|
-
'get_the_author_aim' => array(
|
|
350
|
-
'alt' => 'get_the_author_meta(\'aim\')',
|
|
351
|
-
'version' => '2.8.0',
|
|
352
|
-
),
|
|
353
|
-
'get_the_author_description' => array(
|
|
354
|
-
'alt' => 'get_the_author_meta(\'description\')',
|
|
355
|
-
'version' => '2.8.0',
|
|
356
|
-
),
|
|
357
|
-
'get_the_author_email' => array(
|
|
358
|
-
'alt' => 'get_the_author_meta(\'email\')',
|
|
359
|
-
'version' => '2.8.0',
|
|
360
|
-
),
|
|
361
|
-
'get_the_author_firstname' => array(
|
|
362
|
-
'alt' => 'get_the_author_meta(\'first_name\')',
|
|
363
|
-
'version' => '2.8.0',
|
|
364
|
-
),
|
|
365
|
-
'get_the_author_icq' => array(
|
|
366
|
-
'alt' => 'get_the_author_meta(\'icq\')',
|
|
367
|
-
'version' => '2.8.0',
|
|
368
|
-
),
|
|
369
|
-
'get_the_author_ID' => array(
|
|
370
|
-
'alt' => 'get_the_author_meta(\'ID\')',
|
|
371
|
-
'version' => '2.8.0',
|
|
372
|
-
),
|
|
373
|
-
'get_the_author_lastname' => array(
|
|
374
|
-
'alt' => 'get_the_author_meta(\'last_name\')',
|
|
375
|
-
'version' => '2.8.0',
|
|
376
|
-
),
|
|
377
|
-
'get_the_author_login' => array(
|
|
378
|
-
'alt' => 'get_the_author_meta(\'login\')',
|
|
379
|
-
'version' => '2.8.0',
|
|
380
|
-
),
|
|
381
|
-
'get_the_author_msn' => array(
|
|
382
|
-
'alt' => 'get_the_author_meta(\'msn\')',
|
|
383
|
-
'version' => '2.8.0',
|
|
384
|
-
),
|
|
385
|
-
'get_the_author_nickname' => array(
|
|
386
|
-
'alt' => 'get_the_author_meta(\'nickname\')',
|
|
387
|
-
'version' => '2.8.0',
|
|
388
|
-
),
|
|
389
|
-
'get_the_author_url' => array(
|
|
390
|
-
'alt' => 'get_the_author_meta(\'url\')',
|
|
391
|
-
'version' => '2.8.0',
|
|
392
|
-
),
|
|
393
|
-
'get_the_author_yim' => array(
|
|
394
|
-
'alt' => 'get_the_author_meta(\'yim\')',
|
|
395
|
-
'version' => '2.8.0',
|
|
396
|
-
),
|
|
397
|
-
'js_escape' => array(
|
|
398
|
-
'alt' => 'esc_js()',
|
|
399
|
-
'version' => '2.8.0',
|
|
400
|
-
),
|
|
401
|
-
'register_sidebar_widget' => array(
|
|
402
|
-
'alt' => 'wp_register_sidebar_widget()',
|
|
403
|
-
'version' => '2.8.0',
|
|
404
|
-
),
|
|
405
|
-
'register_widget_control' => array(
|
|
406
|
-
'alt' => 'wp_register_widget_control()',
|
|
407
|
-
'version' => '2.8.0',
|
|
408
|
-
),
|
|
409
|
-
'the_author_aim' => array(
|
|
410
|
-
'alt' => 'the_author_meta(\'aim\')',
|
|
411
|
-
'version' => '2.8.0',
|
|
412
|
-
),
|
|
413
|
-
'the_author_description' => array(
|
|
414
|
-
'alt' => 'the_author_meta(\'description\')',
|
|
415
|
-
'version' => '2.8.0',
|
|
416
|
-
),
|
|
417
|
-
'the_author_email' => array(
|
|
418
|
-
'alt' => 'the_author_meta(\'email\')',
|
|
419
|
-
'version' => '2.8.0',
|
|
420
|
-
),
|
|
421
|
-
'the_author_firstname' => array(
|
|
422
|
-
'alt' => 'the_author_meta(\'first_name\')',
|
|
423
|
-
'version' => '2.8.0',
|
|
424
|
-
),
|
|
425
|
-
'the_author_icq' => array(
|
|
426
|
-
'alt' => 'the_author_meta(\'icq\')',
|
|
427
|
-
'version' => '2.8.0',
|
|
428
|
-
),
|
|
429
|
-
'the_author_ID' => array(
|
|
430
|
-
'alt' => 'the_author_meta(\'ID\')',
|
|
431
|
-
'version' => '2.8.0',
|
|
432
|
-
),
|
|
433
|
-
'the_author_lastname' => array(
|
|
434
|
-
'alt' => 'the_author_meta(\'last_name\')',
|
|
435
|
-
'version' => '2.8.0',
|
|
436
|
-
),
|
|
437
|
-
'the_author_login' => array(
|
|
438
|
-
'alt' => 'the_author_meta(\'login\')',
|
|
439
|
-
'version' => '2.8.0',
|
|
440
|
-
),
|
|
441
|
-
'the_author_msn' => array(
|
|
442
|
-
'alt' => 'the_author_meta(\'msn\')',
|
|
443
|
-
'version' => '2.8.0',
|
|
444
|
-
),
|
|
445
|
-
'the_author_nickname' => array(
|
|
446
|
-
'alt' => 'the_author_meta(\'nickname\')',
|
|
447
|
-
'version' => '2.8.0',
|
|
448
|
-
),
|
|
449
|
-
'the_author_url' => array(
|
|
450
|
-
'alt' => 'the_author_meta(\'url\')',
|
|
451
|
-
'version' => '2.8.0',
|
|
452
|
-
),
|
|
453
|
-
'the_author_yim' => array(
|
|
454
|
-
'alt' => 'the_author_meta(\'yim\')',
|
|
455
|
-
'version' => '2.8.0',
|
|
456
|
-
),
|
|
457
|
-
'unregister_sidebar_widget' => array(
|
|
458
|
-
'alt' => 'wp_unregister_sidebar_widget()',
|
|
459
|
-
'version' => '2.8.0',
|
|
460
|
-
),
|
|
461
|
-
'unregister_widget_control' => array(
|
|
462
|
-
'alt' => 'wp_unregister_widget_control()',
|
|
463
|
-
'version' => '2.8.0',
|
|
464
|
-
),
|
|
465
|
-
'wp_specialchars' => array(
|
|
466
|
-
'alt' => 'esc_html()',
|
|
467
|
-
'version' => '2.8.0',
|
|
468
|
-
),
|
|
469
|
-
|
|
470
|
-
// WP 2.9.0.
|
|
471
|
-
'_c' => array(
|
|
472
|
-
'alt' => '_x()',
|
|
473
|
-
'version' => '2.9.0',
|
|
474
|
-
),
|
|
475
|
-
'_nc' => array(
|
|
476
|
-
'alt' => '_nx()',
|
|
477
|
-
'version' => '2.9.0',
|
|
478
|
-
),
|
|
479
|
-
'get_real_file_to_edit' => array(
|
|
480
|
-
'alt' => '',
|
|
481
|
-
'version' => '2.9.0',
|
|
482
|
-
),
|
|
483
|
-
'make_url_footnote' => array(
|
|
484
|
-
'alt' => '',
|
|
485
|
-
'version' => '2.9.0',
|
|
486
|
-
),
|
|
487
|
-
'the_content_rss' => array(
|
|
488
|
-
'alt' => 'the_content_feed()',
|
|
489
|
-
'version' => '2.9.0',
|
|
490
|
-
),
|
|
491
|
-
'translate_with_context' => array(
|
|
492
|
-
'alt' => '_x()',
|
|
493
|
-
'version' => '2.9.0',
|
|
494
|
-
),
|
|
495
|
-
|
|
496
|
-
// WP 3.0.0.
|
|
497
|
-
'activate_sitewide_plugin' => array(
|
|
498
|
-
'alt' => 'activate_plugin()',
|
|
499
|
-
'version' => '3.0.0',
|
|
500
|
-
),
|
|
501
|
-
'add_option_update_handler' => array(
|
|
502
|
-
'alt' => 'register_setting()',
|
|
503
|
-
'version' => '3.0.0',
|
|
504
|
-
),
|
|
505
|
-
'automatic_feed_links' => array(
|
|
506
|
-
'alt' => 'add_theme_support( \'automatic-feed-links\' )',
|
|
507
|
-
'version' => '3.0.0',
|
|
508
|
-
),
|
|
509
|
-
'clean_url' => array(
|
|
510
|
-
'alt' => 'esc_url()',
|
|
511
|
-
'version' => '3.0.0',
|
|
512
|
-
),
|
|
513
|
-
'clear_global_post_cache' => array(
|
|
514
|
-
'alt' => 'clean_post_cache()',
|
|
515
|
-
'version' => '3.0.0',
|
|
516
|
-
),
|
|
517
|
-
'codepress_footer_js' => array(
|
|
518
|
-
'alt' => '',
|
|
519
|
-
'version' => '3.0.0',
|
|
520
|
-
),
|
|
521
|
-
'codepress_get_lang' => array(
|
|
522
|
-
'alt' => '',
|
|
523
|
-
'version' => '3.0.0',
|
|
524
|
-
),
|
|
525
|
-
'deactivate_sitewide_plugin' => array(
|
|
526
|
-
'alt' => 'deactivate_plugin()',
|
|
527
|
-
'version' => '3.0.0',
|
|
528
|
-
),
|
|
529
|
-
'delete_usermeta' => array(
|
|
530
|
-
'alt' => 'delete_user_meta()',
|
|
531
|
-
'version' => '3.0.0',
|
|
532
|
-
),
|
|
533
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
534
|
-
'funky_javascript_callback' => array(
|
|
535
|
-
'alt' => '',
|
|
536
|
-
'version' => '3.0.0',
|
|
537
|
-
),
|
|
538
|
-
'funky_javascript_fix' => array(
|
|
539
|
-
'alt' => '',
|
|
540
|
-
'version' => '3.0.0',
|
|
541
|
-
),
|
|
542
|
-
'generate_random_password' => array(
|
|
543
|
-
'alt' => 'wp_generate_password()',
|
|
544
|
-
'version' => '3.0.0',
|
|
545
|
-
),
|
|
546
|
-
'get_alloptions' => array(
|
|
547
|
-
'alt' => 'wp_load_alloptions()',
|
|
548
|
-
'version' => '3.0.0',
|
|
549
|
-
),
|
|
550
|
-
'get_blog_list' => array(
|
|
551
|
-
'alt' => 'wp_get_sites()',
|
|
552
|
-
'version' => '3.0.0',
|
|
553
|
-
),
|
|
554
|
-
'get_most_active_blogs' => array(
|
|
555
|
-
'alt' => '',
|
|
556
|
-
'version' => '3.0.0',
|
|
557
|
-
),
|
|
558
|
-
'get_profile' => array(
|
|
559
|
-
'alt' => 'get_the_author_meta()',
|
|
560
|
-
'version' => '3.0.0',
|
|
561
|
-
),
|
|
562
|
-
'get_user_details' => array(
|
|
563
|
-
'alt' => 'get_user_by()',
|
|
564
|
-
'version' => '3.0.0',
|
|
565
|
-
),
|
|
566
|
-
'get_usermeta' => array(
|
|
567
|
-
'alt' => 'get_user_meta()',
|
|
568
|
-
'version' => '3.0.0',
|
|
569
|
-
),
|
|
570
|
-
'get_usernumposts' => array(
|
|
571
|
-
'alt' => 'count_user_posts()',
|
|
572
|
-
'version' => '3.0.0',
|
|
573
|
-
),
|
|
574
|
-
'graceful_fail' => array(
|
|
575
|
-
'alt' => 'wp_die()',
|
|
576
|
-
'version' => '3.0.0',
|
|
577
|
-
),
|
|
578
|
-
// Verified version & alternative.
|
|
579
|
-
'install_blog_defaults' => array(
|
|
580
|
-
'alt' => 'wp_install_defaults',
|
|
581
|
-
'version' => '3.0.0',
|
|
582
|
-
),
|
|
583
|
-
'is_main_blog' => array(
|
|
584
|
-
'alt' => 'is_main_site()',
|
|
585
|
-
'version' => '3.0.0',
|
|
586
|
-
),
|
|
587
|
-
'is_site_admin' => array(
|
|
588
|
-
'alt' => 'is_super_admin()',
|
|
589
|
-
'version' => '3.0.0',
|
|
590
|
-
),
|
|
591
|
-
'is_taxonomy' => array(
|
|
592
|
-
'alt' => 'taxonomy_exists()',
|
|
593
|
-
'version' => '3.0.0',
|
|
594
|
-
),
|
|
595
|
-
'is_term' => array(
|
|
596
|
-
'alt' => 'term_exists()',
|
|
597
|
-
'version' => '3.0.0',
|
|
598
|
-
),
|
|
599
|
-
'is_wpmu_sitewide_plugin' => array(
|
|
600
|
-
'alt' => 'is_network_only_plugin()',
|
|
601
|
-
'version' => '3.0.0',
|
|
602
|
-
),
|
|
603
|
-
'mu_options' => array(
|
|
604
|
-
'alt' => '',
|
|
605
|
-
'version' => '3.0.0',
|
|
606
|
-
),
|
|
607
|
-
'remove_option_update_handler' => array(
|
|
608
|
-
'alt' => 'unregister_setting()',
|
|
609
|
-
'version' => '3.0.0',
|
|
610
|
-
),
|
|
611
|
-
'set_current_user' => array(
|
|
612
|
-
'alt' => 'wp_set_current_user()',
|
|
613
|
-
'version' => '3.0.0',
|
|
614
|
-
),
|
|
615
|
-
'update_usermeta' => array(
|
|
616
|
-
'alt' => 'update_user_meta()',
|
|
617
|
-
'version' => '3.0.0',
|
|
618
|
-
),
|
|
619
|
-
'use_codepress' => array(
|
|
620
|
-
'alt' => '',
|
|
621
|
-
'version' => '3.0.0',
|
|
622
|
-
),
|
|
623
|
-
'validate_email' => array(
|
|
624
|
-
'alt' => 'is_email()',
|
|
625
|
-
'version' => '3.0.0',
|
|
626
|
-
),
|
|
627
|
-
'wp_dropdown_cats' => array(
|
|
628
|
-
'alt' => 'wp_dropdown_categories()',
|
|
629
|
-
'version' => '3.0.0',
|
|
630
|
-
),
|
|
631
|
-
'wp_shrink_dimensions' => array(
|
|
632
|
-
'alt' => 'wp_constrain_dimensions()',
|
|
633
|
-
'version' => '3.0.0',
|
|
634
|
-
),
|
|
635
|
-
'wpmu_checkAvailableSpace' => array(
|
|
636
|
-
'alt' => 'is_upload_space_available()',
|
|
637
|
-
'version' => '3.0.0',
|
|
638
|
-
),
|
|
639
|
-
'wpmu_menu' => array(
|
|
640
|
-
'alt' => '',
|
|
641
|
-
'version' => '3.0.0',
|
|
642
|
-
),
|
|
643
|
-
|
|
644
|
-
// WP 3.1.0.
|
|
645
|
-
'get_author_user_ids' => array(
|
|
646
|
-
'alt' => 'get_users()',
|
|
647
|
-
'version' => '3.1.0',
|
|
648
|
-
),
|
|
649
|
-
'get_dashboard_blog' => array(
|
|
650
|
-
'alt' => 'get_site()',
|
|
651
|
-
'version' => '3.1.0',
|
|
652
|
-
),
|
|
653
|
-
'get_editable_authors' => array(
|
|
654
|
-
'alt' => 'get_users()',
|
|
655
|
-
'version' => '3.1.0',
|
|
656
|
-
),
|
|
657
|
-
'get_editable_user_ids' => array(
|
|
658
|
-
'alt' => 'get_users()',
|
|
659
|
-
'version' => '3.1.0',
|
|
660
|
-
),
|
|
661
|
-
'get_nonauthor_user_ids' => array(
|
|
662
|
-
'alt' => 'get_users()',
|
|
663
|
-
'version' => '3.1.0',
|
|
664
|
-
),
|
|
665
|
-
'get_others_drafts' => array(
|
|
666
|
-
'alt' => '',
|
|
667
|
-
'version' => '3.1.0',
|
|
668
|
-
),
|
|
669
|
-
'get_others_pending' => array(
|
|
670
|
-
'alt' => '',
|
|
671
|
-
'version' => '3.1.0',
|
|
672
|
-
),
|
|
673
|
-
'get_others_unpublished_posts' => array(
|
|
674
|
-
'alt' => '',
|
|
675
|
-
'version' => '3.1.0',
|
|
676
|
-
),
|
|
677
|
-
'get_users_of_blog' => array(
|
|
678
|
-
'alt' => 'get_users()',
|
|
679
|
-
'version' => '3.1.0',
|
|
680
|
-
),
|
|
681
|
-
'install_themes_feature_list' => array(
|
|
682
|
-
'alt' => 'get_theme_feature_list()',
|
|
683
|
-
'version' => '3.1.0',
|
|
684
|
-
),
|
|
685
|
-
'is_plugin_page' => array(
|
|
686
|
-
// Verified correct alternative.
|
|
687
|
-
'alt' => 'global $plugin_page and/or get_plugin_page_hookname() hooks',
|
|
688
|
-
'version' => '3.1.0',
|
|
689
|
-
),
|
|
690
|
-
'update_category_cache' => array(
|
|
691
|
-
'alt' => '',
|
|
692
|
-
'version' => '3.1.0',
|
|
693
|
-
),
|
|
694
|
-
|
|
695
|
-
// WP 3.2.0.
|
|
696
|
-
'favorite_actions' => array(
|
|
697
|
-
'alt' => 'WP_Admin_Bar',
|
|
698
|
-
'version' => '3.2.0',
|
|
699
|
-
),
|
|
700
|
-
'wp_dashboard_quick_press_output' => array(
|
|
701
|
-
'alt' => 'wp_dashboard_quick_press()',
|
|
702
|
-
'version' => '3.2.0',
|
|
703
|
-
),
|
|
704
|
-
'wp_timezone_supported' => array(
|
|
705
|
-
'alt' => '',
|
|
706
|
-
'version' => '3.2.0',
|
|
707
|
-
),
|
|
708
|
-
|
|
709
|
-
// WP 3.3.0.
|
|
710
|
-
'add_contextual_help' => array(
|
|
711
|
-
'alt' => 'get_current_screen()->add_help_tab()',
|
|
712
|
-
'version' => '3.3.0',
|
|
713
|
-
),
|
|
714
|
-
'get_boundary_post_rel_link' => array(
|
|
715
|
-
'alt' => '',
|
|
716
|
-
'version' => '3.3.0',
|
|
717
|
-
),
|
|
718
|
-
'get_index_rel_link' => array(
|
|
719
|
-
'alt' => '',
|
|
720
|
-
'version' => '3.3.0',
|
|
721
|
-
),
|
|
722
|
-
'get_parent_post_rel_link' => array(
|
|
723
|
-
'alt' => '',
|
|
724
|
-
'version' => '3.3.0',
|
|
725
|
-
),
|
|
726
|
-
'get_user_by_email' => array(
|
|
727
|
-
'alt' => 'get_user_by(\'email\')',
|
|
728
|
-
'version' => '3.3.0',
|
|
729
|
-
),
|
|
730
|
-
'get_user_metavalues' => array(
|
|
731
|
-
'alt' => '',
|
|
732
|
-
'version' => '3.3.0',
|
|
733
|
-
),
|
|
734
|
-
'get_userdatabylogin' => array(
|
|
735
|
-
'alt' => 'get_user_by(\'login\')',
|
|
736
|
-
'version' => '3.3.0',
|
|
737
|
-
),
|
|
738
|
-
'index_rel_link' => array(
|
|
739
|
-
'alt' => '',
|
|
740
|
-
'version' => '3.3.0',
|
|
741
|
-
),
|
|
742
|
-
'is_blog_user' => array(
|
|
743
|
-
'alt' => 'is_user_member_of_blog()',
|
|
744
|
-
'version' => '3.3.0',
|
|
745
|
-
),
|
|
746
|
-
'media_upload_audio' => array(
|
|
747
|
-
'alt' => 'wp_media_upload_handler()',
|
|
748
|
-
'version' => '3.3.0',
|
|
749
|
-
),
|
|
750
|
-
'media_upload_file' => array(
|
|
751
|
-
'alt' => 'wp_media_upload_handler()',
|
|
752
|
-
'version' => '3.3.0',
|
|
753
|
-
),
|
|
754
|
-
'media_upload_image' => array(
|
|
755
|
-
'alt' => 'wp_media_upload_handler()',
|
|
756
|
-
'version' => '3.3.0',
|
|
757
|
-
),
|
|
758
|
-
'media_upload_video' => array(
|
|
759
|
-
'alt' => 'wp_media_upload_handler()',
|
|
760
|
-
'version' => '3.3.0',
|
|
761
|
-
),
|
|
762
|
-
'parent_post_rel_link' => array(
|
|
763
|
-
'alt' => '',
|
|
764
|
-
'version' => '3.3.0',
|
|
765
|
-
),
|
|
766
|
-
'sanitize_user_object' => array(
|
|
767
|
-
'alt' => '',
|
|
768
|
-
'version' => '3.3.0',
|
|
769
|
-
),
|
|
770
|
-
'screen_layout' => array(
|
|
771
|
-
'alt' => '$current_screen->render_screen_layout()',
|
|
772
|
-
'version' => '3.3.0',
|
|
773
|
-
),
|
|
774
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
775
|
-
'screen_meta' => array(
|
|
776
|
-
'alt' => '$current_screen->render_screen_meta()',
|
|
777
|
-
'version' => '3.3.0',
|
|
778
|
-
),
|
|
779
|
-
'screen_options' => array(
|
|
780
|
-
'alt' => '$current_screen->render_per_page_options()',
|
|
781
|
-
'version' => '3.3.0',
|
|
782
|
-
),
|
|
783
|
-
'start_post_rel_link' => array(
|
|
784
|
-
'alt' => '',
|
|
785
|
-
'version' => '3.3.0',
|
|
786
|
-
),
|
|
787
|
-
'the_editor' => array(
|
|
788
|
-
'alt' => 'wp_editor()',
|
|
789
|
-
'version' => '3.3.0',
|
|
790
|
-
),
|
|
791
|
-
'type_url_form_audio' => array(
|
|
792
|
-
'alt' => 'wp_media_insert_url_form(\'audio\')',
|
|
793
|
-
'version' => '3.3.0',
|
|
794
|
-
),
|
|
795
|
-
'type_url_form_file' => array(
|
|
796
|
-
'alt' => 'wp_media_insert_url_form(\'file\')',
|
|
797
|
-
'version' => '3.3.0',
|
|
798
|
-
),
|
|
799
|
-
'type_url_form_image' => array(
|
|
800
|
-
'alt' => 'wp_media_insert_url_form(\'image\')',
|
|
801
|
-
'version' => '3.3.0',
|
|
802
|
-
),
|
|
803
|
-
'type_url_form_video' => array(
|
|
804
|
-
'alt' => 'wp_media_insert_url_form(\'video\')',
|
|
805
|
-
'version' => '3.3.0',
|
|
806
|
-
),
|
|
807
|
-
'wp_admin_bar_dashboard_view_site_menu' => array(
|
|
808
|
-
'alt' => '',
|
|
809
|
-
'version' => '3.3.0',
|
|
810
|
-
),
|
|
811
|
-
'wp_preload_dialogs' => array(
|
|
812
|
-
'alt' => 'wp_editor()',
|
|
813
|
-
'version' => '3.3.0',
|
|
814
|
-
),
|
|
815
|
-
'wp_print_editor_js' => array(
|
|
816
|
-
'alt' => 'wp_editor()',
|
|
817
|
-
'version' => '3.3.0',
|
|
818
|
-
),
|
|
819
|
-
'wp_quicktags' => array(
|
|
820
|
-
'alt' => 'wp_editor()',
|
|
821
|
-
'version' => '3.3.0',
|
|
822
|
-
),
|
|
823
|
-
'wp_tiny_mce' => array(
|
|
824
|
-
'alt' => 'wp_editor()',
|
|
825
|
-
'version' => '3.3.0',
|
|
826
|
-
),
|
|
827
|
-
'wpmu_admin_do_redirect' => array(
|
|
828
|
-
'alt' => 'wp_redirect()',
|
|
829
|
-
'version' => '3.3.0',
|
|
830
|
-
),
|
|
831
|
-
'wpmu_admin_redirect_add_updated_param' => array(
|
|
832
|
-
'alt' => 'add_query_arg()',
|
|
833
|
-
'version' => '3.3.0',
|
|
834
|
-
),
|
|
835
|
-
|
|
836
|
-
// WP 3.4.0.
|
|
837
|
-
'add_custom_background' => array(
|
|
838
|
-
'alt' => 'add_theme_support( \'custom-background\', $args )',
|
|
839
|
-
'version' => '3.4.0',
|
|
840
|
-
),
|
|
841
|
-
'add_custom_image_header' => array(
|
|
842
|
-
'alt' => 'add_theme_support( \'custom-header\', $args )',
|
|
843
|
-
'version' => '3.4.0',
|
|
844
|
-
),
|
|
845
|
-
'clean_page_cache' => array(
|
|
846
|
-
'alt' => 'clean_post_cache()',
|
|
847
|
-
'version' => '3.4.0',
|
|
848
|
-
),
|
|
849
|
-
'clean_pre' => array(
|
|
850
|
-
'alt' => '',
|
|
851
|
-
'version' => '3.4.0',
|
|
852
|
-
),
|
|
853
|
-
'current_theme_info' => array(
|
|
854
|
-
'alt' => 'wp_get_theme()',
|
|
855
|
-
'version' => '3.4.0',
|
|
856
|
-
),
|
|
857
|
-
'debug_fclose' => array(
|
|
858
|
-
'alt' => 'error_log()',
|
|
859
|
-
'version' => '3.4.0',
|
|
860
|
-
),
|
|
861
|
-
'debug_fopen' => array(
|
|
862
|
-
'alt' => 'error_log()',
|
|
863
|
-
'version' => '3.4.0',
|
|
864
|
-
),
|
|
865
|
-
'debug_fwrite' => array(
|
|
866
|
-
'alt' => 'error_log()',
|
|
867
|
-
'version' => '3.4.0',
|
|
868
|
-
),
|
|
869
|
-
'display_theme' => array(
|
|
870
|
-
'alt' => '',
|
|
871
|
-
'version' => '3.4.0',
|
|
872
|
-
),
|
|
873
|
-
'get_allowed_themes' => array(
|
|
874
|
-
'alt' => 'wp_get_themes( array( \'allowed\' => true ) )',
|
|
875
|
-
'version' => '3.4.0',
|
|
876
|
-
),
|
|
877
|
-
'get_broken_themes' => array(
|
|
878
|
-
'alt' => 'wp_get_themes( array( \'errors\' => true )',
|
|
879
|
-
'version' => '3.4.0',
|
|
880
|
-
),
|
|
881
|
-
'get_current_theme' => array(
|
|
882
|
-
'alt' => 'wp_get_theme()',
|
|
883
|
-
'version' => '3.4.0',
|
|
884
|
-
),
|
|
885
|
-
'get_site_allowed_themes' => array(
|
|
886
|
-
'alt' => 'WP_Theme::get_allowed_on_network()',
|
|
887
|
-
'version' => '3.4.0',
|
|
888
|
-
),
|
|
889
|
-
'get_theme' => array(
|
|
890
|
-
'alt' => 'wp_get_theme( $stylesheet )',
|
|
891
|
-
'version' => '3.4.0',
|
|
892
|
-
),
|
|
893
|
-
'get_theme_data' => array(
|
|
894
|
-
'alt' => 'wp_get_theme()',
|
|
895
|
-
'version' => '3.4.0',
|
|
896
|
-
),
|
|
897
|
-
'get_themes' => array(
|
|
898
|
-
'alt' => 'wp_get_themes()',
|
|
899
|
-
'version' => '3.4.0',
|
|
900
|
-
),
|
|
901
|
-
'logIO' => array(
|
|
902
|
-
'alt' => 'error_log()',
|
|
903
|
-
'version' => '3.4.0',
|
|
904
|
-
),
|
|
905
|
-
'remove_custom_background' => array(
|
|
906
|
-
'alt' => 'remove_theme_support( \'custom-background\' )',
|
|
907
|
-
'version' => '3.4.0',
|
|
908
|
-
),
|
|
909
|
-
'remove_custom_image_header' => array(
|
|
910
|
-
'alt' => 'remove_theme_support( \'custom-header\' )',
|
|
911
|
-
'version' => '3.4.0',
|
|
912
|
-
),
|
|
913
|
-
'update_page_cache' => array(
|
|
914
|
-
'alt' => 'update_post_cache()',
|
|
915
|
-
'version' => '3.4.0',
|
|
916
|
-
),
|
|
917
|
-
'wpmu_get_blog_allowedthemes' => array(
|
|
918
|
-
'alt' => 'WP_Theme::get_allowed_on_site()',
|
|
919
|
-
'version' => '3.4.0',
|
|
920
|
-
),
|
|
921
|
-
|
|
922
|
-
// WP 3.4.1.
|
|
923
|
-
'wp_explain_nonce' => array(
|
|
924
|
-
'alt' => 'wp_nonce_ays()',
|
|
925
|
-
'version' => '3.4.1',
|
|
926
|
-
),
|
|
927
|
-
|
|
928
|
-
// WP 3.5.0.
|
|
929
|
-
'_flip_image_resource' => array(
|
|
930
|
-
'alt' => 'WP_Image_Editor::flip()',
|
|
931
|
-
'version' => '3.5.0',
|
|
932
|
-
),
|
|
933
|
-
'_get_post_ancestors' => array(
|
|
934
|
-
'alt' => '',
|
|
935
|
-
'version' => '3.5.0',
|
|
936
|
-
),
|
|
937
|
-
'_insert_into_post_button' => array(
|
|
938
|
-
'alt' => '',
|
|
939
|
-
'version' => '3.5.0',
|
|
940
|
-
),
|
|
941
|
-
'_media_button' => array(
|
|
942
|
-
'alt' => '',
|
|
943
|
-
'version' => '3.5.0',
|
|
944
|
-
),
|
|
945
|
-
'_rotate_image_resource' => array(
|
|
946
|
-
'alt' => 'WP_Image_Editor::rotate()',
|
|
947
|
-
'version' => '3.5.0',
|
|
948
|
-
),
|
|
949
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
950
|
-
'_save_post_hook' => array(
|
|
951
|
-
'alt' => '',
|
|
952
|
-
'version' => '3.5.0',
|
|
953
|
-
),
|
|
954
|
-
'gd_edit_image_support' => array(
|
|
955
|
-
'alt' => 'wp_image_editor_supports()',
|
|
956
|
-
'version' => '3.5.0',
|
|
957
|
-
),
|
|
958
|
-
'get_default_page_to_edit' => array(
|
|
959
|
-
'alt' => 'get_default_post_to_edit( \'page\' )',
|
|
960
|
-
'version' => '3.5.0',
|
|
961
|
-
),
|
|
962
|
-
'get_post_to_edit' => array(
|
|
963
|
-
'alt' => 'get_post()',
|
|
964
|
-
'version' => '3.5.0',
|
|
965
|
-
),
|
|
966
|
-
'get_udims' => array(
|
|
967
|
-
'alt' => 'wp_constrain_dimensions()',
|
|
968
|
-
'version' => '3.5.0',
|
|
969
|
-
),
|
|
970
|
-
'image_resize' => array(
|
|
971
|
-
'alt' => 'wp_get_image_editor()',
|
|
972
|
-
'version' => '3.5.0',
|
|
973
|
-
),
|
|
974
|
-
'sticky_class' => array(
|
|
975
|
-
'alt' => 'post_class()',
|
|
976
|
-
'version' => '3.5.0',
|
|
977
|
-
),
|
|
978
|
-
'user_pass_ok' => array(
|
|
979
|
-
'alt' => 'wp_authenticate()',
|
|
980
|
-
'version' => '3.5.0',
|
|
981
|
-
),
|
|
982
|
-
'wp_cache_reset' => array(
|
|
983
|
-
'alt' => 'wp_cache_switch_to_blog()',
|
|
984
|
-
'version' => '3.5.0',
|
|
985
|
-
),
|
|
986
|
-
'wp_create_thumbnail' => array(
|
|
987
|
-
'alt' => 'image_resize()',
|
|
988
|
-
'version' => '3.5.0',
|
|
989
|
-
),
|
|
990
|
-
'wp_get_single_post' => array(
|
|
991
|
-
'alt' => 'get_post()',
|
|
992
|
-
'version' => '3.5.0',
|
|
993
|
-
),
|
|
994
|
-
'wp_load_image' => array(
|
|
995
|
-
'alt' => 'wp_get_image_editor()',
|
|
996
|
-
'version' => '3.5.0',
|
|
997
|
-
),
|
|
998
|
-
|
|
999
|
-
// WP 3.6.0.
|
|
1000
|
-
'get_user_id_from_string' => array(
|
|
1001
|
-
'alt' => 'get_user_by()',
|
|
1002
|
-
'version' => '3.6.0',
|
|
1003
|
-
),
|
|
1004
|
-
'wp_convert_bytes_to_hr' => array(
|
|
1005
|
-
'alt' => 'size_format()',
|
|
1006
|
-
'version' => '3.6.0',
|
|
1007
|
-
),
|
|
1008
|
-
'wp_nav_menu_locations_meta_box' => array(
|
|
1009
|
-
'alt' => '',
|
|
1010
|
-
'version' => '3.6.0',
|
|
1011
|
-
),
|
|
1012
|
-
|
|
1013
|
-
// WP 3.7.0.
|
|
1014
|
-
'_search_terms_tidy' => array(
|
|
1015
|
-
'alt' => '',
|
|
1016
|
-
'version' => '3.7.0',
|
|
1017
|
-
),
|
|
1018
|
-
'get_blogaddress_by_domain' => array(
|
|
1019
|
-
'alt' => '',
|
|
1020
|
-
'version' => '3.7.0',
|
|
1021
|
-
),
|
|
1022
|
-
'the_attachment_links' => array(
|
|
1023
|
-
'alt' => '',
|
|
1024
|
-
'version' => '3.7.0',
|
|
1025
|
-
),
|
|
1026
|
-
'wp_update_core' => array(
|
|
1027
|
-
'alt' => 'new Core_Upgrader();',
|
|
1028
|
-
'version' => '3.7.0',
|
|
1029
|
-
),
|
|
1030
|
-
'wp_update_plugin' => array(
|
|
1031
|
-
'alt' => 'new Plugin_Upgrader();',
|
|
1032
|
-
'version' => '3.7.0',
|
|
1033
|
-
),
|
|
1034
|
-
'wp_update_theme' => array(
|
|
1035
|
-
'alt' => 'new Theme_Upgrader();',
|
|
1036
|
-
'version' => '3.7.0',
|
|
1037
|
-
),
|
|
1038
|
-
|
|
1039
|
-
// WP 3.8.0.
|
|
1040
|
-
'get_screen_icon' => array(
|
|
1041
|
-
'alt' => '',
|
|
1042
|
-
'version' => '3.8.0',
|
|
1043
|
-
),
|
|
1044
|
-
'screen_icon' => array(
|
|
1045
|
-
'alt' => '',
|
|
1046
|
-
'version' => '3.8.0',
|
|
1047
|
-
),
|
|
1048
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1049
|
-
'wp_dashboard_incoming_links' => array(
|
|
1050
|
-
'alt' => '',
|
|
1051
|
-
'version' => '3.8.0',
|
|
1052
|
-
),
|
|
1053
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1054
|
-
'wp_dashboard_incoming_links_control' => array(
|
|
1055
|
-
'alt' => '',
|
|
1056
|
-
'version' => '3.8.0',
|
|
1057
|
-
),
|
|
1058
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1059
|
-
'wp_dashboard_incoming_links_output' => array(
|
|
1060
|
-
'alt' => '',
|
|
1061
|
-
'version' => '3.8.0',
|
|
1062
|
-
),
|
|
1063
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1064
|
-
'wp_dashboard_plugins' => array(
|
|
1065
|
-
'alt' => '',
|
|
1066
|
-
'version' => '3.8.0',
|
|
1067
|
-
),
|
|
1068
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1069
|
-
'wp_dashboard_primary_control' => array(
|
|
1070
|
-
'alt' => '',
|
|
1071
|
-
'version' => '3.8.0',
|
|
1072
|
-
),
|
|
1073
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1074
|
-
'wp_dashboard_recent_comments_control' => array(
|
|
1075
|
-
'alt' => '',
|
|
1076
|
-
'version' => '3.8.0',
|
|
1077
|
-
),
|
|
1078
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1079
|
-
'wp_dashboard_secondary' => array(
|
|
1080
|
-
'alt' => '',
|
|
1081
|
-
'version' => '3.8.0',
|
|
1082
|
-
),
|
|
1083
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1084
|
-
'wp_dashboard_secondary_control' => array(
|
|
1085
|
-
'alt' => '',
|
|
1086
|
-
'version' => '3.8.0',
|
|
1087
|
-
),
|
|
1088
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1089
|
-
'wp_dashboard_secondary_output' => array(
|
|
1090
|
-
'alt' => '',
|
|
1091
|
-
'version' => '3.8.0',
|
|
1092
|
-
),
|
|
1093
|
-
|
|
1094
|
-
// WP 3.9.0.
|
|
1095
|
-
'_relocate_children' => array(
|
|
1096
|
-
'alt' => '',
|
|
1097
|
-
'version' => '3.9.0',
|
|
1098
|
-
),
|
|
1099
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1100
|
-
'default_topic_count_text' => array(
|
|
1101
|
-
'alt' => '',
|
|
1102
|
-
'version' => '3.9.0',
|
|
1103
|
-
),
|
|
1104
|
-
'format_to_post' => array(
|
|
1105
|
-
'alt' => '',
|
|
1106
|
-
'version' => '3.9.0',
|
|
1107
|
-
),
|
|
1108
|
-
'get_current_site_name' => array(
|
|
1109
|
-
'alt' => 'get_current_site()',
|
|
1110
|
-
'version' => '3.9.0',
|
|
1111
|
-
),
|
|
1112
|
-
'rich_edit_exists' => array(
|
|
1113
|
-
'alt' => '',
|
|
1114
|
-
'version' => '3.9.0',
|
|
1115
|
-
),
|
|
1116
|
-
'wpmu_current_site' => array(
|
|
1117
|
-
'alt' => '',
|
|
1118
|
-
'version' => '3.9.0',
|
|
1119
|
-
),
|
|
1120
|
-
|
|
1121
|
-
// WP 4.0.0.
|
|
1122
|
-
'get_all_category_ids' => array(
|
|
1123
|
-
'alt' => 'get_terms()',
|
|
1124
|
-
'version' => '4.0.0',
|
|
1125
|
-
),
|
|
1126
|
-
'like_escape' => array(
|
|
1127
|
-
'alt' => 'wpdb::esc_like()',
|
|
1128
|
-
'version' => '4.0.0',
|
|
1129
|
-
),
|
|
1130
|
-
'url_is_accessable_via_ssl' => array(
|
|
1131
|
-
'alt' => '',
|
|
1132
|
-
'version' => '4.0.0',
|
|
1133
|
-
),
|
|
1134
|
-
|
|
1135
|
-
// WP 4.1.0.
|
|
1136
|
-
// This is a method from the WP_Customize_Image_Control class. See #731.
|
|
1137
|
-
'add_tab' => array(
|
|
1138
|
-
'alt' => '',
|
|
1139
|
-
'version' => '4.1.0',
|
|
1140
|
-
),
|
|
1141
|
-
// This is a method from the WP_Customize_Image_Control class. See #731.
|
|
1142
|
-
'prepare_control' => array(
|
|
1143
|
-
'alt' => '',
|
|
1144
|
-
'version' => '4.1.0',
|
|
1145
|
-
),
|
|
1146
|
-
// This is a method from the WP_Customize_Image_Control class. See #731.
|
|
1147
|
-
'print_tab_image' => array(
|
|
1148
|
-
'alt' => '',
|
|
1149
|
-
'version' => '4.1.0',
|
|
1150
|
-
),
|
|
1151
|
-
// This is a method from the WP_Customize_Image_Control class. See #731.
|
|
1152
|
-
'remove_tab' => array(
|
|
1153
|
-
'alt' => '',
|
|
1154
|
-
'version' => '4.1.0',
|
|
1155
|
-
),
|
|
1156
|
-
|
|
1157
|
-
// WP 4.2.0.
|
|
1158
|
-
// This is a method from the WP_Customize_Widgets class. See #731.
|
|
1159
|
-
'prepreview_added_sidebars_widgets' => array(
|
|
1160
|
-
'alt' => 'the \'customize_dynamic_setting_args\' filter',
|
|
1161
|
-
'version' => '4.2.0',
|
|
1162
|
-
),
|
|
1163
|
-
// This is a method from the WP_Customize_Widgets class. See #731.
|
|
1164
|
-
'prepreview_added_widget_instance' => array(
|
|
1165
|
-
'alt' => 'the \'customize_dynamic_setting_args\' filter',
|
|
1166
|
-
'version' => '4.2.0',
|
|
1167
|
-
),
|
|
1168
|
-
// This is a method from the WP_Customize_Widgets class. See #731.
|
|
1169
|
-
'remove_prepreview_filters' => array(
|
|
1170
|
-
'alt' => 'the \'customize_dynamic_setting_args\' filter',
|
|
1171
|
-
'version' => '4.2.0',
|
|
1172
|
-
),
|
|
1173
|
-
// This is a method from the WP_Customize_Widgets class. See #731.
|
|
1174
|
-
'setup_widget_addition_previews' => array(
|
|
1175
|
-
'alt' => 'the \'customize_dynamic_setting_args\' filter',
|
|
1176
|
-
'version' => '4.2.0',
|
|
1177
|
-
),
|
|
1178
|
-
|
|
1179
|
-
// WP 4.3.0.
|
|
1180
|
-
'_preview_theme_stylesheet_filter' => array(
|
|
1181
|
-
'alt' => '',
|
|
1182
|
-
'version' => '4.3.0',
|
|
1183
|
-
),
|
|
1184
|
-
'_preview_theme_template_filter' => array(
|
|
1185
|
-
'alt' => '',
|
|
1186
|
-
'version' => '4.3.0',
|
|
1187
|
-
),
|
|
1188
|
-
'preview_theme' => array(
|
|
1189
|
-
'alt' => '',
|
|
1190
|
-
'version' => '4.3.0',
|
|
1191
|
-
),
|
|
1192
|
-
'preview_theme_ob_filter' => array(
|
|
1193
|
-
'alt' => '',
|
|
1194
|
-
'version' => '4.3.0',
|
|
1195
|
-
),
|
|
1196
|
-
'preview_theme_ob_filter_callback' => array(
|
|
1197
|
-
'alt' => '',
|
|
1198
|
-
'version' => '4.3.0',
|
|
1199
|
-
),
|
|
1200
|
-
// Verified; see https://core.trac.wordpress.org/ticket/41121, patch 3.
|
|
1201
|
-
'wp_ajax_wp_fullscreen_save_post' => array(
|
|
1202
|
-
'alt' => '',
|
|
1203
|
-
'version' => '4.3.0',
|
|
1204
|
-
),
|
|
1205
|
-
'wp_htmledit_pre' => array(
|
|
1206
|
-
'alt' => 'format_for_editor()',
|
|
1207
|
-
'version' => '4.3.0',
|
|
1208
|
-
),
|
|
1209
|
-
'wp_richedit_pre' => array(
|
|
1210
|
-
'alt' => 'format_for_editor()',
|
|
1211
|
-
'version' => '4.3.0',
|
|
1212
|
-
),
|
|
1213
|
-
|
|
1214
|
-
// WP 4.4.0.
|
|
1215
|
-
'create_empty_blog' => array(
|
|
1216
|
-
'alt' => '',
|
|
1217
|
-
'version' => '4.4.0',
|
|
1218
|
-
),
|
|
1219
|
-
'force_ssl_login' => array(
|
|
1220
|
-
'alt' => 'force_ssl_admin()',
|
|
1221
|
-
'version' => '4.4.0',
|
|
1222
|
-
),
|
|
1223
|
-
'get_admin_users_for_domain' => array(
|
|
1224
|
-
'alt' => '',
|
|
1225
|
-
'version' => '4.4.0',
|
|
1226
|
-
),
|
|
1227
|
-
'post_permalink' => array(
|
|
1228
|
-
'alt' => 'get_permalink()',
|
|
1229
|
-
'version' => '4.4.0',
|
|
1230
|
-
),
|
|
1231
|
-
'wp_get_http' => array(
|
|
1232
|
-
'alt' => 'the WP_Http class',
|
|
1233
|
-
'version' => '4.4.0',
|
|
1234
|
-
),
|
|
1235
|
-
// This is a method i.e. WP_Widget_Recent_Comments::flush_widget_cache() See #731.
|
|
1236
|
-
'flush_widget_cache' => array(
|
|
1237
|
-
'alt' => '',
|
|
1238
|
-
'version' => '4.4.0',
|
|
1239
|
-
),
|
|
1240
|
-
|
|
1241
|
-
// WP 4.5.0.
|
|
1242
|
-
'add_object_page' => array(
|
|
1243
|
-
'alt' => 'add_menu_page()',
|
|
1244
|
-
'version' => '4.5.0',
|
|
1245
|
-
),
|
|
1246
|
-
'add_utility_page' => array(
|
|
1247
|
-
'alt' => 'add_menu_page()',
|
|
1248
|
-
'version' => '4.5.0',
|
|
1249
|
-
),
|
|
1250
|
-
'comments_popup_script' => array(
|
|
1251
|
-
'alt' => '',
|
|
1252
|
-
'version' => '4.5.0',
|
|
1253
|
-
),
|
|
1254
|
-
'get_comments_popup_template' => array(
|
|
1255
|
-
'alt' => '',
|
|
1256
|
-
'version' => '4.5.0',
|
|
1257
|
-
),
|
|
1258
|
-
'get_currentuserinfo' => array(
|
|
1259
|
-
'alt' => 'wp_get_current_user()',
|
|
1260
|
-
'version' => '4.5.0',
|
|
1261
|
-
),
|
|
1262
|
-
'is_comments_popup' => array(
|
|
1263
|
-
'alt' => '',
|
|
1264
|
-
'version' => '4.5.0',
|
|
1265
|
-
),
|
|
1266
|
-
'popuplinks' => array(
|
|
1267
|
-
'alt' => '',
|
|
1268
|
-
'version' => '4.5.0',
|
|
1269
|
-
),
|
|
1270
|
-
|
|
1271
|
-
// WP 4.6.0.
|
|
1272
|
-
'post_form_autocomplete_off' => array(
|
|
1273
|
-
'alt' => '',
|
|
1274
|
-
'version' => '4.6.0',
|
|
1275
|
-
),
|
|
1276
|
-
'wp_embed_handler_googlevideo' => array(
|
|
1277
|
-
'alt' => '',
|
|
1278
|
-
'version' => '4.6.0',
|
|
1279
|
-
),
|
|
1280
|
-
'wp_get_sites' => array(
|
|
1281
|
-
'alt' => 'get_sites()',
|
|
1282
|
-
'version' => '4.6.0',
|
|
1283
|
-
),
|
|
1284
|
-
|
|
1285
|
-
// WP 4.7.0.
|
|
1286
|
-
'_sort_nav_menu_items' => array(
|
|
1287
|
-
'alt' => 'wp_list_sort()',
|
|
1288
|
-
'version' => '4.7.0',
|
|
1289
|
-
),
|
|
1290
|
-
'_usort_terms_by_ID' => array(
|
|
1291
|
-
'alt' => 'wp_list_sort()',
|
|
1292
|
-
'version' => '4.7.0',
|
|
1293
|
-
),
|
|
1294
|
-
'_usort_terms_by_name' => array(
|
|
1295
|
-
'alt' => 'wp_list_sort()',
|
|
1296
|
-
'version' => '4.7.0',
|
|
1297
|
-
),
|
|
1298
|
-
'get_paged_template' => array(
|
|
1299
|
-
'alt' => '',
|
|
1300
|
-
'version' => '4.7.0',
|
|
1301
|
-
),
|
|
1302
|
-
'wp_get_network' => array(
|
|
1303
|
-
'alt' => 'get_network()',
|
|
1304
|
-
'version' => '4.7.0',
|
|
1305
|
-
),
|
|
1306
|
-
'wp_kses_js_entities' => array(
|
|
1307
|
-
'alt' => '',
|
|
1308
|
-
'version' => '4.7.0',
|
|
1309
|
-
),
|
|
1310
|
-
|
|
1311
|
-
// WP 4.8.0.
|
|
1312
|
-
'wp_dashboard_plugins_output' => array(
|
|
1313
|
-
'alt' => '',
|
|
1314
|
-
'version' => '4.8.0',
|
|
1315
|
-
),
|
|
1316
|
-
|
|
1317
|
-
// WP 4.9.0.
|
|
1318
|
-
'get_shortcut_link' => array(
|
|
1319
|
-
'alt' => '',
|
|
1320
|
-
'version' => '4.9.0',
|
|
1321
|
-
),
|
|
1322
|
-
'is_user_option_local' => array(
|
|
1323
|
-
'alt' => '',
|
|
1324
|
-
'version' => '4.9.0',
|
|
1325
|
-
),
|
|
1326
|
-
'wp_ajax_press_this_add_category' => array(
|
|
1327
|
-
'alt' => '',
|
|
1328
|
-
'version' => '4.9.0',
|
|
1329
|
-
),
|
|
1330
|
-
'wp_ajax_press_this_save_post' => array(
|
|
1331
|
-
'alt' => '',
|
|
1332
|
-
'version' => '4.9.0',
|
|
1333
|
-
),
|
|
1334
|
-
|
|
1335
|
-
// WP 5.1.0.
|
|
1336
|
-
'insert_blog' => array(
|
|
1337
|
-
'alt' => 'wp_insert_site()',
|
|
1338
|
-
'version' => '5.1.0',
|
|
1339
|
-
),
|
|
1340
|
-
'install_blog' => array(
|
|
1341
|
-
'alt' => '',
|
|
1342
|
-
'version' => '5.1.0',
|
|
1343
|
-
),
|
|
1344
|
-
|
|
1345
|
-
// WP 5.3.0.
|
|
1346
|
-
'_wp_json_prepare_data' => array(
|
|
1347
|
-
'alt' => '',
|
|
1348
|
-
'version' => '5.3.0',
|
|
1349
|
-
),
|
|
1350
|
-
'_wp_privacy_requests_screen_options' => array(
|
|
1351
|
-
'alt' => '',
|
|
1352
|
-
'version' => '5.3.0',
|
|
1353
|
-
),
|
|
1354
|
-
'update_user_status' => array(
|
|
1355
|
-
'alt' => 'wp_update_user()',
|
|
1356
|
-
'version' => '5.3.0',
|
|
1357
|
-
),
|
|
1358
|
-
|
|
1359
|
-
// WP 5.4.0.
|
|
1360
|
-
'wp_get_user_request_data' => array(
|
|
1361
|
-
'alt' => 'wp_get_user_request()',
|
|
1362
|
-
'version' => '5.4.0',
|
|
1363
|
-
),
|
|
1364
|
-
|
|
1365
|
-
// WP 5.5.0.
|
|
1366
|
-
'_wp_register_meta_args_whitelist' => array(
|
|
1367
|
-
'alt' => '_wp_register_meta_args_allowed_list()',
|
|
1368
|
-
'version' => '5.5.0',
|
|
1369
|
-
),
|
|
1370
|
-
'add_option_whitelist' => array(
|
|
1371
|
-
'alt' => 'add_allowed_options()',
|
|
1372
|
-
'version' => '5.5.0',
|
|
1373
|
-
),
|
|
1374
|
-
'remove_option_whitelist' => array(
|
|
1375
|
-
'alt' => 'remove_allowed_options()',
|
|
1376
|
-
'version' => '5.5.0',
|
|
1377
|
-
),
|
|
1378
|
-
'wp_blacklist_check' => array(
|
|
1379
|
-
'alt' => 'wp_check_comment_disallowed_list()',
|
|
1380
|
-
'version' => '5.5.0',
|
|
1381
|
-
),
|
|
1382
|
-
'wp_make_content_images_responsive' => array(
|
|
1383
|
-
'alt' => 'wp_filter_content_tags()',
|
|
1384
|
-
'version' => '5.5.0',
|
|
1385
|
-
),
|
|
1386
|
-
'wp_unregister_GLOBALS' => array(
|
|
1387
|
-
'alt' => '',
|
|
1388
|
-
'version' => '5.5.0',
|
|
1389
|
-
),
|
|
1390
|
-
|
|
1391
|
-
// WP 5.7.0.
|
|
1392
|
-
'noindex' => array(
|
|
1393
|
-
'alt' => 'wp_robots_noindex()',
|
|
1394
|
-
'version' => '5.7.0',
|
|
1395
|
-
),
|
|
1396
|
-
'wp_no_robots' => array(
|
|
1397
|
-
'alt' => 'wp_robots_no_robots()',
|
|
1398
|
-
'version' => '5.7.0',
|
|
1399
|
-
),
|
|
1400
|
-
'wp_sensitive_page_meta' => array(
|
|
1401
|
-
'alt' => 'wp_robots_sensitive_page()',
|
|
1402
|
-
'version' => '5.7.0',
|
|
1403
|
-
),
|
|
1404
|
-
|
|
1405
|
-
// WP 5.8.0.
|
|
1406
|
-
'_excerpt_render_inner_columns_blocks' => array(
|
|
1407
|
-
'alt' => '_excerpt_render_inner_blocks()',
|
|
1408
|
-
'version' => '5.8.0',
|
|
1409
|
-
),
|
|
1410
|
-
|
|
1411
|
-
// WP 5.9.0.
|
|
1412
|
-
'readonly' => array(
|
|
1413
|
-
'alt' => 'wp_readonly()',
|
|
1414
|
-
'version' => '5.9.0',
|
|
1415
|
-
),
|
|
1416
|
-
|
|
1417
|
-
// WP 5.9.1.
|
|
1418
|
-
'wp_render_duotone_filter_preset' => array(
|
|
1419
|
-
'alt' => 'wp_get_duotone_filter_property()',
|
|
1420
|
-
'version' => '5.9.1',
|
|
1421
|
-
),
|
|
1422
|
-
|
|
1423
|
-
// WP 6.0.0.
|
|
1424
|
-
'image_attachment_fields_to_save' => array(
|
|
1425
|
-
'alt' => '',
|
|
1426
|
-
'version' => '6.0.0',
|
|
1427
|
-
),
|
|
1428
|
-
'wp_add_iframed_editor_assets_html' => array(
|
|
1429
|
-
'alt' => '',
|
|
1430
|
-
'version' => '6.0.0',
|
|
1431
|
-
),
|
|
1432
|
-
'wp_skip_border_serialization' => array(
|
|
1433
|
-
'alt' => 'wp_should_skip_block_supports_serialization()',
|
|
1434
|
-
'version' => '6.0.0',
|
|
1435
|
-
),
|
|
1436
|
-
'wp_skip_dimensions_serialization' => array(
|
|
1437
|
-
'alt' => 'wp_should_skip_block_supports_serialization()',
|
|
1438
|
-
'version' => '6.0.0',
|
|
1439
|
-
),
|
|
1440
|
-
'wp_skip_spacing_serialization' => array(
|
|
1441
|
-
'alt' => 'wp_should_skip_block_supports_serialization()',
|
|
1442
|
-
'version' => '6.0.0',
|
|
1443
|
-
),
|
|
1444
|
-
|
|
1445
|
-
// WP 6.0.2.
|
|
1446
|
-
'the_meta' => array(
|
|
1447
|
-
'alt' => 'get_post_meta()',
|
|
1448
|
-
'version' => '6.0.2',
|
|
1449
|
-
),
|
|
1450
|
-
|
|
1451
|
-
// WP 6.0.3.
|
|
1452
|
-
// Verified; see https://core.trac.wordpress.org/ticket/56791#comment:10.
|
|
1453
|
-
'_filter_query_attachment_filenames' => array(
|
|
1454
|
-
'alt' => 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )',
|
|
1455
|
-
'version' => '6.0.3',
|
|
1456
|
-
),
|
|
1457
|
-
|
|
1458
|
-
// WP 6.1.0.
|
|
1459
|
-
'_get_path_to_translation' => array(
|
|
1460
|
-
'alt' => 'WP_Textdomain_Registry',
|
|
1461
|
-
'version' => '6.1.0',
|
|
1462
|
-
),
|
|
1463
|
-
'_get_path_to_translation_from_lang_dir' => array(
|
|
1464
|
-
'alt' => 'WP_Textdomain_Registry',
|
|
1465
|
-
'version' => '6.1.0',
|
|
1466
|
-
),
|
|
1467
|
-
'_wp_multiple_block_styles' => array(
|
|
1468
|
-
'alt' => '',
|
|
1469
|
-
'version' => '6.1.0',
|
|
1470
|
-
),
|
|
1471
|
-
'global_terms' => array(
|
|
1472
|
-
'alt' => '',
|
|
1473
|
-
'version' => '6.1.0',
|
|
1474
|
-
),
|
|
1475
|
-
'global_terms_enabled' => array(
|
|
1476
|
-
'alt' => '',
|
|
1477
|
-
'version' => '6.1.0',
|
|
1478
|
-
),
|
|
1479
|
-
'install_global_terms' => array(
|
|
1480
|
-
'alt' => '',
|
|
1481
|
-
'version' => '6.1.0',
|
|
1482
|
-
),
|
|
1483
|
-
'sync_category_tag_slugs' => array(
|
|
1484
|
-
'alt' => '',
|
|
1485
|
-
'version' => '6.1.0',
|
|
1486
|
-
),
|
|
1487
|
-
'wp_get_attachment_thumb_file' => array(
|
|
1488
|
-
'alt' => '',
|
|
1489
|
-
'version' => '6.1.0',
|
|
1490
|
-
),
|
|
1491
|
-
'wp_typography_get_css_variable_inline_style' => array(
|
|
1492
|
-
'alt' => 'wp_style_engine_get_styles()',
|
|
1493
|
-
'version' => '6.1.0',
|
|
1494
|
-
),
|
|
1495
|
-
|
|
1496
|
-
// WP 6.2.0.
|
|
1497
|
-
'_resolve_home_block_template' => array(
|
|
1498
|
-
'alt' => '',
|
|
1499
|
-
'version' => '6.2.0',
|
|
1500
|
-
),
|
|
1501
|
-
'get_page_by_title' => array(
|
|
1502
|
-
'alt' => 'WP_Query',
|
|
1503
|
-
'version' => '6.2.0',
|
|
1504
|
-
),
|
|
1505
|
-
|
|
1506
|
-
// WP 6.3.0.
|
|
1507
|
-
'_wp_tinycolor_bound_alpha' => array(
|
|
1508
|
-
'alt' => '',
|
|
1509
|
-
'version' => '6.3.0',
|
|
1510
|
-
),
|
|
1511
|
-
'block_core_navigation_get_classic_menu_fallback' => array(
|
|
1512
|
-
'alt' => 'WP_Navigation_Fallback::get_classic_menu_fallback',
|
|
1513
|
-
'version' => '6.3.0',
|
|
1514
|
-
),
|
|
1515
|
-
'block_core_navigation_get_classic_menu_fallback_blocks' => array(
|
|
1516
|
-
'alt' => 'WP_Navigation_Fallback::get_classic_menu_fallback_blocks',
|
|
1517
|
-
'version' => '6.3.0',
|
|
1518
|
-
),
|
|
1519
|
-
'block_core_navigation_get_most_recently_published_navigation' => array(
|
|
1520
|
-
'alt' => 'WP_Navigation_Fallback::get_most_recently_published_navigation',
|
|
1521
|
-
'version' => '6.3.0',
|
|
1522
|
-
),
|
|
1523
|
-
'block_core_navigation_maybe_use_classic_menu_fallback' => array(
|
|
1524
|
-
'alt' => 'WP_Navigation_Fallback::create_classic_menu_fallback',
|
|
1525
|
-
'version' => '6.3.0',
|
|
1526
|
-
),
|
|
1527
|
-
'block_core_navigation_parse_blocks_from_menu_items' => array(
|
|
1528
|
-
'alt' => 'WP_Navigation_Fallback::parse_blocks_from_menu_items',
|
|
1529
|
-
'version' => '6.3.0',
|
|
1530
|
-
),
|
|
1531
|
-
'block_core_navigation_submenu_build_css_colors' => array(
|
|
1532
|
-
'alt' => 'wp_apply_colors_support()',
|
|
1533
|
-
'version' => '6.3.0',
|
|
1534
|
-
),
|
|
1535
|
-
'wlwmanifest_link' => array(
|
|
1536
|
-
'alt' => '',
|
|
1537
|
-
'version' => '6.3.0',
|
|
1538
|
-
),
|
|
1539
|
-
'wp_get_duotone_filter_id' => array(
|
|
1540
|
-
'alt' => '',
|
|
1541
|
-
'version' => '6.3.0',
|
|
1542
|
-
),
|
|
1543
|
-
'wp_get_duotone_filter_property' => array(
|
|
1544
|
-
'alt' => '',
|
|
1545
|
-
'version' => '6.3.0',
|
|
1546
|
-
),
|
|
1547
|
-
'wp_get_duotone_filter_svg' => array(
|
|
1548
|
-
'alt' => '',
|
|
1549
|
-
'version' => '6.3.0',
|
|
1550
|
-
),
|
|
1551
|
-
'wp_get_global_styles_svg_filters' => array(
|
|
1552
|
-
'alt' => '',
|
|
1553
|
-
'version' => '6.3.0',
|
|
1554
|
-
),
|
|
1555
|
-
'wp_get_loading_attr_default' => array(
|
|
1556
|
-
'alt' => 'wp_get_loading_optimization_attributes()',
|
|
1557
|
-
'version' => '6.3.0',
|
|
1558
|
-
),
|
|
1559
|
-
'wp_global_styles_render_svg_filters' => array(
|
|
1560
|
-
'alt' => '',
|
|
1561
|
-
'version' => '6.3.0',
|
|
1562
|
-
),
|
|
1563
|
-
'wp_img_tag_add_loading_attr' => array(
|
|
1564
|
-
'alt' => 'wp_img_tag_add_loading_optimization_attrs()',
|
|
1565
|
-
'version' => '6.3.0',
|
|
1566
|
-
),
|
|
1567
|
-
'wp_queue_comments_for_comment_meta_lazyload' => array(
|
|
1568
|
-
'alt' => 'wp_lazyload_comment_meta()',
|
|
1569
|
-
'version' => '6.3.0',
|
|
1570
|
-
),
|
|
1571
|
-
'wp_register_duotone_support' => array(
|
|
1572
|
-
'alt' => 'WP_Duotone::register_duotone_support()',
|
|
1573
|
-
'version' => '6.3.0',
|
|
1574
|
-
),
|
|
1575
|
-
'wp_render_duotone_support' => array(
|
|
1576
|
-
'alt' => 'WP_Duotone::render_duotone_support()',
|
|
1577
|
-
'version' => '6.3.0',
|
|
1578
|
-
),
|
|
1579
|
-
'wp_tinycolor_bound01' => array(
|
|
1580
|
-
'alt' => '',
|
|
1581
|
-
'version' => '6.3.0',
|
|
1582
|
-
),
|
|
1583
|
-
'wp_tinycolor_hsl_to_rgb' => array(
|
|
1584
|
-
'alt' => '',
|
|
1585
|
-
'version' => '6.3.0',
|
|
1586
|
-
),
|
|
1587
|
-
'wp_tinycolor_hue_to_rgb' => array(
|
|
1588
|
-
'alt' => '',
|
|
1589
|
-
'version' => '6.3.0',
|
|
1590
|
-
),
|
|
1591
|
-
'wp_tinycolor_rgb_to_rgb' => array(
|
|
1592
|
-
'alt' => '',
|
|
1593
|
-
'version' => '6.3.0',
|
|
1594
|
-
),
|
|
1595
|
-
'wp_tinycolor_string_to_rgb' => array(
|
|
1596
|
-
'alt' => '',
|
|
1597
|
-
'version' => '6.3.0',
|
|
1598
|
-
),
|
|
1599
|
-
|
|
1600
|
-
// WP 6.4.0.
|
|
1601
|
-
'_admin_bar_bump_cb' => array(
|
|
1602
|
-
'alt' => 'wp_enqueue_admin_bar_bump_styles()',
|
|
1603
|
-
'version' => '6.4.0',
|
|
1604
|
-
),
|
|
1605
|
-
'_inject_theme_attribute_in_block_template_content' => array(
|
|
1606
|
-
'alt' => 'traverse_and_serialize_blocks( parse_blocks( $template_content ), \'_inject_theme_attribute_in_template_part_block\' )',
|
|
1607
|
-
'version' => '6.4.0',
|
|
1608
|
-
),
|
|
1609
|
-
'_remove_theme_attribute_in_block_template_content' => array(
|
|
1610
|
-
'alt' => 'traverse_and_serialize_blocks( parse_blocks( $template_content ), \'_remove_theme_attribute_from_template_part_block\' )',
|
|
1611
|
-
'version' => '6.4.0',
|
|
1612
|
-
),
|
|
1613
|
-
'_wp_theme_json_webfonts_handler' => array(
|
|
1614
|
-
'alt' => 'wp_print_font_faces()',
|
|
1615
|
-
'version' => '6.4.0',
|
|
1616
|
-
),
|
|
1617
|
-
'print_embed_styles' => array(
|
|
1618
|
-
'alt' => 'wp_enqueue_embed_styles()',
|
|
1619
|
-
'version' => '6.4.0',
|
|
1620
|
-
),
|
|
1621
|
-
'print_emoji_styles' => array(
|
|
1622
|
-
'alt' => 'wp_enqueue_emoji_styles()',
|
|
1623
|
-
'version' => '6.4.0',
|
|
1624
|
-
),
|
|
1625
|
-
'the_block_template_skip_link' => array(
|
|
1626
|
-
'alt' => 'wp_enqueue_block_template_skip_link()',
|
|
1627
|
-
'version' => '6.4.0',
|
|
1628
|
-
),
|
|
1629
|
-
'wp_admin_bar_header' => array(
|
|
1630
|
-
'alt' => 'wp_enqueue_admin_bar_header_styles()',
|
|
1631
|
-
'version' => '6.4.0',
|
|
1632
|
-
),
|
|
1633
|
-
'wp_img_tag_add_decoding_attr' => array(
|
|
1634
|
-
'alt' => 'wp_img_tag_add_loading_optimization_attrs()',
|
|
1635
|
-
'version' => '6.4.0',
|
|
1636
|
-
),
|
|
1637
|
-
'wp_update_https_detection_errors' => array(
|
|
1638
|
-
'alt' => 'wp_get_https_detection_errors()',
|
|
1639
|
-
'version' => '6.4.0',
|
|
1640
|
-
),
|
|
1641
|
-
|
|
1642
|
-
// WP 6.5.0.
|
|
1643
|
-
'block_core_file_ensure_interactivity_dependency' => array(
|
|
1644
|
-
'alt' => 'wp_register_script_module()',
|
|
1645
|
-
'version' => '6.5.0',
|
|
1646
|
-
),
|
|
1647
|
-
'block_core_image_ensure_interactivity_dependency' => array(
|
|
1648
|
-
'alt' => 'wp_register_script_module()',
|
|
1649
|
-
'version' => '6.5.0',
|
|
1650
|
-
),
|
|
1651
|
-
'block_core_query_ensure_interactivity_dependency' => array(
|
|
1652
|
-
'alt' => 'wp_register_script_module()',
|
|
1653
|
-
'version' => '6.5.0',
|
|
1654
|
-
),
|
|
1655
|
-
);
|
|
1656
|
-
|
|
1657
|
-
/**
|
|
1658
|
-
* Groups of functions to restrict.
|
|
1659
|
-
*
|
|
1660
|
-
* @return array
|
|
1661
|
-
*/
|
|
1662
|
-
public function getGroups() {
|
|
1663
|
-
// Make sure all array keys are lowercase.
|
|
1664
|
-
$this->deprecated_functions = array_change_key_case( $this->deprecated_functions, \CASE_LOWER );
|
|
1665
|
-
|
|
1666
|
-
return array(
|
|
1667
|
-
'deprecated_functions' => array(
|
|
1668
|
-
'functions' => array_keys( $this->deprecated_functions ),
|
|
1669
|
-
),
|
|
1670
|
-
);
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
/**
|
|
1674
|
-
* Process a matched token.
|
|
1675
|
-
*
|
|
1676
|
-
* @param int $stackPtr The position of the current token in the stack.
|
|
1677
|
-
* @param string $group_name The name of the group which was matched. Will
|
|
1678
|
-
* always be 'deprecated_functions'.
|
|
1679
|
-
* @param string $matched_content The token content (function name) which was matched
|
|
1680
|
-
* in lowercase.
|
|
1681
|
-
*
|
|
1682
|
-
* @return void
|
|
1683
|
-
*/
|
|
1684
|
-
public function process_matched_token( $stackPtr, $group_name, $matched_content ) {
|
|
1685
|
-
|
|
1686
|
-
$this->set_minimum_wp_version();
|
|
1687
|
-
|
|
1688
|
-
$message = '%s() has been deprecated since WordPress version %s.';
|
|
1689
|
-
$data = array(
|
|
1690
|
-
$this->tokens[ $stackPtr ]['content'],
|
|
1691
|
-
$this->deprecated_functions[ $matched_content ]['version'],
|
|
1692
|
-
);
|
|
1693
|
-
|
|
1694
|
-
if ( ! empty( $this->deprecated_functions[ $matched_content ]['alt'] ) ) {
|
|
1695
|
-
$message .= ' Use %s instead.';
|
|
1696
|
-
$data[] = $this->deprecated_functions[ $matched_content ]['alt'];
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
|
-
MessageHelper::addMessage(
|
|
1700
|
-
$this->phpcsFile,
|
|
1701
|
-
$message,
|
|
1702
|
-
$stackPtr,
|
|
1703
|
-
( $this->wp_version_compare( $this->deprecated_functions[ $matched_content ]['version'], $this->minimum_wp_version, '<' ) ),
|
|
1704
|
-
MessageHelper::stringToErrorcode( $matched_content . 'Found' ),
|
|
1705
|
-
$data
|
|
1706
|
-
);
|
|
1707
|
-
}
|
|
1708
|
-
}
|