Ticket #22234: var-to-public.diff
File var-to-public.diff, 63.3 KB (added by , 13 years ago) |
---|
-
wp-includes/post-template.php
970 970 * @since 2.1.0 971 971 * @var string 972 972 */ 973 var$tree_type = 'page';973 public $tree_type = 'page'; 974 974 975 975 /** 976 976 * @see Walker::$db_fields … … 978 978 * @todo Decouple this. 979 979 * @var array 980 980 */ 981 var$db_fields = array ('parent' => 'post_parent', 'id' => 'ID');981 public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 982 982 983 983 /** 984 984 * @see Walker::start_lvl() … … 1078 1078 * @since 2.1.0 1079 1079 * @var string 1080 1080 */ 1081 var$tree_type = 'page';1081 public $tree_type = 'page'; 1082 1082 1083 1083 /** 1084 1084 * @see Walker::$db_fields … … 1086 1086 * @todo Decouple this 1087 1087 * @var array 1088 1088 */ 1089 var$db_fields = array ('parent' => 'post_parent', 'id' => 'ID');1089 public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 1090 1090 1091 1091 /** 1092 1092 * @see Walker::start_el() -
wp-includes/nav-menu-template.php
20 20 * @since 3.0.0 21 21 * @var string 22 22 */ 23 var$tree_type = array( 'post_type', 'taxonomy', 'custom' );23 public $tree_type = array( 'post_type', 'taxonomy', 'custom' ); 24 24 25 25 /** 26 26 * @see Walker::$db_fields … … 28 28 * @todo Decouple this. 29 29 * @var array 30 30 */ 31 var$db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' );31 public $db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' ); 32 32 33 33 /** 34 34 * @see Walker::start_lvl() -
wp-includes/locale.php
19 19 * @var array 20 20 * @access private 21 21 */ 22 var$weekday;22 private $weekday; 23 23 24 24 /** 25 25 * Stores the translated strings for the one character weekday names. … … 33 33 * @var array 34 34 * @access private 35 35 */ 36 var$weekday_initial;36 private $weekday_initial; 37 37 38 38 /** 39 39 * Stores the translated strings for the abbreviated weekday names. … … 42 42 * @var array 43 43 * @access private 44 44 */ 45 var$weekday_abbrev;45 private $weekday_abbrev; 46 46 47 47 /** 48 48 * Stores the translated strings for the full month names. … … 51 51 * @var array 52 52 * @access private 53 53 */ 54 var$month;54 private $month; 55 55 56 56 /** 57 57 * Stores the translated strings for the abbreviated month names. … … 60 60 * @var array 61 61 * @access private 62 62 */ 63 var$month_abbrev;63 private $month_abbrev; 64 64 65 65 /** 66 66 * Stores the translated strings for 'am' and 'pm'. … … 71 71 * @var array 72 72 * @access private 73 73 */ 74 var$meridiem;74 private $meridiem; 75 75 76 76 /** 77 77 * The text direction of the locale language. … … 82 82 * @var string 83 83 * @access private 84 84 */ 85 var$text_direction = 'ltr';85 private $text_direction = 'ltr'; 86 86 87 87 /** 88 88 * Sets up the translated strings and object properties. -
wp-includes/class-feed.php
20 20 endif; 21 21 22 22 class WP_Feed_Cache_Transient { 23 var$name;24 var$mod_name;25 var$lifetime = 43200; //Default lifetime in cache of 12 hours23 public $name; 24 public $mod_name; 25 public $lifetime = 43200; //Default lifetime in cache of 12 hours 26 26 27 27 function __construct($location, $filename, $extension) { 28 28 $this->name = 'feed_' . $filename; -
wp-includes/class-http.php
1440 1440 * @since 2.8.0 1441 1441 * @var string 1442 1442 */ 1443 var$name;1443 public $name; 1444 1444 1445 1445 /** 1446 1446 * Cookie value. … … 1448 1448 * @since 2.8.0 1449 1449 * @var string 1450 1450 */ 1451 var$value;1451 public $value; 1452 1452 1453 1453 /** 1454 1454 * When the cookie expires. … … 1456 1456 * @since 2.8.0 1457 1457 * @var string 1458 1458 */ 1459 var$expires;1459 public $expires; 1460 1460 1461 1461 /** 1462 1462 * Cookie URL path. … … 1464 1464 * @since 2.8.0 1465 1465 * @var string 1466 1466 */ 1467 var$path;1467 public $path; 1468 1468 1469 1469 /** 1470 1470 * Cookie Domain. … … 1472 1472 * @since 2.8.0 1473 1473 * @var string 1474 1474 */ 1475 var$domain;1475 public $domain; 1476 1476 1477 1477 /** 1478 1478 * Sets up this cookie object. -
wp-includes/pomo/mo.php
13 13 if ( !class_exists( 'MO' ) ): 14 14 class MO extends Gettext_Translations { 15 15 16 var$_nplurals = 2;16 public $_nplurals = 2; 17 17 18 18 /** 19 19 * Fills up with the entries from MO file $filename -
wp-includes/pomo/po.php
19 19 if ( !class_exists( 'PO' ) ): 20 20 class PO extends Gettext_Translations { 21 21 22 var$comments_before_headers = '';22 public $comments_before_headers = ''; 23 23 24 24 /** 25 25 * Exports headers to a PO entry -
wp-includes/pomo/streams.php
11 11 if ( !class_exists( 'POMO_Reader' ) ): 12 12 class POMO_Reader { 13 13 14 var$endian = 'little';15 var$_post = '';14 public $endian = 'little'; 15 public $_post = ''; 16 16 17 17 function POMO_Reader() { 18 18 $this->is_overloaded = ((ini_get("mbstring.func_overload") & 2) != 0) && function_exists('mb_substr'); … … 149 149 */ 150 150 class POMO_StringReader extends POMO_Reader { 151 151 152 var$_str = '';152 public $_str = ''; 153 153 154 154 function POMO_StringReader($str = '') { 155 155 parent::POMO_Reader(); -
wp-includes/pomo/entry.php
18 18 * 19 19 * @var boolean 20 20 */ 21 var$is_plural = false;21 public $is_plural = false; 22 22 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(); 31 31 32 32 /** 33 33 * @param array $args associative array, support following keys: -
wp-includes/pomo/translations.php
11 11 12 12 if ( !class_exists( 'Translations' ) ): 13 13 class Translations { 14 var$entries = array();15 var$headers = array();14 public $entries = array(); 15 public $headers = array(); 16 16 17 17 /** 18 18 * Add entry to the PO structure … … 232 232 * Provides the same interface as Translations, but doesn't do anything 233 233 */ 234 234 class NOOP_Translations { 235 var$entries = array();236 var$headers = array();235 public $entries = array(); 236 public $headers = array(); 237 237 238 238 function add_entry($entry) { 239 239 return true; -
wp-includes/wp-diff.php
31 31 * @access protected 32 32 * @since 2.6.0 33 33 */ 34 var$_leading_context_lines = 10000;34 protected $_leading_context_lines = 10000; 35 35 36 36 /** 37 37 * @see Text_Diff_Renderer::_trailing_context_lines … … 39 39 * @access protected 40 40 * @since 2.6.0 41 41 */ 42 var$_trailing_context_lines = 10000;42 protected $_trailing_context_lines = 10000; 43 43 44 44 /** 45 45 * {@internal Missing Description}} … … 48 48 * @access protected 49 49 * @since 2.6.0 50 50 */ 51 var$_diff_threshold = 0.6;51 protected $_diff_threshold = 0.6; 52 52 53 53 /** 54 54 * Inline display helper object name. … … 57 57 * @access protected 58 58 * @since 2.6.0 59 59 */ 60 var$inline_diff_renderer = 'WP_Text_Diff_Renderer_inline';60 protected $inline_diff_renderer = 'WP_Text_Diff_Renderer_inline'; 61 61 62 62 /** 63 63 * Constructor - Call parent constructor with params array. -
wp-includes/comment.php
197 197 * @access public 198 198 * @var object WP_Meta_Query 199 199 */ 200 var$meta_query = false;200 public $meta_query = false; 201 201 202 202 /** 203 203 * Execute the query -
wp-includes/class-wp-embed.php
7 7 * @since 2.9.0 8 8 */ 9 9 class 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; 14 14 15 15 /** 16 16 * Constructor -
wp-includes/class.wp-styles.php
17 17 * @since r74 18 18 */ 19 19 class 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; 30 30 31 31 function __construct() { 32 32 do_action_ref_array( 'wp_default_styles', array(&$this) ); -
wp-includes/comment-template.php
1220 1220 * @since 2.7.0 1221 1221 * @var string 1222 1222 */ 1223 var$tree_type = 'comment';1223 public $tree_type = 'comment'; 1224 1224 1225 1225 /** 1226 1226 * @see Walker::$db_fields 1227 1227 * @since 2.7.0 1228 1228 * @var array 1229 1229 */ 1230 var$db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID');1230 public $db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID'); 1231 1231 1232 1232 /** 1233 1233 * @see Walker::start_lvl() -
wp-includes/user.php
320 320 * @access public 321 321 * @var array 322 322 */ 323 var$query_vars = array();323 public $query_vars = array(); 324 324 325 325 /** 326 326 * List of found user ids … … 329 329 * @access private 330 330 * @var array 331 331 */ 332 var$results;332 private $results; 333 333 334 334 /** 335 335 * Total number of found users for the current query … … 338 338 * @access private 339 339 * @var int 340 340 */ 341 var$total_users = 0;341 private $total_users = 0; 342 342 343 343 // SQL clauses 344 var$query_fields;345 var$query_from;346 var$query_where;347 var$query_orderby;348 var$query_limit;344 public $query_fields; 345 public $query_from; 346 public $query_where; 347 public $query_orderby; 348 public $query_limit; 349 349 350 350 /** 351 351 * PHP5 constructor -
wp-includes/class.wp-dependencies.php
17 17 * @since r74 18 18 */ 19 19 class 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; 27 27 28 28 /** 29 29 * Do the dependencies … … 238 238 } 239 239 240 240 class _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; 246 246 247 var$extra = array();247 public $extra = array(); 248 248 249 249 function __construct() { 250 250 @list($this->handle, $this->src, $this->deps, $this->ver, $this->args) = func_get_args(); -
wp-includes/class.wp-scripts.php
17 17 * @since r16 18 18 */ 19 19 class WP_Scripts extends WP_Dependencies { 20 var$base_url; // Full URL with trailing slash21 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; 32 32 33 33 function __construct() { 34 34 $this->init(); -
wp-includes/cache.php
264 264 * Holds the cached objects 265 265 * 266 266 * @var array 267 * @access p rivate267 * @access public 268 268 * @since 2.0.0 269 269 */ 270 var$cache = array ();270 public $cache = array (); 271 271 272 272 /** 273 273 * The amount of times the cache data was already stored in the cache. … … 276 276 * @access private 277 277 * @var int 278 278 */ 279 var$cache_hits = 0;279 private $cache_hits = 0; 280 280 281 281 /** 282 282 * Amount of times the cache did not have the request in cache … … 285 285 * @access public 286 286 * @since 2.0.0 287 287 */ 288 var$cache_misses = 0;288 public $cache_misses = 0; 289 289 290 290 /** 291 291 * List of global groups … … 294 294 * @access protected 295 295 * @since 3.0.0 296 296 */ 297 var$global_groups = array();297 protected $global_groups = array(); 298 298 299 299 /** 300 300 * The blog prefix to prepend to keys in non-global groups. … … 303 303 * @access private 304 304 * @since 3.5.0 305 305 */ 306 var$blog_prefix;306 private $blog_prefix; 307 307 308 308 /** 309 309 * Adds data to the cache if it doesn't already exist. -
wp-includes/query.php
839 839 * @access public 840 840 * @var array 841 841 */ 842 var$query;842 public $query; 843 843 844 844 /** 845 845 * Query vars, after parsing … … 848 848 * @access public 849 849 * @var array 850 850 */ 851 var$query_vars = array();851 public $query_vars = array(); 852 852 853 853 /** 854 854 * Taxonomy query, as passed to get_tax_sql() … … 857 857 * @access public 858 858 * @var object WP_Tax_Query 859 859 */ 860 var$tax_query;860 public $tax_query; 861 861 862 862 /** 863 863 * Metadata query container … … 866 866 * @access public 867 867 * @var object WP_Meta_Query 868 868 */ 869 var$meta_query = false;869 public $meta_query = false; 870 870 871 871 /** 872 872 * Holds the data for a single object that is queried. … … 877 877 * @access public 878 878 * @var object|array 879 879 */ 880 var$queried_object;880 public $queried_object; 881 881 882 882 /** 883 883 * The ID of the queried object. … … 886 886 * @access public 887 887 * @var int 888 888 */ 889 var$queried_object_id;889 public $queried_object_id; 890 890 891 891 /** 892 892 * Get post database query. … … 895 895 * @access public 896 896 * @var string 897 897 */ 898 var$request;898 public $request; 899 899 900 900 /** 901 901 * List of posts. … … 904 904 * @access public 905 905 * @var array 906 906 */ 907 var$posts;907 public $posts; 908 908 909 909 /** 910 910 * The amount of posts for the current query. … … 913 913 * @access public 914 914 * @var int 915 915 */ 916 var$post_count = 0;916 public $post_count = 0; 917 917 918 918 /** 919 919 * Index of the current item in the loop. … … 922 922 * @access public 923 923 * @var int 924 924 */ 925 var$current_post = -1;925 public $current_post = -1; 926 926 927 927 /** 928 928 * Whether the loop has started and the caller is in the loop. … … 931 931 * @access public 932 932 * @var bool 933 933 */ 934 var$in_the_loop = false;934 public $in_the_loop = false; 935 935 936 936 /** 937 937 * The current post ID. … … 940 940 * @access public 941 941 * @var object 942 942 */ 943 var$post;943 public $post; 944 944 945 945 /** 946 946 * The list of comments for current post. … … 949 949 * @access public 950 950 * @var array 951 951 */ 952 var$comments;952 public $comments; 953 953 954 954 /** 955 955 * The amount of comments for the posts. … … 958 958 * @access public 959 959 * @var int 960 960 */ 961 var$comment_count = 0;961 public $comment_count = 0; 962 962 963 963 /** 964 964 * The index of the comment in the comment loop. … … 967 967 * @access public 968 968 * @var int 969 969 */ 970 var$current_comment = -1;970 public $current_comment = -1; 971 971 972 972 /** 973 973 * Current comment ID. … … 976 976 * @access public 977 977 * @var int 978 978 */ 979 var$comment;979 public $comment; 980 980 981 981 /** 982 982 * The amount of found posts for the current query. … … 987 987 * @access public 988 988 * @var int 989 989 */ 990 var$found_posts = 0;990 public $found_posts = 0; 991 991 992 992 /** 993 993 * The amount of pages. … … 996 996 * @access public 997 997 * @var int 998 998 */ 999 var$max_num_pages = 0;999 public $max_num_pages = 0; 1000 1000 1001 1001 /** 1002 1002 * The amount of comment pages. … … 1005 1005 * @access public 1006 1006 * @var int 1007 1007 */ 1008 var$max_num_comment_pages = 0;1008 public $max_num_comment_pages = 0; 1009 1009 1010 1010 /** 1011 1011 * Set if query is single post. … … 1014 1014 * @access public 1015 1015 * @var bool 1016 1016 */ 1017 var$is_single = false;1017 public $is_single = false; 1018 1018 1019 1019 /** 1020 1020 * Set if query is preview of blog. … … 1023 1023 * @access public 1024 1024 * @var bool 1025 1025 */ 1026 var$is_preview = false;1026 public $is_preview = false; 1027 1027 1028 1028 /** 1029 1029 * Set if query returns a page. … … 1032 1032 * @access public 1033 1033 * @var bool 1034 1034 */ 1035 var$is_page = false;1035 public $is_page = false; 1036 1036 1037 1037 /** 1038 1038 * Set if query is an archive list. … … 1041 1041 * @access public 1042 1042 * @var bool 1043 1043 */ 1044 var$is_archive = false;1044 public $is_archive = false; 1045 1045 1046 1046 /** 1047 1047 * Set if query is part of a date. … … 1050 1050 * @access public 1051 1051 * @var bool 1052 1052 */ 1053 var$is_date = false;1053 public $is_date = false; 1054 1054 1055 1055 /** 1056 1056 * Set if query contains a year. … … 1059 1059 * @access public 1060 1060 * @var bool 1061 1061 */ 1062 var$is_year = false;1062 public $is_year = false; 1063 1063 1064 1064 /** 1065 1065 * Set if query contains a month. … … 1068 1068 * @access public 1069 1069 * @var bool 1070 1070 */ 1071 var$is_month = false;1071 public $is_month = false; 1072 1072 1073 1073 /** 1074 1074 * Set if query contains a day. … … 1077 1077 * @access public 1078 1078 * @var bool 1079 1079 */ 1080 var$is_day = false;1080 public $is_day = false; 1081 1081 1082 1082 /** 1083 1083 * Set if query contains time. … … 1086 1086 * @access public 1087 1087 * @var bool 1088 1088 */ 1089 var$is_time = false;1089 public $is_time = false; 1090 1090 1091 1091 /** 1092 1092 * Set if query contains an author. … … 1095 1095 * @access public 1096 1096 * @var bool 1097 1097 */ 1098 var$is_author = false;1098 public $is_author = false; 1099 1099 1100 1100 /** 1101 1101 * Set if query contains category. … … 1104 1104 * @access public 1105 1105 * @var bool 1106 1106 */ 1107 var$is_category = false;1107 public $is_category = false; 1108 1108 1109 1109 /** 1110 1110 * Set if query contains tag. … … 1113 1113 * @access public 1114 1114 * @var bool 1115 1115 */ 1116 var$is_tag = false;1116 public $is_tag = false; 1117 1117 1118 1118 /** 1119 1119 * Set if query contains taxonomy. … … 1122 1122 * @access public 1123 1123 * @var bool 1124 1124 */ 1125 var$is_tax = false;1125 public $is_tax = false; 1126 1126 1127 1127 /** 1128 1128 * Set if query was part of a search result. … … 1131 1131 * @access public 1132 1132 * @var bool 1133 1133 */ 1134 var$is_search = false;1134 public $is_search = false; 1135 1135 1136 1136 /** 1137 1137 * Set if query is feed display. … … 1140 1140 * @access public 1141 1141 * @var bool 1142 1142 */ 1143 var$is_feed = false;1143 public $is_feed = false; 1144 1144 1145 1145 /** 1146 1146 * Set if query is comment feed display. … … 1149 1149 * @access public 1150 1150 * @var bool 1151 1151 */ 1152 var$is_comment_feed = false;1152 public $is_comment_feed = false; 1153 1153 1154 1154 /** 1155 1155 * Set if query is trackback. … … 1158 1158 * @access public 1159 1159 * @var bool 1160 1160 */ 1161 var$is_trackback = false;1161 public $is_trackback = false; 1162 1162 1163 1163 /** 1164 1164 * Set if query is blog homepage. … … 1167 1167 * @access public 1168 1168 * @var bool 1169 1169 */ 1170 var$is_home = false;1170 public $is_home = false; 1171 1171 1172 1172 /** 1173 1173 * Set if query couldn't found anything. … … 1176 1176 * @access public 1177 1177 * @var bool 1178 1178 */ 1179 var$is_404 = false;1179 public $is_404 = false; 1180 1180 1181 1181 /** 1182 1182 * Set if query is within comments popup window. … … 1185 1185 * @access public 1186 1186 * @var bool 1187 1187 */ 1188 var$is_comments_popup = false;1188 public $is_comments_popup = false; 1189 1189 1190 1190 /** 1191 1191 * Set if query is paged … … 1194 1194 * @access public 1195 1195 * @var bool 1196 1196 */ 1197 var$is_paged = false;1197 public $is_paged = false; 1198 1198 1199 1199 /** 1200 1200 * Set if query is part of administration page. … … 1203 1203 * @access public 1204 1204 * @var bool 1205 1205 */ 1206 var$is_admin = false;1206 public $is_admin = false; 1207 1207 1208 1208 /** 1209 1209 * Set if query is an attachment. … … 1212 1212 * @access public 1213 1213 * @var bool 1214 1214 */ 1215 var$is_attachment = false;1215 public $is_attachment = false; 1216 1216 1217 1217 /** 1218 1218 * Set if is single, is a page, or is an attachment. … … 1221 1221 * @access public 1222 1222 * @var bool 1223 1223 */ 1224 var$is_singular = false;1224 public $is_singular = false; 1225 1225 1226 1226 /** 1227 1227 * Set if query is for robots. … … 1230 1230 * @access public 1231 1231 * @var bool 1232 1232 */ 1233 var$is_robots = false;1233 public $is_robots = false; 1234 1234 1235 1235 /** 1236 1236 * Set if query contains posts. … … 1241 1241 * @access public 1242 1242 * @var bool 1243 1243 */ 1244 var$is_posts_page = false;1244 public $is_posts_page = false; 1245 1245 1246 1246 /** 1247 1247 * Set if query is for a post type archive. … … 1250 1250 * @access public 1251 1251 * @var bool 1252 1252 */ 1253 var$is_post_type_archive = false;1253 public $is_post_type_archive = false; 1254 1254 1255 1255 /** 1256 1256 * Stores the ->query_vars state like md5(serialize( $this->query_vars ) ) so we know … … 1259 1259 * @since 3.1.0 1260 1260 * @access private 1261 1261 */ 1262 var$query_vars_hash = false;1262 private $query_vars_hash = false; 1263 1263 1264 1264 /** 1265 1265 * Whether query vars have changed since the initial parse_query() call. Used to catch modifications to query vars made … … 1268 1268 * @since 3.1.1 1269 1269 * @access private 1270 1270 */ 1271 var$query_vars_changed = true;1271 private $query_vars_changed = true; 1272 1272 1273 1273 /** 1274 1274 * Set if post thumbnails are cached … … 1277 1277 * @access public 1278 1278 * @var bool 1279 1279 */ 1280 var$thumbnails_cached = false;1280 public $thumbnails_cached = false; 1281 1281 1282 1282 /** 1283 1283 * Resets query flags to false. -
wp-includes/class-wp-ajax-response.php
13 13 * @var array 14 14 * @access private 15 15 */ 16 var$responses = array();16 private $responses = array(); 17 17 18 18 /** 19 19 * Constructor - Passes args to {@link WP_Ajax_Response::add()}. -
wp-includes/wp-db.php
57 57 * @access private 58 58 * @var bool 59 59 */ 60 var$show_errors = false;60 private $show_errors = false; 61 61 62 62 /** 63 63 * Whether to suppress errors during the DB bootstrapping. … … 66 66 * @since 2.5.0 67 67 * @var bool 68 68 */ 69 var$suppress_errors = false;69 private $suppress_errors = false; 70 70 71 71 /** 72 72 * The last error during query. … … 74 74 * @since 2.5.0 75 75 * @var string 76 76 */ 77 var$last_error = '';77 public $last_error = ''; 78 78 79 79 /** 80 80 * Amount of queries made … … 83 83 * @access private 84 84 * @var int 85 85 */ 86 var$num_queries = 0;86 private $num_queries = 0; 87 87 88 88 /** 89 89 * Count of rows returned by previous query … … 92 92 * @access private 93 93 * @var int 94 94 */ 95 var$num_rows = 0;95 private $num_rows = 0; 96 96 97 97 /** 98 98 * Count of affected rows by previous query … … 101 101 * @access private 102 102 * @var int 103 103 */ 104 var$rows_affected = 0;104 private $rows_affected = 0; 105 105 106 106 /** 107 107 * The ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT). … … 110 110 * @access public 111 111 * @var int 112 112 */ 113 var$insert_id = 0;113 public $insert_id = 0; 114 114 115 115 /** 116 116 * Last query made … … 119 119 * @access private 120 120 * @var array 121 121 */ 122 var$last_query;122 private $last_query; 123 123 124 124 /** 125 125 * Results of the last query made … … 128 128 * @access private 129 129 * @var array|null 130 130 */ 131 var$last_result;131 private $last_result; 132 132 133 133 /** 134 134 * MySQL result, which is either a resource or boolean. … … 155 155 * @access private 156 156 * @var array 157 157 */ 158 var$queries;158 private $queries; 159 159 160 160 /** 161 161 * WordPress table prefix … … 168 168 * @access private 169 169 * @var string 170 170 */ 171 var$prefix = '';171 private $prefix = ''; 172 172 173 173 /** 174 174 * Whether the database queries are ready to start executing. … … 177 177 * @access private 178 178 * @var bool 179 179 */ 180 var$ready = false;180 private $ready = false; 181 181 182 182 /** 183 183 * {@internal Missing Description}} … … 186 186 * @access public 187 187 * @var int 188 188 */ 189 var$blogid = 0;189 public $blogid = 0; 190 190 191 191 /** 192 192 * {@internal Missing Description}} … … 195 195 * @access public 196 196 * @var int 197 197 */ 198 var$siteid = 0;198 public $siteid = 0; 199 199 200 200 /** 201 201 * List of WordPress per-blog tables … … 205 205 * @see wpdb::tables() 206 206 * @var array 207 207 */ 208 var$tables = array( 'posts', 'comments', 'links', 'options', 'postmeta',208 private $tables = array( 'posts', 'comments', 'links', 'options', 'postmeta', 209 209 'terms', 'term_taxonomy', 'term_relationships', 'commentmeta' ); 210 210 211 211 /** … … 218 218 * @see wpdb::tables() 219 219 * @var array 220 220 */ 221 var$old_tables = array( 'categories', 'post2cat', 'link2cat' );221 private $old_tables = array( 'categories', 'post2cat', 'link2cat' ); 222 222 223 223 /** 224 224 * List of WordPress global tables … … 228 228 * @see wpdb::tables() 229 229 * @var array 230 230 */ 231 var$global_tables = array( 'users', 'usermeta' );231 private $global_tables = array( 'users', 'usermeta' ); 232 232 233 233 /** 234 234 * List of Multisite global tables … … 238 238 * @see wpdb::tables() 239 239 * @var array 240 240 */ 241 var$ms_global_tables = array( 'blogs', 'signups', 'site', 'sitemeta',241 private $ms_global_tables = array( 'blogs', 'signups', 'site', 'sitemeta', 242 242 'sitecategories', 'registration_log', 'blog_versions' ); 243 243 244 244 /** … … 248 248 * @access public 249 249 * @var string 250 250 */ 251 var$comments;251 public $comments; 252 252 253 253 /** 254 254 * WordPress Comment Metadata table … … 257 257 * @access public 258 258 * @var string 259 259 */ 260 var$commentmeta;260 public $commentmeta; 261 261 262 262 /** 263 263 * WordPress Links table … … 266 266 * @access public 267 267 * @var string 268 268 */ 269 var$links;269 public $links; 270 270 271 271 /** 272 272 * WordPress Options table … … 275 275 * @access public 276 276 * @var string 277 277 */ 278 var$options;278 public $options; 279 279 280 280 /** 281 281 * WordPress Post Metadata table … … 284 284 * @access public 285 285 * @var string 286 286 */ 287 var$postmeta;287 public $postmeta; 288 288 289 289 /** 290 290 * WordPress Posts table … … 293 293 * @access public 294 294 * @var string 295 295 */ 296 var$posts;296 public $posts; 297 297 298 298 /** 299 299 * WordPress Terms table … … 302 302 * @access public 303 303 * @var string 304 304 */ 305 var$terms;305 public $terms; 306 306 307 307 /** 308 308 * WordPress Term Relationships table … … 311 311 * @access public 312 312 * @var string 313 313 */ 314 var$term_relationships;314 public $term_relationships; 315 315 316 316 /** 317 317 * WordPress Term Taxonomy table … … 320 320 * @access public 321 321 * @var string 322 322 */ 323 var$term_taxonomy;323 public $term_taxonomy; 324 324 325 325 /* 326 326 * Global and Multisite tables … … 333 333 * @access public 334 334 * @var string 335 335 */ 336 var$usermeta;336 public $usermeta; 337 337 338 338 /** 339 339 * WordPress Users table … … 342 342 * @access public 343 343 * @var string 344 344 */ 345 var$users;345 public $users; 346 346 347 347 /** 348 348 * Multisite Blogs table … … 351 351 * @access public 352 352 * @var string 353 353 */ 354 var$blogs;354 public $blogs; 355 355 356 356 /** 357 357 * Multisite Blog Versions table … … 360 360 * @access public 361 361 * @var string 362 362 */ 363 var$blog_versions;363 public $blog_versions; 364 364 365 365 /** 366 366 * Multisite Registration Log table … … 369 369 * @access public 370 370 * @var string 371 371 */ 372 var$registration_log;372 public $registration_log; 373 373 374 374 /** 375 375 * Multisite Signups table … … 378 378 * @access public 379 379 * @var string 380 380 */ 381 var$signups;381 public $signups; 382 382 383 383 /** 384 384 * Multisite Sites table … … 387 387 * @access public 388 388 * @var string 389 389 */ 390 var$site;390 public $site; 391 391 392 392 /** 393 393 * Multisite Sitewide Terms table … … 396 396 * @access public 397 397 * @var string 398 398 */ 399 var$sitecategories;399 public $sitecategories; 400 400 401 401 /** 402 402 * Multisite Site Metadata table … … 405 405 * @access public 406 406 * @var string 407 407 */ 408 var$sitemeta;408 public $sitemeta; 409 409 410 410 /** 411 411 * Format specifiers for DB columns. Columns not listed here default to %s. Initialized during WP load. … … 421 421 * @access public 422 422 * @var array 423 423 */ 424 var$field_types = array();424 public $field_types = array(); 425 425 426 426 /** 427 427 * Database table columns charset … … 430 430 * @access public 431 431 * @var string 432 432 */ 433 var$charset;433 public $charset; 434 434 435 435 /** 436 436 * Database table columns collate … … 439 439 * @access public 440 440 * @var string 441 441 */ 442 var$collate;442 public $collate; 443 443 444 444 /** 445 445 * Whether to use mysql_real_escape_string … … 448 448 * @access public 449 449 * @var bool 450 450 */ 451 var$real_escape = false;451 public $real_escape = false; 452 452 453 453 /** 454 454 * Database Username … … 502 502 * @access public 503 503 * @var string 504 504 */ 505 var$func_call;505 public $func_call; 506 506 507 507 /** 508 508 * Whether MySQL is used as the database engine. -
wp-includes/class-wp-walker.php
20 20 * @var string 21 21 * @access public 22 22 */ 23 var$tree_type;23 public $tree_type; 24 24 25 25 /** 26 26 * DB fields to use. … … 29 29 * @var array 30 30 * @access protected 31 31 */ 32 var$db_fields;32 protected $db_fields; 33 33 34 34 /** 35 35 * Max number of pages walked by the paged walker … … 38 38 * @var int 39 39 * @access protected 40 40 */ 41 var$max_pages = 1;41 protected $max_pages = 1; 42 42 43 43 /** 44 44 * Starts the list before the elements are added. -
wp-includes/rewrite.php
396 396 * Permalink structure for posts. 397 397 * 398 398 * @since 1.5.0 399 * @access p rivate399 * @access public 400 400 * @var string 401 401 */ 402 var$permalink_structure;402 public $permalink_structure; 403 403 404 404 /** 405 405 * Whether to add trailing slashes. 406 406 * 407 407 * @since 2.2.0 408 * @access p rivate408 * @access public 409 409 * @var bool 410 410 */ 411 var$use_trailing_slashes;411 public $use_trailing_slashes; 412 412 413 413 /** 414 414 * Base for the author permalink structure (example.com/$author_base/authorname). … … 417 417 * @access private 418 418 * @var string 419 419 */ 420 var$author_base = 'author';420 private $author_base = 'author'; 421 421 422 422 /** 423 423 * Permalink structure for author archives. … … 426 426 * @access private 427 427 * @var string 428 428 */ 429 var$author_structure;429 private $author_structure; 430 430 431 431 /** 432 432 * Permalink structure for date archives. … … 435 435 * @access private 436 436 * @var string 437 437 */ 438 var$date_structure;438 private $date_structure; 439 439 440 440 /** 441 441 * Permalink structure for pages. … … 444 444 * @access private 445 445 * @var string 446 446 */ 447 var$page_structure;447 private $page_structure; 448 448 449 449 /** 450 450 * Base of the search permalink structure (example.com/$search_base/query). … … 453 453 * @access private 454 454 * @var string 455 455 */ 456 var$search_base = 'search';456 private $search_base = 'search'; 457 457 458 458 /** 459 459 * Permalink structure for searches. … … 462 462 * @access private 463 463 * @var string 464 464 */ 465 var$search_structure;465 private $search_structure; 466 466 467 467 /** 468 468 * Comments permalink base. … … 471 471 * @access private 472 472 * @var string 473 473 */ 474 var$comments_base = 'comments';474 private $comments_base = 'comments'; 475 475 476 476 /** 477 477 * Pagination permalink base. 478 478 * 479 479 * @since 3.1.0 480 * @access p rivate480 * @access public 481 481 * @var string 482 482 */ 483 var$pagination_base = 'page';483 public $pagination_base = 'page'; 484 484 485 485 /** 486 486 * Feed permalink base. … … 489 489 * @access private 490 490 * @var string 491 491 */ 492 var$feed_base = 'feed';492 private $feed_base = 'feed'; 493 493 494 494 /** 495 495 * Comments feed permalink structure. … … 498 498 * @access private 499 499 * @var string 500 500 */ 501 var$comments_feed_structure;501 private $comments_feed_structure; 502 502 503 503 /** 504 504 * Feed request permalink structure. … … 507 507 * @access private 508 508 * @var string 509 509 */ 510 var$feed_structure;510 private $feed_structure; 511 511 512 512 /** 513 513 * The static portion of the post permalink structure. … … 521 521 * @access private 522 522 * @var string 523 523 */ 524 var$front;524 private $front; 525 525 526 526 /** 527 527 * The prefix for all permalink structures. … … 536 536 * @access private 537 537 * @var string 538 538 */ 539 var$root = '';539 private $root = ''; 540 540 541 541 /** 542 542 * The name of the index file which is the entry point to all requests. … … 545 545 * @access public 546 546 * @var string 547 547 */ 548 var$index = 'index.php';548 public $index = 'index.php'; 549 549 550 550 /** 551 551 * Variable name to use for regex matches in the rewritten query. … … 554 554 * @access private 555 555 * @var string 556 556 */ 557 var$matches = '';557 private $matches = ''; 558 558 559 559 /** 560 560 * Rewrite rules to match against the request to find the redirect or query. … … 563 563 * @access private 564 564 * @var array 565 565 */ 566 var$rules;566 private $rules; 567 567 568 568 /** 569 569 * Additional rules added external to the rewrite class. … … 574 574 * @access private 575 575 * @var array 576 576 */ 577 var$extra_rules = array();577 private $extra_rules = array(); 578 578 579 579 /** 580 580 * Additional rules that belong at the beginning to match first. … … 585 585 * @access private 586 586 * @var array 587 587 */ 588 var$extra_rules_top = array();588 private $extra_rules_top = array(); 589 589 590 590 /** 591 591 * Rules that don't redirect to WordPress' index.php. … … 597 597 * @access private 598 598 * @var array 599 599 */ 600 var$non_wp_rules = array();600 private $non_wp_rules = array(); 601 601 602 602 /** 603 603 * Extra permalink structures, e.g. categories, added by {@link add_permastruct()}. … … 606 606 * @access private 607 607 * @var array 608 608 */ 609 var$extra_permastructs = array();609 private $extra_permastructs = array(); 610 610 611 611 /** 612 612 * Endpoints (like /trackback/) added by {@link add_rewrite_endpoint()}. … … 615 615 * @access private 616 616 * @var array 617 617 */ 618 var$endpoints;618 private $endpoints; 619 619 620 620 /** 621 621 * Whether to write every mod_rewrite rule for WordPress into the .htaccess file. … … 628 628 * @access public 629 629 * @var bool 630 630 */ 631 var$use_verbose_rules = false;631 public $use_verbose_rules = false; 632 632 633 633 /** 634 634 * Could post permalinks be confused with those of pages? … … 646 646 * @access public 647 647 * @var bool 648 648 */ 649 var$use_verbose_page_rules = true;649 public $use_verbose_page_rules = true; 650 650 651 651 /** 652 652 * Rewrite tags that can be used in permalink structures. … … 661 661 * @access private 662 662 * @var array 663 663 */ 664 var$rewritecode = array(664 private $rewritecode = array( 665 665 '%year%', 666 666 '%monthnum%', 667 667 '%day%', … … 683 683 * @access private 684 684 * @var array 685 685 */ 686 var$rewritereplace = array(686 private $rewritereplace = array( 687 687 '([0-9]{4})', 688 688 '([0-9]{1,2})', 689 689 '([0-9]{1,2})', … … 704 704 * @access private 705 705 * @var array 706 706 */ 707 var$queryreplace = array(707 private $queryreplace = array( 708 708 'year=', 709 709 'monthnum=', 710 710 'day=', … … 722 722 * Supported default feeds. 723 723 * 724 724 * @since 1.5.0 725 * @access p rivate725 * @access public 726 726 * @var array 727 727 */ 728 var$feeds = array( 'feed', 'rdf', 'rss', 'rss2', 'atom' );728 public $feeds = array( 'feed', 'rdf', 'rss', 'rss2', 'atom' ); 729 729 730 730 /** 731 731 * Whether permalinks are being used. -
wp-includes/atomlib.php
21 21 * @var array 22 22 * @access public 23 23 */ 24 var$links = array();24 public $links = array(); 25 25 /** 26 26 * Stores Categories 27 27 * @var array 28 28 * @access public 29 29 */ 30 var$categories = array();30 public $categories = array(); 31 31 /** 32 32 * Stores Entries 33 33 * 34 34 * @var array 35 35 * @access public 36 36 */ 37 var$entries = array();37 public $entries = array(); 38 38 } 39 39 40 40 /** … … 48 48 * @var array 49 49 * @access public 50 50 */ 51 var$links = array();51 public $links = array(); 52 52 /** 53 53 * Stores Categories 54 54 * @var array 55 55 * @access public 56 56 */ 57 var$categories = array();57 public $categories = array(); 58 58 } 59 59 60 60 /** … … 64 64 */ 65 65 class AtomParser { 66 66 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');67 public $NS = 'http://www.w3.org/2005/Atom'; 68 public $ATOM_CONTENT_ELEMENTS = array('content','summary','title','subtitle','rights'); 69 public $ATOM_SIMPLE_ELEMENTS = array('id','updated','published','draft'); 70 70 71 var$debug = false;71 public $debug = false; 72 72 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;73 public $depth = 0; 74 public $indent = 2; 75 public $in_content; 76 public $ns_contexts = array(); 77 public $ns_decls = array(); 78 public $content_ns_decls = array(); 79 public $content_ns_contexts = array(); 80 public $is_xhtml = false; 81 public $is_html = false; 82 public $is_text = true; 83 public $skipped_div = false; 84 84 85 var$FILE = "php://input";85 public $FILE = "php://input"; 86 86 87 var$feed;88 var$current;87 public $feed; 88 public $current; 89 89 90 90 function AtomParser() { 91 91 -
wp-includes/class-wp.php
15 15 * @access public 16 16 * @var array 17 17 */ 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');18 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'); 19 19 20 20 /** 21 21 * Private query variables. … … 25 25 * @since 2.0.0 26 26 * @var array 27 27 */ 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');28 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'); 29 29 30 30 /** 31 31 * Extra query variables set by the user. … … 33 33 * @since 2.1.0 34 34 * @var array 35 35 */ 36 var$extra_query_vars = array();36 public $extra_query_vars = array(); 37 37 38 38 /** 39 39 * Query variables for setting up the WordPress Query Loop. … … 41 41 * @since 2.0.0 42 42 * @var array 43 43 */ 44 var$query_vars;44 public $query_vars; 45 45 46 46 /** 47 47 * String parsed to set the query variables. … … 49 49 * @since 2.0.0 50 50 * @var string 51 51 */ 52 var$query_string;52 public $query_string; 53 53 54 54 /** 55 55 * Permalink or requested URI. … … 57 57 * @since 2.0.0 58 58 * @var string 59 59 */ 60 var$request;60 public $request; 61 61 62 62 /** 63 63 * Rewrite rule the request matched. … … 65 65 * @since 2.0.0 66 66 * @var string 67 67 */ 68 var$matched_rule;68 public $matched_rule; 69 69 70 70 /** 71 71 * Rewrite query the request matched. … … 73 73 * @since 2.0.0 74 74 * @var string 75 75 */ 76 var$matched_query;76 public $matched_query; 77 77 78 78 /** 79 79 * Whether already did the permalink. … … 81 81 * @since 2.0.0 82 82 * @var bool 83 83 */ 84 var$did_permalink = false;84 public $did_permalink = false; 85 85 86 86 /** 87 87 * Add name to list of public query variables. … … 546 546 * @access private 547 547 * @var array 548 548 */ 549 var$_matches;549 private $_matches; 550 550 551 551 /** 552 552 * store for mapping result … … 554 554 * @access public 555 555 * @var string 556 556 */ 557 var$output;557 public $output; 558 558 559 559 /** 560 560 * subject to perform mapping on (query string containing $matches[] references … … 562 562 * @access private 563 563 * @var string 564 564 */ 565 var$_subject;565 private $_subject; 566 566 567 567 /** 568 568 * regexp pattern to match $matches[] references 569 569 * 570 570 * @var string 571 571 */ 572 var$_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number572 public $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number 573 573 574 574 /** 575 575 * constructor -
wp-includes/capabilities.php
34 34 * @access public 35 35 * @var array 36 36 */ 37 var$roles;37 public $roles; 38 38 39 39 /** 40 40 * List of the role objects. … … 43 43 * @access public 44 44 * @var array 45 45 */ 46 var$role_objects = array();46 public $role_objects = array(); 47 47 48 48 /** 49 49 * List of role names. … … 52 52 * @access public 53 53 * @var array 54 54 */ 55 var$role_names = array();55 public $role_names = array(); 56 56 57 57 /** 58 58 * Option name for storing role list. … … 61 61 * @access public 62 62 * @var string 63 63 */ 64 var$role_key;64 public $role_key; 65 65 66 66 /** 67 67 * Whether to use the database for retrieval and storage. … … 70 70 * @access public 71 71 * @var bool 72 72 */ 73 var$use_db = true;73 public $use_db = true; 74 74 75 75 /** 76 76 * Constructor … … 283 283 * @access public 284 284 * @var string 285 285 */ 286 var$name;286 public $name; 287 287 288 288 /** 289 289 * List of capabilities the role contains. … … 292 292 * @access public 293 293 * @var array 294 294 */ 295 var$capabilities;295 public $capabilities; 296 296 297 297 /** 298 298 * Constructor - Set up object properties. … … 390 390 * User data container. 391 391 * 392 392 * @since 2.0.0 393 * @access p rivate393 * @access public 394 394 * @var array 395 395 */ 396 var$data;396 public $data; 397 397 398 398 /** 399 399 * The user's ID. … … 402 402 * @access public 403 403 * @var int 404 404 */ 405 var$ID = 0;405 public $ID = 0; 406 406 407 407 /** 408 408 * The individual capabilities the user has been given. … … 411 411 * @access public 412 412 * @var array 413 413 */ 414 var$caps = array();414 public $caps = array(); 415 415 416 416 /** 417 417 * User metadata option name. … … 420 420 * @access public 421 421 * @var string 422 422 */ 423 var$cap_key;423 public $cap_key; 424 424 425 425 /** 426 426 * The roles the user is part of. … … 429 429 * @access public 430 430 * @var array 431 431 */ 432 var$roles = array();432 public $roles = array(); 433 433 434 434 /** 435 435 * All capabilities the user has, including individual and role based. … … 438 438 * @access public 439 439 * @var array 440 440 */ 441 var$allcaps = array();441 public $allcaps = array(); 442 442 443 443 /** 444 444 * The filter context applied to user data fields. … … 447 447 * @access private 448 448 * @var string 449 449 */ 450 var$filter = null;450 private $filter = null; 451 451 452 452 private static $back_compat_keys; 453 453 -
wp-includes/class-oembed.php
18 18 * @since 2.9.0 19 19 */ 20 20 class WP_oEmbed { 21 var$providers = array();21 public $providers = array(); 22 22 23 23 /** 24 24 * Constructor -
wp-includes/widgets.php
23 23 */ 24 24 class WP_Widget { 25 25 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() 30 30 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. 34 34 35 35 // Member functions that you must over-ride. 36 36 … … 314 314 * @since 2.8 315 315 */ 316 316 class WP_Widget_Factory { 317 var$widgets = array();317 public $widgets = array(); 318 318 319 319 function WP_Widget_Factory() { 320 320 add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 ); -
wp-includes/class-wp-error.php
26 26 * @var array 27 27 * @access private 28 28 */ 29 var$errors = array();29 private $errors = array(); 30 30 31 31 /** 32 32 * Stores the list of data for error codes. … … 35 35 * @var array 36 36 * @access private 37 37 */ 38 var$error_data = array();38 private $error_data = array(); 39 39 40 40 /** 41 41 * Constructor - Sets up error message. -
wp-includes/category-template.php
769 769 * @since 2.1.0 770 770 * @var string 771 771 */ 772 var$tree_type = 'category';772 public $tree_type = 'category'; 773 773 774 774 /** 775 775 * @see Walker::$db_fields … … 777 777 * @todo Decouple this 778 778 * @var array 779 779 */ 780 var$db_fields = array ('parent' => 'parent', 'id' => 'term_id');780 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); 781 781 782 782 /** 783 783 * @see Walker::start_lvl() … … 914 914 * @since 2.1.0 915 915 * @var string 916 916 */ 917 var$tree_type = 'category';917 public $tree_type = 'category'; 918 918 919 919 /** 920 920 * @see Walker::$db_fields … … 922 922 * @todo Decouple this 923 923 * @var array 924 924 */ 925 var$db_fields = array ('parent' => 'parent', 'id' => 'term_id');925 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); 926 926 927 927 /** 928 928 * @see Walker::start_el() -
wp-admin/includes/class-wp-posts-list-table.php
16 16 * @var bool 17 17 * @access protected 18 18 */ 19 var$hierarchical_display;19 protected $hierarchical_display; 20 20 21 21 /** 22 22 * Holds the number of pending comments for each post … … 25 25 * @var int 26 26 * @access protected 27 27 */ 28 var$comment_pending_count;28 protected $comment_pending_count; 29 29 30 30 /** 31 31 * Holds the number of posts for this user … … 34 34 * @var int 35 35 * @access private 36 36 */ 37 var$user_posts_count;37 private $user_posts_count; 38 38 39 39 /** 40 40 * Holds the number of posts which are sticky. … … 43 43 * @var int 44 44 * @access private 45 45 */ 46 var$sticky_posts_count = 0;46 private $sticky_posts_count = 0; 47 47 48 48 function __construct( $args = array() ) { 49 49 global $post_type_object, $wpdb; -
wp-admin/includes/list-table.php
82 82 * @since 3.1.0 83 83 */ 84 84 class _WP_List_Table_Compat extends WP_List_Table { 85 var$_screen;86 var$_columns;85 public $_screen; 86 public $_columns; 87 87 88 88 function _WP_List_Table_Compat( $screen, $columns = array() ) { 89 89 if ( is_string( $screen ) ) -
wp-admin/includes/class-wp-terms-list-table.php
9 9 */ 10 10 class WP_Terms_List_Table extends WP_List_Table { 11 11 12 var$callback_args;12 public $callback_args; 13 13 14 14 function __construct( $args = array() ) { 15 15 global $post_type, $taxonomy, $action, $tax; -
wp-admin/includes/class-wp-filesystem-base.php
19 19 * @access public 20 20 * @var bool 21 21 */ 22 var$verbose = false;22 public $verbose = false; 23 23 /** 24 24 * Cached list of local filepaths to mapped remote filepaths. 25 25 * … … 27 27 * @access private 28 28 * @var array 29 29 */ 30 var$cache = array();30 private $cache = array(); 31 31 32 32 /** 33 33 * The Access method of the current connection, Set automatically. … … 36 36 * @access public 37 37 * @var string 38 38 */ 39 var$method = '';39 public $method = ''; 40 40 41 41 /** 42 42 * Returns the path on the remote filesystem of ABSPATH -
wp-admin/includes/class-wp-users-list-table.php
9 9 */ 10 10 class WP_Users_List_Table extends WP_List_Table { 11 11 12 var$site_id;13 var$is_site_users;12 public $site_id; 13 public $is_site_users; 14 14 15 15 function __construct( $args = array() ) { 16 16 parent::__construct( array( -
wp-admin/includes/class-wp-ms-themes-list-table.php
9 9 */ 10 10 class WP_MS_Themes_List_Table extends WP_List_Table { 11 11 12 var$site_id;13 var$is_site_themes;12 public $site_id; 13 public $is_site_themes; 14 14 15 15 function __construct( $args = array() ) { 16 16 global $status, $page; -
wp-admin/includes/class-wp-list-table.php
24 24 * @var array 25 25 * @access protected 26 26 */ 27 var$items;27 protected $items; 28 28 29 29 /** 30 30 * Various information about the current table … … 33 33 * @var array 34 34 * @access private 35 35 */ 36 var$_args;36 private $_args; 37 37 38 38 /** 39 39 * Various information needed for displaying the pagination … … 42 42 * @var array 43 43 * @access private 44 44 */ 45 var$_pagination_args = array();45 private $_pagination_args = array(); 46 46 47 47 /** 48 48 * The current screen … … 51 51 * @var object 52 52 * @access protected 53 53 */ 54 var$screen;54 protected $screen; 55 55 56 56 /** 57 57 * Cached bulk actions … … 60 60 * @var array 61 61 * @access private 62 62 */ 63 var$_actions;63 private $_actions; 64 64 65 65 /** 66 66 * Cached pagination output … … 69 69 * @var string 70 70 * @access private 71 71 */ 72 var$_pagination;72 private $_pagination; 73 73 74 74 /** 75 75 * Constructor. The child class should call this constructor from it's own constructor … … 77 77 * @param array $args An associative array with information about the current table 78 78 * @access protected 79 79 */ 80 function __construct( $args = array() ) {80 protected function __construct( $args = array() ) { 81 81 $args = wp_parse_args( $args, array( 82 82 'plural' => '', 83 83 'singular' => '', -
wp-admin/includes/class-wp-theme-install-list-table.php
9 9 */ 10 10 class WP_Theme_Install_List_Table extends WP_Themes_List_Table { 11 11 12 var$features = array();12 public $features = array(); 13 13 14 14 function ajax_user_can() { 15 15 return current_user_can( 'install_themes' ); -
wp-admin/includes/class-wp-filesystem-ftpsockets.php
15 15 * @uses WP_Filesystem_Base Extends class 16 16 */ 17 17 class 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(); 21 21 22 22 function __construct($opt = '') { 23 23 $this->method = 'ftpsockets'; -
wp-admin/includes/class-wp-upgrader.php
21 21 * @since 2.8.0 22 22 */ 23 23 class 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(); 27 27 28 28 function __construct($skin = null) { 29 29 if ( null == $skin ) … … 365 365 */ 366 366 class Plugin_Upgrader extends WP_Upgrader { 367 367 368 var$result;369 var$bulk = false;370 var$show_before = '';368 public $result; 369 public $bulk = false; 370 public $show_before = ''; 371 371 372 372 function upgrade_strings() { 373 373 $this->strings['up_to_date'] = __('The plugin is at the latest version.'); … … 642 642 */ 643 643 class Theme_Upgrader extends WP_Upgrader { 644 644 645 var$result;646 var$bulk = false;645 public $result; 646 public $bulk = false; 647 647 648 648 function upgrade_strings() { 649 649 $this->strings['up_to_date'] = __('The theme is at the latest version.'); … … 1083 1083 */ 1084 1084 class WP_Upgrader_Skin { 1085 1085 1086 var$upgrader;1087 var$done_header = false;1088 var$result = false;1086 public $upgrader; 1087 public $done_header = false; 1088 public $result = false; 1089 1089 1090 1090 function __construct($args = array()) { 1091 1091 $defaults = array( 'url' => '', 'nonce' => '', 'title' => '', 'context' => false ); … … 1169 1169 * @since 2.8.0 1170 1170 */ 1171 1171 class 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; 1175 1175 1176 1176 function __construct($args = array()) { 1177 1177 $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') ); … … 1219 1219 * @since 3.0.0 1220 1220 */ 1221 1221 class 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; 1224 1224 1225 1225 function __construct($args = array()) { 1226 1226 $defaults = array( 'url' => '', 'nonce' => '' ); … … 1325 1325 } 1326 1326 1327 1327 class 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. 1329 1329 1330 1330 function __construct($args = array()) { 1331 1331 parent::__construct($args); … … 1359 1359 } 1360 1360 1361 1361 class 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. 1363 1363 1364 1364 function __construct($args = array()) { 1365 1365 parent::__construct($args); … … 1403 1403 * @since 2.8.0 1404 1404 */ 1405 1405 class Plugin_Installer_Skin extends WP_Upgrader_Skin { 1406 var$api;1407 var$type;1406 public $api; 1407 public $type; 1408 1408 1409 1409 function __construct($args = array()) { 1410 1410 $defaults = array( 'type' => 'web', 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => '' ); … … 1468 1468 * @since 2.8.0 1469 1469 */ 1470 1470 class Theme_Installer_Skin extends WP_Upgrader_Skin { 1471 var$api;1472 var$type;1471 public $api; 1472 public $type; 1473 1473 1474 1474 function __construct($args = array()) { 1475 1475 $defaults = array( 'type' => 'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => '' ); … … 1543 1543 * @since 2.8.0 1544 1544 */ 1545 1545 class Theme_Upgrader_Skin extends WP_Upgrader_Skin { 1546 var$theme = '';1546 public $theme = ''; 1547 1547 1548 1548 function __construct($args = array()) { 1549 1549 $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') ); … … 1606 1606 * @since 2.8.0 1607 1607 */ 1608 1608 class File_Upload_Upgrader { 1609 var$package;1610 var$filename;1611 var$id = 0;1609 public $package; 1610 public $filename; 1611 public $id = 0; 1612 1612 1613 1613 function __construct($form, $urlholder) { 1614 1614 -
wp-admin/includes/class-wp-themes-list-table.php
10 10 class WP_Themes_List_Table extends WP_List_Table { 11 11 12 12 protected $search_terms = array(); 13 var$features = array();13 public $features = array(); 14 14 15 15 function __construct( $args = array() ) { 16 16 parent::__construct( array( -
wp-admin/includes/class-wp-comments-list-table.php
17 17 */ 18 18 class WP_Comments_List_Table extends WP_List_Table { 19 19 20 var$checkbox = true;20 public $checkbox = true; 21 21 22 var$pending_count = array();22 public $pending_count = array(); 23 23 24 24 function __construct( $args = array() ) { 25 25 global $post_id; -
wp-admin/includes/template.php
21 21 * @since 2.5.1 22 22 */ 23 23 class Walker_Category_Checklist extends Walker { 24 var$tree_type = 'category';25 var$db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this24 public $tree_type = 'category'; 25 public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this 26 26 27 27 function start_lvl( &$output, $depth = 0, $args = array() ) { 28 28 $indent = str_repeat("\t", $depth); -
wp-admin/includes/class-wp-filesystem-direct.php
15 15 * @uses WP_Filesystem_Base Extends class 16 16 */ 17 17 class WP_Filesystem_Direct extends WP_Filesystem_Base { 18 var$errors = null;18 public $errors = null; 19 19 /** 20 20 * constructor 21 21 * -
wp-admin/includes/class-wp-filesystem-ftpext.php
15 15 * @uses WP_Filesystem_Base Extends class 16 16 */ 17 17 class 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(); 21 21 22 22 function __construct($opt='') { 23 23 $this->method = 'ftpext'; -
wp-admin/includes/class-wp-filesystem-ssh2.php
42 42 */ 43 43 class WP_Filesystem_SSH2 extends WP_Filesystem_Base { 44 44 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(); 50 50 51 51 function __construct($opt='') { 52 52 $this->method = 'ssh2'; -
wp-admin/custom-header.php
22 22 * @since 2.1.0 23 23 * @access private 24 24 */ 25 var$admin_header_callback;25 private $admin_header_callback; 26 26 27 27 /** 28 28 * Callback for header div. … … 31 31 * @since 3.0.0 32 32 * @access private 33 33 */ 34 var$admin_image_div_callback;34 private $admin_image_div_callback; 35 35 36 36 /** 37 37 * Holds default headers. … … 40 40 * @since 3.0.0 41 41 * @access private 42 42 */ 43 var$default_headers = array();43 private $default_headers = array(); 44 44 45 45 /** 46 46 * Holds custom headers uploaded by the user … … 49 49 * @since 3.2.0 50 50 * @access private 51 51 */ 52 var$uploaded_headers = array();52 private $uploaded_headers = array(); 53 53 54 54 /** 55 55 * Holds the page menu hook. … … 58 58 * @since 3.0.0 59 59 * @access private 60 60 */ 61 var$page = '';61 private $page = ''; 62 62 63 63 /** 64 64 * Constructor - Register administration header callback. -
wp-admin/custom-background.php
22 22 * @since 3.0.0 23 23 * @access private 24 24 */ 25 var$admin_header_callback;25 private $admin_header_callback; 26 26 27 27 /** 28 28 * Callback for header div. … … 31 31 * @since 3.0.0 32 32 * @access private 33 33 */ 34 var$admin_image_div_callback;34 private $admin_image_div_callback; 35 35 36 36 /** 37 37 * Holds the page menu hook. … … 40 40 * @since 3.0.0 41 41 * @access private 42 42 */ 43 var$page = '';43 private $page = ''; 44 44 45 45 /** 46 46 * Constructor - Register administration header callback.