Make WordPress Core

Ticket #40077: 40077.2.patch

File 40077.2.patch, 562 bytes (added by dingo_bastard, 8 years ago)

Fixed spacing inside the function

  • general-template.php

     
    18601860 * @since 1.5.0
    18611861 *
    18621862 * @param int $num Number of day.
    1863  * @return int Days since the start of the week.
     1863 * @return double Days since the start of the week.
    18641864 */
    1865 function calendar_week_mod($num) {
     1865function calendar_week_mod( $num ) {
    18661866        $base = 7;
    1867         return ($num - $base*floor($num/$base));
     1867        return ( $num - $base * floor( $num / $base ) );
    18681868}
    18691869
    18701870/**