WordPress.org

Make WordPress Core

Ticket #22234: 22234.diff

File 22234.diff, 46.7 KB (added by wonderboymusic, 5 months ago)
  • wp-includes/post-template.php

     
    980980         * @since 2.1.0 
    981981         * @var string 
    982982         */ 
    983         var $tree_type = 'page'; 
     983        public $tree_type = 'page'; 
    984984 
    985985        /** 
    986986         * @see Walker::$db_fields 
     
    988988         * @todo Decouple this. 
    989989         * @var array 
    990990         */ 
    991         var $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 
     991        public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 
    992992 
    993993        /** 
    994994         * @see Walker::start_lvl() 
     
    10881088         * @since 2.1.0 
    10891089         * @var string 
    10901090         */ 
    1091         var $tree_type = 'page'; 
     1091        public $tree_type = 'page'; 
    10921092 
    10931093        /** 
    10941094         * @see Walker::$db_fields 
     
    10961096         * @todo Decouple this 
    10971097         * @var array 
    10981098         */ 
    1099         var $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 
     1099        public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 
    11001100 
    11011101        /** 
    11021102         * @see Walker::start_el() 
  • wp-includes/nav-menu-template.php

     
    2020         * @since 3.0.0 
    2121         * @var string 
    2222         */ 
    23         var $tree_type = array( 'post_type', 'taxonomy', 'custom' ); 
     23        public $tree_type = array( 'post_type', 'taxonomy', 'custom' ); 
    2424 
    2525        /** 
    2626         * @see Walker::$db_fields 
     
    2828         * @todo Decouple this. 
    2929         * @var array 
    3030         */ 
    31         var $db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' ); 
     31        public $db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' ); 
    3232 
    3333        /** 
    3434         * @see Walker::start_lvl() 
  • wp-includes/class-feed.php

     
    1616} 
    1717 
    1818class WP_Feed_Cache_Transient { 
    19         var $name; 
    20         var $mod_name; 
    21         var $lifetime = 43200; //Default lifetime in cache of 12 hours 
     19        public $name; 
     20        public $mod_name; 
     21        public $lifetime = 43200; //Default lifetime in cache of 12 hours 
    2222 
    2323        function __construct($location, $filename, $extension) { 
    2424                $this->name = 'feed_' . $filename; 
  • wp-includes/class-http.php

     
    14401440         * @since 2.8.0 
    14411441         * @var string 
    14421442         */ 
    1443         var $name; 
     1443        public $name; 
    14441444 
    14451445        /** 
    14461446         * Cookie value. 
     
    14481448         * @since 2.8.0 
    14491449         * @var string 
    14501450         */ 
    1451         var $value; 
     1451        public $value; 
    14521452 
    14531453        /** 
    14541454         * When the cookie expires. 
     
    14561456         * @since 2.8.0 
    14571457         * @var string 
    14581458         */ 
    1459         var $expires; 
     1459        public $expires; 
    14601460 
    14611461        /** 
    14621462         * Cookie URL path. 
     
    14641464         * @since 2.8.0 
    14651465         * @var string 
    14661466         */ 
    1467         var $path; 
     1467        public $path; 
    14681468 
    14691469        /** 
    14701470         * Cookie Domain. 
     
    14721472         * @since 2.8.0 
    14731473         * @var string 
    14741474         */ 
    1475         var $domain; 
     1475        public $domain; 
    14761476 
    14771477        /** 
    14781478         * Sets up this cookie object. 
  • wp-includes/pomo/mo.php

     
    1313if ( !class_exists( 'MO' ) ): 
    1414class MO extends Gettext_Translations { 
    1515 
    16         var $_nplurals = 2; 
     16        public $_nplurals = 2; 
    1717 
    1818        /** 
    1919         * Fills up with the entries from MO file $filename 
  • wp-includes/pomo/po.php

     
    1919if ( !class_exists( 'PO' ) ): 
    2020class PO extends Gettext_Translations { 
    2121 
    22         var $comments_before_headers = ''; 
     22        public $comments_before_headers = ''; 
    2323 
    2424        /** 
    2525         * Exports headers to a PO entry 
  • wp-includes/pomo/streams.php

     
    1111if ( !class_exists( 'POMO_Reader' ) ): 
    1212class POMO_Reader { 
    1313 
    14         var $endian = 'little'; 
    15         var $_post = ''; 
     14        public $endian = 'little'; 
     15        public $_post = ''; 
    1616 
    1717        function POMO_Reader() { 
    1818                $this->is_overloaded = ((ini_get("mbstring.func_overload") & 2) != 0) && function_exists('mb_substr'); 
     
    149149 */ 
    150150class POMO_StringReader extends POMO_Reader { 
    151151 
    152         var $_str = ''; 
     152        public $_str = ''; 
    153153 
    154154        function POMO_StringReader($str = '') { 
    155155                parent::POMO_Reader(); 
  • wp-includes/pomo/entry.php

     
    1818         * 
    1919         * @var boolean 
    2020         */ 
    21         var $is_plural = false; 
     21        public $is_plural = false; 
    2222 
    23         var $context = null; 
    24         var $singular = null; 
    25         var $plural = null; 
    26         var $translations = array(); 
    27         var $translator_comments = ''; 
    28         var $extracted_comments = ''; 
    29         var $references = array(); 
    30         var $flags = array(); 
     23        public $context = null; 
     24        public $singular = null; 
     25        public $plural = null; 
     26        public $translations = array(); 
     27        public $translator_comments = ''; 
     28        public $extracted_comments = ''; 
     29        public $references = array(); 
     30        public $flags = array(); 
    3131 
    3232        /** 
    3333         * @param array $args associative array, support following keys: 
  • wp-includes/pomo/translations.php

     
    1111 
    1212if ( !class_exists( 'Translations' ) ): 
    1313class Translations { 
    14         var $entries = array(); 
    15         var $headers = array(); 
     14        public $entries = array(); 
     15        public $headers = array(); 
    1616 
    1717        /** 
    1818         * Add entry to the PO structure 
     
    232232 * Provides the same interface as Translations, but doesn't do anything 
    233233 */ 
    234234class NOOP_Translations { 
    235         var $entries = array(); 
    236         var $headers = array(); 
     235        public $entries = array(); 
     236        public $headers = array(); 
    237237 
    238238        function add_entry($entry) { 
    239239                return true; 
  • wp-includes/comment.php

     
    194194         * Metadata query container 
    195195         * 
    196196         * @since 3.5.0 
    197          * @access public 
    198197         * @var object WP_Meta_Query 
    199198         */ 
    200         var $meta_query = false; 
     199        public $meta_query = false; 
    201200 
    202201        /** 
    203202         * Execute the query 
  • wp-includes/class-wp-embed.php

     
    77 * @since 2.9.0 
    88 */ 
    99class WP_Embed { 
    10         var $handlers = array(); 
    11         var $post_ID; 
    12         var $usecache = true; 
    13         var $linkifunknown = true; 
     10        public $handlers = array(); 
     11        public $post_ID; 
     12        public $usecache = true; 
     13        public $linkifunknown = true; 
    1414 
    1515        /** 
    1616         * Constructor 
  • wp-includes/comment-template.php

     
    12201220         * @since 2.7.0 
    12211221         * @var string 
    12221222         */ 
    1223         var $tree_type = 'comment'; 
     1223        public $tree_type = 'comment'; 
    12241224 
    12251225        /** 
    12261226         * @see Walker::$db_fields 
    12271227         * @since 2.7.0 
    12281228         * @var array 
    12291229         */ 
    1230         var $db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID'); 
     1230        public $db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID'); 
    12311231 
    12321232        /** 
    12331233         * @see Walker::start_lvl() 
  • wp-includes/class.wp-styles.php

     
    1717 * @since r74 
    1818 */ 
    1919class WP_Styles extends WP_Dependencies { 
    20         var $base_url; 
    21         var $content_url; 
    22         var $default_version; 
    23         var $text_direction = 'ltr'; 
    24         var $concat = ''; 
    25         var $concat_version = ''; 
    26         var $do_concat = false; 
    27         var $print_html = ''; 
    28         var $print_code = ''; 
    29         var $default_dirs; 
     20        public $base_url; 
     21        public $content_url; 
     22        public $default_version; 
     23        public $text_direction = 'ltr'; 
     24        public $concat = ''; 
     25        public $concat_version = ''; 
     26        public $do_concat = false; 
     27        public $print_html = ''; 
     28        public $print_code = ''; 
     29        public $default_dirs; 
    3030 
    3131        function __construct() { 
    3232                do_action_ref_array( 'wp_default_styles', array(&$this) ); 
  • wp-includes/class.wp-dependencies.php

     
    1717 * @since r74 
    1818 */ 
    1919class WP_Dependencies { 
    20         var $registered = array(); 
    21         var $queue = array(); 
    22         var $to_do = array(); 
    23         var $done = array(); 
    24         var $args = array(); 
    25         var $groups = array(); 
    26         var $group = 0; 
     20        public $registered = array(); 
     21        public $queue = array(); 
     22        public $to_do = array(); 
     23        public $done = array(); 
     24        public $args = array(); 
     25        public $groups = array(); 
     26        public $group = 0; 
    2727 
    2828        /** 
    2929         * Do the dependencies 
     
    238238} 
    239239 
    240240class _WP_Dependency { 
    241         var $handle; 
    242         var $src; 
    243         var $deps = array(); 
    244         var $ver = false; 
    245         var $args = null; 
     241        public $handle; 
     242        public $src; 
     243        public $deps = array(); 
     244        public $ver = false; 
     245        public $args = null; 
    246246 
    247         var $extra = array(); 
     247        public $extra = array(); 
    248248 
    249249        function __construct() { 
    250250                @list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args(); 
  • wp-includes/user.php

     
    318318         * Query vars, after parsing 
    319319         * 
    320320         * @since 3.5.0 
    321          * @access public 
    322321         * @var array 
    323322         */ 
    324         var $query_vars = array(); 
     323        public $query_vars = array(); 
    325324 
    326325        /** 
    327326         * List of found user ids 
     
    342341        var $total_users = 0; 
    343342 
    344343        // SQL clauses 
    345         var $query_fields; 
    346         var $query_from; 
    347         var $query_where; 
    348         var $query_orderby; 
    349         var $query_limit; 
     344        public $query_fields; 
     345        public $query_from; 
     346        public $query_where; 
     347        public $query_orderby; 
     348        public $query_limit; 
    350349 
    351350        /** 
    352351         * PHP5 constructor 
  • wp-includes/class.wp-scripts.php

     
    1717 * @since r16 
    1818 */ 
    1919class WP_Scripts extends WP_Dependencies { 
    20         var $base_url; // Full URL with trailing slash 
    21         var $content_url; 
    22         var $default_version; 
    23         var $in_footer = array(); 
    24         var $concat = ''; 
    25         var $concat_version = ''; 
    26         var $do_concat = false; 
    27         var $print_html = ''; 
    28         var $print_code = ''; 
    29         var $ext_handles = ''; 
    30         var $ext_version = ''; 
    31         var $default_dirs; 
     20        public $base_url; // Full URL with trailing slash 
     21        public $content_url; 
     22        public $default_version; 
     23        public $in_footer = array(); 
     24        public $concat = ''; 
     25        public $concat_version = ''; 
     26        public $do_concat = false; 
     27        public $print_html = ''; 
     28        public $print_code = ''; 
     29        public $ext_handles = ''; 
     30        public $ext_version = ''; 
     31        public $default_dirs; 
    3232 
    3333        function __construct() { 
    3434                $this->init(); 
  • wp-includes/cache.php

     
    282282         * Amount of times the cache did not have the request in cache 
    283283         * 
    284284         * @var int 
    285          * @access public 
    286285         * @since 2.0.0 
    287286         */ 
    288         var $cache_misses = 0; 
     287        public $cache_misses = 0; 
    289288 
    290289        /** 
    291290         * List of global groups 
  • wp-includes/query.php

     
    834834         * Query vars set by the user 
    835835         * 
    836836         * @since 1.5.0 
    837          * @access public 
    838837         * @var array 
    839838         */ 
    840         var $query; 
     839        public $query; 
    841840 
    842841        /** 
    843842         * Query vars, after parsing 
    844843         * 
    845844         * @since 1.5.0 
    846          * @access public 
    847845         * @var array 
    848846         */ 
    849         var $query_vars = array(); 
     847        public $query_vars = array(); 
    850848 
    851849        /** 
    852850         * Taxonomy query, as passed to get_tax_sql() 
    853851         * 
    854852         * @since 3.1.0 
    855          * @access public 
    856853         * @var object WP_Tax_Query 
    857854         */ 
    858         var $tax_query; 
     855        public $tax_query; 
    859856 
    860857        /** 
    861858         * Metadata query container 
    862859         * 
    863860         * @since 3.2.0 
    864          * @access public 
    865861         * @var object WP_Meta_Query 
    866862         */ 
    867         var $meta_query = false; 
     863        public $meta_query = false; 
    868864 
    869865        /** 
    870866         * Holds the data for a single object that is queried. 
     
    872868         * Holds the contents of a post, page, category, attachment. 
    873869         * 
    874870         * @since 1.5.0 
    875          * @access public 
    876871         * @var object|array 
    877872         */ 
    878         var $queried_object; 
     873        public $queried_object; 
    879874 
    880875        /** 
    881876         * The ID of the queried object. 
    882877         * 
    883878         * @since 1.5.0 
    884          * @access public 
    885879         * @var int 
    886880         */ 
    887         var $queried_object_id; 
     881        public $queried_object_id; 
    888882 
    889883        /** 
    890884         * Get post database query. 
    891885         * 
    892886         * @since 2.0.1 
    893          * @access public 
    894887         * @var string 
    895888         */ 
    896         var $request; 
     889        public $request; 
    897890 
    898891        /** 
    899892         * List of posts. 
    900893         * 
    901894         * @since 1.5.0 
    902          * @access public 
    903895         * @var array 
    904896         */ 
    905         var $posts; 
     897        public $posts; 
    906898 
    907899        /** 
    908900         * The amount of posts for the current query. 
    909901         * 
    910902         * @since 1.5.0 
    911          * @access public 
    912903         * @var int 
    913904         */ 
    914         var $post_count = 0; 
     905        public $post_count = 0; 
    915906 
    916907        /** 
    917908         * Index of the current item in the loop. 
    918909         * 
    919910         * @since 1.5.0 
    920          * @access public 
    921911         * @var int 
    922912         */ 
    923         var $current_post = -1; 
     913        public $current_post = -1; 
    924914 
    925915        /** 
    926916         * Whether the loop has started and the caller is in the loop. 
    927917         * 
    928918         * @since 2.0.0 
    929          * @access public 
    930919         * @var bool 
    931920         */ 
    932         var $in_the_loop = false; 
     921        public $in_the_loop = false; 
    933922 
    934923        /** 
    935924         * The current post ID. 
    936925         * 
    937926         * @since 1.5.0 
    938          * @access public 
    939927         * @var object 
    940928         */ 
    941         var $post; 
     929        public $post; 
    942930 
    943931        /** 
    944932         * The list of comments for current post. 
    945933         * 
    946934         * @since 2.2.0 
    947          * @access public 
    948935         * @var array 
    949936         */ 
    950         var $comments; 
     937        public $comments; 
    951938 
    952939        /** 
    953940         * The amount of comments for the posts. 
    954941         * 
    955942         * @since 2.2.0 
    956          * @access public 
    957943         * @var int 
    958944         */ 
    959         var $comment_count = 0; 
     945        public $comment_count = 0; 
    960946 
    961947        /** 
    962948         * The index of the comment in the comment loop. 
    963949         * 
    964950         * @since 2.2.0 
    965          * @access public 
    966951         * @var int 
    967952         */ 
    968         var $current_comment = -1; 
     953        public $current_comment = -1; 
    969954 
    970955        /** 
    971956         * Current comment ID. 
    972957         * 
    973958         * @since 2.2.0 
    974          * @access public 
    975959         * @var int 
    976960         */ 
    977         var $comment; 
     961        public $comment; 
    978962 
    979963        /** 
    980964         * The amount of found posts for the current query. 
     
    982966         * If limit clause was not used, equals $post_count. 
    983967         * 
    984968         * @since 2.1.0 
    985          * @access public 
    986969         * @var int 
    987970         */ 
    988         var $found_posts = 0; 
     971        public $found_posts = 0; 
    989972 
    990973        /** 
    991974         * The amount of pages. 
    992975         * 
    993976         * @since 2.1.0 
    994          * @access public 
    995977         * @var int 
    996978         */ 
    997         var $max_num_pages = 0; 
     979        public $max_num_pages = 0; 
    998980 
    999981        /** 
    1000982         * The amount of comment pages. 
     
    1003985         * @access public 
    1004986         * @var int 
    1005987         */ 
    1006         var $max_num_comment_pages = 0; 
     988        public $max_num_comment_pages = 0; 
    1007989 
    1008990        /** 
    1009991         * Set if query is single post. 
    1010992         * 
    1011993         * @since 1.5.0 
    1012          * @access public 
    1013994         * @var bool 
    1014995         */ 
    1015         var $is_single = false; 
     996        public $is_single = false; 
    1016997 
    1017998        /** 
    1018999         * Set if query is preview of blog. 
    10191000         * 
    10201001         * @since 2.0.0 
    1021          * @access public 
    10221002         * @var bool 
    10231003         */ 
    1024         var $is_preview = false; 
     1004        public $is_preview = false; 
    10251005 
    10261006        /** 
    10271007         * Set if query returns a page. 
    10281008         * 
    10291009         * @since 1.5.0 
    1030          * @access public 
    10311010         * @var bool 
    10321011         */ 
    1033         var $is_page = false; 
     1012        public $is_page = false; 
    10341013 
    10351014        /** 
    10361015         * Set if query is an archive list. 
    10371016         * 
    10381017         * @since 1.5.0 
    1039          * @access public 
    10401018         * @var bool 
    10411019         */ 
    1042         var $is_archive = false; 
     1020        public $is_archive = false; 
    10431021 
    10441022        /** 
    10451023         * Set if query is part of a date. 
    10461024         * 
    10471025         * @since 1.5.0 
    1048          * @access public 
    10491026         * @var bool 
    10501027         */ 
    1051         var $is_date = false; 
     1028        public $is_date = false; 
    10521029 
    10531030        /** 
    10541031         * Set if query contains a year. 
    10551032         * 
    10561033         * @since 1.5.0 
    1057          * @access public 
    10581034         * @var bool 
    10591035         */ 
    1060         var $is_year = false; 
     1036        public $is_year = false; 
    10611037 
    10621038        /** 
    10631039         * Set if query contains a month. 
    10641040         * 
    10651041         * @since 1.5.0 
    1066          * @access public 
    10671042         * @var bool 
    10681043         */ 
    1069         var $is_month = false; 
     1044        public $is_month = false; 
    10701045 
    10711046        /** 
    10721047         * Set if query contains a day. 
    10731048         * 
    10741049         * @since 1.5.0 
    1075          * @access public 
    10761050         * @var bool 
    10771051         */ 
    1078         var $is_day = false; 
     1052        public $is_day = false; 
    10791053 
    10801054        /** 
    10811055         * Set if query contains time. 
    10821056         * 
    10831057         * @since 1.5.0 
    1084          * @access public 
    10851058         * @var bool 
    10861059         */ 
    1087         var $is_time = false; 
     1060        public $is_time = false; 
    10881061 
    10891062        /** 
    10901063         * Set if query contains an author. 
    10911064         * 
    10921065         * @since 1.5.0 
    1093          * @access public 
    10941066         * @var bool 
    10951067         */ 
    1096         var $is_author = false; 
     1068        public $is_author = false; 
    10971069 
    10981070        /** 
    10991071         * Set if query contains category. 
    11001072         * 
    11011073         * @since 1.5.0 
    1102          * @access public 
    11031074         * @var bool 
    11041075         */ 
    1105         var $is_category = false; 
     1076        public $is_category = false; 
    11061077 
    11071078        /** 
    11081079         * Set if query contains tag. 
    11091080         * 
    11101081         * @since 2.3.0 
    1111          * @access public 
    11121082         * @var bool 
    11131083         */ 
    1114         var $is_tag = false; 
     1084        public $is_tag = false; 
    11151085 
    11161086        /** 
    11171087         * Set if query contains taxonomy. 
    11181088         * 
    11191089         * @since 2.5.0 
    1120          * @access public 
    11211090         * @var bool 
    11221091         */ 
    1123         var $is_tax = false; 
     1092        public $is_tax = false; 
    11241093 
    11251094        /** 
    11261095         * Set if query was part of a search result. 
    11271096         * 
    11281097         * @since 1.5.0 
    1129          * @access public 
    11301098         * @var bool 
    11311099         */ 
    1132         var $is_search = false; 
     1100        public $is_search = false; 
    11331101 
    11341102        /** 
    11351103         * Set if query is feed display. 
    11361104         * 
    11371105         * @since 1.5.0 
    1138          * @access public 
    11391106         * @var bool 
    11401107         */ 
    1141         var $is_feed = false; 
     1108        public $is_feed = false; 
    11421109 
    11431110        /** 
    11441111         * Set if query is comment feed display. 
    11451112         * 
    11461113         * @since 2.2.0 
    1147          * @access public 
    11481114         * @var bool 
    11491115         */ 
    1150         var $is_comment_feed = false; 
     1116        public $is_comment_feed = false; 
    11511117 
    11521118        /** 
    11531119         * Set if query is trackback. 
    11541120         * 
    11551121         * @since 1.5.0 
    1156          * @access public 
    11571122         * @var bool 
    11581123         */ 
    1159         var $is_trackback = false; 
     1124        public $is_trackback = false; 
    11601125 
    11611126        /** 
    11621127         * Set if query is blog homepage. 
    11631128         * 
    11641129         * @since 1.5.0 
    1165          * @access public 
    11661130         * @var bool 
    11671131         */ 
    1168         var $is_home = false; 
     1132        public $is_home = false; 
    11691133 
    11701134        /** 
    11711135         * Set if query couldn't found anything. 
    11721136         * 
    11731137         * @since 1.5.0 
    1174          * @access public 
    11751138         * @var bool 
    11761139         */ 
    1177         var $is_404 = false; 
     1140        public $is_404 = false; 
    11781141 
    11791142        /** 
    11801143         * Set if query is within comments popup window. 
    11811144         * 
    11821145         * @since 1.5.0 
    1183          * @access public 
    11841146         * @var bool 
    11851147         */ 
    1186         var $is_comments_popup = false; 
     1148        public $is_comments_popup = false; 
    11871149 
    11881150        /** 
    11891151         * Set if query is paged 
    11901152         * 
    11911153         * @since 1.5.0 
    1192          * @access public 
    11931154         * @var bool 
    11941155         */ 
    1195         var $is_paged = false; 
     1156        public $is_paged = false; 
    11961157 
    11971158        /** 
    11981159         * Set if query is part of administration page. 
    11991160         * 
    12001161         * @since 1.5.0 
    1201          * @access public 
    12021162         * @var bool 
    12031163         */ 
    1204         var $is_admin = false; 
     1164        public $is_admin = false; 
    12051165 
    12061166        /** 
    12071167         * Set if query is an attachment. 
    12081168         * 
    12091169         * @since 2.0.0 
    1210          * @access public 
    12111170         * @var bool 
    12121171         */ 
    1213         var $is_attachment = false; 
     1172        public $is_attachment = false; 
    12141173 
    12151174        /** 
    12161175         * Set if is single, is a page, or is an attachment. 
    12171176         * 
    12181177         * @since 2.1.0 
    1219          * @access public 
    12201178         * @var bool 
    12211179         */ 
    1222         var $is_singular = false; 
     1180        public $is_singular = false; 
    12231181 
    12241182        /** 
    12251183         * Set if query is for robots. 
    12261184         * 
    12271185         * @since 2.1.0 
    1228          * @access public 
    12291186         * @var bool 
    12301187         */ 
    1231         var $is_robots = false; 
     1188        public $is_robots = false; 
    12321189 
    12331190        /** 
    12341191         * Set if query contains posts. 
     
    12361193         * Basically, the homepage if the option isn't set for the static homepage. 
    12371194         * 
    12381195         * @since 2.1.0 
    1239          * @access public 
    12401196         * @var bool 
    12411197         */ 
    1242         var $is_posts_page = false; 
     1198        public $is_posts_page = false; 
    12431199 
    12441200        /** 
    12451201         * Set if query is for a post type archive. 
    12461202         * 
    12471203         * @since 3.1.0 
    1248          * @access public 
    12491204         * @var bool 
    12501205         */ 
    1251         var $is_post_type_archive = false; 
     1206        public $is_post_type_archive = false; 
    12521207 
    12531208        /** 
    12541209         * Stores the ->query_vars state like md5(serialize( $this->query_vars ) ) so we know 
     
    12721227         * Set if post thumbnails are cached 
    12731228         * 
    12741229         * @since 3.2.0 
    1275          * @access public 
    12761230         * @var bool 
    12771231         */ 
    1278          var $thumbnails_cached = false; 
     1232         public $thumbnails_cached = false; 
    12791233 
    12801234        /** 
    12811235         * Resets query flags to false. 
  • wp-includes/wp-db.php

     
    7474         * @since 2.5.0 
    7575         * @var string 
    7676         */ 
    77         var $last_error = ''; 
     77        public $last_error = ''; 
    7878 
    7979        /** 
    8080         * Amount of queries made 
     
    107107         * The ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT). 
    108108         * 
    109109         * @since 0.71 
    110          * @access public 
    111110         * @var int 
    112111         */ 
    113         var $insert_id = 0; 
     112        public $insert_id = 0; 
    114113 
    115114        /** 
    116115         * Last query made 
     
    186185         * @access public 
    187186         * @var int 
    188187         */ 
    189         var $blogid = 0; 
     188        public $blogid = 0; 
    190189 
    191190        /** 
    192191         * {@internal Missing Description}} 
     
    195194         * @access public 
    196195         * @var int 
    197196         */ 
    198         var $siteid = 0; 
     197        public $siteid = 0; 
    199198 
    200199        /** 
    201200         * List of WordPress per-blog tables 
     
    245244         * WordPress Comments table 
    246245         * 
    247246         * @since 1.5.0 
    248          * @access public 
    249247         * @var string 
    250248         */ 
    251         var $comments; 
     249        public $comments; 
    252250 
    253251        /** 
    254252         * WordPress Comment Metadata table 
    255253         * 
    256254         * @since 2.9.0 
    257          * @access public 
    258255         * @var string 
    259256         */ 
    260         var $commentmeta; 
     257        public $commentmeta; 
    261258 
    262259        /** 
    263260         * WordPress Links table 
    264261         * 
    265262         * @since 1.5.0 
    266          * @access public 
    267263         * @var string 
    268264         */ 
    269         var $links; 
     265        public $links; 
    270266 
    271267        /** 
    272268         * WordPress Options table 
    273269         * 
    274270         * @since 1.5.0 
    275          * @access public 
    276271         * @var string 
    277272         */ 
    278         var $options; 
     273        public $options; 
    279274 
    280275        /** 
    281276         * WordPress Post Metadata table 
    282277         * 
    283278         * @since 1.5.0 
    284          * @access public 
    285279         * @var string 
    286280         */ 
    287         var $postmeta; 
     281        public $postmeta; 
    288282 
    289283        /** 
    290284         * WordPress Posts table 
    291285         * 
    292286         * @since 1.5.0 
    293          * @access public 
    294287         * @var string 
    295288         */ 
    296         var $posts; 
     289        public $posts; 
    297290 
    298291        /** 
    299292         * WordPress Terms table 
    300293         * 
    301294         * @since 2.3.0 
    302          * @access public 
    303295         * @var string 
    304296         */ 
    305         var $terms; 
     297        public $terms; 
    306298 
    307299        /** 
    308300         * WordPress Term Relationships table 
    309301         * 
    310302         * @since 2.3.0 
    311          * @access public 
    312303         * @var string 
    313304         */ 
    314         var $term_relationships; 
     305        public $term_relationships; 
    315306 
    316307        /** 
    317308         * WordPress Term Taxonomy table 
    318309         * 
    319310         * @since 2.3.0 
    320          * @access public 
    321311         * @var string 
    322312         */ 
    323         var $term_taxonomy; 
     313        public $term_taxonomy; 
    324314 
    325315        /* 
    326316         * Global and Multisite tables 
     
    330320         * WordPress User Metadata table 
    331321         * 
    332322         * @since 2.3.0 
    333          * @access public 
    334323         * @var string 
    335324         */ 
    336         var $usermeta; 
     325        public $usermeta; 
    337326 
    338327        /** 
    339328         * WordPress Users table 
    340329         * 
    341330         * @since 1.5.0 
    342          * @access public 
    343331         * @var string 
    344332         */ 
    345         var $users; 
     333        public $users; 
    346334 
    347335        /** 
    348336         * Multisite Blogs table 
    349337         * 
    350338         * @since 3.0.0 
    351          * @access public 
    352339         * @var string 
    353340         */ 
    354         var $blogs; 
     341        public $blogs; 
    355342 
    356343        /** 
    357344         * Multisite Blog Versions table 
    358345         * 
    359346         * @since 3.0.0 
    360          * @access public 
    361347         * @var string 
    362348         */ 
    363         var $blog_versions; 
     349        public $blog_versions; 
    364350 
    365351        /** 
    366352         * Multisite Registration Log table 
    367353         * 
    368354         * @since 3.0.0 
    369          * @access public 
    370355         * @var string 
    371356         */ 
    372         var $registration_log; 
     357        public $registration_log; 
    373358 
    374359        /** 
    375360         * Multisite Signups table 
    376361         * 
    377362         * @since 3.0.0 
    378          * @access public 
    379363         * @var string 
    380364         */ 
    381         var $signups; 
     365        public $signups; 
    382366 
    383367        /** 
    384368         * Multisite Sites table 
    385369         * 
    386370         * @since 3.0.0 
    387          * @access public 
    388371         * @var string 
    389372         */ 
    390         var $site; 
     373        public $site; 
    391374 
    392375        /** 
    393376         * Multisite Sitewide Terms table 
    394377         * 
    395378         * @since 3.0.0 
    396          * @access public 
    397379         * @var string 
    398380         */ 
    399         var $sitecategories; 
     381        public $sitecategories; 
    400382 
    401383        /** 
    402384         * Multisite Site Metadata table 
    403385         * 
    404386         * @since 3.0.0 
    405          * @access public 
    406387         * @var string 
    407388         */ 
    408         var $sitemeta; 
     389        public $sitemeta; 
    409390 
    410391        /** 
    411392         * Format specifiers for DB columns. Columns not listed here default to %s. Initialized during WP load. 
     
    418399         * @see wpdb::update() 
    419400         * @see wpdb::delete() 
    420401         * @see wp_set_wpdb_vars() 
    421          * @access public 
    422402         * @var array 
    423403         */ 
    424         var $field_types = array(); 
     404        public $field_types = array(); 
    425405 
    426406        /** 
    427407         * Database table columns charset 
    428408         * 
    429409         * @since 2.2.0 
    430          * @access public 
    431410         * @var string 
    432411         */ 
    433         var $charset; 
     412        public $charset; 
    434413 
    435414        /** 
    436415         * Database table columns collate 
    437416         * 
    438417         * @since 2.2.0 
    439          * @access public 
    440418         * @var string 
    441419         */ 
    442         var $collate; 
     420        public $collate; 
    443421 
    444422        /** 
    445423         * Whether to use mysql_real_escape_string 
    446424         * 
    447425         * @since 2.8.0 
    448          * @access public 
    449426         * @var bool 
    450427         */ 
    451         var $real_escape = false; 
     428        public $real_escape = false; 
    452429 
    453430        /** 
    454431         * Database Username 
     
    499476         * A textual description of the last query/get_row/get_var call 
    500477         * 
    501478         * @since 3.0.0 
    502          * @access public 
    503479         * @var string 
    504480         */ 
    505         var $func_call; 
     481        public $func_call; 
    506482 
    507483        /** 
    508484         * Whether MySQL is used as the database engine. 
     
    513489         * will force the checks to occur. 
    514490         * 
    515491         * @since 3.3.0 
    516          * @access public 
    517492         * @var bool 
    518493         */ 
    519494        public $is_mysql = null; 
  • wp-includes/class-wp-walker.php

     
    1818         * 
    1919         * @since 2.1.0 
    2020         * @var string 
    21          * @access public 
    2221         */ 
    23         var $tree_type; 
     22        public $tree_type; 
    2423 
    2524        /** 
    2625         * DB fields to use. 
  • wp-includes/rewrite.php

     
    542542         * The name of the index file which is the entry point to all requests. 
    543543         * 
    544544         * @since 1.5.0 
    545          * @access public 
    546545         * @var string 
    547546         */ 
    548         var $index = 'index.php'; 
     547        public $index = 'index.php'; 
    549548 
    550549        /** 
    551550         * Variable name to use for regex matches in the rewritten query. 
     
    625624         * 
    626625         * @see WP_Rewrite::mod_rewrite_rules() 
    627626         * @since 2.0.0 
    628          * @access public 
    629627         * @var bool 
    630628         */ 
    631         var $use_verbose_rules = false; 
     629        public $use_verbose_rules = false; 
    632630 
    633631        /** 
    634632         * Could post permalinks be confused with those of pages? 
     
    643641         * @link http://core.trac.wordpress.org/ticket/16687 
    644642         * @see WP_Rewrite::init() 
    645643         * @since 2.5.0 
    646          * @access public 
    647644         * @var bool 
    648645         */ 
    649         var $use_verbose_page_rules = true; 
     646        public $use_verbose_page_rules = true; 
    650647 
    651648        /** 
    652649         * Rewrite tags that can be used in permalink structures. 
  • wp-includes/atomlib.php

     
    1919        /** 
    2020         * Stores Links 
    2121         * @var array 
    22          * @access public 
    2322         */ 
    24     var $links = array(); 
     23    public $links = array(); 
    2524    /** 
    2625     * Stores Categories 
    2726     * @var array 
    28      * @access public 
    2927     */ 
    30     var $categories = array(); 
     28    public $categories = array(); 
    3129        /** 
    3230         * Stores Entries 
    3331         * 
    3432         * @var array 
    35          * @access public 
    3633         */ 
    37     var $entries = array(); 
     34    public $entries = array(); 
    3835} 
    3936 
    4037/** 
     
    4845         * @var array 
    4946         * @access public 
    5047         */ 
    51     var $links = array(); 
     48    public $links = array(); 
    5249    /** 
    5350     * Stores Categories 
    5451     * @var array 
    5552         * @access public 
    5653     */ 
    57     var $categories = array(); 
     54    public $categories = array(); 
    5855} 
    5956 
    6057/** 
     
    6461 */ 
    6562class AtomParser { 
    6663 
    67     var $NS = 'http://www.w3.org/2005/Atom'; 
    68     var $ATOM_CONTENT_ELEMENTS = array('content','summary','title','subtitle','rights'); 
    69     var $ATOM_SIMPLE_ELEMENTS = array('id','updated','published','draft'); 
     64    public $NS = 'http://www.w3.org/2005/Atom'; 
     65    public $ATOM_CONTENT_ELEMENTS = array('content','summary','title','subtitle','rights'); 
     66    public $ATOM_SIMPLE_ELEMENTS = array('id','updated','published','draft'); 
    7067 
    71     var $debug = false; 
     68    public $debug = false; 
    7269 
    73     var $depth = 0; 
    74     var $indent = 2; 
    75     var $in_content; 
    76     var $ns_contexts = array(); 
    77     var $ns_decls = array(); 
    78     var $content_ns_decls = array(); 
    79     var $content_ns_contexts = array(); 
    80     var $is_xhtml = false; 
    81     var $is_html = false; 
    82     var $is_text = true; 
    83     var $skipped_div = false; 
     70    public $depth = 0; 
     71    public $indent = 2; 
     72    public $in_content; 
     73    public $ns_contexts = array(); 
     74    public $ns_decls = array(); 
     75    public $content_ns_decls = array(); 
     76    public $content_ns_contexts = array(); 
     77    public $is_xhtml = false; 
     78    public $is_html = false; 
     79    public $is_text = true; 
     80    public $skipped_div = false; 
    8481 
    85     var $FILE = "php://input"; 
     82    public $FILE = "php://input"; 
    8683 
    87     var $feed; 
    88     var $current; 
     84    public $feed; 
     85    public $current; 
    8986 
    9087    function AtomParser() { 
    9188 
  • wp-includes/class-wp.php

     
    1212         * Long list of public query variables. 
    1313         * 
    1414         * @since 2.0.0 
    15          * @access public 
    1615         * @var array 
    1716         */ 
    18         var $public_query_vars = array('m', 'p', 'posts', 'w', 'cat', 'withcomments', 'withoutcomments', 's', 'search', 'exact', 'sentence', 'calendar', 'page', 'paged', 'more', 'tb', 'pb', 'author', 'order', 'orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'tag', 'feed', 'author_name', 'static', 'pagename', 'page_id', 'error', 'comments_popup', 'attachment', 'attachment_id', 'subpost', 'subpost_id', 'preview', 'robots', 'taxonomy', 'term', 'cpage', 'post_type'); 
     17        public $public_query_vars = array('m', 'p', 'posts', 'w', 'cat', 'withcomments', 'withoutcomments', 's', 'search', 'exact', 'sentence', 'calendar', 'page', 'paged', 'more', 'tb', 'pb', 'author', 'order', 'orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'tag', 'feed', 'author_name', 'static', 'pagename', 'page_id', 'error', 'comments_popup', 'attachment', 'attachment_id', 'subpost', 'subpost_id', 'preview', 'robots', 'taxonomy', 'term', 'cpage', 'post_type'); 
    1918 
    2019        /** 
    2120         * Private query variables. 
     
    2524         * @since 2.0.0 
    2625         * @var array 
    2726         */ 
    28         var $private_query_vars = array('offset', 'posts_per_page', 'posts_per_archive_page', 'showposts', 'nopaging', 'post_type', 'post_status', 'category__in', 'category__not_in', 'category__and', 'tag__in', 'tag__not_in', 'tag__and', 'tag_slug__in', 'tag_slug__and', 'tag_id', 'post_mime_type', 'perm', 'comments_per_page', 'post__in', 'post__not_in'); 
     27        public $private_query_vars = array('offset', 'posts_per_page', 'posts_per_archive_page', 'showposts', 'nopaging', 'post_type', 'post_status', 'category__in', 'category__not_in', 'category__and', 'tag__in', 'tag__not_in', 'tag__and', 'tag_slug__in', 'tag_slug__and', 'tag_id', 'post_mime_type', 'perm', 'comments_per_page', 'post__in', 'post__not_in'); 
    2928 
    3029        /** 
    3130         * Extra query variables set by the user. 
     
    3332         * @since 2.1.0 
    3433         * @var array 
    3534         */ 
    36         var $extra_query_vars = array(); 
     35        public $extra_query_vars = array(); 
    3736 
    3837        /** 
    3938         * Query variables for setting up the WordPress Query Loop. 
     
    4140         * @since 2.0.0 
    4241         * @var array 
    4342         */ 
    44         var $query_vars; 
     43        public $query_vars; 
    4544 
    4645        /** 
    4746         * String parsed to set the query variables. 
     
    4948         * @since 2.0.0 
    5049         * @var string 
    5150         */ 
    52         var $query_string; 
     51        public $query_string; 
    5352 
    5453        /** 
    5554         * Permalink or requested URI. 
     
    5756         * @since 2.0.0 
    5857         * @var string 
    5958         */ 
    60         var $request; 
     59        public $request; 
    6160 
    6261        /** 
    6362         * Rewrite rule the request matched. 
     
    6564         * @since 2.0.0 
    6665         * @var string 
    6766         */ 
    68         var $matched_rule; 
     67        public $matched_rule; 
    6968 
    7069        /** 
    7170         * Rewrite query the request matched. 
     
    7372         * @since 2.0.0 
    7473         * @var string 
    7574         */ 
    76         var $matched_query; 
     75        public $matched_query; 
    7776 
    7877        /** 
    7978         * Whether already did the permalink. 
     
    8180         * @since 2.0.0 
    8281         * @var bool 
    8382         */ 
    84         var $did_permalink = false; 
     83        public $did_permalink = false; 
    8584 
    8685        /** 
    8786         * Add name to list of public query variables. 
     
    574573         * @access public 
    575574         * @var string 
    576575         */ 
    577         var $output; 
     576        public $output; 
    578577 
    579578        /** 
    580579         * subject to perform mapping on (query string containing $matches[] references 
     
    589588         * 
    590589         * @var string 
    591590         */ 
    592         var $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number 
     591        public $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number 
    593592 
    594593        /** 
    595594         * constructor 
  • wp-includes/capabilities.php

     
    3131         * List of roles and capabilities. 
    3232         * 
    3333         * @since 2.0.0 
    34          * @access public 
    3534         * @var array 
    3635         */ 
    37         var $roles; 
     36        public $roles; 
    3837 
    3938        /** 
    4039         * List of the role objects. 
    4140         * 
    4241         * @since 2.0.0 
    43          * @access public 
    4442         * @var array 
    4543         */ 
    46         var $role_objects = array(); 
     44        public $role_objects = array(); 
    4745 
    4846        /** 
    4947         * List of role names. 
    5048         * 
    5149         * @since 2.0.0 
    52          * @access public 
    5350         * @var array 
    5451         */ 
    55         var $role_names = array(); 
     52        public $role_names = array(); 
    5653 
    5754        /** 
    5855         * Option name for storing role list. 
    5956         * 
    6057         * @since 2.0.0 
    61          * @access public 
    6258         * @var string 
    6359         */ 
    64         var $role_key; 
     60        public $role_key; 
    6561 
    6662        /** 
    6763         * Whether to use the database for retrieval and storage. 
    6864         * 
    6965         * @since 2.1.0 
    70          * @access public 
    7166         * @var bool 
    7267         */ 
    73         var $use_db = true; 
     68        public $use_db = true; 
    7469 
    7570        /** 
    7671         * Constructor 
     
    286281         * Role name. 
    287282         * 
    288283         * @since 2.0.0 
    289          * @access public 
    290284         * @var string 
    291285         */ 
    292         var $name; 
     286        public $name; 
    293287 
    294288        /** 
    295289         * List of capabilities the role contains. 
    296290         * 
    297291         * @since 2.0.0 
    298          * @access public 
    299292         * @var array 
    300293         */ 
    301         var $capabilities; 
     294        public $capabilities; 
    302295 
    303296        /** 
    304297         * Constructor - Set up object properties. 
     
    405398         * The user's ID. 
    406399         * 
    407400         * @since 2.1.0 
    408          * @access public 
    409401         * @var int 
    410402         */ 
    411         var $ID = 0; 
     403        public $ID = 0; 
    412404 
    413405        /** 
    414406         * The individual capabilities the user has been given. 
    415407         * 
    416408         * @since 2.0.0 
    417          * @access public 
    418409         * @var array 
    419410         */ 
    420         var $caps = array(); 
     411        public $caps = array(); 
    421412 
    422413        /** 
    423414         * User metadata option name. 
    424415         * 
    425416         * @since 2.0.0 
    426          * @access public 
    427417         * @var string 
    428418         */ 
    429         var $cap_key; 
     419        public $cap_key; 
    430420 
    431421        /** 
    432422         * The roles the user is part of. 
    433423         * 
    434424         * @since 2.0.0 
    435          * @access public 
    436425         * @var array 
    437426         */ 
    438         var $roles = array(); 
     427        public $roles = array(); 
    439428 
    440429        /** 
    441430         * All capabilities the user has, including individual and role based. 
    442431         * 
    443432         * @since 2.0.0 
    444          * @access public 
    445433         * @var array 
    446434         */ 
    447         var $allcaps = array(); 
     435        public $allcaps = array(); 
    448436 
    449437        /** 
    450438         * The filter context applied to user data fields. 
  • wp-includes/class-oembed.php

     
    1818 * @since 2.9.0 
    1919 */ 
    2020class WP_oEmbed { 
    21         var $providers = array(); 
     21        public $providers = array(); 
    2222 
    2323        /** 
    2424         * Constructor 
  • wp-includes/widgets.php

     
    2323 */ 
    2424class WP_Widget { 
    2525 
    26         var $id_base;                   // Root id for all widgets of this type. 
    27         var $name;                              // Name for this widget type. 
    28         var $widget_options;    // Option array passed to wp_register_sidebar_widget() 
    29         var $control_options;   // Option array passed to wp_register_widget_control() 
     26        public $id_base;                        // Root id for all widgets of this type. 
     27        public $name;                           // Name for this widget type. 
     28        public $widget_options; // Option array passed to wp_register_sidebar_widget() 
     29        public $control_options;        // Option array passed to wp_register_widget_control() 
    3030 
    31         var $number = false;    // Unique ID number of the current instance. 
    32         var $id = false;                // Unique ID string of the current instance (id_base-number) 
    33         var $updated = false;   // Set true when we update the data after a POST submit - makes sure we don't do it twice. 
     31        public $number = false; // Unique ID number of the current instance. 
     32        public $id = false;             // Unique ID string of the current instance (id_base-number) 
     33        public $updated = false;        // Set true when we update the data after a POST submit - makes sure we don't do it twice. 
    3434 
    3535        // Member functions that you must over-ride. 
    3636 
     
    314314 * @since 2.8 
    315315 */ 
    316316class WP_Widget_Factory { 
    317         var $widgets = array(); 
     317        public $widgets = array(); 
    318318 
    319319        function WP_Widget_Factory() { 
    320320                add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 ); 
  • wp-includes/category-template.php

     
    914914         * @since 2.1.0 
    915915         * @var string 
    916916         */ 
    917         var $tree_type = 'category'; 
     917        public $tree_type = 'category'; 
    918918 
    919919        /** 
    920920         * @see Walker::$db_fields 
     
    922922         * @todo Decouple this 
    923923         * @var array 
    924924         */ 
    925         var $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); 
     925        public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); 
    926926 
    927927        /** 
    928928         * @see Walker::start_el() 
  • wp-admin/includes/class-wp-terms-list-table.php

     
    99 */ 
    1010class WP_Terms_List_Table extends WP_List_Table { 
    1111 
    12         var $callback_args; 
     12        public $callback_args; 
    1313 
    1414        function __construct( $args = array() ) { 
    1515                global $post_type, $taxonomy, $action, $tax; 
  • wp-admin/includes/class-wp-filesystem-base.php

     
    1616         * Whether to display debug data for the connection. 
    1717         * 
    1818         * @since 2.5 
    19          * @access public 
    2019         * @var bool 
    2120         */ 
    22         var $verbose = false; 
     21        public $verbose = false; 
    2322        /** 
    2423         * Cached list of local filepaths to mapped remote filepaths. 
    2524         * 
     
    3332         * The Access method of the current connection, Set automatically. 
    3433         * 
    3534         * @since 2.5 
    36          * @access public 
    3735         * @var string 
    3836         */ 
    39         var $method = ''; 
     37        public $method = ''; 
    4038 
    4139        /** 
    4240         * Returns the path on the remote filesystem of ABSPATH 
  • wp-admin/includes/class-wp-users-list-table.php

     
    99 */ 
    1010class WP_Users_List_Table extends WP_List_Table { 
    1111 
    12         var $site_id; 
    13         var $is_site_users; 
     12        public $site_id; 
     13        public $is_site_users; 
    1414 
    1515        function __construct( $args = array() ) { 
    1616                parent::__construct( array( 
  • wp-admin/includes/class-wp-ms-themes-list-table.php

     
    99 */ 
    1010class WP_MS_Themes_List_Table extends WP_List_Table { 
    1111 
    12         var $site_id; 
    13         var $is_site_themes; 
     12        public $site_id; 
     13        public $is_site_themes; 
    1414 
    1515        function __construct( $args = array() ) { 
    1616                global $status, $page; 
  • wp-admin/includes/class-wp-theme-install-list-table.php

     
    99 */ 
    1010class WP_Theme_Install_List_Table extends WP_Themes_List_Table { 
    1111 
    12         var $features = array(); 
     12        public $features = array(); 
    1313 
    1414        function ajax_user_can() { 
    1515                return current_user_can( 'install_themes' ); 
  • wp-admin/includes/class-wp-filesystem-ftpsockets.php

     
    1515 * @uses WP_Filesystem_Base Extends class 
    1616 */ 
    1717class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { 
    18         var $ftp = false; 
    19         var $errors = null; 
    20         var $options = array(); 
     18        public $ftp = false; 
     19        public $errors = null; 
     20        public $options = array(); 
    2121 
    2222        function __construct($opt = '') { 
    2323                $this->method = 'ftpsockets'; 
  • wp-admin/includes/class-wp-upgrader.php

     
    2121 * @since 2.8.0 
    2222 */ 
    2323class WP_Upgrader { 
    24         var $strings = array(); 
    25         var $skin = null; 
    26         var $result = array(); 
     24        public $strings = array(); 
     25        public $skin = null; 
     26        public $result = array(); 
    2727 
    2828        function __construct($skin = null) { 
    2929                if ( null == $skin ) 
     
    365365 */ 
    366366class Plugin_Upgrader extends WP_Upgrader { 
    367367 
    368         var $result; 
    369         var $bulk = false; 
    370         var $show_before = ''; 
     368        public $result; 
     369        public $bulk = false; 
     370        public $show_before = ''; 
    371371 
    372372        function upgrade_strings() { 
    373373                $this->strings['up_to_date'] = __('The plugin is at the latest version.'); 
     
    642642 */ 
    643643class Theme_Upgrader extends WP_Upgrader { 
    644644 
    645         var $result; 
    646         var $bulk = false; 
     645        public $result; 
     646        public $bulk = false; 
    647647 
    648648        function upgrade_strings() { 
    649649                $this->strings['up_to_date'] = __('The theme is at the latest version.'); 
     
    10831083 */ 
    10841084class WP_Upgrader_Skin { 
    10851085 
    1086         var $upgrader; 
    1087         var $done_header = false; 
    1088         var $result = false; 
     1086        public $upgrader; 
     1087        public $done_header = false; 
     1088        public $result = false; 
    10891089 
    10901090        function __construct($args = array()) { 
    10911091                $defaults = array( 'url' => '', 'nonce' => '', 'title' => '', 'context' => false ); 
     
    11691169 * @since 2.8.0 
    11701170 */ 
    11711171class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { 
    1172         var $plugin = ''; 
    1173         var $plugin_active = false; 
    1174         var $plugin_network_active = false; 
     1172        public $plugin = ''; 
     1173        public $plugin_active = false; 
     1174        public $plugin_network_active = false; 
    11751175 
    11761176        function __construct($args = array()) { 
    11771177                $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') ); 
     
    12191219 * @since 3.0.0 
    12201220 */ 
    12211221class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 
    1222         var $in_loop = false; 
    1223         var $error = false; 
     1222        public $in_loop = false; 
     1223        public $error = false; 
    12241224 
    12251225        function __construct($args = array()) { 
    12261226                $defaults = array( 'url' => '', 'nonce' => '' ); 
     
    13251325} 
    13261326 
    13271327class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { 
    1328         var $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in. 
     1328        public $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in. 
    13291329 
    13301330        function __construct($args = array()) { 
    13311331                parent::__construct($args); 
     
    13591359} 
    13601360 
    13611361class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { 
    1362         var $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. 
     1362        public $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. 
    13631363 
    13641364        function __construct($args = array()) { 
    13651365                parent::__construct($args); 
     
    14031403 * @since 2.8.0 
    14041404 */ 
    14051405class Plugin_Installer_Skin extends WP_Upgrader_Skin { 
    1406         var $api; 
    1407         var $type; 
     1406        public $api; 
     1407        public $type; 
    14081408 
    14091409        function __construct($args = array()) { 
    14101410                $defaults = array( 'type' => 'web', 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => '' ); 
     
    14681468 * @since 2.8.0 
    14691469 */ 
    14701470class Theme_Installer_Skin extends WP_Upgrader_Skin { 
    1471         var $api; 
    1472         var $type; 
     1471        public $api; 
     1472        public $type; 
    14731473 
    14741474        function __construct($args = array()) { 
    14751475                $defaults = array( 'type' => 'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => '' ); 
     
    15431543 * @since 2.8.0 
    15441544 */ 
    15451545class Theme_Upgrader_Skin extends WP_Upgrader_Skin { 
    1546         var $theme = ''; 
     1546        public $theme = ''; 
    15471547 
    15481548        function __construct($args = array()) { 
    15491549                $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') ); 
     
    16061606 * @since 2.8.0 
    16071607 */ 
    16081608class File_Upload_Upgrader { 
    1609         var $package; 
    1610         var $filename; 
    1611         var $id = 0; 
     1609        public $package; 
     1610        public $filename; 
     1611        public $id = 0; 
    16121612 
    16131613        function __construct($form, $urlholder) { 
    16141614 
  • wp-admin/includes/class-wp-themes-list-table.php

     
    1010class WP_Themes_List_Table extends WP_List_Table { 
    1111 
    1212        protected $search_terms = array(); 
    13         var $features = array(); 
     13        public $features = array(); 
    1414 
    1515        function __construct( $args = array() ) { 
    1616                parent::__construct( array( 
  • wp-admin/includes/class-wp-comments-list-table.php

     
    1717 */ 
    1818class WP_Comments_List_Table extends WP_List_Table { 
    1919 
    20         var $checkbox = true; 
     20        public $checkbox = true; 
    2121 
    22         var $pending_count = array(); 
     22        public $pending_count = array(); 
    2323 
    2424        function __construct( $args = array() ) { 
    2525                global $post_id; 
  • wp-admin/includes/template.php

     
    2121 * @since 2.5.1 
    2222 */ 
    2323class Walker_Category_Checklist extends Walker { 
    24         var $tree_type = 'category'; 
    25         var $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this 
     24        public $tree_type = 'category'; 
     25        public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this 
    2626 
    2727        function start_lvl( &$output, $depth = 0, $args = array() ) { 
    2828                $indent = str_repeat("\t", $depth); 
  • wp-admin/includes/class-wp-filesystem-direct.php

     
    1515 * @uses WP_Filesystem_Base Extends class 
    1616 */ 
    1717class WP_Filesystem_Direct extends WP_Filesystem_Base { 
    18         var $errors = null; 
     18        public $errors = null; 
    1919        /** 
    2020         * constructor 
    2121         * 
  • wp-admin/includes/class-wp-filesystem-ftpext.php

     
    1515 * @uses WP_Filesystem_Base Extends class 
    1616 */ 
    1717class WP_Filesystem_FTPext extends WP_Filesystem_Base { 
    18         var $link; 
    19         var $errors = null; 
    20         var $options = array(); 
     18        public $link; 
     19        public $errors = null; 
     20        public $options = array(); 
    2121 
    2222        function __construct($opt='') { 
    2323                $this->method = 'ftpext'; 
  • wp-admin/includes/class-wp-filesystem-ssh2.php

     
    4242 */ 
    4343class WP_Filesystem_SSH2 extends WP_Filesystem_Base { 
    4444 
    45         var $link = false; 
    46         var $sftp_link = false; 
    47         var $keys = false; 
    48         var $errors = array(); 
    49         var $options = array(); 
     45        public $link = false; 
     46        public $sftp_link = false; 
     47        public $keys = false; 
     48        public $errors = array(); 
     49        public $options = array(); 
    5050 
    5151        function __construct($opt='') { 
    5252                $this->method = 'ssh2';