WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35591, comment 6


Ignore:
Timestamp:
03/16/2016 12:28:18 PM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35591, comment 6

    initial v1  
     1{{{
    12var_dump( shortcode_atts( array(
    23                'mode' => 'desktop',
     
    56                'tooltip' => 'on'
    67        ), $atts ) );
    7 
     8}}}
    89PRINT OUTS...
    9 
     10{{{
    1011array(4) { ["mode"]=> string(7) "desktop" ["expert"]=> string(3) "146" ["num_to_show"]=> string(2) "25" ["tooltip"]=> string(2) "on" }
    11 
     12}}}
    1213Nothing looks wrong there to me... but, the strings that i get are different; as far as how well each one is stripped of quotes.
    1314