PHP Classes

File: vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapitalPDangitStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapitalPDangitStandard.xml   Download  
File: vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapitalPDangitStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 1,199 bytes
 

Contents

Class file image Download
<?xml version="1.0"?> <documentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd" title="Capital P Dangit" > <standard> <![CDATA[ The correct spelling of "WordPress" should be used in text strings, comments and object names. In select cases, when part of an identifier or a URL, WordPress does not have to be capitalized. ]]> </standard> <code_comparison> <code title="Valid: WordPress is correctly capitalized."> <![CDATA[ class <em>WordPress</em>_Example { /** * This function is about <em>WordPress</em>. */ public function explain() { echo 'This is an explanation about <em>WordPress</em>.'; } } ]]> </code> <code title="Invalid: WordPress is not correctly capitalized."> <![CDATA[ class <em>Wordpress_Example</em> { /** * This function is about <em>Wordpress</em>. */ public function explain() { echo 'This is an explanation about <em>wordpress</em>.'; } } ]]> </code> </code_comparison> </documentation>