Changeset 49184
- Timestamp:
- 10/17/2020 04:24:35 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php
r47808 r49184 71 71 * @var array 72 72 */ 73 static $ui_icons = array(73 public static $ui_icons = array( 74 74 'link' => /* material-design – link */ ' 75 75 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> … … 179 179 * @var array 180 180 */ 181 static $social_icons_map = array(181 public static $social_icons_map = array( 182 182 'amazon' => array( 183 183 'amazon.com', … … 238 238 * @var array 239 239 */ 240 static $social_icons = array(240 public static $social_icons = array( 241 241 '500px' => ' 242 242 <svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> -
trunk/src/wp-includes/class-wp-rewrite.php
r49131 r49184 46 46 * @var string 47 47 */ 48 var$author_base = 'author';48 public $author_base = 'author'; 49 49 50 50 /** … … 54 54 * @var string 55 55 */ 56 var$author_structure;56 public $author_structure; 57 57 58 58 /** … … 62 62 * @var string 63 63 */ 64 var$date_structure;64 public $date_structure; 65 65 66 66 /** … … 70 70 * @var string 71 71 */ 72 var$page_structure;72 public $page_structure; 73 73 74 74 /** … … 78 78 * @var string 79 79 */ 80 var$search_base = 'search';80 public $search_base = 'search'; 81 81 82 82 /** … … 86 86 * @var string 87 87 */ 88 var$search_structure;88 public $search_structure; 89 89 90 90 /** … … 94 94 * @var string 95 95 */ 96 var$comments_base = 'comments';96 public $comments_base = 'comments'; 97 97 98 98 /** … … 110 110 * @var string 111 111 */ 112 var$comments_pagination_base = 'comment-page';112 public $comments_pagination_base = 'comment-page'; 113 113 114 114 /** … … 118 118 * @var string 119 119 */ 120 var$feed_base = 'feed';120 public $feed_base = 'feed'; 121 121 122 122 /** … … 126 126 * @var string 127 127 */ 128 var$comment_feed_structure;128 public $comment_feed_structure; 129 129 130 130 /** … … 134 134 * @var string 135 135 */ 136 var$feed_structure;136 public $feed_structure; 137 137 138 138 /** … … 179 179 * @var string 180 180 */ 181 var$matches = '';181 public $matches = ''; 182 182 183 183 /** … … 187 187 * @var array 188 188 */ 189 var$rules;189 public $rules; 190 190 191 191 /** … … 197 197 * @var array 198 198 */ 199 var$extra_rules = array();199 public $extra_rules = array(); 200 200 201 201 /** … … 207 207 * @var array 208 208 */ 209 var$extra_rules_top = array();209 public $extra_rules_top = array(); 210 210 211 211 /** … … 218 218 * @var array 219 219 */ 220 var$non_wp_rules = array();220 public $non_wp_rules = array(); 221 221 222 222 /** … … 226 226 * @var array 227 227 */ 228 var$extra_permastructs = array();228 public $extra_permastructs = array(); 229 229 230 230 /** … … 234 234 * @var array 235 235 */ 236 var$endpoints;236 public $endpoints; 237 237 238 238 /** … … 278 278 * @var array 279 279 */ 280 var$rewritecode = array(280 public $rewritecode = array( 281 281 '%year%', 282 282 '%monthnum%', … … 299 299 * @var array 300 300 */ 301 var$rewritereplace = array(301 public $rewritereplace = array( 302 302 '([0-9]{4})', 303 303 '([0-9]{1,2})', … … 319 319 * @var array 320 320 */ 321 var$queryreplace = array(321 public $queryreplace = array( 322 322 'year=', 323 323 'monthnum=', -
trunk/src/wp-includes/pomo/entry.php
r47122 r49184 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 /** -
trunk/src/wp-includes/pomo/mo.php
r47808 r49184 14 14 class MO extends Gettext_Translations { 15 15 16 var$_nplurals = 2;16 public $_nplurals = 2; 17 17 18 18 /** -
trunk/src/wp-includes/pomo/po.php
r49120 r49184 22 22 class PO extends Gettext_Translations { 23 23 24 var$comments_before_headers = '';24 public $comments_before_headers = ''; 25 25 26 26 /** -
trunk/src/wp-includes/pomo/streams.php
r49120 r49184 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 /** … … 227 227 class POMO_StringReader extends POMO_Reader { 228 228 229 var$_str = '';229 public $_str = ''; 230 230 231 231 /** -
trunk/src/wp-includes/pomo/translations.php
r49120 r49184 13 13 if ( ! class_exists( 'Translations', false ) ) : 14 14 class Translations { 15 var$entries = array();16 var$headers = array();15 public $entries = array(); 16 public $headers = array(); 17 17 18 18 /** … … 302 302 */ 303 303 class NOOP_Translations { 304 var$entries = array();305 var$headers = array();304 public $entries = array(); 305 public $headers = array(); 306 306 307 307 function add_entry( $entry ) { -
trunk/src/wp-includes/wp-db.php
r49072 r49184 62 62 * @var bool 63 63 */ 64 var$show_errors = false;64 public $show_errors = false; 65 65 66 66 /** … … 70 70 * @var bool 71 71 */ 72 var$suppress_errors = false;72 public $suppress_errors = false; 73 73 74 74 /** … … 102 102 * @var int 103 103 */ 104 var$rows_affected = 0;104 public $rows_affected = 0; 105 105 106 106 /** … … 118 118 * @var string 119 119 */ 120 var$last_query;120 public $last_query; 121 121 122 122 /** … … 126 126 * @var array|null 127 127 */ 128 var$last_result;128 public $last_result; 129 129 130 130 /** … … 199 199 * } 200 200 */ 201 var$queries;201 public $queries; 202 202 203 203 /** … … 235 235 * @var bool 236 236 */ 237 var$ready = false;237 public $ready = false; 238 238 239 239 /** … … 260 260 * @var array 261 261 */ 262 var$tables = array(262 public $tables = array( 263 263 'posts', 264 264 'comments', … … 282 282 * @var array 283 283 */ 284 var$old_tables = array( 'categories', 'post2cat', 'link2cat' );284 public $old_tables = array( 'categories', 'post2cat', 'link2cat' ); 285 285 286 286 /** … … 291 291 * @var array 292 292 */ 293 var$global_tables = array( 'users', 'usermeta' );293 public $global_tables = array( 'users', 'usermeta' ); 294 294 295 295 /** … … 300 300 * @var array 301 301 */ 302 var$ms_global_tables = array(302 public $ms_global_tables = array( 303 303 'blogs', 304 304 'blogmeta', -
trunk/tests/phpunit/includes/factory/class-wp-unittest-generator-sequence.php
r46586 r49184 2 2 3 3 class WP_UnitTest_Generator_Sequence { 4 static $incr = -1;4 public static $incr = -1; 5 5 public $next; 6 6 public $template_string; -
trunk/tests/phpunit/includes/mock-mailer.php
r48645 r49184 4 4 5 5 class MockPHPMailer extends PHPMailer\PHPMailer\PHPMailer { 6 var$mock_sent = array();6 public $mock_sent = array(); 7 7 8 8 function preSend() { -
trunk/tests/phpunit/includes/testcase-canonical.php
r47781 r49184 2 2 3 3 class WP_Canonical_UnitTestCase extends WP_UnitTestCase { 4 static $old_current_user;5 static $author_id;6 static $post_ids = array();7 static $comment_ids = array();8 static $term_ids = array();9 static $terms = array();10 static $old_options = array();4 public static $old_current_user; 5 public static $author_id; 6 public static $post_ids = array(); 7 public static $comment_ids = array(); 8 public static $term_ids = array(); 9 public static $terms = array(); 10 public static $old_options = array(); 11 11 12 12 /** -
trunk/tests/phpunit/includes/utils.php
r49108 r49184 39 39 */ 40 40 class MockAction { 41 var$events;42 var$debug;41 public $events; 42 public $debug; 43 43 44 44 /** … … 185 185 // Kinda lame, but it works with a default PHP 4 installation. 186 186 class TestXMLParser { 187 var$xml;188 var$data = array();187 public $xml; 188 public $data = array(); 189 189 190 190 /** -
trunk/tests/phpunit/tests/admin/includesScreen.php
r48940 r49184 6 6 */ 7 7 class Tests_Admin_includesScreen extends WP_UnitTestCase { 8 var$core_screens = array(8 public $core_screens = array( 9 9 'index.php' => array( 10 10 'base' => 'dashboard', -
trunk/tests/phpunit/tests/cache.php
r48950 r49184 5 5 */ 6 6 class Tests_Cache extends WP_UnitTestCase { 7 var$cache = null;7 public $cache = null; 8 8 9 9 function setUp() { -
trunk/tests/phpunit/tests/feed/atom.php
r48937 r49184 10 10 */ 11 11 class Tests_Feeds_Atom extends WP_UnitTestCase { 12 static $user_id;13 static $posts;14 static $category;12 public static $user_id; 13 public static $posts; 14 public static $category; 15 15 16 16 /** -
trunk/tests/phpunit/tests/feed/rss2.php
r48937 r49184 10 10 */ 11 11 class Tests_Feeds_RSS2 extends WP_UnitTestCase { 12 static $user_id;13 static $posts;14 static $category;15 static $post_date;12 public static $user_id; 13 public static $posts; 14 public static $category; 15 public static $post_date; 16 16 17 17 /** -
trunk/tests/phpunit/tests/functions/wpListFilter.php
r49006 r49184 9 9 */ 10 10 class Tests_Functions_wpListFilter extends WP_UnitTestCase { 11 var$object_list = array();12 var$array_list = array();11 public $object_list = array(); 12 public $array_list = array(); 13 13 14 14 function setUp() { -
trunk/tests/phpunit/tests/http/base.php
r49033 r49184 13 13 abstract class WP_HTTP_UnitTestCase extends WP_UnitTestCase { 14 14 // You can use your own version of data/WPHTTP-testcase-redirection-script.php here. 15 var$redirection_script = 'http://api.wordpress.org/core/tests/1.0/redirection.php';16 var$file_stream_url = 'http://s.w.org/screenshots/3.9/dashboard.png';15 public $redirection_script = 'http://api.wordpress.org/core/tests/1.0/redirection.php'; 16 public $file_stream_url = 'http://s.w.org/screenshots/3.9/dashboard.png'; 17 17 18 18 protected $http_request_args; -
trunk/tests/phpunit/tests/http/curl.php
r47198 r49184 8 8 */ 9 9 class Tests_HTTP_curl extends WP_HTTP_UnitTestCase { 10 var$transport = 'curl';10 public $transport = 'curl'; 11 11 12 12 /** -
trunk/tests/phpunit/tests/http/streams.php
r47198 r49184 8 8 */ 9 9 class Tests_HTTP_streams extends WP_HTTP_UnitTestCase { 10 var$transport = 'streams';10 public $transport = 'streams'; 11 11 } -
trunk/tests/phpunit/tests/image/header.php
r48937 r49184 7 7 */ 8 8 class Tests_Image_Header extends WP_UnitTestCase { 9 var$custom_image_header;9 public $custom_image_header; 10 10 11 11 function setUp() { -
trunk/tests/phpunit/tests/link/getDashboardUrl.php
r48937 r49184 5 5 */ 6 6 class Tests_Link_GetDashboardUrl extends WP_UnitTestCase { 7 static $user_id = false;7 public static $user_id = false; 8 8 9 9 public static function wpSetUpBeforeClass( $factory ) { -
trunk/tests/phpunit/tests/multisite/wpMSSitesListTable.php
r48939 r49184 13 13 * @var WP_MS_Sites_List_Table 14 14 */ 15 var$table = false;15 public $table = false; 16 16 17 17 function setUp() { -
trunk/tests/phpunit/tests/query/commentCount.php
r48939 r49184 4 4 */ 5 5 class Tests_Query_CommentCount extends WP_UnitTestCase { 6 static $post_ids = array();6 public static $post_ids = array(); 7 7 public $q; 8 static $post_type = 'page'; // Can be anything.8 public static $post_type = 'page'; // Can be anything. 9 9 10 10 public function setUp() { -
trunk/tests/phpunit/tests/query/date.php
r48937 r49184 11 11 public $q; 12 12 13 static $post_ids = array();13 public static $post_ids = array(); 14 14 15 15 public static function wpSetUpBeforeClass( $factory ) { -
trunk/tests/phpunit/tests/query/results.php
r48937 r49184 10 10 protected $q; 11 11 12 static $cat_ids = array();13 static $tag_ids = array();14 static $post_ids = array();15 16 static $parent_one;17 static $parent_two;18 static $parent_three;19 static $child_one;20 static $child_two;21 static $child_three;22 static $child_four;12 public static $cat_ids = array(); 13 public static $tag_ids = array(); 14 public static $post_ids = array(); 15 16 public static $parent_one; 17 public static $parent_two; 18 public static $parent_three; 19 public static $child_one; 20 public static $child_two; 21 public static $child_three; 22 public static $child_four; 23 23 24 24 public static function wpSetUpBeforeClass( $factory ) { -
trunk/tests/phpunit/tests/query/stickies.php
r48937 r49184 7 7 */ 8 8 class Tests_Query_Stickies extends WP_UnitTestCase { 9 static $posts = array();9 public static $posts = array(); 10 10 11 11 public static function wpSetUpBeforeClass( $factory ) { -
trunk/tests/phpunit/tests/theme/customHeader.php
r48937 r49184 5 5 class Tests_Theme_Custom_Header extends WP_UnitTestCase { 6 6 7 static $post;7 public static $post; 8 8 9 9 protected static $header_video_id; -
trunk/tests/phpunit/tests/upload.php
r48937 r49184 6 6 class Tests_Upload extends WP_UnitTestCase { 7 7 8 var$siteurl;8 public $siteurl; 9 9 10 10 function setUp() { -
trunk/tests/phpunit/tests/user/countUserPosts.php
r46586 r49184 6 6 */ 7 7 class Tests_User_CountUserPosts extends WP_UnitTestCase { 8 static $user_id;9 static $post_ids = array();8 public static $user_id; 9 public static $post_ids = array(); 10 10 11 11 public static function wpSetUpBeforeClass( $factory ) { -
trunk/tests/phpunit/tests/user/getActiveBlogForUser.php
r48937 r49184 11 11 */ 12 12 class Tests_Multisite_getActiveBlogForUser extends WP_UnitTestCase { 13 static $user_id = false;13 public static $user_id = false; 14 14 15 15 public static function wpSetUpBeforeClass( $factory ) { -
trunk/tests/phpunit/tests/user/listAuthors.php
r48944 r49184 5 5 */ 6 6 class Tests_User_ListAuthors extends WP_UnitTestCase { 7 static $user_ids = array();8 static $fred_id;9 static $posts = array();10 static $user_urls = array();7 public static $user_ids = array(); 8 public static $fred_id; 9 public static $posts = array(); 10 public static $user_urls = array(); 11 11 /* Defaults 12 12 'orderby' => 'name', -
trunk/tests/phpunit/tests/walker.php
r48937 r49184 287 287 class Walker_Test extends Walker { 288 288 289 var$tree_type = 'test';290 var$db_fields = array(289 public $tree_type = 'test'; 290 public $db_fields = array( 291 291 'parent' => 'parent', 292 292 'id' => 'id', -
trunk/tests/phpunit/tests/xmlrpc/wp/getComments.php
r48937 r49184 5 5 */ 6 6 class Tests_XMLRPC_wp_getComments extends WP_XMLRPC_UnitTestCase { 7 var$post_id;7 public $post_id; 8 8 9 9 function test_invalid_username_password() { -
trunk/tests/phpunit/tests/xmlrpc/wp/getMediaItem.php
r48937 r49184 7 7 protected static $post_id; 8 8 9 var$attachment_data;10 var$attachment_id;9 public $attachment_data; 10 public $attachment_id; 11 11 12 12 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { -
trunk/tests/phpunit/tests/xmlrpc/wp/getPost.php
r48937 r49184 5 5 */ 6 6 class Tests_XMLRPC_wp_getPost extends WP_XMLRPC_UnitTestCase { 7 var$post_data;8 var$post_id;9 var$post_date_ts;10 var$post_custom_field;7 public $post_data; 8 public $post_id; 9 public $post_date_ts; 10 public $post_custom_field; 11 11 12 12 function setUp() { -
trunk/tests/phpunit/tests/xmlrpc/wp/getPostType.php
r48937 r49184 5 5 */ 6 6 class Tests_XMLRPC_wp_getPostType extends WP_XMLRPC_UnitTestCase { 7 var$cpt_name;8 var$cpt_args;7 public $cpt_name; 8 public $cpt_args; 9 9 10 10 function setUp() { -
trunk/tests/phpunit/tests/xmlrpc/wp/restoreRevision.php
r48937 r49184 5 5 */ 6 6 class Tests_XMLRPC_wp_restoreRevision extends WP_XMLRPC_UnitTestCase { 7 var$post_id;8 var$revision_id;7 public $post_id; 8 public $revision_id; 9 9 10 10 function setUp() {
Note: See TracChangeset
for help on using the changeset viewer.