-
diff --git wp-admin/includes/class-wp-comments-list-table.php wp-admin/includes/class-wp-comments-list-table.php
index 23f3169..8fb7ed4 100644
|
|
|
|
| 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; |
-
diff --git wp-admin/includes/class-wp-filesystem-base.php wp-admin/includes/class-wp-filesystem-base.php
index d64fe4b..84df4f5 100644
|
|
|
class WP_Filesystem_Base { |
| 16 | 16 | * Whether to display debug data for the connection. |
| 17 | 17 | * |
| 18 | 18 | * @since 2.5 |
| 19 | | * @access public |
| 20 | 19 | * @var bool |
| 21 | 20 | */ |
| 22 | | var $verbose = false; |
| | 21 | public $verbose = false; |
| 23 | 22 | /** |
| 24 | 23 | * Cached list of local filepaths to mapped remote filepaths. |
| 25 | 24 | * |
| … |
… |
class WP_Filesystem_Base { |
| 33 | 32 | * The Access method of the current connection, Set automatically. |
| 34 | 33 | * |
| 35 | 34 | * @since 2.5 |
| 36 | | * @access public |
| 37 | 35 | * @var string |
| 38 | 36 | */ |
| 39 | | var $method = ''; |
| | 37 | public $method = ''; |
| 40 | 38 | |
| 41 | 39 | /** |
| 42 | 40 | * Returns the path on the remote filesystem of ABSPATH |
-
diff --git wp-admin/includes/class-wp-filesystem-direct.php wp-admin/includes/class-wp-filesystem-direct.php
index e25c9ef..2dca173 100644
|
|
|
|
| 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 | * |
-
diff --git wp-admin/includes/class-wp-filesystem-ftpext.php wp-admin/includes/class-wp-filesystem-ftpext.php
index d087189..6b70009 100644
|
|
|
|
| 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'; |
-
diff --git wp-admin/includes/class-wp-filesystem-ftpsockets.php wp-admin/includes/class-wp-filesystem-ftpsockets.php
index 728385b..e19e925 100644
|
|
|
|
| 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'; |
-
diff --git wp-admin/includes/class-wp-filesystem-ssh2.php wp-admin/includes/class-wp-filesystem-ssh2.php
index 8ff3cb1..ffaae5e 100644
|
|
|
|
| 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'; |
-
diff --git wp-admin/includes/class-wp-ms-themes-list-table.php wp-admin/includes/class-wp-ms-themes-list-table.php
index 1d61af9..6d07486 100644
|
|
|
|
| 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; |
-
diff --git wp-admin/includes/class-wp-terms-list-table.php wp-admin/includes/class-wp-terms-list-table.php
index f44b626..3f3880c 100644
|
|
|
|
| 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; |
-
diff --git wp-admin/includes/class-wp-theme-install-list-table.php wp-admin/includes/class-wp-theme-install-list-table.php
index 8a46199..002cfca 100644
|
|
|
|
| 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' ); |
-
diff --git wp-admin/includes/class-wp-themes-list-table.php wp-admin/includes/class-wp-themes-list-table.php
index 684bd8b..61204c0 100644
|
|
|
|
| 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( |
-
diff --git wp-admin/includes/class-wp-upgrader.php wp-admin/includes/class-wp-upgrader.php
index 6c399c7..a73add3 100644
|
|
|
|
| 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 ) |
| … |
… |
class WP_Upgrader { |
| 369 | 369 | */ |
| 370 | 370 | class Plugin_Upgrader extends WP_Upgrader { |
| 371 | 371 | |
| 372 | | var $result; |
| 373 | | var $bulk = false; |
| 374 | | var $show_before = ''; |
| | 372 | public $result; |
| | 373 | public $bulk = false; |
| | 374 | public $show_before = ''; |
| 375 | 375 | |
| 376 | 376 | function upgrade_strings() { |
| 377 | 377 | $this->strings['up_to_date'] = __('The plugin is at the latest version.'); |
| … |
… |
class Plugin_Upgrader extends WP_Upgrader { |
| 650 | 650 | */ |
| 651 | 651 | class Theme_Upgrader extends WP_Upgrader { |
| 652 | 652 | |
| 653 | | var $result; |
| 654 | | var $bulk = false; |
| | 653 | public $result; |
| | 654 | public $bulk = false; |
| 655 | 655 | |
| 656 | 656 | function upgrade_strings() { |
| 657 | 657 | $this->strings['up_to_date'] = __('The theme is at the latest version.'); |
| … |
… |
class Core_Upgrader extends WP_Upgrader { |
| 1094 | 1094 | */ |
| 1095 | 1095 | class WP_Upgrader_Skin { |
| 1096 | 1096 | |
| 1097 | | var $upgrader; |
| 1098 | | var $done_header = false; |
| 1099 | | var $result = false; |
| | 1097 | public $upgrader; |
| | 1098 | public $done_header = false; |
| | 1099 | public $result = false; |
| 1100 | 1100 | |
| 1101 | 1101 | function __construct($args = array()) { |
| 1102 | 1102 | $defaults = array( 'url' => '', 'nonce' => '', 'title' => '', 'context' => false ); |
| … |
… |
class WP_Upgrader_Skin { |
| 1183 | 1183 | * @since 2.8.0 |
| 1184 | 1184 | */ |
| 1185 | 1185 | class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { |
| 1186 | | var $plugin = ''; |
| 1187 | | var $plugin_active = false; |
| 1188 | | var $plugin_network_active = false; |
| | 1186 | public $plugin = ''; |
| | 1187 | public $plugin_active = false; |
| | 1188 | public $plugin_network_active = false; |
| 1189 | 1189 | |
| 1190 | 1190 | function __construct($args = array()) { |
| 1191 | 1191 | $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') ); |
| … |
… |
class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { |
| 1233 | 1233 | * @since 3.0.0 |
| 1234 | 1234 | */ |
| 1235 | 1235 | class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 1236 | | var $in_loop = false; |
| 1237 | | var $error = false; |
| | 1236 | public $in_loop = false; |
| | 1237 | public $error = false; |
| 1238 | 1238 | |
| 1239 | 1239 | function __construct($args = array()) { |
| 1240 | 1240 | $defaults = array( 'url' => '', 'nonce' => '' ); |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 1343 | 1343 | } |
| 1344 | 1344 | |
| 1345 | 1345 | class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 1346 | | var $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in. |
| | 1346 | public $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in. |
| 1347 | 1347 | |
| 1348 | 1348 | function __construct($args = array()) { |
| 1349 | 1349 | parent::__construct($args); |
| … |
… |
class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 1377 | 1377 | } |
| 1378 | 1378 | |
| 1379 | 1379 | class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 1380 | | var $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. |
| | 1380 | public $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. |
| 1381 | 1381 | |
| 1382 | 1382 | function __construct($args = array()) { |
| 1383 | 1383 | parent::__construct($args); |
| … |
… |
class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 1421 | 1421 | * @since 2.8.0 |
| 1422 | 1422 | */ |
| 1423 | 1423 | class Plugin_Installer_Skin extends WP_Upgrader_Skin { |
| 1424 | | var $api; |
| 1425 | | var $type; |
| | 1424 | public $api; |
| | 1425 | public $type; |
| 1426 | 1426 | |
| 1427 | 1427 | function __construct($args = array()) { |
| 1428 | 1428 | $defaults = array( 'type' => 'web', 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => '' ); |
| … |
… |
class Plugin_Installer_Skin extends WP_Upgrader_Skin { |
| 1486 | 1486 | * @since 2.8.0 |
| 1487 | 1487 | */ |
| 1488 | 1488 | class Theme_Installer_Skin extends WP_Upgrader_Skin { |
| 1489 | | var $api; |
| 1490 | | var $type; |
| | 1489 | public $api; |
| | 1490 | public $type; |
| 1491 | 1491 | |
| 1492 | 1492 | function __construct($args = array()) { |
| 1493 | 1493 | $defaults = array( 'type' => 'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => '' ); |
| … |
… |
class Theme_Installer_Skin extends WP_Upgrader_Skin { |
| 1561 | 1561 | * @since 2.8.0 |
| 1562 | 1562 | */ |
| 1563 | 1563 | class Theme_Upgrader_Skin extends WP_Upgrader_Skin { |
| 1564 | | var $theme = ''; |
| | 1564 | public $theme = ''; |
| 1565 | 1565 | |
| 1566 | 1566 | function __construct($args = array()) { |
| 1567 | 1567 | $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') ); |
| … |
… |
class Theme_Upgrader_Skin extends WP_Upgrader_Skin { |
| 1624 | 1624 | * @since 2.8.0 |
| 1625 | 1625 | */ |
| 1626 | 1626 | class File_Upload_Upgrader { |
| 1627 | | var $package; |
| 1628 | | var $filename; |
| 1629 | | var $id = 0; |
| | 1627 | public $package; |
| | 1628 | public $filename; |
| | 1629 | public $id = 0; |
| 1630 | 1630 | |
| 1631 | 1631 | function __construct($form, $urlholder) { |
| 1632 | 1632 | |
-
diff --git wp-admin/includes/class-wp-users-list-table.php wp-admin/includes/class-wp-users-list-table.php
index 48c9c0c..821fd87 100644
|
|
|
|
| 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( |
-
diff --git wp-admin/includes/template.php wp-admin/includes/template.php
index d8d82a0..e8d39ad 100644
|
|
|
|
| 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 this |
| | 24 | 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); |
-
diff --git wp-includes/atomlib.php wp-includes/atomlib.php
index 4dcddc9..a011bdf 100644
|
|
|
class AtomFeed { |
| 19 | 19 | /** |
| 20 | 20 | * Stores Links |
| 21 | 21 | * @var array |
| 22 | | * @access public |
| 23 | 22 | */ |
| 24 | | var $links = array(); |
| | 23 | public $links = array(); |
| 25 | 24 | /** |
| 26 | 25 | * Stores Categories |
| 27 | 26 | * @var array |
| 28 | | * @access public |
| 29 | 27 | */ |
| 30 | | var $categories = array(); |
| | 28 | public $categories = array(); |
| 31 | 29 | /** |
| 32 | 30 | * Stores Entries |
| 33 | 31 | * |
| 34 | 32 | * @var array |
| 35 | | * @access public |
| 36 | 33 | */ |
| 37 | | var $entries = array(); |
| | 34 | public $entries = array(); |
| 38 | 35 | } |
| 39 | 36 | |
| 40 | 37 | /** |
| … |
… |
class AtomEntry { |
| 46 | 43 | /** |
| 47 | 44 | * Stores Links |
| 48 | 45 | * @var array |
| 49 | | * @access public |
| 50 | 46 | */ |
| 51 | | var $links = array(); |
| | 47 | public $links = array(); |
| 52 | 48 | /** |
| 53 | 49 | * Stores Categories |
| 54 | 50 | * @var array |
| 55 | | * @access public |
| 56 | 51 | */ |
| 57 | | var $categories = array(); |
| | 52 | public $categories = array(); |
| 58 | 53 | } |
| 59 | 54 | |
| 60 | 55 | /** |
| … |
… |
class AtomEntry { |
| 64 | 59 | */ |
| 65 | 60 | class AtomParser { |
| 66 | 61 | |
| 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'); |
| | 62 | public $NS = 'http://www.w3.org/2005/Atom'; |
| | 63 | public $ATOM_CONTENT_ELEMENTS = array('content','summary','title','subtitle','rights'); |
| | 64 | public $ATOM_SIMPLE_ELEMENTS = array('id','updated','published','draft'); |
| 70 | 65 | |
| 71 | | var $debug = false; |
| | 66 | public $debug = false; |
| 72 | 67 | |
| 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; |
| | 68 | public $depth = 0; |
| | 69 | public $indent = 2; |
| | 70 | public $in_content; |
| | 71 | public $ns_contexts = array(); |
| | 72 | public $ns_decls = array(); |
| | 73 | public $content_ns_decls = array(); |
| | 74 | public $content_ns_contexts = array(); |
| | 75 | public $is_xhtml = false; |
| | 76 | public $is_html = false; |
| | 77 | public $is_text = true; |
| | 78 | public $skipped_div = false; |
| 84 | 79 | |
| 85 | | var $FILE = "php://input"; |
| | 80 | public $FILE = "php://input"; |
| 86 | 81 | |
| 87 | | var $feed; |
| 88 | | var $current; |
| | 82 | public $feed; |
| | 83 | public $current; |
| 89 | 84 | |
| 90 | 85 | function AtomParser() { |
| 91 | 86 | |
-
diff --git wp-includes/cache.php wp-includes/cache.php
index af1c2ad..1f0bbd9 100644
|
|
|
class WP_Object_Cache { |
| 282 | 282 | * Amount of times the cache did not have the request in cache |
| 283 | 283 | * |
| 284 | 284 | * @var int |
| 285 | | * @access public |
| 286 | 285 | * @since 2.0.0 |
| 287 | 286 | */ |
| 288 | | var $cache_misses = 0; |
| | 287 | public $cache_misses = 0; |
| 289 | 288 | |
| 290 | 289 | /** |
| 291 | 290 | * List of global groups |
-
diff --git wp-includes/capabilities.php wp-includes/capabilities.php
index c3bb58f..3d6c41b 100644
|
|
|
class WP_Roles { |
| 31 | 31 | * List of roles and capabilities. |
| 32 | 32 | * |
| 33 | 33 | * @since 2.0.0 |
| 34 | | * @access public |
| 35 | 34 | * @var array |
| 36 | 35 | */ |
| 37 | | var $roles; |
| | 36 | public $roles; |
| 38 | 37 | |
| 39 | 38 | /** |
| 40 | 39 | * List of the role objects. |
| 41 | 40 | * |
| 42 | 41 | * @since 2.0.0 |
| 43 | | * @access public |
| 44 | 42 | * @var array |
| 45 | 43 | */ |
| 46 | | var $role_objects = array(); |
| | 44 | public $role_objects = array(); |
| 47 | 45 | |
| 48 | 46 | /** |
| 49 | 47 | * List of role names. |
| 50 | 48 | * |
| 51 | 49 | * @since 2.0.0 |
| 52 | | * @access public |
| 53 | 50 | * @var array |
| 54 | 51 | */ |
| 55 | | var $role_names = array(); |
| | 52 | public $role_names = array(); |
| 56 | 53 | |
| 57 | 54 | /** |
| 58 | 55 | * Option name for storing role list. |
| 59 | 56 | * |
| 60 | 57 | * @since 2.0.0 |
| 61 | | * @access public |
| 62 | 58 | * @var string |
| 63 | 59 | */ |
| 64 | | var $role_key; |
| | 60 | public $role_key; |
| 65 | 61 | |
| 66 | 62 | /** |
| 67 | 63 | * Whether to use the database for retrieval and storage. |
| 68 | 64 | * |
| 69 | 65 | * @since 2.1.0 |
| 70 | | * @access public |
| 71 | 66 | * @var bool |
| 72 | 67 | */ |
| 73 | | var $use_db = true; |
| | 68 | public $use_db = true; |
| 74 | 69 | |
| 75 | 70 | /** |
| 76 | 71 | * Constructor |
| … |
… |
class WP_Role { |
| 286 | 281 | * Role name. |
| 287 | 282 | * |
| 288 | 283 | * @since 2.0.0 |
| 289 | | * @access public |
| 290 | 284 | * @var string |
| 291 | 285 | */ |
| 292 | | var $name; |
| | 286 | public $name; |
| 293 | 287 | |
| 294 | 288 | /** |
| 295 | 289 | * List of capabilities the role contains. |
| 296 | 290 | * |
| 297 | 291 | * @since 2.0.0 |
| 298 | | * @access public |
| 299 | 292 | * @var array |
| 300 | 293 | */ |
| 301 | | var $capabilities; |
| | 294 | public $capabilities; |
| 302 | 295 | |
| 303 | 296 | /** |
| 304 | 297 | * Constructor - Set up object properties. |
| … |
… |
class WP_User { |
| 405 | 398 | * The user's ID. |
| 406 | 399 | * |
| 407 | 400 | * @since 2.1.0 |
| 408 | | * @access public |
| 409 | 401 | * @var int |
| 410 | 402 | */ |
| 411 | | var $ID = 0; |
| | 403 | public $ID = 0; |
| 412 | 404 | |
| 413 | 405 | /** |
| 414 | 406 | * The individual capabilities the user has been given. |
| 415 | 407 | * |
| 416 | 408 | * @since 2.0.0 |
| 417 | | * @access public |
| 418 | 409 | * @var array |
| 419 | 410 | */ |
| 420 | | var $caps = array(); |
| | 411 | public $caps = array(); |
| 421 | 412 | |
| 422 | 413 | /** |
| 423 | 414 | * User metadata option name. |
| 424 | 415 | * |
| 425 | 416 | * @since 2.0.0 |
| 426 | | * @access public |
| 427 | 417 | * @var string |
| 428 | 418 | */ |
| 429 | | var $cap_key; |
| | 419 | public $cap_key; |
| 430 | 420 | |
| 431 | 421 | /** |
| 432 | 422 | * The roles the user is part of. |
| 433 | 423 | * |
| 434 | 424 | * @since 2.0.0 |
| 435 | | * @access public |
| 436 | 425 | * @var array |
| 437 | 426 | */ |
| 438 | | var $roles = array(); |
| | 427 | public $roles = array(); |
| 439 | 428 | |
| 440 | 429 | /** |
| 441 | 430 | * All capabilities the user has, including individual and role based. |
| 442 | 431 | * |
| 443 | 432 | * @since 2.0.0 |
| 444 | | * @access public |
| 445 | 433 | * @var array |
| 446 | 434 | */ |
| 447 | | var $allcaps = array(); |
| | 435 | public $allcaps = array(); |
| 448 | 436 | |
| 449 | 437 | /** |
| 450 | 438 | * The filter context applied to user data fields. |
-
diff --git wp-includes/category-template.php wp-includes/category-template.php
index 96a61cf..c03161a 100644
|
|
|
class Walker_CategoryDropdown extends Walker { |
| 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 |
| … |
… |
class Walker_CategoryDropdown extends Walker { |
| 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() |
-
diff --git wp-includes/class-feed.php wp-includes/class-feed.php
index bdad84d..dc18d31 100644
|
|
|
class WP_Feed_Cache extends SimplePie_Cache { |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | class 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 |
| 22 | 22 | |
| 23 | 23 | function __construct($location, $filename, $extension) { |
| 24 | 24 | $this->name = 'feed_' . $filename; |
-
diff --git wp-includes/class-http.php wp-includes/class-http.php
index 12e73bb..90231c0 100644
|
|
|
class WP_Http_Cookie { |
| 1613 | 1613 | * @since 2.8.0 |
| 1614 | 1614 | * @var string |
| 1615 | 1615 | */ |
| 1616 | | var $name; |
| | 1616 | public $name; |
| 1617 | 1617 | |
| 1618 | 1618 | /** |
| 1619 | 1619 | * Cookie value. |
| … |
… |
class WP_Http_Cookie { |
| 1621 | 1621 | * @since 2.8.0 |
| 1622 | 1622 | * @var string |
| 1623 | 1623 | */ |
| 1624 | | var $value; |
| | 1624 | public $value; |
| 1625 | 1625 | |
| 1626 | 1626 | /** |
| 1627 | 1627 | * When the cookie expires. |
| … |
… |
class WP_Http_Cookie { |
| 1629 | 1629 | * @since 2.8.0 |
| 1630 | 1630 | * @var string |
| 1631 | 1631 | */ |
| 1632 | | var $expires; |
| | 1632 | public $expires; |
| 1633 | 1633 | |
| 1634 | 1634 | /** |
| 1635 | 1635 | * Cookie URL path. |
| … |
… |
class WP_Http_Cookie { |
| 1637 | 1637 | * @since 2.8.0 |
| 1638 | 1638 | * @var string |
| 1639 | 1639 | */ |
| 1640 | | var $path; |
| | 1640 | public $path; |
| 1641 | 1641 | |
| 1642 | 1642 | /** |
| 1643 | 1643 | * Cookie Domain. |
| … |
… |
class WP_Http_Cookie { |
| 1645 | 1645 | * @since 2.8.0 |
| 1646 | 1646 | * @var string |
| 1647 | 1647 | */ |
| 1648 | | var $domain; |
| | 1648 | public $domain; |
| 1649 | 1649 | |
| 1650 | 1650 | /** |
| 1651 | 1651 | * Sets up this cookie object. |
-
diff --git wp-includes/class-oembed.php wp-includes/class-oembed.php
index a880448..c70f0a8 100644
|
|
|
|
| 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 |
-
diff --git wp-includes/class-wp-embed.php wp-includes/class-wp-embed.php
index c538184..7adebff 100644
|
|
|
|
| 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 |
-
diff --git wp-includes/class-wp-walker.php wp-includes/class-wp-walker.php
index 655e7f4..7f15000 100644
|
|
|
class Walker { |
| 18 | 18 | * |
| 19 | 19 | * @since 2.1.0 |
| 20 | 20 | * @var string |
| 21 | | * @access public |
| 22 | 21 | */ |
| 23 | | var $tree_type; |
| | 22 | public $tree_type; |
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * DB fields to use. |
-
diff --git wp-includes/class-wp.php wp-includes/class-wp.php
index dc77688..6651700 100644
|
|
|
class WP { |
| 12 | 12 | * Long list of public query variables. |
| 13 | 13 | * |
| 14 | 14 | * @since 2.0.0 |
| 15 | | * @access public |
| 16 | 15 | * @var array |
| 17 | 16 | */ |
| 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'); |
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * Private query variables. |
| … |
… |
class WP { |
| 25 | 24 | * @since 2.0.0 |
| 26 | 25 | * @var array |
| 27 | 26 | */ |
| 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', 'post_parent__in', 'post_parent__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', 'post_parent__in', 'post_parent__not_in' ); |
| 29 | 28 | |
| 30 | 29 | /** |
| 31 | 30 | * Extra query variables set by the user. |
| … |
… |
class WP { |
| 33 | 32 | * @since 2.1.0 |
| 34 | 33 | * @var array |
| 35 | 34 | */ |
| 36 | | var $extra_query_vars = array(); |
| | 35 | public $extra_query_vars = array(); |
| 37 | 36 | |
| 38 | 37 | /** |
| 39 | 38 | * Query variables for setting up the WordPress Query Loop. |
| … |
… |
class WP { |
| 41 | 40 | * @since 2.0.0 |
| 42 | 41 | * @var array |
| 43 | 42 | */ |
| 44 | | var $query_vars; |
| | 43 | public $query_vars; |
| 45 | 44 | |
| 46 | 45 | /** |
| 47 | 46 | * String parsed to set the query variables. |
| … |
… |
class WP { |
| 49 | 48 | * @since 2.0.0 |
| 50 | 49 | * @var string |
| 51 | 50 | */ |
| 52 | | var $query_string; |
| | 51 | public $query_string; |
| 53 | 52 | |
| 54 | 53 | /** |
| 55 | 54 | * Permalink or requested URI. |
| … |
… |
class WP { |
| 57 | 56 | * @since 2.0.0 |
| 58 | 57 | * @var string |
| 59 | 58 | */ |
| 60 | | var $request; |
| | 59 | public $request; |
| 61 | 60 | |
| 62 | 61 | /** |
| 63 | 62 | * Rewrite rule the request matched. |
| … |
… |
class WP { |
| 65 | 64 | * @since 2.0.0 |
| 66 | 65 | * @var string |
| 67 | 66 | */ |
| 68 | | var $matched_rule; |
| | 67 | public $matched_rule; |
| 69 | 68 | |
| 70 | 69 | /** |
| 71 | 70 | * Rewrite query the request matched. |
| … |
… |
class WP { |
| 73 | 72 | * @since 2.0.0 |
| 74 | 73 | * @var string |
| 75 | 74 | */ |
| 76 | | var $matched_query; |
| | 75 | public $matched_query; |
| 77 | 76 | |
| 78 | 77 | /** |
| 79 | 78 | * Whether already did the permalink. |
| … |
… |
class WP { |
| 81 | 80 | * @since 2.0.0 |
| 82 | 81 | * @var bool |
| 83 | 82 | */ |
| 84 | | var $did_permalink = false; |
| | 83 | public $did_permalink = false; |
| 85 | 84 | |
| 86 | 85 | /** |
| 87 | 86 | * Add name to list of public query variables. |
| … |
… |
class WP_MatchesMapRegex { |
| 574 | 573 | * @access public |
| 575 | 574 | * @var string |
| 576 | 575 | */ |
| 577 | | var $output; |
| | 576 | public $output; |
| 578 | 577 | |
| 579 | 578 | /** |
| 580 | 579 | * subject to perform mapping on (query string containing $matches[] references |
| … |
… |
class WP_MatchesMapRegex { |
| 589 | 588 | * |
| 590 | 589 | * @var string |
| 591 | 590 | */ |
| 592 | | var $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number |
| | 591 | public $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number |
| 593 | 592 | |
| 594 | 593 | /** |
| 595 | 594 | * constructor |
-
diff --git wp-includes/class.wp-dependencies.php wp-includes/class.wp-dependencies.php
index eb075c8..7c7a06d 100644
|
|
|
|
| 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 |
| … |
… |
class WP_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(); |
-
diff --git wp-includes/class.wp-scripts.php wp-includes/class.wp-scripts.php
index 38f3f9f..76c1c0d 100644
|
|
|
|
| 17 | 17 | * @since r16 |
| 18 | 18 | */ |
| 19 | 19 | class 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; |
| 32 | 32 | |
| 33 | 33 | function __construct() { |
| 34 | 34 | $this->init(); |
-
diff --git wp-includes/class.wp-styles.php wp-includes/class.wp-styles.php
index b1241b3..fc8ac2c 100644
|
|
|
|
| 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) ); |
-
diff --git wp-includes/comment-template.php wp-includes/comment-template.php
index 9a09d28..a6c58d0 100644
|
|
|
class Walker_Comment extends Walker { |
| 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() |
-
diff --git wp-includes/comment.php wp-includes/comment.php
index 4d4c9bc..4558884 100644
|
|
|
class WP_Comment_Query { |
| 194 | 194 | * Metadata query container |
| 195 | 195 | * |
| 196 | 196 | * @since 3.5.0 |
| 197 | | * @access public |
| 198 | 197 | * @var object WP_Meta_Query |
| 199 | 198 | */ |
| 200 | | var $meta_query = false; |
| | 199 | public $meta_query = false; |
| 201 | 200 | |
| 202 | 201 | /** |
| 203 | 202 | * Execute the query |
-
diff --git wp-includes/nav-menu-template.php wp-includes/nav-menu-template.php
index 0ac14c3..68acc89 100644
|
|
|
class Walker_Nav_Menu extends Walker { |
| 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 |
| … |
… |
class Walker_Nav_Menu extends Walker { |
| 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() |
-
diff --git wp-includes/pomo/entry.php wp-includes/pomo/entry.php
index 097e92c..6b685ef 100644
|
|
|
class Translation_Entry { |
| 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: |
-
diff --git wp-includes/pomo/mo.php wp-includes/pomo/mo.php
index 68c0792..ee2bf19 100644
|
|
|
require_once dirname(__FILE__) . '/streams.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 |
-
diff --git wp-includes/pomo/po.php wp-includes/pomo/po.php
index f76be01..67dcede 100644
|
|
|
ini_set('auto_detect_line_endings', 1); |
| 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 |
-
diff --git wp-includes/pomo/streams.php wp-includes/pomo/streams.php
index dbb1de8..c85d3e7 100644
|
|
|
|
| 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'); |
| … |
… |
if ( !class_exists( 'POMO_StringReader' ) ): |
| 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(); |
-
diff --git wp-includes/pomo/translations.php wp-includes/pomo/translations.php
index 106b6da..fed3c02 100644
|
|
|
require_once dirname(__FILE__) . '/entry.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 |
| … |
… |
if ( !class_exists( 'NOOP_Translations' ) ): |
| 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; |
-
diff --git wp-includes/post-template.php wp-includes/post-template.php
index 06d259e..440b287 100644
|
|
|
class Walker_Page extends Walker { |
| 988 | 988 | * @since 2.1.0 |
| 989 | 989 | * @var string |
| 990 | 990 | */ |
| 991 | | var $tree_type = 'page'; |
| | 991 | public $tree_type = 'page'; |
| 992 | 992 | |
| 993 | 993 | /** |
| 994 | 994 | * @see Walker::$db_fields |
| … |
… |
class Walker_Page extends Walker { |
| 996 | 996 | * @todo Decouple this. |
| 997 | 997 | * @var array |
| 998 | 998 | */ |
| 999 | | var $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); |
| | 999 | public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); |
| 1000 | 1000 | |
| 1001 | 1001 | /** |
| 1002 | 1002 | * @see Walker::start_lvl() |
| … |
… |
class Walker_PageDropdown extends Walker { |
| 1099 | 1099 | * @since 2.1.0 |
| 1100 | 1100 | * @var string |
| 1101 | 1101 | */ |
| 1102 | | var $tree_type = 'page'; |
| | 1102 | public $tree_type = 'page'; |
| 1103 | 1103 | |
| 1104 | 1104 | /** |
| 1105 | 1105 | * @see Walker::$db_fields |
| … |
… |
class Walker_PageDropdown extends Walker { |
| 1107 | 1107 | * @todo Decouple this |
| 1108 | 1108 | * @var array |
| 1109 | 1109 | */ |
| 1110 | | var $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); |
| | 1110 | public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); |
| 1111 | 1111 | |
| 1112 | 1112 | /** |
| 1113 | 1113 | * @see Walker::start_el() |
-
diff --git wp-includes/query.php wp-includes/query.php
index 04286aa..ccd5816 100644
|
|
|
class WP_Query { |
| 834 | 834 | * Query vars set by the user |
| 835 | 835 | * |
| 836 | 836 | * @since 1.5.0 |
| 837 | | * @access public |
| 838 | 837 | * @var array |
| 839 | 838 | */ |
| 840 | | var $query; |
| | 839 | public $query; |
| 841 | 840 | |
| 842 | 841 | /** |
| 843 | 842 | * Query vars, after parsing |
| 844 | 843 | * |
| 845 | 844 | * @since 1.5.0 |
| 846 | | * @access public |
| 847 | 845 | * @var array |
| 848 | 846 | */ |
| 849 | | var $query_vars = array(); |
| | 847 | public $query_vars = array(); |
| 850 | 848 | |
| 851 | 849 | /** |
| 852 | 850 | * Taxonomy query, as passed to get_tax_sql() |
| 853 | 851 | * |
| 854 | 852 | * @since 3.1.0 |
| 855 | | * @access public |
| 856 | 853 | * @var object WP_Tax_Query |
| 857 | 854 | */ |
| 858 | | var $tax_query; |
| | 855 | public $tax_query; |
| 859 | 856 | |
| 860 | 857 | /** |
| 861 | 858 | * Metadata query container |
| 862 | 859 | * |
| 863 | 860 | * @since 3.2.0 |
| 864 | | * @access public |
| 865 | 861 | * @var object WP_Meta_Query |
| 866 | 862 | */ |
| 867 | | var $meta_query = false; |
| | 863 | public $meta_query = false; |
| 868 | 864 | |
| 869 | 865 | /** |
| 870 | 866 | * Holds the data for a single object that is queried. |
| … |
… |
class WP_Query { |
| 872 | 868 | * Holds the contents of a post, page, category, attachment. |
| 873 | 869 | * |
| 874 | 870 | * @since 1.5.0 |
| 875 | | * @access public |
| 876 | 871 | * @var object|array |
| 877 | 872 | */ |
| 878 | | var $queried_object; |
| | 873 | public $queried_object; |
| 879 | 874 | |
| 880 | 875 | /** |
| 881 | 876 | * The ID of the queried object. |
| 882 | 877 | * |
| 883 | 878 | * @since 1.5.0 |
| 884 | | * @access public |
| 885 | 879 | * @var int |
| 886 | 880 | */ |
| 887 | | var $queried_object_id; |
| | 881 | public $queried_object_id; |
| 888 | 882 | |
| 889 | 883 | /** |
| 890 | 884 | * Get post database query. |
| 891 | 885 | * |
| 892 | 886 | * @since 2.0.1 |
| 893 | | * @access public |
| 894 | 887 | * @var string |
| 895 | 888 | */ |
| 896 | | var $request; |
| | 889 | public $request; |
| 897 | 890 | |
| 898 | 891 | /** |
| 899 | 892 | * List of posts. |
| 900 | 893 | * |
| 901 | 894 | * @since 1.5.0 |
| 902 | | * @access public |
| 903 | 895 | * @var array |
| 904 | 896 | */ |
| 905 | | var $posts; |
| | 897 | public $posts; |
| 906 | 898 | |
| 907 | 899 | /** |
| 908 | 900 | * The amount of posts for the current query. |
| 909 | 901 | * |
| 910 | 902 | * @since 1.5.0 |
| 911 | | * @access public |
| 912 | 903 | * @var int |
| 913 | 904 | */ |
| 914 | | var $post_count = 0; |
| | 905 | public $post_count = 0; |
| 915 | 906 | |
| 916 | 907 | /** |
| 917 | 908 | * Index of the current item in the loop. |
| 918 | 909 | * |
| 919 | 910 | * @since 1.5.0 |
| 920 | | * @access public |
| 921 | 911 | * @var int |
| 922 | 912 | */ |
| 923 | | var $current_post = -1; |
| | 913 | public $current_post = -1; |
| 924 | 914 | |
| 925 | 915 | /** |
| 926 | 916 | * Whether the loop has started and the caller is in the loop. |
| 927 | 917 | * |
| 928 | 918 | * @since 2.0.0 |
| 929 | | * @access public |
| 930 | 919 | * @var bool |
| 931 | 920 | */ |
| 932 | | var $in_the_loop = false; |
| | 921 | public $in_the_loop = false; |
| 933 | 922 | |
| 934 | 923 | /** |
| 935 | 924 | * The current post ID. |
| 936 | 925 | * |
| 937 | 926 | * @since 1.5.0 |
| 938 | | * @access public |
| 939 | 927 | * @var object |
| 940 | 928 | */ |
| 941 | | var $post; |
| | 929 | public $post; |
| 942 | 930 | |
| 943 | 931 | /** |
| 944 | 932 | * The list of comments for current post. |
| 945 | 933 | * |
| 946 | 934 | * @since 2.2.0 |
| 947 | | * @access public |
| 948 | 935 | * @var array |
| 949 | 936 | */ |
| 950 | | var $comments; |
| | 937 | public $comments; |
| 951 | 938 | |
| 952 | 939 | /** |
| 953 | 940 | * The amount of comments for the posts. |
| 954 | 941 | * |
| 955 | 942 | * @since 2.2.0 |
| 956 | | * @access public |
| 957 | 943 | * @var int |
| 958 | 944 | */ |
| 959 | | var $comment_count = 0; |
| | 945 | public $comment_count = 0; |
| 960 | 946 | |
| 961 | 947 | /** |
| 962 | 948 | * The index of the comment in the comment loop. |
| 963 | 949 | * |
| 964 | 950 | * @since 2.2.0 |
| 965 | | * @access public |
| 966 | 951 | * @var int |
| 967 | 952 | */ |
| 968 | | var $current_comment = -1; |
| | 953 | public $current_comment = -1; |
| 969 | 954 | |
| 970 | 955 | /** |
| 971 | 956 | * Current comment ID. |
| 972 | 957 | * |
| 973 | 958 | * @since 2.2.0 |
| 974 | | * @access public |
| 975 | 959 | * @var int |
| 976 | 960 | */ |
| 977 | | var $comment; |
| | 961 | public $comment; |
| 978 | 962 | |
| 979 | 963 | /** |
| 980 | 964 | * The amount of found posts for the current query. |
| … |
… |
class WP_Query { |
| 982 | 966 | * If limit clause was not used, equals $post_count. |
| 983 | 967 | * |
| 984 | 968 | * @since 2.1.0 |
| 985 | | * @access public |
| 986 | 969 | * @var int |
| 987 | 970 | */ |
| 988 | | var $found_posts = 0; |
| | 971 | public $found_posts = 0; |
| 989 | 972 | |
| 990 | 973 | /** |
| 991 | 974 | * The amount of pages. |
| 992 | 975 | * |
| 993 | 976 | * @since 2.1.0 |
| 994 | | * @access public |
| 995 | 977 | * @var int |
| 996 | 978 | */ |
| 997 | | var $max_num_pages = 0; |
| | 979 | public $max_num_pages = 0; |
| 998 | 980 | |
| 999 | 981 | /** |
| 1000 | 982 | * The amount of comment pages. |
| … |
… |
class WP_Query { |
| 1003 | 985 | * @access public |
| 1004 | 986 | * @var int |
| 1005 | 987 | */ |
| 1006 | | var $max_num_comment_pages = 0; |
| | 988 | public $max_num_comment_pages = 0; |
| 1007 | 989 | |
| 1008 | 990 | /** |
| 1009 | 991 | * Set if query is single post. |
| 1010 | 992 | * |
| 1011 | 993 | * @since 1.5.0 |
| 1012 | | * @access public |
| 1013 | 994 | * @var bool |
| 1014 | 995 | */ |
| 1015 | | var $is_single = false; |
| | 996 | public $is_single = false; |
| 1016 | 997 | |
| 1017 | 998 | /** |
| 1018 | 999 | * Set if query is preview of blog. |
| 1019 | 1000 | * |
| 1020 | 1001 | * @since 2.0.0 |
| 1021 | | * @access public |
| 1022 | 1002 | * @var bool |
| 1023 | 1003 | */ |
| 1024 | | var $is_preview = false; |
| | 1004 | public $is_preview = false; |
| 1025 | 1005 | |
| 1026 | 1006 | /** |
| 1027 | 1007 | * Set if query returns a page. |
| 1028 | 1008 | * |
| 1029 | 1009 | * @since 1.5.0 |
| 1030 | | * @access public |
| 1031 | 1010 | * @var bool |
| 1032 | 1011 | */ |
| 1033 | | var $is_page = false; |
| | 1012 | public $is_page = false; |
| 1034 | 1013 | |
| 1035 | 1014 | /** |
| 1036 | 1015 | * Set if query is an archive list. |
| 1037 | 1016 | * |
| 1038 | 1017 | * @since 1.5.0 |
| 1039 | | * @access public |
| 1040 | 1018 | * @var bool |
| 1041 | 1019 | */ |
| 1042 | | var $is_archive = false; |
| | 1020 | public $is_archive = false; |
| 1043 | 1021 | |
| 1044 | 1022 | /** |
| 1045 | 1023 | * Set if query is part of a date. |
| 1046 | 1024 | * |
| 1047 | 1025 | * @since 1.5.0 |
| 1048 | | * @access public |
| 1049 | 1026 | * @var bool |
| 1050 | 1027 | */ |
| 1051 | | var $is_date = false; |
| | 1028 | public $is_date = false; |
| 1052 | 1029 | |
| 1053 | 1030 | /** |
| 1054 | 1031 | * Set if query contains a year. |
| 1055 | 1032 | * |
| 1056 | 1033 | * @since 1.5.0 |
| 1057 | | * @access public |
| 1058 | 1034 | * @var bool |
| 1059 | 1035 | */ |
| 1060 | | var $is_year = false; |
| | 1036 | public $is_year = false; |
| 1061 | 1037 | |
| 1062 | 1038 | /** |
| 1063 | 1039 | * Set if query contains a month. |
| 1064 | 1040 | * |
| 1065 | 1041 | * @since 1.5.0 |
| 1066 | | * @access public |
| 1067 | 1042 | * @var bool |
| 1068 | 1043 | */ |
| 1069 | | var $is_month = false; |
| | 1044 | public $is_month = false; |
| 1070 | 1045 | |
| 1071 | 1046 | /** |
| 1072 | 1047 | * Set if query contains a day. |
| 1073 | 1048 | * |
| 1074 | 1049 | * @since 1.5.0 |
| 1075 | | * @access public |
| 1076 | 1050 | * @var bool |
| 1077 | 1051 | */ |
| 1078 | | var $is_day = false; |
| | 1052 | public $is_day = false; |
| 1079 | 1053 | |
| 1080 | 1054 | /** |
| 1081 | 1055 | * Set if query contains time. |
| 1082 | 1056 | * |
| 1083 | 1057 | * @since 1.5.0 |
| 1084 | | * @access public |
| 1085 | 1058 | * @var bool |
| 1086 | 1059 | */ |
| 1087 | | var $is_time = false; |
| | 1060 | public $is_time = false; |
| 1088 | 1061 | |
| 1089 | 1062 | /** |
| 1090 | 1063 | * Set if query contains an author. |
| 1091 | 1064 | * |
| 1092 | 1065 | * @since 1.5.0 |
| 1093 | | * @access public |
| 1094 | 1066 | * @var bool |
| 1095 | 1067 | */ |
| 1096 | | var $is_author = false; |
| | 1068 | public $is_author = false; |
| 1097 | 1069 | |
| 1098 | 1070 | /** |
| 1099 | 1071 | * Set if query contains category. |
| 1100 | 1072 | * |
| 1101 | 1073 | * @since 1.5.0 |
| 1102 | | * @access public |
| 1103 | 1074 | * @var bool |
| 1104 | 1075 | */ |
| 1105 | | var $is_category = false; |
| | 1076 | public $is_category = false; |
| 1106 | 1077 | |
| 1107 | 1078 | /** |
| 1108 | 1079 | * Set if query contains tag. |
| 1109 | 1080 | * |
| 1110 | 1081 | * @since 2.3.0 |
| 1111 | | * @access public |
| 1112 | 1082 | * @var bool |
| 1113 | 1083 | */ |
| 1114 | | var $is_tag = false; |
| | 1084 | public $is_tag = false; |
| 1115 | 1085 | |
| 1116 | 1086 | /** |
| 1117 | 1087 | * Set if query contains taxonomy. |
| 1118 | 1088 | * |
| 1119 | 1089 | * @since 2.5.0 |
| 1120 | | * @access public |
| 1121 | 1090 | * @var bool |
| 1122 | 1091 | */ |
| 1123 | | var $is_tax = false; |
| | 1092 | public $is_tax = false; |
| 1124 | 1093 | |
| 1125 | 1094 | /** |
| 1126 | 1095 | * Set if query was part of a search result. |
| 1127 | 1096 | * |
| 1128 | 1097 | * @since 1.5.0 |
| 1129 | | * @access public |
| 1130 | 1098 | * @var bool |
| 1131 | 1099 | */ |
| 1132 | | var $is_search = false; |
| | 1100 | public $is_search = false; |
| 1133 | 1101 | |
| 1134 | 1102 | /** |
| 1135 | 1103 | * Set if query is feed display. |
| 1136 | 1104 | * |
| 1137 | 1105 | * @since 1.5.0 |
| 1138 | | * @access public |
| 1139 | 1106 | * @var bool |
| 1140 | 1107 | */ |
| 1141 | | var $is_feed = false; |
| | 1108 | public $is_feed = false; |
| 1142 | 1109 | |
| 1143 | 1110 | /** |
| 1144 | 1111 | * Set if query is comment feed display. |
| 1145 | 1112 | * |
| 1146 | 1113 | * @since 2.2.0 |
| 1147 | | * @access public |
| 1148 | 1114 | * @var bool |
| 1149 | 1115 | */ |
| 1150 | | var $is_comment_feed = false; |
| | 1116 | public $is_comment_feed = false; |
| 1151 | 1117 | |
| 1152 | 1118 | /** |
| 1153 | 1119 | * Set if query is trackback. |
| 1154 | 1120 | * |
| 1155 | 1121 | * @since 1.5.0 |
| 1156 | | * @access public |
| 1157 | 1122 | * @var bool |
| 1158 | 1123 | */ |
| 1159 | | var $is_trackback = false; |
| | 1124 | public $is_trackback = false; |
| 1160 | 1125 | |
| 1161 | 1126 | /** |
| 1162 | 1127 | * Set if query is blog homepage. |
| 1163 | 1128 | * |
| 1164 | 1129 | * @since 1.5.0 |
| 1165 | | * @access public |
| 1166 | 1130 | * @var bool |
| 1167 | 1131 | */ |
| 1168 | | var $is_home = false; |
| | 1132 | public $is_home = false; |
| 1169 | 1133 | |
| 1170 | 1134 | /** |
| 1171 | 1135 | * Set if query couldn't found anything. |
| 1172 | 1136 | * |
| 1173 | 1137 | * @since 1.5.0 |
| 1174 | | * @access public |
| 1175 | 1138 | * @var bool |
| 1176 | 1139 | */ |
| 1177 | | var $is_404 = false; |
| | 1140 | public $is_404 = false; |
| 1178 | 1141 | |
| 1179 | 1142 | /** |
| 1180 | 1143 | * Set if query is within comments popup window. |
| 1181 | 1144 | * |
| 1182 | 1145 | * @since 1.5.0 |
| 1183 | | * @access public |
| 1184 | 1146 | * @var bool |
| 1185 | 1147 | */ |
| 1186 | | var $is_comments_popup = false; |
| | 1148 | public $is_comments_popup = false; |
| 1187 | 1149 | |
| 1188 | 1150 | /** |
| 1189 | 1151 | * Set if query is paged |
| 1190 | 1152 | * |
| 1191 | 1153 | * @since 1.5.0 |
| 1192 | | * @access public |
| 1193 | 1154 | * @var bool |
| 1194 | 1155 | */ |
| 1195 | | var $is_paged = false; |
| | 1156 | public $is_paged = false; |
| 1196 | 1157 | |
| 1197 | 1158 | /** |
| 1198 | 1159 | * Set if query is part of administration page. |
| 1199 | 1160 | * |
| 1200 | 1161 | * @since 1.5.0 |
| 1201 | | * @access public |
| 1202 | 1162 | * @var bool |
| 1203 | 1163 | */ |
| 1204 | | var $is_admin = false; |
| | 1164 | public $is_admin = false; |
| 1205 | 1165 | |
| 1206 | 1166 | /** |
| 1207 | 1167 | * Set if query is an attachment. |
| 1208 | 1168 | * |
| 1209 | 1169 | * @since 2.0.0 |
| 1210 | | * @access public |
| 1211 | 1170 | * @var bool |
| 1212 | 1171 | */ |
| 1213 | | var $is_attachment = false; |
| | 1172 | public $is_attachment = false; |
| 1214 | 1173 | |
| 1215 | 1174 | /** |
| 1216 | 1175 | * Set if is single, is a page, or is an attachment. |
| 1217 | 1176 | * |
| 1218 | 1177 | * @since 2.1.0 |
| 1219 | | * @access public |
| 1220 | 1178 | * @var bool |
| 1221 | 1179 | */ |
| 1222 | | var $is_singular = false; |
| | 1180 | public $is_singular = false; |
| 1223 | 1181 | |
| 1224 | 1182 | /** |
| 1225 | 1183 | * Set if query is for robots. |
| 1226 | 1184 | * |
| 1227 | 1185 | * @since 2.1.0 |
| 1228 | | * @access public |
| 1229 | 1186 | * @var bool |
| 1230 | 1187 | */ |
| 1231 | | var $is_robots = false; |
| | 1188 | public $is_robots = false; |
| 1232 | 1189 | |
| 1233 | 1190 | /** |
| 1234 | 1191 | * Set if query contains posts. |
| … |
… |
class WP_Query { |
| 1236 | 1193 | * Basically, the homepage if the option isn't set for the static homepage. |
| 1237 | 1194 | * |
| 1238 | 1195 | * @since 2.1.0 |
| 1239 | | * @access public |
| 1240 | 1196 | * @var bool |
| 1241 | 1197 | */ |
| 1242 | | var $is_posts_page = false; |
| | 1198 | public $is_posts_page = false; |
| 1243 | 1199 | |
| 1244 | 1200 | /** |
| 1245 | 1201 | * Set if query is for a post type archive. |
| 1246 | 1202 | * |
| 1247 | 1203 | * @since 3.1.0 |
| 1248 | | * @access public |
| 1249 | 1204 | * @var bool |
| 1250 | 1205 | */ |
| 1251 | | var $is_post_type_archive = false; |
| | 1206 | public $is_post_type_archive = false; |
| 1252 | 1207 | |
| 1253 | 1208 | /** |
| 1254 | 1209 | * Stores the ->query_vars state like md5(serialize( $this->query_vars ) ) so we know |
| … |
… |
class WP_Query { |
| 1272 | 1227 | * Set if post thumbnails are cached |
| 1273 | 1228 | * |
| 1274 | 1229 | * @since 3.2.0 |
| 1275 | | * @access public |
| 1276 | 1230 | * @var bool |
| 1277 | 1231 | */ |
| 1278 | | var $thumbnails_cached = false; |
| | 1232 | public $thumbnails_cached = false; |
| 1279 | 1233 | |
| 1280 | 1234 | /** |
| 1281 | 1235 | * Resets query flags to false. |
-
diff --git wp-includes/rewrite.php wp-includes/rewrite.php
index e2dbc80..f232907 100644
|
|
|
class WP_Rewrite { |
| 549 | 549 | * The name of the index file which is the entry point to all requests. |
| 550 | 550 | * |
| 551 | 551 | * @since 1.5.0 |
| 552 | | * @access public |
| 553 | 552 | * @var string |
| 554 | 553 | */ |
| 555 | | var $index = 'index.php'; |
| | 554 | public $index = 'index.php'; |
| 556 | 555 | |
| 557 | 556 | /** |
| 558 | 557 | * Variable name to use for regex matches in the rewritten query. |
| … |
… |
class WP_Rewrite { |
| 632 | 631 | * |
| 633 | 632 | * @see WP_Rewrite::mod_rewrite_rules() |
| 634 | 633 | * @since 2.0.0 |
| 635 | | * @access public |
| 636 | 634 | * @var bool |
| 637 | 635 | */ |
| 638 | | var $use_verbose_rules = false; |
| | 636 | public $use_verbose_rules = false; |
| 639 | 637 | |
| 640 | 638 | /** |
| 641 | 639 | * Could post permalinks be confused with those of pages? |
| … |
… |
class WP_Rewrite { |
| 650 | 648 | * @link http://core.trac.wordpress.org/ticket/16687 |
| 651 | 649 | * @see WP_Rewrite::init() |
| 652 | 650 | * @since 2.5.0 |
| 653 | | * @access public |
| 654 | 651 | * @var bool |
| 655 | 652 | */ |
| 656 | | var $use_verbose_page_rules = true; |
| | 653 | public $use_verbose_page_rules = true; |
| 657 | 654 | |
| 658 | 655 | /** |
| 659 | 656 | * Rewrite tags that can be used in permalink structures. |
-
diff --git wp-includes/user.php wp-includes/user.php
index be11b73..a64bda1 100644
|
|
|
class WP_User_Query { |
| 319 | 319 | * Query vars, after parsing |
| 320 | 320 | * |
| 321 | 321 | * @since 3.5.0 |
| 322 | | * @access public |
| 323 | 322 | * @var array |
| 324 | 323 | */ |
| 325 | | var $query_vars = array(); |
| | 324 | public $query_vars = array(); |
| 326 | 325 | |
| 327 | 326 | /** |
| 328 | 327 | * List of found user ids |
| … |
… |
class WP_User_Query { |
| 343 | 342 | var $total_users = 0; |
| 344 | 343 | |
| 345 | 344 | // SQL clauses |
| 346 | | var $query_fields; |
| 347 | | var $query_from; |
| 348 | | var $query_where; |
| 349 | | var $query_orderby; |
| 350 | | var $query_limit; |
| | 345 | public $query_fields; |
| | 346 | public $query_from; |
| | 347 | public $query_where; |
| | 348 | public $query_orderby; |
| | 349 | public $query_limit; |
| 351 | 350 | |
| 352 | 351 | /** |
| 353 | 352 | * PHP5 constructor |
-
diff --git wp-includes/widgets.php wp-includes/widgets.php
index d6f213a..d264048 100644
|
|
|
|
| 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 | |
| … |
… |
class WP_Widget { |
| 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 ); |
-
diff --git wp-includes/wp-db.php wp-includes/wp-db.php
index 2398002..a10ebc8 100644
|
|
|
class wpdb { |
| 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 |
| … |
… |
class wpdb { |
| 107 | 107 | * The ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT). |
| 108 | 108 | * |
| 109 | 109 | * @since 0.71 |
| 110 | | * @access public |
| 111 | 110 | * @var int |
| 112 | 111 | */ |
| 113 | | var $insert_id = 0; |
| | 112 | public $insert_id = 0; |
| 114 | 113 | |
| 115 | 114 | /** |
| 116 | 115 | * Last query made |
| … |
… |
class wpdb { |
| 186 | 185 | * @access public |
| 187 | 186 | * @var int |
| 188 | 187 | */ |
| 189 | | var $blogid = 0; |
| | 188 | public $blogid = 0; |
| 190 | 189 | |
| 191 | 190 | /** |
| 192 | 191 | * {@internal Missing Description}} |
| … |
… |
class wpdb { |
| 195 | 194 | * @access public |
| 196 | 195 | * @var int |
| 197 | 196 | */ |
| 198 | | var $siteid = 0; |
| | 197 | public $siteid = 0; |
| 199 | 198 | |
| 200 | 199 | /** |
| 201 | 200 | * List of WordPress per-blog tables |
| … |
… |
class wpdb { |
| 245 | 244 | * WordPress Comments table |
| 246 | 245 | * |
| 247 | 246 | * @since 1.5.0 |
| 248 | | * @access public |
| 249 | 247 | * @var string |
| 250 | 248 | */ |
| 251 | | var $comments; |
| | 249 | public $comments; |
| 252 | 250 | |
| 253 | 251 | /** |
| 254 | 252 | * WordPress Comment Metadata table |
| 255 | 253 | * |
| 256 | 254 | * @since 2.9.0 |
| 257 | | * @access public |
| 258 | 255 | * @var string |
| 259 | 256 | */ |
| 260 | | var $commentmeta; |
| | 257 | public $commentmeta; |
| 261 | 258 | |
| 262 | 259 | /** |
| 263 | 260 | * WordPress Links table |
| 264 | 261 | * |
| 265 | 262 | * @since 1.5.0 |
| 266 | | * @access public |
| 267 | 263 | * @var string |
| 268 | 264 | */ |
| 269 | | var $links; |
| | 265 | public $links; |
| 270 | 266 | |
| 271 | 267 | /** |
| 272 | 268 | * WordPress Options table |
| 273 | 269 | * |
| 274 | 270 | * @since 1.5.0 |
| 275 | | * @access public |
| 276 | 271 | * @var string |
| 277 | 272 | */ |
| 278 | | var $options; |
| | 273 | public $options; |
| 279 | 274 | |
| 280 | 275 | /** |
| 281 | 276 | * WordPress Post Metadata table |
| 282 | 277 | * |
| 283 | 278 | * @since 1.5.0 |
| 284 | | * @access public |
| 285 | 279 | * @var string |
| 286 | 280 | */ |
| 287 | | var $postmeta; |
| | 281 | public $postmeta; |
| 288 | 282 | |
| 289 | 283 | /** |
| 290 | 284 | * WordPress Posts table |
| 291 | 285 | * |
| 292 | 286 | * @since 1.5.0 |
| 293 | | * @access public |
| 294 | 287 | * @var string |
| 295 | 288 | */ |
| 296 | | var $posts; |
| | 289 | public $posts; |
| 297 | 290 | |
| 298 | 291 | /** |
| 299 | 292 | * WordPress Terms table |
| 300 | 293 | * |
| 301 | 294 | * @since 2.3.0 |
| 302 | | * @access public |
| 303 | 295 | * @var string |
| 304 | 296 | */ |
| 305 | | var $terms; |
| | 297 | public $terms; |
| 306 | 298 | |
| 307 | 299 | /** |
| 308 | 300 | * WordPress Term Relationships table |
| 309 | 301 | * |
| 310 | 302 | * @since 2.3.0 |
| 311 | | * @access public |
| 312 | 303 | * @var string |
| 313 | 304 | */ |
| 314 | | var $term_relationships; |
| | 305 | public $term_relationships; |
| 315 | 306 | |
| 316 | 307 | /** |
| 317 | 308 | * WordPress Term Taxonomy table |
| 318 | 309 | * |
| 319 | 310 | * @since 2.3.0 |
| 320 | | * @access public |
| 321 | 311 | * @var string |
| 322 | 312 | */ |
| 323 | | var $term_taxonomy; |
| | 313 | public $term_taxonomy; |
| 324 | 314 | |
| 325 | 315 | /* |
| 326 | 316 | * Global and Multisite tables |
| … |
… |
class wpdb { |
| 330 | 320 | * WordPress User Metadata table |
| 331 | 321 | * |
| 332 | 322 | * @since 2.3.0 |
| 333 | | * @access public |
| 334 | 323 | * @var string |
| 335 | 324 | */ |
| 336 | | var $usermeta; |
| | 325 | public $usermeta; |
| 337 | 326 | |
| 338 | 327 | /** |
| 339 | 328 | * WordPress Users table |
| 340 | 329 | * |
| 341 | 330 | * @since 1.5.0 |
| 342 | | * @access public |
| 343 | 331 | * @var string |
| 344 | 332 | */ |
| 345 | | var $users; |
| | 333 | public $users; |
| 346 | 334 | |
| 347 | 335 | /** |
| 348 | 336 | * Multisite Blogs table |
| 349 | 337 | * |
| 350 | 338 | * @since 3.0.0 |
| 351 | | * @access public |
| 352 | 339 | * @var string |
| 353 | 340 | */ |
| 354 | | var $blogs; |
| | 341 | public $blogs; |
| 355 | 342 | |
| 356 | 343 | /** |
| 357 | 344 | * Multisite Blog Versions table |
| 358 | 345 | * |
| 359 | 346 | * @since 3.0.0 |
| 360 | | * @access public |
| 361 | 347 | * @var string |
| 362 | 348 | */ |
| 363 | | var $blog_versions; |
| | 349 | public $blog_versions; |
| 364 | 350 | |
| 365 | 351 | /** |
| 366 | 352 | * Multisite Registration Log table |
| 367 | 353 | * |
| 368 | 354 | * @since 3.0.0 |
| 369 | | * @access public |
| 370 | 355 | * @var string |
| 371 | 356 | */ |
| 372 | | var $registration_log; |
| | 357 | public $registration_log; |
| 373 | 358 | |
| 374 | 359 | /** |
| 375 | 360 | * Multisite Signups table |
| 376 | 361 | * |
| 377 | 362 | * @since 3.0.0 |
| 378 | | * @access public |
| 379 | 363 | * @var string |
| 380 | 364 | */ |
| 381 | | var $signups; |
| | 365 | public $signups; |
| 382 | 366 | |
| 383 | 367 | /** |
| 384 | 368 | * Multisite Sites table |
| 385 | 369 | * |
| 386 | 370 | * @since 3.0.0 |
| 387 | | * @access public |
| 388 | 371 | * @var string |
| 389 | 372 | */ |
| 390 | | var $site; |
| | 373 | public $site; |
| 391 | 374 | |
| 392 | 375 | /** |
| 393 | 376 | * Multisite Sitewide Terms table |
| 394 | 377 | * |
| 395 | 378 | * @since 3.0.0 |
| 396 | | * @access public |
| 397 | 379 | * @var string |
| 398 | 380 | */ |
| 399 | | var $sitecategories; |
| | 381 | public $sitecategories; |
| 400 | 382 | |
| 401 | 383 | /** |
| 402 | 384 | * Multisite Site Metadata table |
| 403 | 385 | * |
| 404 | 386 | * @since 3.0.0 |
| 405 | | * @access public |
| 406 | 387 | * @var string |
| 407 | 388 | */ |
| 408 | | var $sitemeta; |
| | 389 | public $sitemeta; |
| 409 | 390 | |
| 410 | 391 | /** |
| 411 | 392 | * Format specifiers for DB columns. Columns not listed here default to %s. Initialized during WP load. |
| … |
… |
class wpdb { |
| 418 | 399 | * @see wpdb::update() |
| 419 | 400 | * @see wpdb::delete() |
| 420 | 401 | * @see wp_set_wpdb_vars() |
| 421 | | * @access public |
| 422 | 402 | * @var array |
| 423 | 403 | */ |
| 424 | | var $field_types = array(); |
| | 404 | public $field_types = array(); |
| 425 | 405 | |
| 426 | 406 | /** |
| 427 | 407 | * Database table columns charset |
| 428 | 408 | * |
| 429 | 409 | * @since 2.2.0 |
| 430 | | * @access public |
| 431 | 410 | * @var string |
| 432 | 411 | */ |
| 433 | | var $charset; |
| | 412 | public $charset; |
| 434 | 413 | |
| 435 | 414 | /** |
| 436 | 415 | * Database table columns collate |
| 437 | 416 | * |
| 438 | 417 | * @since 2.2.0 |
| 439 | | * @access public |
| 440 | 418 | * @var string |
| 441 | 419 | */ |
| 442 | | var $collate; |
| | 420 | public $collate; |
| 443 | 421 | |
| 444 | 422 | /** |
| 445 | 423 | * Database Username |
| … |
… |
class wpdb { |
| 490 | 468 | * A textual description of the last query/get_row/get_var call |
| 491 | 469 | * |
| 492 | 470 | * @since 3.0.0 |
| 493 | | * @access public |
| 494 | 471 | * @var string |
| 495 | 472 | */ |
| 496 | | var $func_call; |
| | 473 | public $func_call; |
| 497 | 474 | |
| 498 | 475 | /** |
| 499 | 476 | * Whether MySQL is used as the database engine. |
| … |
… |
class wpdb { |
| 504 | 481 | * will force the checks to occur. |
| 505 | 482 | * |
| 506 | 483 | * @since 3.3.0 |
| 507 | | * @access public |
| 508 | 484 | * @var bool |
| 509 | 485 | */ |
| 510 | 486 | public $is_mysql = null; |