WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post/output.php

    r46586 r47122  
    11<?php
    22
    3 // test the output of post template tags etc
    4 
    53/**
     4 * Test the output of post template tags, etc.
     5 *
    66 * @group post
    77 * @group formatting
     
    133133
    134134        // http://bpr3.org/?p=87
    135         // the title attribute should make it through unfiltered
     135        // The title attribute should make it through unfiltered.
    136136        $post_content = <<<EOF
    137137<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.aulast=Mariat&rft.aufirst=Denis&rft. au=Denis+Mariat&rft.au=Sead+Taourit&rft.au=G%C3%A9rard+Gu%C3%A9rin& rft.title=Genetics+Selection+Evolution&rft.atitle=&rft.date=2003&rft. volume=35&rft.issue=1&rft.spage=119&rft.epage=133&rft.genre=article& rft.id=info:DOI/10.1051%2Fgse%3A2002039"></span>Mariat, D., Taourit, S., Guérin, G. (2003). . <span style="font-style: italic;">Genetics Selection Evolution, 35</span>(1), 119-133. DOI: <a rev="review" href= "http://dx.doi.org/10.1051/gse:2002039">10.1051/gse:2002039</a>
     
    157157
    158158        // http://bpr3.org/?p=87
    159         // the title attribute should make it through unfiltered
     159        // The title attribute should make it through unfiltered.
    160160        $post_content = <<<EOF
    161161<span title="My friends: Alice, Bob and Carol">foo</span>
Note: See TracChangeset for help on using the changeset viewer.