mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Improve inline comments per the documentation standards.
Includes minor code layout fixes for better readability. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Thanks WordPress..
|
||||
// Thanks WordPress...
|
||||
function is_ssl() {
|
||||
if ( isset($_SERVER['HTTPS']) ) {
|
||||
if ( 'on' == strtolower($_SERVER['HTTPS']) )
|
||||
@@ -73,7 +73,7 @@ if ( isset( $_GET['location-with-200'] ) ) {
|
||||
echo 'PASS';
|
||||
exit;
|
||||
}
|
||||
// Redirection was followed
|
||||
// Redirection was followed.
|
||||
echo 'FAIL';
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ array('[Lorem ipsum dolor sit amet, quo id ignota repudiare, ius iracundia ratio
|
||||
|
||||
/* DIVIDER */
|
||||
|
||||
// based on https://core.trac.wordpress.org/attachment/ticket/29557/ChatTranscript.txt
|
||||
// Based on https://core.trac.wordpress.org/attachment/ticket/29557/ChatTranscript.txt
|
||||
|
||||
array('hello!-- world. [caption arg1="Aenean consectetur ipsum ante, vel egestas enim tincidunt quis. Pellentesque vitae congue neque, vel mattis ante. In vitae tempus nunc. Etiam adipiscing enim sed condimentum ultrices. Aenean consectetur ipsum ante, vel egestas enim tincidunt qu. In vitae tempus nunc. In vitaentbnbsdgsdsdgsdhsdhdsdhdsh Aenean consectetur ipsum ante, vel egestas enim tincidunt quis. Pellentesque vitae congue neque, vel mattis ante. In vitae tempus nunc. Etiam adipiscing enim sed condimentum ultrices. Aenean consectetur ipsum ante, vel egestas enim tincidunt qu. In vitae tempus nunc. In vitaentbnbsdgsdsdgsdhsdhdsdhdsh" /] hello world.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
|
||||
// Minimal comment template
|
||||
// Minimal comment template.
|
||||
wp_list_comments();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Minimum functions.php to pass unit tests
|
||||
// Minimum functions.php to pass unit tests.
|
||||
|
||||
function default_widgets_init() {
|
||||
register_sidebar( array( 'id' => 'sidebar-1' ) );
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<?php
|
||||
// Intentionally left blank
|
||||
// Intentionally left blank.
|
||||
?>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dummy theme
|
||||
// Dummy theme.
|
||||
|
||||
echo dirname(__FILE__).'/'.basename(__FILE__);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user