Compare commits
115 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee561704b9 | ||
|
|
09a38682f8 | ||
|
|
32274112c6 | ||
|
|
0128210d88 | ||
|
|
6d3a23c410 | ||
|
|
ebe4779cea | ||
|
|
7641da2980 | ||
|
|
53f980d4be | ||
|
|
b796308091 | ||
|
|
fbc90de16c | ||
|
|
9a0402d634 | ||
|
|
c56e499391 | ||
|
|
74417f8f5c | ||
|
|
d342b4c478 | ||
|
|
d4c9ce4bda | ||
|
|
84c27f1b42 | ||
|
|
1695bed869 | ||
|
|
75b1ce17ad | ||
|
|
b9558b5c68 | ||
|
|
b6bdb208dd | ||
|
|
d6c009f72c | ||
|
|
da9b7a3b48 | ||
|
|
1975036fc4 | ||
|
|
b93fea1bbb | ||
|
|
983bd76658 | ||
|
|
4427438a56 | ||
|
|
46b1d12a64 | ||
|
|
67b4625791 | ||
|
|
7bf1b6ce40 | ||
|
|
049740b854 | ||
|
|
e5706783f0 | ||
|
|
2671c3eb8f | ||
|
|
37d6092e6c | ||
|
|
86dbc0e9f7 | ||
|
|
81a07d58df | ||
|
|
a8ee34c745 | ||
|
|
e8613eb44a | ||
|
|
10f8d67e1b | ||
|
|
b8f2bbf7d3 | ||
|
|
916509ecd6 | ||
|
|
41c66d64fb | ||
|
|
fb7b89a23d | ||
|
|
2a05a279fd | ||
|
|
57e6b6e116 | ||
|
|
78d0ddfa36 | ||
|
|
fafada01b7 | ||
|
|
7f5fcb184b | ||
|
|
8905d8bda9 | ||
|
|
1282f9b034 | ||
|
|
1f14360fe8 | ||
|
|
72d44b2fce | ||
|
|
f9bf8f0886 | ||
|
|
a12cfb6179 | ||
|
|
0afc974ff2 | ||
|
|
16f887b203 | ||
|
|
3067ceb31a | ||
|
|
e635b17840 | ||
|
|
bf71d64b32 | ||
|
|
4b48ad6142 | ||
|
|
78a915e0e5 | ||
|
|
ab6a888483 | ||
|
|
4150ceb4e5 | ||
|
|
b514c5b4f7 | ||
|
|
9bdfc8debc | ||
|
|
8126b3edf9 | ||
|
|
4cd181f75c | ||
|
|
7e19af8b0e | ||
|
|
1cda6d1e1a | ||
|
|
0ccfe99e03 | ||
|
|
f5009dccb2 | ||
|
|
2cca791a3e | ||
|
|
236ea231f3 | ||
|
|
b1aac3577f | ||
|
|
5ca428459f | ||
|
|
7db85ec323 | ||
|
|
53a150cabb | ||
|
|
831b3ca50d | ||
|
|
4c3e2026dc | ||
|
|
d8f63b7c5d | ||
|
|
14a732d42a | ||
|
|
4ac004127d | ||
|
|
01057aaa58 | ||
|
|
709b498b20 | ||
|
|
8b28841993 | ||
|
|
d5130fde52 | ||
|
|
990ac85f6d | ||
|
|
73af6045ba | ||
|
|
7dc690486a | ||
|
|
44f715b3e7 | ||
|
|
b3680fc0b2 | ||
|
|
c366307aee | ||
|
|
8c614b689b | ||
|
|
32d8f24bc2 | ||
|
|
d9b3d8d571 | ||
|
|
deb9f45605 | ||
|
|
9a60d7c96f | ||
|
|
b339f0306e | ||
|
|
948efce330 | ||
|
|
0784fea1a3 | ||
|
|
efa6b65c76 | ||
|
|
38e13206b5 | ||
|
|
4ac653520b | ||
|
|
e67f7a5d38 | ||
|
|
72e139cc9c | ||
|
|
44b3801d2f | ||
|
|
047f9c7e46 | ||
|
|
0a8375b03b | ||
|
|
023e4da0e8 | ||
|
|
a1201ee5cf | ||
|
|
3d7d844c5f | ||
|
|
bcef561b53 | ||
|
|
23bc5da134 | ||
|
|
9c17470b3e | ||
|
|
ed26a60fdb | ||
|
|
7bee7fa3df |
@@ -1,6 +1,6 @@
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2013 by the contributors
|
||||
Copyright 2015 by the contributors
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="http://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
|
||||
<br /> Version 3.8
|
||||
<br /> Version 3.8.10
|
||||
</h1>
|
||||
<p style="text-align: center">Semantic Personal Publishing Platform</p>
|
||||
|
||||
|
||||
@@ -38,6 +38,50 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
<div class="changelog point-releases">
|
||||
<h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 10 ); ?></h3>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 2 ), '3.8.10', number_format_i18n( 2 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.10' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues.', 2 ), '3.8.9' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.9' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 3 ), '3.8.8', number_format_i18n( 3 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.8' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.', 1 ), '3.8.7', number_format_i18n( 1 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.7' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues.', 8 ), '3.8.6' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.6' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues.', 8 ), '3.8.5', number_format_i18n( 8 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.5' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues.', 5 ), '3.8.4', number_format_i18n( 5 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.4' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.', 2 ), '3.8.3', number_format_i18n( 2 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.3' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 9 ), '3.8.2', number_format_i18n( 9 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.2' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.', 31 ), '3.8.1', number_format_i18n( 31 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.1' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="changelog">
|
||||
<h2 class="about-headline-callout"><?php _e( 'Introducing a modern new design' ); ?></h2>
|
||||
<img class="about-overview-img" src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/overview.png?1" />
|
||||
|
||||
2
wp-admin/css/colors-rtl.min.css
vendored
2
wp-admin/css/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors.min.css
vendored
2
wp-admin/css/colors.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/blue/colors.min.css
vendored
2
wp-admin/css/colors/blue/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/coffee/colors.min.css
vendored
2
wp-admin/css/colors/coffee/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/midnight/colors.min.css
vendored
2
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/ocean/colors.min.css
vendored
2
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -305,7 +305,7 @@ body.rtl,
|
||||
display: block;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
-mox-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
2
wp-admin/css/install-rtl.min.css
vendored
2
wp-admin/css/install-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
html{background:#eee;margin:0 20px}body{background:#fff;color:#555;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0074a2;text-decoration:none}a:hover{color:#2ea2cc}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0;padding-bottom:7px;font-weight:400}h2{font-size:16px}p,li,dd,dt{padding-bottom:2px;font-size:14px;line-height:1.5}code,.code{font-family:Consolas,Monaco,monospace}ul,ol,dl{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}#logo{margin:6px 0 14px;border-bottom:0;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:80px 80px;background-position:center top;background-repeat:no-repeat;color:#999;height:80px;font-size:20px;font-weight:400;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:80px;text-indent:-9999px;outline:0;overflow:hidden;display:block}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.step .button-large{font-size:14px}textarea{border:1px solid #dfdfdf;font-family:"Open Sans",sans-serif;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;border-bottom:8px solid #fff;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:16px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}input,submit{font-family:"Open Sans",sans-serif}.form-table input[type=text],.form-table input[type=password]{width:206px}.form-table th p{font-weight:400}.form-table.install-success td{vertical-align:middle;padding:16px 0 10px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 0 5px 5px;padding:5px;text-align:center;width:200px;display:none}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#dbname,#uname,#pwd,#dbhost,#prefix,#user_login,#admin_email,#pass1,#pass2{direction:ltr}body.rtl,.rtl textarea,.rtl input,.rtl submit{font-family:Tahoma,sans-serif}:lang(he-il) body.rtl,:lang(he-il) .rtl textarea,:lang(he-il) .rtl input,:lang(he-il) .rtl submit{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table th,.form-table td{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}textarea,input{font-size:16px}.form-table td input[type=text],.form-table td input[type=password],.form-table td select,.form-table td textarea,.form-table span.description{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box;-mox-box-sizing:border-box}}
|
||||
html{background:#eee;margin:0 20px}body{background:#fff;color:#555;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0074a2;text-decoration:none}a:hover{color:#2ea2cc}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0;padding-bottom:7px;font-weight:400}h2{font-size:16px}p,li,dd,dt{padding-bottom:2px;font-size:14px;line-height:1.5}code,.code{font-family:Consolas,Monaco,monospace}ul,ol,dl{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}#logo{margin:6px 0 14px;border-bottom:0;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:80px 80px;background-position:center top;background-repeat:no-repeat;color:#999;height:80px;font-size:20px;font-weight:400;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:80px;text-indent:-9999px;outline:0;overflow:hidden;display:block}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.step .button-large{font-size:14px}textarea{border:1px solid #dfdfdf;font-family:"Open Sans",sans-serif;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;border-bottom:8px solid #fff;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:16px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}input,submit{font-family:"Open Sans",sans-serif}.form-table input[type=text],.form-table input[type=password]{width:206px}.form-table th p{font-weight:400}.form-table.install-success td{vertical-align:middle;padding:16px 0 10px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 0 5px 5px;padding:5px;text-align:center;width:200px;display:none}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#dbname,#uname,#pwd,#dbhost,#prefix,#user_login,#admin_email,#pass1,#pass2{direction:ltr}body.rtl,.rtl textarea,.rtl input,.rtl submit{font-family:Tahoma,sans-serif}:lang(he-il) body.rtl,:lang(he-il) .rtl textarea,:lang(he-il) .rtl input,:lang(he-il) .rtl submit{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table th,.form-table td{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}textarea,input{font-size:16px}.form-table td input[type=text],.form-table td input[type=password],.form-table td select,.form-table td textarea,.form-table span.description{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box;-moz-box-sizing:border-box}}
|
||||
@@ -305,7 +305,7 @@ body.rtl,
|
||||
display: block;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
-mox-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
2
wp-admin/css/install.min.css
vendored
2
wp-admin/css/install.min.css
vendored
@@ -1 +1 @@
|
||||
html{background:#eee;margin:0 20px}body{background:#fff;color:#555;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0074a2;text-decoration:none}a:hover{color:#2ea2cc}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0;padding-bottom:7px;font-weight:400}h2{font-size:16px}p,li,dd,dt{padding-bottom:2px;font-size:14px;line-height:1.5}code,.code{font-family:Consolas,Monaco,monospace}ul,ol,dl{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}#logo{margin:6px 0 14px;border-bottom:0;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:80px 80px;background-position:center top;background-repeat:no-repeat;color:#999;height:80px;font-size:20px;font-weight:400;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:80px;text-indent:-9999px;outline:0;overflow:hidden;display:block}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.step .button-large{font-size:14px}textarea{border:1px solid #dfdfdf;font-family:"Open Sans",sans-serif;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;border-bottom:8px solid #fff;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:16px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}input,submit{font-family:"Open Sans",sans-serif}.form-table input[type=text],.form-table input[type=password]{width:206px}.form-table th p{font-weight:400}.form-table.install-success td{vertical-align:middle;padding:16px 20px 10px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 0;padding:5px;text-align:center;width:200px;display:none}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#dbname,#uname,#pwd,#dbhost,#prefix,#user_login,#admin_email,#pass1,#pass2{direction:ltr}body.rtl,.rtl textarea,.rtl input,.rtl submit{font-family:Tahoma,sans-serif}:lang(he-il) body.rtl,:lang(he-il) .rtl textarea,:lang(he-il) .rtl input,:lang(he-il) .rtl submit{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table th,.form-table td{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}textarea,input{font-size:16px}.form-table td input[type=text],.form-table td input[type=password],.form-table td select,.form-table td textarea,.form-table span.description{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box;-mox-box-sizing:border-box}}
|
||||
html{background:#eee;margin:0 20px}body{background:#fff;color:#555;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0074a2;text-decoration:none}a:hover{color:#2ea2cc}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0;padding-bottom:7px;font-weight:400}h2{font-size:16px}p,li,dd,dt{padding-bottom:2px;font-size:14px;line-height:1.5}code,.code{font-family:Consolas,Monaco,monospace}ul,ol,dl{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}#logo{margin:6px 0 14px;border-bottom:0;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:80px 80px;background-position:center top;background-repeat:no-repeat;color:#999;height:80px;font-size:20px;font-weight:400;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:80px;text-indent:-9999px;outline:0;overflow:hidden;display:block}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.step .button-large{font-size:14px}textarea{border:1px solid #dfdfdf;font-family:"Open Sans",sans-serif;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;border-bottom:8px solid #fff;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:16px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}input,submit{font-family:"Open Sans",sans-serif}.form-table input[type=text],.form-table input[type=password]{width:206px}.form-table th p{font-weight:400}.form-table.install-success td{vertical-align:middle;padding:16px 20px 10px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 0;padding:5px;text-align:center;width:200px;display:none}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#dbname,#uname,#pwd,#dbhost,#prefix,#user_login,#admin_email,#pass1,#pass2{direction:ltr}body.rtl,.rtl textarea,.rtl input,.rtl submit{font-family:Tahoma,sans-serif}:lang(he-il) body.rtl,:lang(he-il) .rtl textarea,:lang(he-il) .rtl input,:lang(he-il) .rtl submit{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table th,.form-table td{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}textarea,input{font-size:16px}.form-table td input[type=text],.form-table td input[type=password],.form-table td select,.form-table td textarea,.form-table span.description{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box;-moz-box-sizing:border-box}}
|
||||
@@ -564,9 +564,11 @@ ol.ol-decimal > li {
|
||||
margin: 0 0 0.5em;
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
.code,
|
||||
code {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
input.code {
|
||||
@@ -725,7 +727,6 @@ select,
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#update-plugins-table tbody th.check-column,
|
||||
.plugins tbody th.check-column,
|
||||
.plugins tbody {
|
||||
padding: 8px 2px 0 0;
|
||||
@@ -745,12 +746,22 @@ select,
|
||||
|
||||
.plugins thead th.check-column,
|
||||
.plugins tfoot th.check-column,
|
||||
.plugins .inactive th.check-column,
|
||||
#update-plugins-table thead th.check-column,
|
||||
#update-plugins-table tfoot th.check-column {
|
||||
.plugins .inactive th.check-column {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.upgrade .plugins td,
|
||||
.upgrade .plugins th {
|
||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.upgrade .plugins tr:last-of-type td,
|
||||
.upgrade .plugins tr:last-of-type th {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#update-plugins-table thead th.check-column,
|
||||
#update-plugins-table tfoot th.check-column {
|
||||
padding-top: 11px;
|
||||
@@ -1275,6 +1286,10 @@ p.search-box {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.network-admin.themes-php p.search-box {
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.search-box input[name="s"],
|
||||
#search-plugins input[name="s"],
|
||||
.tagsdiv .newtag {
|
||||
@@ -2962,7 +2977,8 @@ body #dashboard-widgets .postbox form .submit {
|
||||
|
||||
/* Dashboard right now - Colors */
|
||||
|
||||
#dashboard_right_now li a:before {
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
@@ -2981,12 +2997,14 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#dashboard_right_now .warning a:before {
|
||||
#dashboard_right_now .warning a:before,
|
||||
#dashboard_right_now .warning span:before {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
/* Dashboard right now - Icons */
|
||||
#dashboard_right_now li a:before {
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
content: '\f159';
|
||||
font: normal 20px/1 'dashicons';
|
||||
speak: none;
|
||||
@@ -3001,11 +3019,13 @@ body #dashboard-widgets .postbox form .submit {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
#dashboard_right_now .page-count a:before {
|
||||
#dashboard_right_now .page-count a:before,
|
||||
#dashboard_right_now .page-count span:before {
|
||||
content: '\f105';
|
||||
}
|
||||
|
||||
#dashboard_right_now .post-count a:before {
|
||||
#dashboard_right_now .post-count a:before,
|
||||
#dashboard_right_now .post-count span:before {
|
||||
content: '\f109';
|
||||
}
|
||||
|
||||
@@ -3156,6 +3176,7 @@ form.initial-form.quickpress-open input#title {
|
||||
|
||||
#dashboard_quick_press .drafts p {
|
||||
margin: 0;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .draft-title {
|
||||
@@ -3392,6 +3413,10 @@ table.fixed {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.fixed .column-comment .comment-author {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fixed .column-response,
|
||||
.fixed .column-categories,
|
||||
.fixed .column-tags,
|
||||
@@ -6333,11 +6358,15 @@ span.imgedit-scale-warn {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.network-admin.themes-php .wrap h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.themes-php .wrap h2 .button {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.themes-php .theme-count {
|
||||
.themes-php .wrap .theme-count {
|
||||
color: #fff;
|
||||
border-radius: 30px;
|
||||
background: #777;
|
||||
@@ -6379,6 +6408,11 @@ span.imgedit-scale-warn {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.ie8 .theme-browser .theme {
|
||||
width: 30%;
|
||||
margin: 0 0 4% 3%;
|
||||
}
|
||||
|
||||
.theme-browser .theme:nth-child(3n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -6404,6 +6438,7 @@ span.imgedit-scale-warn {
|
||||
|
||||
/* Activate and Customize buttons, shown on hover */
|
||||
.theme-browser .theme .theme-actions {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.1s ease-in-out;
|
||||
transition: opacity 0.1s ease-in-out;
|
||||
@@ -6417,6 +6452,7 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme:hover .theme-actions {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -6469,11 +6505,13 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme .more-details {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
left: 25%;
|
||||
right: 25%;
|
||||
background: #222;
|
||||
background: rgba(0,0,0,0.7);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
@@ -6486,8 +6524,27 @@ span.imgedit-scale-warn {
|
||||
-webkit-transition: opacity 0.1s ease-in-out;
|
||||
transition: opacity 0.1s ease-in-out;
|
||||
}
|
||||
.theme-browser .theme:focus {
|
||||
outline: 1px dotted #222;
|
||||
}
|
||||
/* Hide shortcut actions and hover feedback when using tab navigation */
|
||||
.theme-browser .theme:focus .theme-actions {
|
||||
display: none;
|
||||
}
|
||||
/* Restore display of theme controls if you hover a focused theme */
|
||||
.theme-browser .theme:focus:hover .theme-actions {
|
||||
display: block;
|
||||
}
|
||||
.theme-browser .theme:focus .more-details {
|
||||
opacity: 1;
|
||||
}
|
||||
/* Current theme needs to have its action always on view */
|
||||
.theme-browser .theme.active:focus .theme-actions {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.theme-browser.rendered .theme:hover .more-details {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -6514,7 +6571,7 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme .theme-update:before {
|
||||
content: '\f113';
|
||||
content: '\f463';
|
||||
display: inline-block;
|
||||
font: normal 20px/1 'dashicons';
|
||||
margin: 0 0 0 6px;
|
||||
@@ -6591,7 +6648,9 @@ span.imgedit-scale-warn {
|
||||
.theme-browser .theme.add-new-theme:after {
|
||||
display: block;
|
||||
content: '';
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
opacity: 1;
|
||||
background: transparent;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -6600,6 +6659,7 @@ span.imgedit-scale-warn {
|
||||
bottom: 0;
|
||||
padding: 10% 0 0 0;
|
||||
text-shadow: none;
|
||||
border: 5px dashed #d5d2ca;
|
||||
border: 5px dashed rgba(0, 0, 0, 0.1);
|
||||
-webkit-transition: opacity 0.2s ease-in-out;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
@@ -6609,6 +6669,7 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme span:after {
|
||||
background: #e5e5e5;
|
||||
background: rgba(153, 153, 153, 0.1);
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
@@ -6647,6 +6708,7 @@ span.imgedit-scale-warn {
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
background: #0074a2;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme .theme-name {
|
||||
@@ -6688,6 +6750,7 @@ span.imgedit-scale-warn {
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: #f1f1f1;
|
||||
background: rgba( 238, 238, 238, 0.9 );
|
||||
z-index: 10;
|
||||
}
|
||||
@@ -6711,10 +6774,13 @@ body.theme-overlay-open {
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
border: 0;
|
||||
border-right: 1px solid #ddd;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-header .close:hover:before {
|
||||
.theme-overlay .theme-header .close:hover:before,
|
||||
.theme-overlay .theme-header .close:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -6731,20 +6797,21 @@ body.theme-overlay-open {
|
||||
.theme-overlay .theme-header .left {
|
||||
cursor: pointer;
|
||||
color: #777;
|
||||
background-color: transparent;
|
||||
height: 48px;
|
||||
width: 54px;
|
||||
float: right;
|
||||
text-align: center;
|
||||
border: 0;
|
||||
border-left: 1px solid #ddd;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-header .close:hover,
|
||||
.theme-overlay .theme-header .right:hover,
|
||||
.theme-overlay .theme-header .left:hover {
|
||||
.theme-overlay .theme-header .left:hover,
|
||||
.theme-overlay .theme-header .close:focus,
|
||||
.theme-overlay .theme-header .right:focus,
|
||||
.theme-overlay .theme-header .left:focus {
|
||||
background: #0074a2;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -6837,6 +6904,10 @@ body.folded .theme-overlay .theme-wrap {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.ie8 .theme-overlay .theme-actions {
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-actions a {
|
||||
margin-left: 5px;
|
||||
margin-bottom: 5px;
|
||||
@@ -6853,7 +6924,8 @@ body.folded .theme-overlay .theme-wrap {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-actions .delete-theme:hover {
|
||||
.theme-overlay .theme-actions .delete-theme:hover,
|
||||
.theme-overlay .theme-actions .delete-theme:focus {
|
||||
background: #d54e21;
|
||||
color: #fff;
|
||||
border-color: #d54e21;
|
||||
@@ -7617,7 +7689,7 @@ div#custom-background-image img {
|
||||
}
|
||||
|
||||
.plugin-update-tr .update-message:before {
|
||||
content: '\f113';
|
||||
content: '\f463';
|
||||
display: inline-block;
|
||||
font: normal 20px/1 'dashicons';
|
||||
speak: none;
|
||||
@@ -8593,7 +8665,13 @@ p.pagenav {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.column-author img, .column-username img {
|
||||
.column-comment .comment-author {
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
.column-author img,
|
||||
.column-username img,
|
||||
.column-comment .comment-author img {
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
margin-top: 1px;
|
||||
@@ -10101,6 +10179,12 @@ div.star-holder .star-rating {
|
||||
content:'\f459';
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
-webkit-transform: rotateY(180deg);
|
||||
-ms-transform: rotateY(180deg);
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.star-rating .star-empty:before {
|
||||
content:'\f154';
|
||||
}
|
||||
@@ -10644,6 +10728,12 @@ input.newtag:focus ~ div.taghint {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
#template textarea,
|
||||
#docs-list {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#template p {
|
||||
width: 97%;
|
||||
}
|
||||
@@ -11375,6 +11465,17 @@ li#wp-admin-bar-menu-toggle {
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
|
||||
div.widget {
|
||||
margin: 0 auto 10px !important;
|
||||
max-width: 480px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
div.widget {
|
||||
max-width: 320px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
@@ -11762,19 +11863,13 @@ li#wp-admin-bar-menu-toggle {
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 190px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
right: -200px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuwrap,
|
||||
.auto-fold #adminmenu,
|
||||
.auto-fold #adminmenuback {
|
||||
width: 190px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.menu-top {
|
||||
@@ -11880,7 +11975,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
|
||||
.auto-fold .wp-responsive-open #adminmenuback,
|
||||
.auto-fold .wp-responsive-open #adminmenuwrap {
|
||||
right: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* General New Post Form */
|
||||
@@ -12242,6 +12337,10 @@ li#wp-admin-bar-menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fixed .column-comment .comment-author {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Posts */
|
||||
.column-title {
|
||||
width: 85%;
|
||||
@@ -12398,7 +12497,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
display: block;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
-mox-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
input[type=text].small-text,
|
||||
@@ -12417,7 +12516,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
#pass-strength-result {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
-mox-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
@@ -12744,12 +12843,12 @@ li#wp-admin-bar-menu-toggle {
|
||||
|
||||
.widefat tbody th.check-column input[type="checkbox"] {
|
||||
margin-top: -3px;
|
||||
margin-right: 9px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.wp-list-table.plugins .active .check-column input,
|
||||
.wp-list-table.plugins .update .check-column input {
|
||||
margin-right: 6px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.wp-list-table.plugins thead .check-column input,
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -564,9 +564,11 @@ ol.ol-decimal > li {
|
||||
margin: 0 0 0.5em;
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
.code,
|
||||
code {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
input.code {
|
||||
@@ -725,7 +727,6 @@ select,
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#update-plugins-table tbody th.check-column,
|
||||
.plugins tbody th.check-column,
|
||||
.plugins tbody {
|
||||
padding: 8px 0 0 2px;
|
||||
@@ -745,12 +746,22 @@ select,
|
||||
|
||||
.plugins thead th.check-column,
|
||||
.plugins tfoot th.check-column,
|
||||
.plugins .inactive th.check-column,
|
||||
#update-plugins-table thead th.check-column,
|
||||
#update-plugins-table tfoot th.check-column {
|
||||
.plugins .inactive th.check-column {
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.upgrade .plugins td,
|
||||
.upgrade .plugins th {
|
||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.upgrade .plugins tr:last-of-type td,
|
||||
.upgrade .plugins tr:last-of-type th {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#update-plugins-table thead th.check-column,
|
||||
#update-plugins-table tfoot th.check-column {
|
||||
padding-top: 11px;
|
||||
@@ -1275,6 +1286,10 @@ p.search-box {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.network-admin.themes-php p.search-box {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.search-box input[name="s"],
|
||||
#search-plugins input[name="s"],
|
||||
.tagsdiv .newtag {
|
||||
@@ -2962,7 +2977,8 @@ body #dashboard-widgets .postbox form .submit {
|
||||
|
||||
/* Dashboard right now - Colors */
|
||||
|
||||
#dashboard_right_now li a:before {
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
@@ -2981,12 +2997,14 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#dashboard_right_now .warning a:before {
|
||||
#dashboard_right_now .warning a:before,
|
||||
#dashboard_right_now .warning span:before {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
/* Dashboard right now - Icons */
|
||||
#dashboard_right_now li a:before {
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
content: '\f159';
|
||||
font: normal 20px/1 'dashicons';
|
||||
speak: none;
|
||||
@@ -3001,11 +3019,13 @@ body #dashboard-widgets .postbox form .submit {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
#dashboard_right_now .page-count a:before {
|
||||
#dashboard_right_now .page-count a:before,
|
||||
#dashboard_right_now .page-count span:before {
|
||||
content: '\f105';
|
||||
}
|
||||
|
||||
#dashboard_right_now .post-count a:before {
|
||||
#dashboard_right_now .post-count a:before,
|
||||
#dashboard_right_now .post-count span:before {
|
||||
content: '\f109';
|
||||
}
|
||||
|
||||
@@ -3156,6 +3176,7 @@ form.initial-form.quickpress-open input#title {
|
||||
|
||||
#dashboard_quick_press .drafts p {
|
||||
margin: 0;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .draft-title {
|
||||
@@ -3392,6 +3413,10 @@ table.fixed {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.fixed .column-comment .comment-author {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fixed .column-response,
|
||||
.fixed .column-categories,
|
||||
.fixed .column-tags,
|
||||
@@ -6333,11 +6358,15 @@ span.imgedit-scale-warn {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.network-admin.themes-php .wrap h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.themes-php .wrap h2 .button {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.themes-php .theme-count {
|
||||
.themes-php .wrap .theme-count {
|
||||
color: #fff;
|
||||
border-radius: 30px;
|
||||
background: #777;
|
||||
@@ -6379,6 +6408,11 @@ span.imgedit-scale-warn {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.ie8 .theme-browser .theme {
|
||||
width: 30%;
|
||||
margin: 0 3% 4% 0;
|
||||
}
|
||||
|
||||
.theme-browser .theme:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -6404,6 +6438,7 @@ span.imgedit-scale-warn {
|
||||
|
||||
/* Activate and Customize buttons, shown on hover */
|
||||
.theme-browser .theme .theme-actions {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.1s ease-in-out;
|
||||
transition: opacity 0.1s ease-in-out;
|
||||
@@ -6417,6 +6452,7 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme:hover .theme-actions {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -6469,11 +6505,13 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme .more-details {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
right: 25%;
|
||||
left: 25%;
|
||||
background: #222;
|
||||
background: rgba(0,0,0,0.7);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
@@ -6486,8 +6524,27 @@ span.imgedit-scale-warn {
|
||||
-webkit-transition: opacity 0.1s ease-in-out;
|
||||
transition: opacity 0.1s ease-in-out;
|
||||
}
|
||||
.theme-browser .theme:focus {
|
||||
outline: 1px dotted #222;
|
||||
}
|
||||
/* Hide shortcut actions and hover feedback when using tab navigation */
|
||||
.theme-browser .theme:focus .theme-actions {
|
||||
display: none;
|
||||
}
|
||||
/* Restore display of theme controls if you hover a focused theme */
|
||||
.theme-browser .theme:focus:hover .theme-actions {
|
||||
display: block;
|
||||
}
|
||||
.theme-browser .theme:focus .more-details {
|
||||
opacity: 1;
|
||||
}
|
||||
/* Current theme needs to have its action always on view */
|
||||
.theme-browser .theme.active:focus .theme-actions {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.theme-browser.rendered .theme:hover .more-details {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -6514,7 +6571,7 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme .theme-update:before {
|
||||
content: '\f113';
|
||||
content: '\f463';
|
||||
display: inline-block;
|
||||
font: normal 20px/1 'dashicons';
|
||||
margin: 0 6px 0 0;
|
||||
@@ -6591,7 +6648,9 @@ span.imgedit-scale-warn {
|
||||
.theme-browser .theme.add-new-theme:after {
|
||||
display: block;
|
||||
content: '';
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
opacity: 1;
|
||||
background: transparent;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -6600,6 +6659,7 @@ span.imgedit-scale-warn {
|
||||
bottom: 0;
|
||||
padding: 10% 0 0 0;
|
||||
text-shadow: none;
|
||||
border: 5px dashed #d5d2ca;
|
||||
border: 5px dashed rgba(0, 0, 0, 0.1);
|
||||
-webkit-transition: opacity 0.2s ease-in-out;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
@@ -6609,6 +6669,7 @@ span.imgedit-scale-warn {
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme span:after {
|
||||
background: #e5e5e5;
|
||||
background: rgba(153, 153, 153, 0.1);
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
@@ -6647,6 +6708,7 @@ span.imgedit-scale-warn {
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
background: #0074a2;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme .theme-name {
|
||||
@@ -6688,6 +6750,7 @@ span.imgedit-scale-warn {
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: #f1f1f1;
|
||||
background: rgba( 238, 238, 238, 0.9 );
|
||||
z-index: 10;
|
||||
}
|
||||
@@ -6711,10 +6774,13 @@ body.theme-overlay-open {
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
float: right;
|
||||
border: 0;
|
||||
border-left: 1px solid #ddd;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-header .close:hover:before {
|
||||
.theme-overlay .theme-header .close:hover:before,
|
||||
.theme-overlay .theme-header .close:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -6731,20 +6797,21 @@ body.theme-overlay-open {
|
||||
.theme-overlay .theme-header .left {
|
||||
cursor: pointer;
|
||||
color: #777;
|
||||
background-color: transparent;
|
||||
height: 48px;
|
||||
width: 54px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
border: 0;
|
||||
border-right: 1px solid #ddd;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-header .close:hover,
|
||||
.theme-overlay .theme-header .right:hover,
|
||||
.theme-overlay .theme-header .left:hover {
|
||||
.theme-overlay .theme-header .left:hover,
|
||||
.theme-overlay .theme-header .close:focus,
|
||||
.theme-overlay .theme-header .right:focus,
|
||||
.theme-overlay .theme-header .left:focus {
|
||||
background: #0074a2;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -6837,6 +6904,10 @@ body.folded .theme-overlay .theme-wrap {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.ie8 .theme-overlay .theme-actions {
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-actions a {
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
@@ -6853,7 +6924,8 @@ body.folded .theme-overlay .theme-wrap {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-actions .delete-theme:hover {
|
||||
.theme-overlay .theme-actions .delete-theme:hover,
|
||||
.theme-overlay .theme-actions .delete-theme:focus {
|
||||
background: #d54e21;
|
||||
color: #fff;
|
||||
border-color: #d54e21;
|
||||
@@ -7617,7 +7689,7 @@ div#custom-background-image img {
|
||||
}
|
||||
|
||||
.plugin-update-tr .update-message:before {
|
||||
content: '\f113';
|
||||
content: '\f463';
|
||||
display: inline-block;
|
||||
font: normal 20px/1 'dashicons';
|
||||
speak: none;
|
||||
@@ -8593,7 +8665,13 @@ p.pagenav {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.column-author img, .column-username img {
|
||||
.column-comment .comment-author {
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
.column-author img,
|
||||
.column-username img,
|
||||
.column-comment .comment-author img {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
margin-top: 1px;
|
||||
@@ -10101,6 +10179,12 @@ div.star-holder .star-rating {
|
||||
content:'\f459';
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
-webkit-transform: rotateY(180deg);
|
||||
-ms-transform: rotateY(180deg);
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.star-rating .star-empty:before {
|
||||
content:'\f154';
|
||||
}
|
||||
@@ -10644,6 +10728,12 @@ input.newtag:focus ~ div.taghint {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
#template textarea,
|
||||
#docs-list {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#template p {
|
||||
width: 97%;
|
||||
}
|
||||
@@ -11375,6 +11465,17 @@ li#wp-admin-bar-menu-toggle {
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
|
||||
div.widget {
|
||||
margin: 0 auto 10px !important;
|
||||
max-width: 480px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
div.widget {
|
||||
max-width: 320px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
@@ -11762,19 +11863,13 @@ li#wp-admin-bar-menu-toggle {
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 190px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
left: -200px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuwrap,
|
||||
.auto-fold #adminmenu,
|
||||
.auto-fold #adminmenuback {
|
||||
width: 190px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.menu-top {
|
||||
@@ -11880,7 +11975,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
|
||||
.auto-fold .wp-responsive-open #adminmenuback,
|
||||
.auto-fold .wp-responsive-open #adminmenuwrap {
|
||||
left: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* General New Post Form */
|
||||
@@ -12242,6 +12337,10 @@ li#wp-admin-bar-menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fixed .column-comment .comment-author {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Posts */
|
||||
.column-title {
|
||||
width: 85%;
|
||||
@@ -12398,7 +12497,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
display: block;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
-mox-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
input[type=text].small-text,
|
||||
@@ -12417,7 +12516,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
#pass-strength-result {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
-mox-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
@@ -12744,12 +12843,12 @@ li#wp-admin-bar-menu-toggle {
|
||||
|
||||
.widefat tbody th.check-column input[type="checkbox"] {
|
||||
margin-top: -3px;
|
||||
margin-left: 9px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.wp-list-table.plugins .active .check-column input,
|
||||
.wp-list-table.plugins .update .check-column input {
|
||||
margin-left: 6px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.wp-list-table.plugins thead .check-column input,
|
||||
|
||||
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -390,6 +390,10 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
$delete_url = esc_url( $url . "&action=deletecomment&$del_nonce" );
|
||||
}
|
||||
|
||||
echo '<div class="comment-author">';
|
||||
$this->column_author( $comment );
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="submitted-on">';
|
||||
/* translators: 2: comment date, 3: comment time */
|
||||
printf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
|
||||
@@ -533,9 +537,9 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
|
||||
if ( current_user_can( 'edit_post', $post->ID ) ) {
|
||||
$post_link = "<a href='" . get_edit_post_link( $post->ID ) . "'>";
|
||||
$post_link .= get_the_title( $post->ID ) . '</a>';
|
||||
$post_link .= esc_html( get_the_title( $post->ID ) ) . '</a>';
|
||||
} else {
|
||||
$post_link = get_the_title( $post->ID );
|
||||
$post_link = esc_html( get_the_title( $post->ID ) );
|
||||
}
|
||||
|
||||
echo '<div class="response-links"><span class="post-com-count-wrapper">';
|
||||
|
||||
@@ -839,7 +839,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
<?php if ( !$bulk ) echo $authors_dropdown;
|
||||
endif; // post_type_supports author
|
||||
|
||||
if ( !$bulk ) :
|
||||
if ( !$bulk && $can_publish ) :
|
||||
?>
|
||||
|
||||
<div class="inline-edit-group">
|
||||
|
||||
@@ -1871,18 +1871,21 @@ class WP_Automatic_Updater {
|
||||
if ( ! $this->should_update( $type, $item, $context ) )
|
||||
return false;
|
||||
|
||||
$upgrader_item = $item;
|
||||
switch ( $type ) {
|
||||
case 'core':
|
||||
$skin->feedback( __( 'Updating to WordPress %s' ), $item->version );
|
||||
$item_name = sprintf( __( 'WordPress %s' ), $item->version );
|
||||
break;
|
||||
case 'theme':
|
||||
$theme = wp_get_theme( $item );
|
||||
$upgrader_item = $item->theme;
|
||||
$theme = wp_get_theme( $upgrader_item );
|
||||
$item_name = $theme->Get( 'Name' );
|
||||
$skin->feedback( __( 'Updating theme: %s' ), $item_name );
|
||||
break;
|
||||
case 'plugin':
|
||||
$plugin_data = get_plugin_data( $context . '/' . $item );
|
||||
$upgrader_item = $item->plugin;
|
||||
$plugin_data = get_plugin_data( $context . '/' . $upgrader_item );
|
||||
$item_name = $plugin_data['Name'];
|
||||
$skin->feedback( __( 'Updating plugin: %s' ), $item_name );
|
||||
break;
|
||||
@@ -1894,7 +1897,7 @@ class WP_Automatic_Updater {
|
||||
}
|
||||
|
||||
// Boom, This sites about to get a whole new splash of paint!
|
||||
$upgrade_result = $upgrader->upgrade( $item, array(
|
||||
$upgrade_result = $upgrader->upgrade( $upgrader_item, array(
|
||||
'clear_update_cache' => false,
|
||||
'pre_check_md5' => false, /* always use partial builds if possible for core updates */
|
||||
'attempt_rollback' => true, /* only available for core updates */
|
||||
@@ -1968,7 +1971,7 @@ class WP_Automatic_Updater {
|
||||
wp_update_plugins(); // Check for Plugin updates
|
||||
$plugin_updates = get_site_transient( 'update_plugins' );
|
||||
if ( $plugin_updates && !empty( $plugin_updates->response ) ) {
|
||||
foreach ( array_keys( $plugin_updates->response ) as $plugin ) {
|
||||
foreach ( $plugin_updates->response as $plugin ) {
|
||||
$this->update( 'plugin', $plugin );
|
||||
}
|
||||
// Force refresh of plugin update information
|
||||
@@ -1979,8 +1982,8 @@ class WP_Automatic_Updater {
|
||||
wp_update_themes(); // Check for Theme updates
|
||||
$theme_updates = get_site_transient( 'update_themes' );
|
||||
if ( $theme_updates && !empty( $theme_updates->response ) ) {
|
||||
foreach ( array_keys( $theme_updates->response ) as $theme ) {
|
||||
$this->update( 'theme', $theme );
|
||||
foreach ( $theme_updates->response as $theme ) {
|
||||
$this->update( 'theme', (object) $theme );
|
||||
}
|
||||
// Force refresh of theme update information
|
||||
wp_clean_themes_cache();
|
||||
@@ -1995,8 +1998,21 @@ class WP_Automatic_Updater {
|
||||
|
||||
// Clean up, and check for any pending translations
|
||||
// (Core_Upgrader checks for core updates)
|
||||
wp_update_themes(); // Check for Theme updates
|
||||
wp_update_plugins(); // Check for Plugin updates
|
||||
$theme_stats = array();
|
||||
if ( isset( $this->update_results['theme'] ) ) {
|
||||
foreach ( $this->update_results['theme'] as $upgrade ) {
|
||||
$theme_stats[ $upgrade->item->theme ] = ( true === $upgrade->result );
|
||||
}
|
||||
}
|
||||
wp_update_themes( $theme_stats ); // Check for Theme updates
|
||||
|
||||
$plugin_stats = array();
|
||||
if ( isset( $this->update_results['plugin'] ) ) {
|
||||
foreach ( $this->update_results['plugin'] as $upgrade ) {
|
||||
$plugin_stats[ $upgrade->item->plugin ] = ( true === $upgrade->result );
|
||||
}
|
||||
}
|
||||
wp_update_plugins( $plugin_stats ); // Check for Plugin updates
|
||||
|
||||
// Finally, Process any new translations
|
||||
$language_updates = wp_get_translation_updates();
|
||||
|
||||
@@ -194,7 +194,13 @@ function wp_dashboard_right_now() {
|
||||
$text = _n( '%s Page', '%s Pages', $num_posts->publish );
|
||||
}
|
||||
$text = sprintf( $text, number_format_i18n( $num_posts->publish ) );
|
||||
printf( '<li class="%1$s-count"><a href="edit.php?post_type=%1$s">%2$s</a></li>', $post_type, $text );
|
||||
$post_type_object = get_post_type_object( $post_type );
|
||||
if ( $post_type_object && current_user_can( $post_type_object->cap->edit_posts ) ) {
|
||||
printf( '<li class="%1$s-count"><a href="edit.php?post_type=%1$s">%2$s</a></li>', $post_type, $text );
|
||||
} else {
|
||||
printf( '<li class="%1$s-count"><span>%2$s</span></li>', $post_type, $text );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
// Comments
|
||||
@@ -327,6 +333,10 @@ function wp_network_dashboard_right_now() {
|
||||
function wp_dashboard_quick_press( $error_msg = false ) {
|
||||
global $post_ID;
|
||||
|
||||
if ( ! current_user_can( 'edit_posts' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Check if a new auto-draft (= no new post_ID) is needed or if the old can be used */
|
||||
$last_post_id = (int) get_user_option( 'dashboard_quick_press_last_post_id' ); // Get the last post_ID
|
||||
if ( $last_post_id ) {
|
||||
@@ -424,7 +434,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
|
||||
$GLOBALS['comment'] =& $comment;
|
||||
|
||||
$comment_post_url = get_edit_post_link( $comment->comment_post_ID );
|
||||
$comment_post_title = strip_tags(get_the_title( $comment->comment_post_ID ));
|
||||
$comment_post_title = _draft_or_post_title( $comment->comment_post_ID );
|
||||
$comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>";
|
||||
$comment_link = '<a class="comment-link" href="' . esc_url(get_comment_link()) . '">#</a>';
|
||||
|
||||
|
||||
@@ -316,6 +316,12 @@ function wp_read_image_metadata( $file ) {
|
||||
$meta[ $key ] = utf8_encode( $meta[ $key ] );
|
||||
}
|
||||
|
||||
foreach ( $meta as &$value ) {
|
||||
if ( is_string( $value ) ) {
|
||||
$value = wp_kses_post( $value );
|
||||
}
|
||||
}
|
||||
|
||||
return apply_filters( 'wp_read_image_metadata', $meta, $file, $sourceImageType );
|
||||
|
||||
}
|
||||
|
||||
@@ -561,7 +561,7 @@ function saveDomDocument($doc, $filename) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
function admin_color_scheme_picker() {
|
||||
function admin_color_scheme_picker( $user_id ) {
|
||||
global $_wp_admin_css_colors;
|
||||
|
||||
ksort( $_wp_admin_css_colors );
|
||||
@@ -571,7 +571,7 @@ function admin_color_scheme_picker() {
|
||||
$_wp_admin_css_colors = array_filter( array_merge( array( 'fresh' => '', 'light' => '' ), $_wp_admin_css_colors ) );
|
||||
}
|
||||
|
||||
$current_color = get_user_option( 'admin_color' );
|
||||
$current_color = get_user_option( 'admin_color', $user_id );
|
||||
|
||||
if ( empty( $current_color ) || ! isset( $_wp_admin_css_colors[ $current_color ] ) ) {
|
||||
$current_color = 'fresh';
|
||||
|
||||
@@ -100,6 +100,10 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
|
||||
$post_id = false;
|
||||
$previous_status = $post_id ? get_post_field( 'post_status', $post_id ) : false;
|
||||
|
||||
if ( isset( $post_data['post_status'] ) && 'private' == $post_data['post_status'] && ! current_user_can( $ptype->cap->publish_posts ) ) {
|
||||
$post_data['post_status'] = $previous_status ? $previous_status : 'pending';
|
||||
}
|
||||
|
||||
$published_statuses = array( 'publish', 'future' );
|
||||
|
||||
// Posts 'submitted for approval' present are submitted to $_POST the same as if they were being published.
|
||||
@@ -111,6 +115,10 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
|
||||
if ( ! isset($post_data['post_status']) )
|
||||
$post_data['post_status'] = $previous_status;
|
||||
|
||||
if ( isset( $post_data['post_password'] ) && ! current_user_can( $ptype->cap->publish_posts ) ) {
|
||||
unset( $post_data['post_password'] );
|
||||
}
|
||||
|
||||
if (!isset( $post_data['comment_status'] ))
|
||||
$post_data['comment_status'] = 'closed';
|
||||
|
||||
@@ -158,6 +166,7 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
|
||||
* @return int Post ID.
|
||||
*/
|
||||
function edit_post( $post_data = null ) {
|
||||
global $wpdb;
|
||||
|
||||
if ( empty($post_data) )
|
||||
$post_data = &$_POST;
|
||||
@@ -170,6 +179,14 @@ function edit_post( $post_data = null ) {
|
||||
$post_data['post_type'] = $post->post_type;
|
||||
$post_data['post_mime_type'] = $post->post_mime_type;
|
||||
|
||||
if ( ! empty( $post_data['post_status'] ) ) {
|
||||
$post_data['post_status'] = sanitize_key( $post_data['post_status'] );
|
||||
|
||||
if ( 'inherit' == $post_data['post_status'] ) {
|
||||
unset( $post_data['post_status'] );
|
||||
}
|
||||
}
|
||||
|
||||
$ptype = get_post_type_object($post_data['post_type']);
|
||||
if ( !current_user_can( 'edit_post', $post_ID ) ) {
|
||||
if ( 'page' == $post_data['post_type'] )
|
||||
@@ -187,13 +204,6 @@ function edit_post( $post_data = null ) {
|
||||
_wp_upgrade_revisions_of_post( $post, wp_get_post_revisions( $post_ID ) );
|
||||
}
|
||||
|
||||
$post_data = _wp_translate_postdata( true, $post_data );
|
||||
if ( is_wp_error($post_data) )
|
||||
wp_die( $post_data->get_error_message() );
|
||||
if ( ( empty( $post_data['action'] ) || 'autosave' != $post_data['action'] ) && 'auto-draft' == $post_data['post_status'] ) {
|
||||
$post_data['post_status'] = 'draft';
|
||||
}
|
||||
|
||||
if ( isset($post_data['visibility']) ) {
|
||||
switch ( $post_data['visibility'] ) {
|
||||
case 'public' :
|
||||
@@ -210,6 +220,14 @@ function edit_post( $post_data = null ) {
|
||||
}
|
||||
}
|
||||
|
||||
$post_data = _wp_translate_postdata( true, $post_data );
|
||||
if ( is_wp_error($post_data) )
|
||||
wp_die( $post_data->get_error_message() );
|
||||
|
||||
if ( ( empty( $post_data['action'] ) || 'autosave' != $post_data['action'] ) && 'auto-draft' == $post_data['post_status'] ) {
|
||||
$post_data['post_status'] = 'draft';
|
||||
}
|
||||
|
||||
// Post Formats
|
||||
if ( isset( $post_data['post_format'] ) )
|
||||
set_post_format( $post_ID, $post_data['post_format'] );
|
||||
@@ -278,7 +296,19 @@ function edit_post( $post_data = null ) {
|
||||
|
||||
update_post_meta( $post_ID, '_edit_last', get_current_user_id() );
|
||||
|
||||
wp_update_post( $post_data );
|
||||
$success = wp_update_post( $post_data );
|
||||
// If the save failed, see if we can sanity check the main fields and try again
|
||||
if ( ! $success && is_callable( array( $wpdb, 'strip_invalid_text_for_column' ) ) ) {
|
||||
$fields = array( 'post_title', 'post_content', 'post_excerpt' );
|
||||
|
||||
foreach( $fields as $field ) {
|
||||
if ( isset( $post_data[ $field ] ) ) {
|
||||
$post_data[ $field ] = $wpdb->strip_invalid_text_for_column( $wpdb->posts, $field, $post_data[ $field ] );
|
||||
}
|
||||
}
|
||||
|
||||
wp_update_post( $post_data );
|
||||
}
|
||||
|
||||
// Now that we have an ID we can fix any attachment anchor hrefs
|
||||
_fix_attachment_links( $post_ID );
|
||||
@@ -332,6 +362,14 @@ function bulk_edit_posts( $post_data = null ) {
|
||||
}
|
||||
unset($post_data['_status']);
|
||||
|
||||
if ( ! empty( $post_data['post_status'] ) ) {
|
||||
$post_data['post_status'] = sanitize_key( $post_data['post_status'] );
|
||||
|
||||
if ( 'inherit' == $post_data['post_status'] ) {
|
||||
unset( $post_data['post_status'] );
|
||||
}
|
||||
}
|
||||
|
||||
$post_IDs = array_map( 'intval', (array) $post_data['post'] );
|
||||
|
||||
$reset = array(
|
||||
@@ -386,7 +424,12 @@ function bulk_edit_posts( $post_data = null ) {
|
||||
}
|
||||
|
||||
$updated = $skipped = $locked = array();
|
||||
$shared_post_data = $post_data;
|
||||
|
||||
foreach ( $post_IDs as $post_ID ) {
|
||||
// Start with fresh post data with each iteration.
|
||||
$post_data = $shared_post_data;
|
||||
|
||||
$post_type_object = get_post_type_object( get_post_type( $post_ID ) );
|
||||
|
||||
if ( !isset( $post_type_object ) || ( isset($children) && in_array($post_ID, $children) ) || !current_user_can( 'edit_post', $post_ID ) ) {
|
||||
@@ -422,10 +465,25 @@ function bulk_edit_posts( $post_data = null ) {
|
||||
unset( $post_data['tax_input']['category'] );
|
||||
}
|
||||
|
||||
$post_data['post_type'] = $post->post_type;
|
||||
$post_data['post_mime_type'] = $post->post_mime_type;
|
||||
$post_data['guid'] = $post->guid;
|
||||
|
||||
foreach ( array( 'comment_status', 'ping_status', 'post_author' ) as $field ) {
|
||||
if ( ! isset( $post_data[ $field ] ) ) {
|
||||
$post_data[ $field ] = $post->$field;
|
||||
}
|
||||
}
|
||||
|
||||
$post_data['ID'] = $post_ID;
|
||||
$post_data['post_ID'] = $post_ID;
|
||||
|
||||
$post_data = _wp_translate_postdata( true, $post_data );
|
||||
if ( is_wp_error( $post_data ) ) {
|
||||
$skipped[] = $post_ID;
|
||||
continue;
|
||||
}
|
||||
|
||||
$updated[] = wp_update_post( $post_data );
|
||||
|
||||
if ( isset( $post_data['sticky'] ) && current_user_can( $ptype->cap->edit_others_posts ) ) {
|
||||
@@ -569,10 +627,6 @@ function wp_write_post() {
|
||||
if ( isset( $_POST['post_ID'] ) )
|
||||
return edit_post();
|
||||
|
||||
$translated = _wp_translate_postdata( false );
|
||||
if ( is_wp_error($translated) )
|
||||
return $translated;
|
||||
|
||||
if ( isset($_POST['visibility']) ) {
|
||||
switch ( $_POST['visibility'] ) {
|
||||
case 'public' :
|
||||
@@ -589,6 +643,10 @@ function wp_write_post() {
|
||||
}
|
||||
}
|
||||
|
||||
$translated = _wp_translate_postdata( false );
|
||||
if ( is_wp_error($translated) )
|
||||
return $translated;
|
||||
|
||||
// Create the post.
|
||||
$post_ID = wp_insert_post( $_POST );
|
||||
if ( is_wp_error( $post_ID ) )
|
||||
@@ -1296,7 +1354,7 @@ function _admin_notice_post_locked() {
|
||||
// Allow plugins to prevent some users overriding the post lock
|
||||
if ( $override ) {
|
||||
?>
|
||||
<a class="button button-primary wp-tab-last" href="<?php echo esc_url( add_query_arg( 'get-post-lock', '1', get_edit_post_link( $post->ID, 'url' ) ) ); ?>"><?php _e('Take over'); ?></a>
|
||||
<a class="button button-primary wp-tab-last" href="<?php echo esc_url( add_query_arg( 'get-post-lock', '1', wp_nonce_url( get_edit_post_link( $post->ID, 'url' ), 'lock-post_' . $post->ID ) ) ); ?>"><?php _e('Take over'); ?></a>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
@@ -1373,7 +1373,7 @@ function _draft_or_post_title( $post = 0 ) {
|
||||
$title = get_the_title( $post );
|
||||
if ( empty( $title ) )
|
||||
$title = __( '(no title)' );
|
||||
return $title;
|
||||
return esc_html( $title );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -250,8 +250,13 @@ function get_theme_feature_list( $api = true ) {
|
||||
|
||||
set_site_transient( 'wporg_theme_feature_list', $feature_list, 10800 );
|
||||
|
||||
$category_translations = array( 'Colors' => __('Colors'), 'Columns' => __('Columns'), 'Width' => __('Width'),
|
||||
'Features' => __('Features'), 'Subject' => __('Subject') );
|
||||
$category_translations = array(
|
||||
'Colors' => __( 'Colors' ),
|
||||
'Columns' => __( 'Columns' ),
|
||||
'Layout' => __( 'Layout' ),
|
||||
'Features' => __( 'Features' ),
|
||||
'Subject' => __( 'Subject' )
|
||||
);
|
||||
|
||||
// Loop over the wporg canonical list and apply translations
|
||||
$wporg_features = array();
|
||||
|
||||
@@ -923,6 +923,9 @@ function update_core($from, $to) {
|
||||
$wp_filesystem->delete($old_file, true);
|
||||
}
|
||||
|
||||
// Remove any Genericons example.html's from the filesystem
|
||||
_upgrade_422_remove_genericons();
|
||||
|
||||
// Upgrade DB with separate request
|
||||
apply_filters('update_feedback', __('Upgrading database…'));
|
||||
$db_upgrade_url = admin_url('upgrade.php?step=upgrade_db');
|
||||
@@ -1051,3 +1054,67 @@ window.location = 'about.php?updated';
|
||||
exit();
|
||||
}
|
||||
add_action( '_core_updated_successfully', '_redirect_to_about_wordpress' );
|
||||
|
||||
/**
|
||||
* Cleans up Genericons example files.
|
||||
*
|
||||
* @since 4.2.2
|
||||
*/
|
||||
function _upgrade_422_remove_genericons() {
|
||||
global $wp_theme_directories, $wp_filesystem;
|
||||
|
||||
// A list of the affected files using the filesystem absolute paths.
|
||||
$affected_files = array();
|
||||
|
||||
// Themes
|
||||
foreach ( $wp_theme_directories as $directory ) {
|
||||
$affected_theme_files = _upgrade_422_find_genericons_files_in_folder( $directory );
|
||||
$affected_files = array_merge( $affected_files, $affected_theme_files );
|
||||
}
|
||||
|
||||
// Plugins
|
||||
$affected_plugin_files = _upgrade_422_find_genericons_files_in_folder( WP_PLUGIN_DIR );
|
||||
$affected_files = array_merge( $affected_files, $affected_plugin_files );
|
||||
|
||||
foreach ( $affected_files as $file ) {
|
||||
$gen_dir = $wp_filesystem->find_folder( trailingslashit( dirname( $file ) ) );
|
||||
if ( empty( $gen_dir ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// The path when the file is accessed via WP_Filesystem may differ in the case of FTP
|
||||
$remote_file = $gen_dir . basename( $file );
|
||||
|
||||
if ( ! $wp_filesystem->exists( $remote_file ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( ! $wp_filesystem->delete( $remote_file, false, 'f' ) ) {
|
||||
$wp_filesystem->put_contents( $remote_file, '' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Recursively find Genericons example files in a given folder.
|
||||
*
|
||||
* @ignore
|
||||
* @since 4.2.2
|
||||
*
|
||||
* @param string $directory Directory path. Expects trailingslashed.
|
||||
* @return array
|
||||
*/
|
||||
function _upgrade_422_find_genericons_files_in_folder( $directory ) {
|
||||
$directory = trailingslashit( $directory );
|
||||
$files = array();
|
||||
|
||||
if ( file_exists( "{$directory}example.html" ) && false !== strpos( file_get_contents( "{$directory}example.html" ), '<title>Genericons</title>' ) ) {
|
||||
$files[] = "{$directory}example.html";
|
||||
}
|
||||
|
||||
foreach ( glob( $directory . '*', GLOB_ONLYDIR ) as $dir ) {
|
||||
$files = array_merge( $files, _upgrade_422_find_genericons_files_in_folder( $dir ) );
|
||||
}
|
||||
|
||||
return $files;
|
||||
}
|
||||
|
||||
@@ -411,6 +411,12 @@ function upgrade_all() {
|
||||
if ( $wp_current_db_version < 26691 )
|
||||
upgrade_380();
|
||||
|
||||
if ( $wp_current_db_version < 26692 )
|
||||
upgrade_383();
|
||||
|
||||
if ( $wp_current_db_version < 26694 )
|
||||
upgrade_389();
|
||||
|
||||
maybe_disable_link_manager();
|
||||
|
||||
maybe_disable_automattic_widgets();
|
||||
@@ -1251,6 +1257,92 @@ function upgrade_380() {
|
||||
deactivate_plugins( array( 'mp6/mp6.php' ), true );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute changes made in WordPress 3.8.3.
|
||||
*
|
||||
* @since 3.8.3
|
||||
*/
|
||||
function upgrade_383() {
|
||||
global $wp_current_db_version, $wpdb;
|
||||
if ( $wp_current_db_version < 26692 ) {
|
||||
// Find all lost Quick Draft auto-drafts and promote them to proper drafts.
|
||||
$posts = $wpdb->get_results( "SELECT ID, post_title, post_content FROM $wpdb->posts WHERE post_type = 'post'
|
||||
AND post_status = 'auto-draft' AND post_date >= '2014-04-08 00:00:00'" );
|
||||
|
||||
foreach ( $posts as $post ) {
|
||||
// A regular auto-draft should never have content as that would mean it should have been promoted.
|
||||
// If an auto-draft has content, it's from Quick Draft and it should be recovered.
|
||||
if ( '' === $post->post_content ) {
|
||||
// If it does not have content, we must evaluate whether the title should be recovered.
|
||||
if ( 'Auto Draft' === $post->post_title || __( 'Auto Draft' ) === $post->post_title ) {
|
||||
// This a plain old auto draft. Ignore it.
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
$wpdb->update( $wpdb->posts, array( 'post_status' => 'draft' ), array( 'ID' => $post->ID ) );
|
||||
clean_post_cache( $post->ID );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute changes made in WordPress 3.8.8.
|
||||
*
|
||||
* @since 3.8.8
|
||||
*/
|
||||
function upgrade_388() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute changes made in WordPress 3.8.9.
|
||||
*
|
||||
* @since 3.8.9
|
||||
*/
|
||||
function upgrade_389() {
|
||||
global $wp_current_db_version, $wpdb;
|
||||
|
||||
if ( $wp_current_db_version < 26694 ) {
|
||||
$content_length = $wpdb->get_col_length( $wpdb->comments, 'comment_content' );
|
||||
|
||||
if ( is_wp_error( $content_length ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( false === $content_length ) {
|
||||
$content_length = array(
|
||||
'type' => 'byte',
|
||||
'length' => 65535,
|
||||
);
|
||||
} elseif ( ! is_array( $content_length ) ) {
|
||||
$length = (int) $content_length > 0 ? (int) $content_length : 65535;
|
||||
$content_length = array(
|
||||
'type' => 'byte',
|
||||
'length' => $length
|
||||
);
|
||||
}
|
||||
|
||||
if ( 'byte' !== $content_length['type'] || 0 === $content_length['length'] ) {
|
||||
// Sites with malformed DB schemas are on their own.
|
||||
return;
|
||||
}
|
||||
|
||||
$allowed_length = intval( $content_length['length'] ) - 10;
|
||||
|
||||
$comments = $wpdb->get_results(
|
||||
"SELECT `comment_ID` FROM `{$wpdb->comments}`
|
||||
WHERE `comment_date_gmt` > '2015-04-26'
|
||||
AND LENGTH( `comment_content` ) >= {$allowed_length}
|
||||
AND ( `comment_content` LIKE '%<%' OR `comment_content` LIKE '%>%' )"
|
||||
);
|
||||
|
||||
foreach ( $comments as $comment ) {
|
||||
wp_delete_comment( $comment->comment_ID, true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute network level changes
|
||||
*
|
||||
|
||||
@@ -553,10 +553,18 @@ $(document).ready( function() {
|
||||
self.deactivate();
|
||||
});
|
||||
|
||||
$( '#wp-admin-bar-menu-toggle a' ).attr( 'aria-expanded', 'false' );
|
||||
|
||||
// Toggle sidebar when toggle is clicked
|
||||
$( '#wp-admin-bar-menu-toggle' ).on( 'click.wp-responsive', function( event ) {
|
||||
event.preventDefault();
|
||||
$wpwrap.toggleClass( 'wp-responsive-open' );
|
||||
if ( $wpwrap.hasClass( 'wp-responsive-open' ) ) {
|
||||
$(this).find('a').attr( 'aria-expanded', 'true' );
|
||||
$( '#adminmenu a:first' ).focus();
|
||||
} else {
|
||||
$(this).find('a').attr( 'aria-expanded', 'false' );
|
||||
}
|
||||
} );
|
||||
|
||||
// Add menu events
|
||||
|
||||
2
wp-admin/js/common.min.js
vendored
2
wp-admin/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -159,9 +159,9 @@ jQuery(document).ready( function($) {
|
||||
editor.on('focus input propertychange', function() {
|
||||
var $this = $(this),
|
||||
// is to ensure that the height of a final trailing newline is included.
|
||||
textareaContent = $this.val().replace(/\n/g, '<br>') + ' ',
|
||||
textareaContent = $this.val() + ' ',
|
||||
// 2px is for border-top & border-bottom
|
||||
cloneHeight = clone.css('width', $this.css('width')).html(textareaContent).outerHeight() + 2;
|
||||
cloneHeight = clone.css('width', $this.css('width')).text(textareaContent).outerHeight() + 2;
|
||||
|
||||
// Default to having scrollbars
|
||||
editor.css('overflow-y', 'auto');
|
||||
|
||||
2
wp-admin/js/dashboard.min.js
vendored
2
wp-admin/js/dashboard.min.js
vendored
@@ -1 +1 @@
|
||||
var ajaxWidgets,ajaxPopulateWidgets,quickPressLoad;jQuery(document).ready(function(a){function b(){a("body").append('<div class="quick-draft-textarea-clone" style="display: none;"></div>');var b=a(".quick-draft-textarea-clone"),c=a("#content"),d=c.height(),e=a(window).height()-100;b.css({"font-family":c.css("font-family"),"font-size":c.css("font-size"),"line-height":c.css("line-height"),"padding-bottom":c.css("paddingBottom"),"padding-left":c.css("paddingLeft"),"padding-right":c.css("paddingRight"),"padding-top":c.css("paddingTop"),"white-space":"pre-wrap","word-wrap":"break-word",display:"none"}),c.on("focus input propertychange",function(){var f=a(this),g=f.val().replace(/\n/g,"<br>")+" ",h=b.css("width",f.css("width")).html(g).outerHeight()+2;c.css("overflow-y","auto"),h===d||h>=e&&d>=e||(d=h>e?e:h,c.css("overflow-y","hidden"),f.css("height",d+"px"))})}var c,d=a("#welcome-panel"),e=a("#wp_welcome_panel-hide");c=function(b){a.post(ajaxurl,{action:"update-welcome-panel",visible:b,welcomepanelnonce:a("#welcomepanelnonce").val()})},d.hasClass("hidden")&&e.prop("checked")&&d.removeClass("hidden"),a(".welcome-panel-close, .welcome-panel-dismiss a",d).click(function(b){b.preventDefault(),d.addClass("hidden"),c(0),a("#wp_welcome_panel-hide").prop("checked",!1)}),e.click(function(){d.toggleClass("hidden",!this.checked),c(this.checked?1:0)}),ajaxWidgets=["dashboard_primary"],ajaxPopulateWidgets=function(b){function c(b,c){var d,e=a("#"+c+" div.inside:visible").find(".widget-loading");e.length&&(d=e.parent(),setTimeout(function(){d.load(ajaxurl+"?action=dashboard-widgets&widget="+c+"&pagenow="+pagenow,"",function(){d.hide().slideDown("normal",function(){a(this).css("display","")})})},500*b))}b?(b=b.toString(),-1!==a.inArray(b,ajaxWidgets)&&c(0,b)):a.each(ajaxWidgets,c)},ajaxPopulateWidgets(),postboxes.add_postbox_toggles(pagenow,{pbshow:ajaxPopulateWidgets}),quickPressLoad=function(){var c,d=a("#quickpost-action");c=a("#quick-press").submit(function(){function b(){var b=a(".drafts ul li").first();b.css("background","#fffbe5"),setTimeout(function(){b.css("background","none")},1e3)}return a("#dashboard_quick_press #publishing-action .spinner").show(),a('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop("disabled",!0),a.post(c.attr("action"),c.serializeArray(),function(c){a("#dashboard_quick_press .inside").html(c),a("#quick-press").removeClass("initial-form"),quickPressLoad(),b(),a("#title").focus()}),!1}),a("#publish").click(function(){d.val("post-quickpress-publish")}),a("#title, #tags-input, #content").each(function(){var b=a(this),c=a("#"+this.id+"-prompt-text");""===this.value&&c.removeClass("screen-reader-text"),c.click(function(){a(this).addClass("screen-reader-text"),b.focus()}),b.blur(function(){""===this.value&&c.removeClass("screen-reader-text")}),b.focus(function(){c.addClass("screen-reader-text")})}),a("#quick-press").on("click focusin",function(){wpActiveEditor="content"}),b()},quickPressLoad(),a(".meta-box-sortables").sortable("option","containment","document"),a(".show-more a").on("click",function(b){a(this).fadeOut().closest(".activity-block").find("li.hidden").fadeIn().removeClass("hidden"),b.preventDefault()})});
|
||||
var ajaxWidgets,ajaxPopulateWidgets,quickPressLoad;jQuery(document).ready(function(a){function b(){a("body").append('<div class="quick-draft-textarea-clone" style="display: none;"></div>');var b=a(".quick-draft-textarea-clone"),c=a("#content"),d=c.height(),e=a(window).height()-100;b.css({"font-family":c.css("font-family"),"font-size":c.css("font-size"),"line-height":c.css("line-height"),"padding-bottom":c.css("paddingBottom"),"padding-left":c.css("paddingLeft"),"padding-right":c.css("paddingRight"),"padding-top":c.css("paddingTop"),"white-space":"pre-wrap","word-wrap":"break-word",display:"none"}),c.on("focus input propertychange",function(){var f=a(this),g=f.val()+" ",h=b.css("width",f.css("width")).text(g).outerHeight()+2;c.css("overflow-y","auto"),h===d||h>=e&&d>=e||(d=h>e?e:h,c.css("overflow-y","hidden"),f.css("height",d+"px"))})}var c,d=a("#welcome-panel"),e=a("#wp_welcome_panel-hide");c=function(b){a.post(ajaxurl,{action:"update-welcome-panel",visible:b,welcomepanelnonce:a("#welcomepanelnonce").val()})},d.hasClass("hidden")&&e.prop("checked")&&d.removeClass("hidden"),a(".welcome-panel-close, .welcome-panel-dismiss a",d).click(function(b){b.preventDefault(),d.addClass("hidden"),c(0),a("#wp_welcome_panel-hide").prop("checked",!1)}),e.click(function(){d.toggleClass("hidden",!this.checked),c(this.checked?1:0)}),ajaxWidgets=["dashboard_primary"],ajaxPopulateWidgets=function(b){function c(b,c){var d,e=a("#"+c+" div.inside:visible").find(".widget-loading");e.length&&(d=e.parent(),setTimeout(function(){d.load(ajaxurl+"?action=dashboard-widgets&widget="+c+"&pagenow="+pagenow,"",function(){d.hide().slideDown("normal",function(){a(this).css("display","")})})},500*b))}b?(b=b.toString(),-1!==a.inArray(b,ajaxWidgets)&&c(0,b)):a.each(ajaxWidgets,c)},ajaxPopulateWidgets(),postboxes.add_postbox_toggles(pagenow,{pbshow:ajaxPopulateWidgets}),quickPressLoad=function(){var c,d=a("#quickpost-action");c=a("#quick-press").submit(function(){function b(){var b=a(".drafts ul li").first();b.css("background","#fffbe5"),setTimeout(function(){b.css("background","none")},1e3)}return a("#dashboard_quick_press #publishing-action .spinner").show(),a('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop("disabled",!0),a.post(c.attr("action"),c.serializeArray(),function(c){a("#dashboard_quick_press .inside").html(c),a("#quick-press").removeClass("initial-form"),quickPressLoad(),b(),a("#title").focus()}),!1}),a("#publish").click(function(){d.val("post-quickpress-publish")}),a("#title, #tags-input, #content").each(function(){var b=a(this),c=a("#"+this.id+"-prompt-text");""===this.value&&c.removeClass("screen-reader-text"),c.click(function(){a(this).addClass("screen-reader-text"),b.focus()}),b.blur(function(){""===this.value&&c.removeClass("screen-reader-text")}),b.focus(function(){c.addClass("screen-reader-text")})}),a("#quick-press").on("click focusin",function(){wpActiveEditor="content"}),b()},quickPressLoad(),a(".meta-box-sortables").sortable("option","containment","document"),a(".show-more a").on("click",function(b){a(this).fadeOut().closest(".activity-block").find("li.hidden").fadeIn().removeClass("hidden"),b.preventDefault()})});
|
||||
@@ -451,14 +451,14 @@ var wpNavMenu;
|
||||
if ( ! isPrimaryMenuItem ) {
|
||||
thisLink = menuItem.find( '.menus-move-left' ),
|
||||
thisLinkText = menus.outFrom.replace( '%s', prevItemNameLeft );
|
||||
thisLink.prop( 'title', menus.moveOutFrom.replace( '%s', prevItemNameLeft ) ).html( thisLinkText ).css( 'display', 'inline' );
|
||||
thisLink.prop( 'title', menus.moveOutFrom.replace( '%s', prevItemNameLeft ) ).text( thisLinkText ).css( 'display', 'inline' );
|
||||
}
|
||||
|
||||
if ( 0 !== position ) {
|
||||
if ( menuItem.find( '.menu-item-data-parent-id' ).val() !== menuItem.prev().find( '.menu-item-data-db-id' ).val() ) {
|
||||
thisLink = menuItem.find( '.menus-move-right' ),
|
||||
thisLinkText = menus.under.replace( '%s', prevItemNameRight );
|
||||
thisLink.prop( 'title', menus.moveUnder.replace( '%s', prevItemNameRight ) ).html( thisLinkText ).css( 'display', 'inline' );
|
||||
thisLink.prop( 'title', menus.moveUnder.replace( '%s', prevItemNameRight ) ).text( thisLinkText ).css( 'display', 'inline' );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -480,7 +480,7 @@ var wpNavMenu;
|
||||
title = menus.subMenuFocus.replace( '%1$s', itemName ).replace( '%2$d', itemPosition ).replace( '%3$s', parentItemName );
|
||||
}
|
||||
|
||||
$this.prop('title', title).html( title );
|
||||
$this.prop('title', title).text( title );
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
2
wp-admin/js/nav-menu.min.js
vendored
2
wp-admin/js/nav-menu.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -146,7 +146,7 @@ themes.Collection = Backbone.Collection.extend({
|
||||
// Find results
|
||||
// _.filter and .test
|
||||
results = this.filter( function( data ) {
|
||||
haystack = _.union( data.get( 'name' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
|
||||
haystack = _.union( data.get( 'name' ), data.get( 'id' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
|
||||
|
||||
if ( match.test( data.get( 'author' ) ) && term.length > 2 ) {
|
||||
data.set( 'displayAuthor', true );
|
||||
@@ -188,6 +188,7 @@ themes.view.Theme = wp.Backbone.View.extend({
|
||||
|
||||
events: {
|
||||
'click': 'expand',
|
||||
'keydown': 'expand',
|
||||
'touchend': 'expand',
|
||||
'touchmove': 'preventExpand'
|
||||
},
|
||||
@@ -197,7 +198,11 @@ themes.view.Theme = wp.Backbone.View.extend({
|
||||
render: function() {
|
||||
var data = this.model.toJSON();
|
||||
// Render themes using the html template
|
||||
this.$el.html( this.html( data ) );
|
||||
this.$el.html( this.html( data ) ).attr({
|
||||
tabindex: 0,
|
||||
'aria-describedby' : data.id + '-action ' + data.id + '-name'
|
||||
});
|
||||
|
||||
// Renders active theme styles
|
||||
this.activeTheme();
|
||||
|
||||
@@ -219,19 +224,27 @@ themes.view.Theme = wp.Backbone.View.extend({
|
||||
expand: function( event ) {
|
||||
var self = this;
|
||||
|
||||
event = event || window.event;
|
||||
|
||||
// 'enter' and 'space' keys expand the details view when a theme is :focused
|
||||
if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Bail if the user scrolled on a touch device
|
||||
if ( this.touchDrag === true ) {
|
||||
return this.touchDrag = false;
|
||||
}
|
||||
|
||||
event = event || window.event;
|
||||
|
||||
// Prevent the modal from showing when the user clicks
|
||||
// one of the direct action buttons
|
||||
if ( $( event.target ).is( '.theme-actions a' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set focused theme to current element
|
||||
themes.focusedTheme = this.$el;
|
||||
|
||||
this.trigger( 'theme:expand', self.model.cid );
|
||||
},
|
||||
|
||||
@@ -266,6 +279,8 @@ themes.view.Details = wp.Backbone.View.extend({
|
||||
this.navigation();
|
||||
// Checks screenshot size
|
||||
this.screenshotCheck( this.$el );
|
||||
// Contain "tabbing" inside the overlay
|
||||
this.containFocus( this.$el );
|
||||
},
|
||||
|
||||
// Adds a class to the currently active theme
|
||||
@@ -275,6 +290,34 @@ themes.view.Details = wp.Backbone.View.extend({
|
||||
this.$el.toggleClass( 'active', this.model.get( 'active' ) );
|
||||
},
|
||||
|
||||
// Keeps :focus within the theme details elements
|
||||
containFocus: function( $el ) {
|
||||
var $target;
|
||||
|
||||
// Move focus to the primary action
|
||||
_.delay( function() {
|
||||
$( '.theme-wrap a.button-primary:visible' ).focus();
|
||||
}, 500 );
|
||||
|
||||
$el.on( 'keydown.wp-themes', function( event ) {
|
||||
|
||||
// Tab key
|
||||
if ( event.which === 9 ) {
|
||||
$target = $( event.target );
|
||||
|
||||
// Keep focus within the overlay by making the last link on theme actions
|
||||
// switch focus to button.left on tabbing and vice versa
|
||||
if ( $target.is( 'button.left' ) && event.shiftKey ) {
|
||||
$el.find( '.theme-actions a:last-child' ).focus();
|
||||
event.preventDefault();
|
||||
} else if ( $target.is( '.theme-actions a:last-child' ) ) {
|
||||
$el.find( 'button.left' ).focus();
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// Single theme overlay screen
|
||||
// It's shown when clicking a theme
|
||||
collapse: function( event ) {
|
||||
@@ -291,7 +334,7 @@ themes.view.Details = wp.Backbone.View.extend({
|
||||
// Detect if the click is inside the overlay
|
||||
// and don't close it unless the target was
|
||||
// the div.back button
|
||||
if ( $( event.target ).is( '.theme-backdrop' ) || $( event.target ).is( 'div.close' ) || event.keyCode === 27 ) {
|
||||
if ( $( event.target ).is( '.theme-backdrop' ) || $( event.target ).is( '.close' ) || event.keyCode === 27 ) {
|
||||
|
||||
// Add a temporary closing class while overlay fades out
|
||||
$( 'body' ).addClass( 'closing-overlay' );
|
||||
@@ -311,6 +354,11 @@ themes.view.Details = wp.Backbone.View.extend({
|
||||
|
||||
// Restore scroll position
|
||||
document.body.scrollTop = scroll;
|
||||
|
||||
// Return focus to the theme div
|
||||
if ( themes.focusedTheme ) {
|
||||
themes.focusedTheme.focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
@@ -610,6 +658,7 @@ themes.view.Search = wp.Backbone.View.extend({
|
||||
|
||||
tagName: 'input',
|
||||
className: 'theme-search',
|
||||
id: 'theme-search-input',
|
||||
|
||||
attributes: {
|
||||
placeholder: l10n.searchPlaceholder,
|
||||
|
||||
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -109,14 +109,19 @@ case 'post-quickdraft-save':
|
||||
if ( ! wp_verify_nonce( $nonce, 'add-post' ) )
|
||||
$error_msg = __( 'Unable to submit this form, please refresh and try again.' );
|
||||
|
||||
if ( ! current_user_can( 'edit_posts' ) )
|
||||
$error_msg = __( 'Oops, you don’t have access to add new drafts.' );
|
||||
if ( ! current_user_can( 'edit_posts' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( $error_msg )
|
||||
return wp_dashboard_quick_press( $error_msg );
|
||||
|
||||
$post = get_post( $_REQUEST['post_ID'] );
|
||||
check_admin_referer( 'add-' . $post->post_type );
|
||||
|
||||
$_POST['comment_status'] = get_option( 'default_comment_status' );
|
||||
$_POST['ping_status'] = get_option( 'default_ping_status' );
|
||||
|
||||
edit_post();
|
||||
// output the quickdraft dashboard widget
|
||||
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
|
||||
@@ -153,6 +158,7 @@ case 'edit':
|
||||
wp_die( __( 'You can’t edit this item because it is in the Trash. Please restore it and try again.' ) );
|
||||
|
||||
if ( ! empty( $_GET['get-post-lock'] ) ) {
|
||||
check_admin_referer( 'lock-post_' . $post_id );
|
||||
wp_set_post_lock( $post_id );
|
||||
wp_redirect( get_edit_post_link( $post_id, 'url' ) );
|
||||
exit();
|
||||
|
||||
@@ -65,7 +65,7 @@ function press_it() {
|
||||
// error handling for media_sideload
|
||||
if ( is_wp_error($upload) ) {
|
||||
wp_delete_post($post_ID);
|
||||
wp_die($upload);
|
||||
wp_die( esc_html( $upload->get_error_message() ) );
|
||||
} else {
|
||||
// Post formats
|
||||
if ( isset( $_POST['post_format'] ) ) {
|
||||
|
||||
@@ -142,7 +142,7 @@ endif;
|
||||
$ct = wp_get_theme();
|
||||
|
||||
if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
|
||||
echo '<p class="error-message">' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p>';
|
||||
echo '<div class="error"><p>' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p></div>';
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -191,8 +191,11 @@ if ( ! $ct->errors() || ( 1 == count( $ct->errors()->get_error_codes() )
|
||||
* This PHP is synchronized with the tmpl-theme template below!
|
||||
*/
|
||||
|
||||
foreach ( $themes as $theme ) : ?>
|
||||
<div class="theme<?php if ( $theme['active'] ) echo ' active'; ?>">
|
||||
foreach ( $themes as $theme ) :
|
||||
$aria_action = esc_attr( $theme['id'] . '-action' );
|
||||
$aria_name = esc_attr( $theme['id'] . '-name' );
|
||||
?>
|
||||
<div class="theme<?php if ( $theme['active'] ) echo ' active'; ?>" tabindex="0" aria-describedby="<?php echo $aria_action . ' ' . $aria_name; ?>">
|
||||
<?php if ( ! empty( $theme['screenshot'][0] ) ) { ?>
|
||||
<div class="theme-screenshot">
|
||||
<img src="<?php echo $theme['screenshot'][0]; ?>" alt="" />
|
||||
@@ -200,13 +203,13 @@ foreach ( $themes as $theme ) : ?>
|
||||
<?php } else { ?>
|
||||
<div class="theme-screenshot blank"></div>
|
||||
<?php } ?>
|
||||
<span class="more-details"><?php _e( 'Theme Details' ); ?></span>
|
||||
<span class="more-details" id="<?php echo $aria_action; ?>"><?php _e( 'Theme Details' ); ?></span>
|
||||
<div class="theme-author"><?php printf( __( 'By %s' ), $theme['author'] ); ?></div>
|
||||
|
||||
<?php if ( $theme['active'] ) { ?>
|
||||
<h3 class="theme-name"><span><?php _ex( 'Active:', 'theme' ); ?></span> <?php echo $theme['name']; ?></h3>
|
||||
<h3 class="theme-name" id="<?php echo $aria_name; ?>"><span><?php _ex( 'Active:', 'theme' ); ?></span> <?php echo $theme['name']; ?></h3>
|
||||
<?php } else { ?>
|
||||
<h3 class="theme-name"><?php echo $theme['name']; ?></h3>
|
||||
<h3 class="theme-name" id="<?php echo $aria_name; ?>"><?php echo $theme['name']; ?></h3>
|
||||
<?php } ?>
|
||||
|
||||
<div class="theme-actions">
|
||||
@@ -277,13 +280,13 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
<# } else { #>
|
||||
<div class="theme-screenshot blank"></div>
|
||||
<# } #>
|
||||
<span class="more-details"><?php _e( 'Theme Details' ); ?></span>
|
||||
<span class="more-details" id="{{ data.id }}-action"><?php _e( 'Theme Details' ); ?></span>
|
||||
<div class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></div>
|
||||
|
||||
<# if ( data.active ) { #>
|
||||
<h3 class="theme-name"><span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}</h3>
|
||||
<h3 class="theme-name" id="{{ data.id }}-name"><span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}</h3>
|
||||
<# } else { #>
|
||||
<h3 class="theme-name">{{{ data.name }}}</h3>
|
||||
<h3 class="theme-name" id="{{ data.id }}-name">{{{ data.name }}}</h3>
|
||||
<# } #>
|
||||
|
||||
<div class="theme-actions">
|
||||
@@ -309,9 +312,9 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
<div class="theme-backdrop"></div>
|
||||
<div class="theme-wrap">
|
||||
<div class="theme-header">
|
||||
<div alt="<?php _e( 'Close overlay' ); ?>" class="close dashicons dashicons-no"></div>
|
||||
<div alt="<?php _e( 'Show previous theme' ); ?>" class="left dashicons dashicons-no"></div>
|
||||
<div alt="<?php _e( 'Show next theme' ); ?>" class="right dashicons dashicons-no"></div>
|
||||
<button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
|
||||
<button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
|
||||
<button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay' ); ?></span></button>
|
||||
</div>
|
||||
<div class="theme-about">
|
||||
<div class="theme-screenshots">
|
||||
|
||||
@@ -260,7 +260,7 @@ if ( ! IS_PROFILE_PAGE ) {
|
||||
* @since 3.0.0
|
||||
*/
|
||||
?>
|
||||
<td><?php do_action( 'admin_color_scheme_picker' ); ?></td>
|
||||
<td><?php do_action( 'admin_color_scheme_picker', $user_id ); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
endif; // $_wp_admin_css_colors
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Copyright (C) 2013 the WordPress team
|
||||
# Copyright (C) 2014 the WordPress team
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Eleven 1.7\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyeleven\n"
|
||||
"POT-Creation-Date: 2013-10-24 19:42:42+00:00\n"
|
||||
"POT-Creation-Date: 2014-03-18 19:16:25+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Copyright (C) 2013 the WordPress team
|
||||
# Copyright (C) 2014 the WordPress team
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Fourteen 1.0\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyfourteen\n"
|
||||
"POT-Creation-Date: 2013-12-06 16:25:07+00:00\n"
|
||||
"POT-Creation-Date: 2014-03-18 19:16:26+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
@@ -250,7 +250,7 @@ msgstr ""
|
||||
|
||||
#: inc/customizer.php:36
|
||||
msgid ""
|
||||
"Use a <a href=\"%1$s\"> tag</a> to feature your posts. If no posts match the "
|
||||
"Use a <a href=\"%1$s\">tag</a> to feature your posts. If no posts match the "
|
||||
"tag, <a href=\"%2$s\">sticky posts</a> will be displayed instead."
|
||||
msgstr ""
|
||||
|
||||
@@ -413,7 +413,7 @@ msgid "Tag Archives: %s"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the plugin/theme
|
||||
msgid "http://wordpress.org/themes/"
|
||||
msgid "http://wordpress.org/themes/twentyfourteen"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
@@ -421,8 +421,8 @@ msgid ""
|
||||
"In 2014, our default theme lets you create a responsive magazine website "
|
||||
"with a sleek, modern design. Feature your favorite homepage content in "
|
||||
"either a grid or a slider. Use the three widget areas to customize your "
|
||||
"website, and change your content's layout with a full width page template "
|
||||
"and a contributor page to show of your authors. Creating a magazine website "
|
||||
"website, and change your content's layout with a full-width page template "
|
||||
"and a contributor page to show off your authors. Creating a magazine website "
|
||||
"with WordPress has never been easier."
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Copyright (C) 2013 the WordPress team
|
||||
# Copyright (C) 2014 the WordPress team
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Ten 1.6\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyten\n"
|
||||
"POT-Creation-Date: 2013-10-24 19:42:39+00:00\n"
|
||||
"POT-Creation-Date: 2014-03-18 19:16:24+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Copyright (C) 2013 the WordPress team
|
||||
# Copyright (C) 2014 the WordPress team
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Thirteen 1.1\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentythirteen\n"
|
||||
"POT-Creation-Date: 2013-10-24 20:32:06+00:00\n"
|
||||
"POT-Creation-Date: 2014-03-18 19:16:26+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Copyright (C) 2013 the WordPress team
|
||||
# Copyright (C) 2014 the WordPress team
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Twelve 1.3\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentytwelve\n"
|
||||
"POT-Creation-Date: 2013-10-24 20:32:05+00:00\n"
|
||||
"POT-Creation-Date: 2014-03-18 19:16:25+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
|
||||
@@ -519,11 +519,12 @@ class getid3_lib
|
||||
}
|
||||
|
||||
public static function XML2array($XMLstring) {
|
||||
if (function_exists('simplexml_load_string')) {
|
||||
if (function_exists('get_object_vars')) {
|
||||
$XMLobject = simplexml_load_string($XMLstring);
|
||||
return self::SimpleXMLelement2array($XMLobject);
|
||||
}
|
||||
if ( function_exists( 'simplexml_load_string' ) && function_exists( 'libxml_disable_entity_loader' ) ) {
|
||||
$loader = libxml_disable_entity_loader( true );
|
||||
$XMLobject = simplexml_load_string( $XMLstring, 'SimpleXMLElement', LIBXML_NOENT );
|
||||
$return = self::SimpleXMLelement2array( $XMLobject );
|
||||
libxml_disable_entity_loader( $loader );
|
||||
return $return;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -166,11 +166,8 @@ function wp_admin_bar_sidebar_toggle( $wp_admin_bar ) {
|
||||
if ( is_admin() ) {
|
||||
$wp_admin_bar->add_menu( array(
|
||||
'id' => 'menu-toggle',
|
||||
'title' => '<span class="ab-icon"></span>',
|
||||
'title' => '<span class="ab-icon"></span><span class="screen-reader-text">' . __( 'Menu' ) . '</span>',
|
||||
'href' => '#',
|
||||
'meta' => array(
|
||||
'title' => __( 'Menu' ),
|
||||
),
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,8 +226,8 @@ function get_bookmarks($args = '') {
|
||||
$join = " INNER JOIN $wpdb->term_relationships AS tr ON ($wpdb->links.link_id = tr.object_id) INNER JOIN $wpdb->term_taxonomy as tt ON tt.term_taxonomy_id = tr.term_taxonomy_id";
|
||||
}
|
||||
|
||||
if ( $show_updated && get_option('links_recently_updated_time') ) {
|
||||
$recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL " . get_option('links_recently_updated_time') . " MINUTE) >= NOW(), 1,0) as recently_updated ";
|
||||
if ( $show_updated ) {
|
||||
$recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated ";
|
||||
} else {
|
||||
$recently_updated_test = '';
|
||||
}
|
||||
|
||||
@@ -1104,8 +1104,10 @@ function map_meta_cap( $cap, $user_id ) {
|
||||
case 'edit_post':
|
||||
case 'edit_page':
|
||||
$post = get_post( $args[0] );
|
||||
if ( empty( $post ) )
|
||||
if ( empty( $post ) ) {
|
||||
$caps[] = 'do_not_allow';
|
||||
break;
|
||||
}
|
||||
|
||||
if ( 'revision' == $post->post_type ) {
|
||||
$post = get_post( $post->post_parent );
|
||||
@@ -1360,21 +1362,25 @@ function current_user_can( $capability ) {
|
||||
* @return bool
|
||||
*/
|
||||
function current_user_can_for_blog( $blog_id, $capability ) {
|
||||
if ( is_multisite() )
|
||||
switch_to_blog( $blog_id );
|
||||
$switched = is_multisite() ? switch_to_blog( $blog_id ) : false;
|
||||
|
||||
$current_user = wp_get_current_user();
|
||||
|
||||
if ( empty( $current_user ) )
|
||||
if ( empty( $current_user ) ) {
|
||||
if ( $switched ) {
|
||||
restore_current_blog();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
$args = array_slice( func_get_args(), 2 );
|
||||
$args = array_merge( array( $capability ), $args );
|
||||
|
||||
$can = call_user_func_array( array( $current_user, 'has_cap' ), $args );
|
||||
|
||||
if ( is_multisite() )
|
||||
if ( $switched ) {
|
||||
restore_current_blog();
|
||||
}
|
||||
|
||||
return $can;
|
||||
}
|
||||
|
||||
@@ -203,11 +203,37 @@ class IXR_Message
|
||||
{
|
||||
// first remove the XML declaration
|
||||
// merged from WP #10698 - this method avoids the RAM usage of preg_replace on very large messages
|
||||
$header = preg_replace( '/<\?xml.*?\?'.'>/', '', substr($this->message, 0, 100), 1);
|
||||
$this->message = substr_replace($this->message, $header, 0, 100);
|
||||
if (trim($this->message) == '') {
|
||||
$header = preg_replace( '/<\?xml.*?\?'.'>/s', '', substr( $this->message, 0, 100 ), 1 );
|
||||
$this->message = trim( substr_replace( $this->message, $header, 0, 100 ) );
|
||||
if ( '' == $this->message ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Then remove the DOCTYPE
|
||||
$header = preg_replace( '/^<!DOCTYPE[^>]*+>/i', '', substr( $this->message, 0, 200 ), 1 );
|
||||
$this->message = trim( substr_replace( $this->message, $header, 0, 200 ) );
|
||||
if ( '' == $this->message ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check that the root tag is valid
|
||||
$root_tag = substr( $this->message, 0, strcspn( substr( $this->message, 0, 20 ), "> \t\r\n" ) );
|
||||
if ( '<!DOCTYPE' === strtoupper( $root_tag ) ) {
|
||||
return false;
|
||||
}
|
||||
if ( ! in_array( $root_tag, array( '<methodCall', '<methodResponse', '<fault' ) ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Bail if there are too many elements to parse
|
||||
$element_limit = 30000;
|
||||
if ( function_exists( 'apply_filters' ) ) {
|
||||
$element_limit = apply_filters( 'xmlrpc_element_limit', $element_limit );
|
||||
}
|
||||
if ( $element_limit && 2 * $element_limit < substr_count( $this->message, '<' ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->_parser = xml_parser_create();
|
||||
// Set XML parser to take the case of tags in to account
|
||||
xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, false);
|
||||
|
||||
@@ -46,7 +46,7 @@ class WP_oEmbed {
|
||||
'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ),
|
||||
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ),
|
||||
'#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
|
||||
'#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i'=> array( 'http://api.twitter.com/1/statuses/oembed.{format}', true ),
|
||||
'#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i'=> array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ),
|
||||
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),
|
||||
'#https?://(www\.)?slideshare\.net/*#' => array( 'http://www.slideshare.net/api/oembed/2', true ),
|
||||
'#http://instagr(\.am|am\.com)/p/.*#i' => array( 'http://api.instagram.com/oembed', true ),
|
||||
|
||||
@@ -214,6 +214,10 @@ class PasswordHash {
|
||||
|
||||
function HashPassword($password)
|
||||
{
|
||||
if ( strlen( $password ) > 4096 ) {
|
||||
return '*';
|
||||
}
|
||||
|
||||
$random = '';
|
||||
|
||||
if (CRYPT_BLOWFISH == 1 && !$this->portable_hashes) {
|
||||
@@ -249,6 +253,10 @@ class PasswordHash {
|
||||
|
||||
function CheckPassword($password, $stored_hash)
|
||||
{
|
||||
if ( strlen( $password ) > 4096 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$hash = $this->crypt_private($password, $stored_hash);
|
||||
if ($hash[0] == '*')
|
||||
$hash = crypt($password, $stored_hash);
|
||||
|
||||
@@ -59,12 +59,6 @@ final class _WP_Editors {
|
||||
// A cookie (set when a user resizes the editor) overrides the height.
|
||||
$cookie = (int) get_user_setting( 'ed_size' );
|
||||
|
||||
// Upgrade an old TinyMCE cookie if it is still around, and the new one isn't.
|
||||
if ( ! $cookie && isset( $_COOKIE['TinyMCE_content_size'] ) ) {
|
||||
parse_str( $_COOKIE['TinyMCE_content_size'], $cookie );
|
||||
$cookie = $cookie['ch'];
|
||||
}
|
||||
|
||||
if ( $cookie )
|
||||
$set['editor_height'] = $cookie;
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ class WP_Embed {
|
||||
add_shortcode( 'embed', array( $this, 'shortcode' ) );
|
||||
|
||||
// Do the shortcode (only the [embed] one is registered)
|
||||
$content = do_shortcode( $content );
|
||||
$content = do_shortcode( $content, true );
|
||||
|
||||
// Put the original shortcodes back
|
||||
$shortcode_tags = $orig_shortcode_tags;
|
||||
@@ -280,7 +280,14 @@ class WP_Embed {
|
||||
* @return string Potentially modified $content.
|
||||
*/
|
||||
function autoembed( $content ) {
|
||||
return preg_replace_callback( '|^\s*(https?://[^\s"]+)\s*$|im', array( $this, 'autoembed_callback' ), $content );
|
||||
// Replace line breaks from all HTML elements with placeholders.
|
||||
$content = wp_replace_in_html_tags( $content, array( "\n" => '<!-- wp-line-break -->' ) );
|
||||
|
||||
// Find URLs that are on their own line.
|
||||
$content = preg_replace_callback( '|^\s*(https?://[^\s"]+)\s*$|im', array( $this, 'autoembed_callback' ), $content );
|
||||
|
||||
// Put the line breaks back.
|
||||
return str_replace( '<!-- wp-line-break -->', "\n", $content );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -5390,11 +5390,18 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
// very stupid, but gives time to the 'from' server to publish !
|
||||
sleep(1);
|
||||
|
||||
$remote_ip = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] );
|
||||
$user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . $GLOBALS['wp_version'] . '; ' . get_bloginfo( 'url' ) );
|
||||
|
||||
// Let's check the remote site
|
||||
$http_api_args = array(
|
||||
'timeout' => 10,
|
||||
'redirection' => 0,
|
||||
'limit_response_size' => 153600, // 150 KB
|
||||
'user-agent' => "$user_agent; verifying pingback from $remote_ip",
|
||||
'headers' => array(
|
||||
'X-Pingback-Forwarded-For' => $remote_ip,
|
||||
),
|
||||
);
|
||||
$linea = wp_remote_retrieve_body( wp_safe_remote_get( $pagelinkedfrom, $http_api_args ) );
|
||||
|
||||
|
||||
@@ -13,23 +13,141 @@ if ( !function_exists('_') ) {
|
||||
}
|
||||
}
|
||||
|
||||
if ( !function_exists('mb_substr') ):
|
||||
function mb_substr( $str, $start, $length=null, $encoding=null ) {
|
||||
return _mb_substr($str, $start, $length, $encoding);
|
||||
/**
|
||||
* Returns whether PCRE/u (PCRE_UTF8 modifier) is available for use.
|
||||
*
|
||||
* @ignore
|
||||
* @since 4.2.2
|
||||
* @access private
|
||||
*
|
||||
* @param bool $set - Used for testing only
|
||||
* null : default - get PCRE/u capability
|
||||
* false : Used for testing - return false for future calls to this function
|
||||
* 'reset': Used for testing - restore default behavior of this function
|
||||
*/
|
||||
function _wp_can_use_pcre_u( $set = null ) {
|
||||
static $utf8_pcre = 'reset';
|
||||
|
||||
if ( null !== $set ) {
|
||||
$utf8_pcre = $set;
|
||||
}
|
||||
|
||||
if ( 'reset' === $utf8_pcre ) {
|
||||
$utf8_pcre = @preg_match( '/^./u', 'a' );
|
||||
}
|
||||
|
||||
return $utf8_pcre;
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'mb_substr' ) ) :
|
||||
function mb_substr( $str, $start, $length = null, $encoding = null ) {
|
||||
return _mb_substr( $str, $start, $length, $encoding );
|
||||
}
|
||||
endif;
|
||||
|
||||
function _mb_substr( $str, $start, $length=null, $encoding=null ) {
|
||||
// the solution below, works only for utf-8, so in case of a different
|
||||
// charset, just use built-in substr
|
||||
$charset = get_option( 'blog_charset' );
|
||||
if ( !in_array( $charset, array('utf8', 'utf-8', 'UTF8', 'UTF-8') ) ) {
|
||||
return is_null( $length )? substr( $str, $start ) : substr( $str, $start, $length);
|
||||
/*
|
||||
* Only understands UTF-8 and 8bit. All other character sets will be treated as 8bit.
|
||||
* For $encoding === UTF-8, the $str input is expected to be a valid UTF-8 byte sequence.
|
||||
* The behavior of this function for invalid inputs is undefined.
|
||||
*/
|
||||
function _mb_substr( $str, $start, $length = null, $encoding = null ) {
|
||||
if ( null === $encoding ) {
|
||||
$encoding = get_option( 'blog_charset' );
|
||||
}
|
||||
// use the regex unicode support to separate the UTF-8 characters into an array
|
||||
preg_match_all( '/./us', $str, $match );
|
||||
$chars = is_null( $length )? array_slice( $match[0], $start ) : array_slice( $match[0], $start, $length );
|
||||
return implode( '', $chars );
|
||||
|
||||
// The solution below works only for UTF-8,
|
||||
// so in case of a different charset just use built-in substr()
|
||||
if ( ! in_array( $encoding, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
|
||||
return is_null( $length ) ? substr( $str, $start ) : substr( $str, $start, $length );
|
||||
}
|
||||
|
||||
if ( _wp_can_use_pcre_u() ) {
|
||||
// Use the regex unicode support to separate the UTF-8 characters into an array
|
||||
preg_match_all( '/./us', $str, $match );
|
||||
$chars = is_null( $length ) ? array_slice( $match[0], $start ) : array_slice( $match[0], $start, $length );
|
||||
return implode( '', $chars );
|
||||
}
|
||||
|
||||
$regex = '/(
|
||||
[\x00-\x7F] # single-byte sequences 0xxxxxxx
|
||||
| [\xC2-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx
|
||||
| \xE0[\xA0-\xBF][\x80-\xBF] # triple-byte sequences 1110xxxx 10xxxxxx * 2
|
||||
| [\xE1-\xEC][\x80-\xBF]{2}
|
||||
| \xED[\x80-\x9F][\x80-\xBF]
|
||||
| [\xEE-\xEF][\x80-\xBF]{2}
|
||||
| \xF0[\x90-\xBF][\x80-\xBF]{2} # four-byte sequences 11110xxx 10xxxxxx * 3
|
||||
| [\xF1-\xF3][\x80-\xBF]{3}
|
||||
| \xF4[\x80-\x8F][\x80-\xBF]{2}
|
||||
)/x';
|
||||
|
||||
$chars = array( '' ); // Start with 1 element instead of 0 since the first thing we do is pop
|
||||
do {
|
||||
// We had some string left over from the last round, but we counted it in that last round.
|
||||
array_pop( $chars );
|
||||
|
||||
// Split by UTF-8 character, limit to 1000 characters (last array element will contain the rest of the string)
|
||||
$pieces = preg_split( $regex, $str, 1000, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY );
|
||||
|
||||
$chars = array_merge( $chars, $pieces );
|
||||
} while ( count( $pieces ) > 1 && $str = array_pop( $pieces ) ); // If there's anything left over, repeat the loop.
|
||||
|
||||
return join( '', array_slice( $chars, $start, $length ) );
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'mb_strlen' ) ) :
|
||||
function mb_strlen( $str, $encoding = null ) {
|
||||
return _mb_strlen( $str, $encoding );
|
||||
}
|
||||
endif;
|
||||
|
||||
/*
|
||||
* Only understands UTF-8 and 8bit. All other character sets will be treated as 8bit.
|
||||
* For $encoding === UTF-8, the $str input is expected to be a valid UTF-8 byte sequence.
|
||||
* The behavior of this function for invalid inputs is undefined.
|
||||
*/
|
||||
function _mb_strlen( $str, $encoding = null ) {
|
||||
if ( null === $encoding ) {
|
||||
$encoding = get_option( 'blog_charset' );
|
||||
}
|
||||
|
||||
// The solution below works only for UTF-8,
|
||||
// so in case of a different charset just use built-in strlen()
|
||||
if ( ! in_array( $encoding, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
|
||||
return strlen( $str );
|
||||
}
|
||||
|
||||
if ( _wp_can_use_pcre_u() ) {
|
||||
// Use the regex unicode support to separate the UTF-8 characters into an array
|
||||
preg_match_all( '/./us', $str, $match );
|
||||
return count( $match[0] );
|
||||
}
|
||||
|
||||
$regex = '/(?:
|
||||
[\x00-\x7F] # single-byte sequences 0xxxxxxx
|
||||
| [\xC2-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx
|
||||
| \xE0[\xA0-\xBF][\x80-\xBF] # triple-byte sequences 1110xxxx 10xxxxxx * 2
|
||||
| [\xE1-\xEC][\x80-\xBF]{2}
|
||||
| \xED[\x80-\x9F][\x80-\xBF]
|
||||
| [\xEE-\xEF][\x80-\xBF]{2}
|
||||
| \xF0[\x90-\xBF][\x80-\xBF]{2} # four-byte sequences 11110xxx 10xxxxxx * 3
|
||||
| [\xF1-\xF3][\x80-\xBF]{3}
|
||||
| \xF4[\x80-\x8F][\x80-\xBF]{2}
|
||||
)/x';
|
||||
|
||||
$count = 1; // Start at 1 instead of 0 since the first thing we do is decrement
|
||||
do {
|
||||
// We had some string left over from the last round, but we counted it in that last round.
|
||||
$count--;
|
||||
|
||||
// Split by UTF-8 character, limit to 1000 characters (last array element will contain the rest of the string)
|
||||
$pieces = preg_split( $regex, $str, 1000 );
|
||||
|
||||
// Increment
|
||||
$count += count( $pieces );
|
||||
} while ( $str = array_pop( $pieces ) ); // If there's anything left over, repeat the loop.
|
||||
|
||||
// Fencepost: preg_split() always returns one extra item in the array
|
||||
return --$count;
|
||||
}
|
||||
|
||||
if ( !function_exists('hash_hmac') ):
|
||||
@@ -94,3 +212,32 @@ if ( !function_exists('json_decode') ) {
|
||||
return is_array($data) ? array_map(__FUNCTION__, $data) : $data;
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'hash_equals' ) ) :
|
||||
/**
|
||||
* Compare two strings in constant time.
|
||||
*
|
||||
* This function was added in PHP 5.6.
|
||||
* It can leak the length of a string.
|
||||
*
|
||||
* @since 3.9.2
|
||||
*
|
||||
* @param string $a Expected string.
|
||||
* @param string $b Actual string.
|
||||
* @return bool Whether strings are equal.
|
||||
*/
|
||||
function hash_equals( $a, $b ) {
|
||||
$a_length = strlen( $a );
|
||||
if ( $a_length !== strlen( $b ) ) {
|
||||
return false;
|
||||
}
|
||||
$result = 0;
|
||||
|
||||
// Do not attempt to "optimize" this.
|
||||
for ( $i = 0; $i < $a_length; $i++ ) {
|
||||
$result |= ord( $a[ $i ] ) ^ ord( $b[ $i ] );
|
||||
}
|
||||
|
||||
return $result === 0;
|
||||
}
|
||||
endif;
|
||||
@@ -506,7 +506,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-edit > .ab-item:before {
|
||||
content: '\f327';
|
||||
content: '\f464';
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
@@ -544,7 +544,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
* Updates
|
||||
*/
|
||||
#wpadminbar #wp-admin-bar-updates .ab-icon:before {
|
||||
content: '\f113';
|
||||
content: '\f463';
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
@@ -773,7 +773,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
font: normal 14px/32px "Open Sans", sans-serif;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li > a,
|
||||
#wpadminbar .quicklinks > ul > li > a,
|
||||
#wpadminbar .quicklinks .ab-empty-item {
|
||||
padding: 0;
|
||||
height: 46px;
|
||||
@@ -785,7 +785,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
font: 40px/1 dashicons !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 50px;
|
||||
width: 52px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -838,7 +838,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
|
||||
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
|
||||
padding: 0;
|
||||
width: 55px;
|
||||
width: 52px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
@@ -862,7 +862,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
width: 55px;
|
||||
width: 52px;
|
||||
padding: 0;
|
||||
color: #999;
|
||||
position: relative;
|
||||
@@ -884,7 +884,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
font: normal 32px/1 'dashicons';
|
||||
speak: none;
|
||||
top: 7px;
|
||||
width: 55px;
|
||||
width: 52px;
|
||||
text-align: center;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
@@ -909,7 +909,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
line-height: 53px;
|
||||
height: 46px !important;
|
||||
text-align: center;
|
||||
width: 50px;
|
||||
width: 52px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -1037,14 +1037,16 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Realign arrows on taller responsive submenus */
|
||||
|
||||
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
|
||||
top: 10px;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphone */
|
||||
@@ -1097,4 +1099,12 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
#wpadminbar li#wp-admin-bar-updates {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Make submenus full-width at this size */
|
||||
|
||||
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
|
||||
position: static;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-includes/css/admin-bar-rtl.min.css
vendored
2
wp-includes/css/admin-bar-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -506,7 +506,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-edit > .ab-item:before {
|
||||
content: '\f327';
|
||||
content: '\f464';
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
@@ -544,7 +544,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
* Updates
|
||||
*/
|
||||
#wpadminbar #wp-admin-bar-updates .ab-icon:before {
|
||||
content: '\f113';
|
||||
content: '\f463';
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
@@ -773,7 +773,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
font: normal 14px/32px "Open Sans", sans-serif;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li > a,
|
||||
#wpadminbar .quicklinks > ul > li > a,
|
||||
#wpadminbar .quicklinks .ab-empty-item {
|
||||
padding: 0;
|
||||
height: 46px;
|
||||
@@ -785,7 +785,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
font: 40px/1 dashicons !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 50px;
|
||||
width: 52px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -838,7 +838,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
|
||||
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
|
||||
padding: 0;
|
||||
width: 55px;
|
||||
width: 52px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
@@ -862,7 +862,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
width: 55px;
|
||||
width: 52px;
|
||||
padding: 0;
|
||||
color: #999;
|
||||
position: relative;
|
||||
@@ -884,7 +884,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
font: normal 32px/1 'dashicons';
|
||||
speak: none;
|
||||
top: 7px;
|
||||
width: 55px;
|
||||
width: 52px;
|
||||
text-align: center;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
@@ -909,7 +909,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
line-height: 53px;
|
||||
height: 46px !important;
|
||||
text-align: center;
|
||||
width: 50px;
|
||||
width: 52px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -1037,14 +1037,16 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Realign arrows on taller responsive submenus */
|
||||
|
||||
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
|
||||
top: 10px;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphone */
|
||||
@@ -1097,4 +1099,12 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
#wpadminbar li#wp-admin-bar-updates {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Make submenus full-width at this size */
|
||||
|
||||
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
|
||||
position: static;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-includes/css/admin-bar.min.css
vendored
2
wp-includes/css/admin-bar.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -163,11 +163,6 @@ TABLE OF CONTENTS:
|
||||
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
|
||||
}
|
||||
|
||||
/* this creates an inset effect on the text */
|
||||
.wp-core-ui .button:active {
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
.wp-core-ui .button[disabled],
|
||||
.wp-core-ui .button:disabled,
|
||||
.wp-core-ui .button-secondary[disabled],
|
||||
@@ -224,11 +219,6 @@ TABLE OF CONTENTS:
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* this creates an inset effect on the text */
|
||||
.wp-core-ui .button-primary:active {
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled],
|
||||
.wp-core-ui .button-primary:disabled,
|
||||
.wp-core-ui .button-primary-disabled {
|
||||
@@ -296,17 +286,6 @@ TABLE OF CONTENTS:
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
/* Adjust the padding that makes active button text looks inset to account for larger responsive buttons */
|
||||
.wp-core-ui .button:active,
|
||||
.wp-core-ui .button-large:active,
|
||||
.wp-core-ui .button-small:active,
|
||||
input#publish:active,
|
||||
input#save-post:active,
|
||||
a.preview:active {
|
||||
padding-top: 11px;
|
||||
padding-bottom: 9px;
|
||||
}
|
||||
|
||||
#media-upload.wp-core-ui .button {
|
||||
padding: 0 10px 1px;
|
||||
height: 24px;
|
||||
@@ -343,7 +322,4 @@ TABLE OF CONTENTS:
|
||||
padding: 0 12px 2px;
|
||||
}
|
||||
|
||||
.interim-login .button.button-large:active {
|
||||
padding-top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-includes/css/buttons-rtl.min.css
vendored
2
wp-includes/css/buttons-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -163,11 +163,6 @@ TABLE OF CONTENTS:
|
||||
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
|
||||
}
|
||||
|
||||
/* this creates an inset effect on the text */
|
||||
.wp-core-ui .button:active {
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
.wp-core-ui .button[disabled],
|
||||
.wp-core-ui .button:disabled,
|
||||
.wp-core-ui .button-secondary[disabled],
|
||||
@@ -224,11 +219,6 @@ TABLE OF CONTENTS:
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* this creates an inset effect on the text */
|
||||
.wp-core-ui .button-primary:active {
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled],
|
||||
.wp-core-ui .button-primary:disabled,
|
||||
.wp-core-ui .button-primary-disabled {
|
||||
@@ -296,17 +286,6 @@ TABLE OF CONTENTS:
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
/* Adjust the padding that makes active button text looks inset to account for larger responsive buttons */
|
||||
.wp-core-ui .button:active,
|
||||
.wp-core-ui .button-large:active,
|
||||
.wp-core-ui .button-small:active,
|
||||
input#publish:active,
|
||||
input#save-post:active,
|
||||
a.preview:active {
|
||||
padding-top: 11px;
|
||||
padding-bottom: 9px;
|
||||
}
|
||||
|
||||
#media-upload.wp-core-ui .button {
|
||||
padding: 0 10px 1px;
|
||||
height: 24px;
|
||||
@@ -343,7 +322,4 @@ TABLE OF CONTENTS:
|
||||
padding: 0 12px 2px;
|
||||
}
|
||||
|
||||
.interim-login .button.button-large:active {
|
||||
padding-top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-includes/css/buttons.min.css
vendored
2
wp-includes/css/buttons.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-includes/css/dashicons.min.css
vendored
2
wp-includes/css/dashicons.min.css
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/css/editor-rtl.min.css
vendored
4
wp-includes/css/editor-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/css/editor.min.css
vendored
4
wp-includes/css/editor.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/css/jquery-ui-dialog-rtl.min.css
vendored
2
wp-includes/css/jquery-ui-dialog-rtl.min.css
vendored
@@ -25,4 +25,4 @@
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog#theming
|
||||
*/.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:right;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;left:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:right;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em .4em .5em 1em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:left}.ui-dialog .ui-dialog-buttonpane button{margin:.5em 0 .5em .4em;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;left:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.wp-dialog{padding:0;z-index:300002;border:0;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);background-color:#f5f5f5}.wp-dialog .ui-dialog-title{display:block;text-align:center;padding:0}.wp-dialog .ui-dialog-titlebar{padding:0 1em;background-color:#444;font-size:13px;line-height:24px;color:#fff}.wp-dialog .ui-dialog-content{padding:0}.wp-dialog .ui-dialog-titlebar-close{cursor:pointer;-webkit-appearance:none;border:0;width:30px;height:20px;top:13px;left:6px;background:0}.wp-dialog .ui-dialog-titlebar-close:before{content:'\f158';font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#999;padding-right:12px}.wp-dialog .ui-dialog-titlebar-close:hover:before{color:#2ea2cc}.wp-dialog .ui-dialog-titlebar-close .ui-button-text{display:none}.wp-dialog .ui-dialog-titlebar-close:hover,.wp-dialog .ui-dialog-titlebar-close:focus{background-position:-87px -32px}.ui-widget-overlay{z-index:300001;background-color:#000;opacity:.6;filter:alpha(opacity=60)}
|
||||
*/.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:right;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;left:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:right;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em .4em .5em 1em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:left}.ui-dialog .ui-dialog-buttonpane button{margin:.5em 0 .5em .4em;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;left:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.wp-dialog{padding:0;z-index:300002;border:0;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);background-color:#f5f5f5}.wp-dialog .ui-dialog-title{display:block;text-align:center;padding:0}.wp-dialog .ui-dialog-titlebar{padding:0 1em;background-color:#444;font-size:13px;line-height:24px;color:#fff}.wp-dialog .ui-dialog-content{padding:0}.wp-dialog .ui-dialog-titlebar-close{cursor:pointer;-webkit-appearance:none;border:0;width:30px;height:20px;top:13px;left:6px;background:0 0}.wp-dialog .ui-dialog-titlebar-close:before{content:'\f158';font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#999;padding-right:12px}.wp-dialog .ui-dialog-titlebar-close:hover:before{color:#2ea2cc}.wp-dialog .ui-dialog-titlebar-close .ui-button-text{display:none}.wp-dialog .ui-dialog-titlebar-close:hover,.wp-dialog .ui-dialog-titlebar-close:focus{background-position:-87px -32px}.ui-widget-overlay{z-index:300001;background-color:#000;opacity:.6;filter:alpha(opacity=60)}
|
||||
2
wp-includes/css/jquery-ui-dialog.min.css
vendored
2
wp-includes/css/jquery-ui-dialog.min.css
vendored
@@ -25,4 +25,4 @@
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog#theming
|
||||
*/.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.wp-dialog{padding:0;z-index:300002;border:0;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);background-color:#f5f5f5}.wp-dialog .ui-dialog-title{display:block;text-align:center;padding:0}.wp-dialog .ui-dialog-titlebar{padding:0 1em;background-color:#444;font-size:13px;line-height:24px;color:#fff}.wp-dialog .ui-dialog-content{padding:0}.wp-dialog .ui-dialog-titlebar-close{cursor:pointer;-webkit-appearance:none;border:0;width:30px;height:20px;top:13px;right:6px;background:0}.wp-dialog .ui-dialog-titlebar-close:before{content:'\f158';font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#999;padding-left:12px}.wp-dialog .ui-dialog-titlebar-close:hover:before{color:#2ea2cc}.wp-dialog .ui-dialog-titlebar-close .ui-button-text{display:none}.wp-dialog .ui-dialog-titlebar-close:hover,.wp-dialog .ui-dialog-titlebar-close:focus{background-position:-87px -32px}.ui-widget-overlay{z-index:300001;background-color:#000;opacity:.6;filter:alpha(opacity=60)}
|
||||
*/.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.wp-dialog{padding:0;z-index:300002;border:0;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);background-color:#f5f5f5}.wp-dialog .ui-dialog-title{display:block;text-align:center;padding:0}.wp-dialog .ui-dialog-titlebar{padding:0 1em;background-color:#444;font-size:13px;line-height:24px;color:#fff}.wp-dialog .ui-dialog-content{padding:0}.wp-dialog .ui-dialog-titlebar-close{cursor:pointer;-webkit-appearance:none;border:0;width:30px;height:20px;top:13px;right:6px;background:0 0}.wp-dialog .ui-dialog-titlebar-close:before{content:'\f158';font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#999;padding-left:12px}.wp-dialog .ui-dialog-titlebar-close:hover:before{color:#2ea2cc}.wp-dialog .ui-dialog-titlebar-close .ui-button-text{display:none}.wp-dialog .ui-dialog-titlebar-close:hover,.wp-dialog .ui-dialog-titlebar-close:focus{background-position:-87px -32px}.ui-widget-overlay{z-index:300001;background-color:#000;opacity:.6;filter:alpha(opacity=60)}
|
||||
@@ -1,6 +1,12 @@
|
||||
/**
|
||||
* Base Styles
|
||||
*/
|
||||
.media-modal * {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.media-modal,
|
||||
.media-frame {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
@@ -173,8 +179,9 @@
|
||||
bottom: 0;
|
||||
overflow: auto;
|
||||
min-height: 300px;
|
||||
background: #fff;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.7);
|
||||
background: #fcfcfc;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
}
|
||||
|
||||
.media-modal-icon {
|
||||
@@ -232,8 +239,8 @@
|
||||
width: 267px;
|
||||
padding: 0 16px 24px;
|
||||
z-index: 75;
|
||||
background: #f5f5f5;
|
||||
border-right: 1px solid #dfdfdf;
|
||||
background: #f3f3f3;
|
||||
border-right: 1px solid #ddd;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
@@ -389,8 +396,10 @@
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 16px 0;
|
||||
background: #f3f3f3;
|
||||
border-left-width: 1px;
|
||||
border-left-style: solid;
|
||||
border-left-color: #ccc;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@@ -404,7 +413,7 @@
|
||||
margin: 0;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
color: #21759B;
|
||||
color: #0074a2;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -419,7 +428,7 @@
|
||||
|
||||
.media-menu .active,
|
||||
.media-menu .active:hover {
|
||||
color: #333;
|
||||
color: #222;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -427,8 +436,7 @@
|
||||
height: 0;
|
||||
margin: 12px 20px;
|
||||
padding: 0;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-bottom: 1px solid #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -473,6 +481,9 @@
|
||||
.media-router .active,
|
||||
.media-router > a.active:last-child {
|
||||
margin: -1px -1px 0;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.media-router .active:after {
|
||||
@@ -528,10 +539,9 @@
|
||||
width: auto;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
border-top-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.media-frame-toolbar {
|
||||
@@ -792,6 +802,8 @@
|
||||
top: -6px;
|
||||
left: -6px;
|
||||
outline: none;
|
||||
background: #eee;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.4 );
|
||||
}
|
||||
|
||||
.attachment .check div {
|
||||
@@ -809,6 +821,17 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.attachment.details {
|
||||
box-shadow: 0 0 0 1px #fff,
|
||||
0 0 0 5px #1e8cbe;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #1e8cbe;
|
||||
box-shadow: 0 0 0 1px #fff,
|
||||
0 0 0 2px #1e8cbe;
|
||||
}
|
||||
|
||||
.attachment.details .check div {
|
||||
background-position: -21px 0;
|
||||
}
|
||||
|
||||
2
wp-includes/css/media-views-rtl.min.css
vendored
2
wp-includes/css/media-views-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,12 @@
|
||||
/**
|
||||
* Base Styles
|
||||
*/
|
||||
.media-modal * {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.media-modal,
|
||||
.media-frame {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
@@ -173,8 +179,9 @@
|
||||
bottom: 0;
|
||||
overflow: auto;
|
||||
min-height: 300px;
|
||||
background: #fff;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.7);
|
||||
background: #fcfcfc;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
}
|
||||
|
||||
.media-modal-icon {
|
||||
@@ -232,8 +239,8 @@
|
||||
width: 267px;
|
||||
padding: 0 16px 24px;
|
||||
z-index: 75;
|
||||
background: #f5f5f5;
|
||||
border-left: 1px solid #dfdfdf;
|
||||
background: #f3f3f3;
|
||||
border-left: 1px solid #ddd;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
@@ -389,8 +396,10 @@
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 16px 0;
|
||||
background: #f3f3f3;
|
||||
border-right-width: 1px;
|
||||
border-right-style: solid;
|
||||
border-right-color: #ccc;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@@ -404,7 +413,7 @@
|
||||
margin: 0;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
color: #21759B;
|
||||
color: #0074a2;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -419,7 +428,7 @@
|
||||
|
||||
.media-menu .active,
|
||||
.media-menu .active:hover {
|
||||
color: #333;
|
||||
color: #222;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -427,8 +436,7 @@
|
||||
height: 0;
|
||||
margin: 12px 20px;
|
||||
padding: 0;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-bottom: 1px solid #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -473,6 +481,9 @@
|
||||
.media-router .active,
|
||||
.media-router > a.active:last-child {
|
||||
margin: -1px -1px 0;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.media-router .active:after {
|
||||
@@ -528,10 +539,9 @@
|
||||
width: auto;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
border-top-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.media-frame-toolbar {
|
||||
@@ -792,6 +802,8 @@
|
||||
top: -6px;
|
||||
right: -6px;
|
||||
outline: none;
|
||||
background: #eee;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.4 );
|
||||
}
|
||||
|
||||
.attachment .check div {
|
||||
@@ -809,6 +821,17 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.attachment.details {
|
||||
box-shadow: 0 0 0 1px #fff,
|
||||
0 0 0 5px #1e8cbe;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #1e8cbe;
|
||||
box-shadow: 0 0 0 1px #fff,
|
||||
0 0 0 2px #1e8cbe;
|
||||
}
|
||||
|
||||
.attachment.details .check div {
|
||||
background-position: -21px 0;
|
||||
}
|
||||
|
||||
2
wp-includes/css/media-views.min.css
vendored
2
wp-includes/css/media-views.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -3,15 +3,17 @@
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
background: #fff;
|
||||
border: none;
|
||||
border: 1px solid #dfdfdf;
|
||||
-webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075);
|
||||
box-shadow: 0 3px 6px rgba(0,0,0,0.075);
|
||||
}
|
||||
|
||||
.wp-pointer-content h3 {
|
||||
position: relative;
|
||||
margin: 0 0 5px;
|
||||
margin: -1px -1px 5px;
|
||||
padding: 15px 60px 14px 18px;
|
||||
border: 1px solid #3592b6;
|
||||
border-bottom: none;
|
||||
line-height: 1.4em;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
@@ -126,28 +128,65 @@
|
||||
.wp-pointer-top .wp-pointer-arrow,
|
||||
.wp-pointer-undefined .wp-pointer-arrow {
|
||||
top: 0;
|
||||
border-width: 0 17px 15px 17px;
|
||||
border-width: 0 13px 13px 13px;
|
||||
border-bottom-color: #3592b6;
|
||||
}
|
||||
|
||||
.wp-pointer-top .wp-pointer-arrow:before,
|
||||
.wp-pointer-undefined .wp-pointer-arrow:before {
|
||||
margin-right: -13px;
|
||||
margin-top: -11px;
|
||||
border: 13px solid transparent;
|
||||
border-bottom-color: #2ea2cc;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
.wp-pointer-bottom .wp-pointer-arrow {
|
||||
bottom: 0;
|
||||
border-width: 15px 17px 0 17px;
|
||||
border-width: 13px 13px 0 13px;
|
||||
border-top-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-pointer-bottom .wp-pointer-arrow:before {
|
||||
margin-right: -13px;
|
||||
margin-top: -14px;
|
||||
border: 13px solid transparent;
|
||||
border-top-color: #fff;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
.wp-pointer-left .wp-pointer-arrow {
|
||||
left: 0;
|
||||
border-width: 17px 15px 17px 0;
|
||||
border-right-color: #fff;
|
||||
border-width: 13px 13px 13px 0;
|
||||
border-right-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-pointer-left .wp-pointer-arrow:before {
|
||||
margin-right: -12px;
|
||||
margin-top: -13px;
|
||||
border: 13px solid transparent;
|
||||
border-left-color: #fff;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
.wp-pointer-right .wp-pointer-arrow {
|
||||
right:0;
|
||||
border-width: 17px 0 17px 15px;
|
||||
border-left-color: #fff;
|
||||
border-width: 13px 0 13px 13px;
|
||||
border-left-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-pointer-right .wp-pointer-arrow:before {
|
||||
margin-right: -14px;
|
||||
margin-top: -13px;
|
||||
border: 13px solid transparent;
|
||||
border-right-color: #fff;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* Disable pointers at responsive sizes */
|
||||
|
||||
2
wp-includes/css/wp-pointer-rtl.min.css
vendored
2
wp-includes/css/wp-pointer-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 60px 14px 18px;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 17px 15px;border-bottom-color:#2ea2cc}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:15px 17px 0;border-top-color:#fff}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:17px 15px 17px 0;border-right-color:#fff}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:17px 0 17px 15px;border-left-color:#fff}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
||||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 60px 14px 18px;border:1px solid #3592b6;border-bottom:0;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow:before,.wp-pointer-undefined .wp-pointer-arrow:before{margin-right:-13px;margin-top:-11px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow:before{margin-right:-13px;margin-top:-14px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow:before{margin-right:-12px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow:before{margin-right:-14px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
||||
@@ -3,15 +3,17 @@
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
background: #fff;
|
||||
border: none;
|
||||
border: 1px solid #dfdfdf;
|
||||
-webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075);
|
||||
box-shadow: 0 3px 6px rgba(0,0,0,0.075);
|
||||
}
|
||||
|
||||
.wp-pointer-content h3 {
|
||||
position: relative;
|
||||
margin: 0 0 5px;
|
||||
margin: -1px -1px 5px;
|
||||
padding: 15px 18px 14px 60px;
|
||||
border: 1px solid #3592b6;
|
||||
border-bottom: none;
|
||||
line-height: 1.4em;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
@@ -126,28 +128,65 @@
|
||||
.wp-pointer-top .wp-pointer-arrow,
|
||||
.wp-pointer-undefined .wp-pointer-arrow {
|
||||
top: 0;
|
||||
border-width: 0 17px 15px 17px;
|
||||
border-width: 0 13px 13px 13px;
|
||||
border-bottom-color: #3592b6;
|
||||
}
|
||||
|
||||
.wp-pointer-top .wp-pointer-arrow:before,
|
||||
.wp-pointer-undefined .wp-pointer-arrow:before {
|
||||
margin-left: -13px;
|
||||
margin-top: -11px;
|
||||
border: 13px solid transparent;
|
||||
border-bottom-color: #2ea2cc;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
.wp-pointer-bottom .wp-pointer-arrow {
|
||||
bottom: 0;
|
||||
border-width: 15px 17px 0 17px;
|
||||
border-width: 13px 13px 0 13px;
|
||||
border-top-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-pointer-bottom .wp-pointer-arrow:before {
|
||||
margin-left: -13px;
|
||||
margin-top: -14px;
|
||||
border: 13px solid transparent;
|
||||
border-top-color: #fff;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
.wp-pointer-left .wp-pointer-arrow {
|
||||
left: 0;
|
||||
border-width: 17px 15px 17px 0;
|
||||
border-width: 13px 13px 13px 0;
|
||||
border-right-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-pointer-left .wp-pointer-arrow:before {
|
||||
margin-left: -12px;
|
||||
margin-top: -13px;
|
||||
border: 13px solid transparent;
|
||||
border-right-color: #fff;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* @noflip */
|
||||
.wp-pointer-right .wp-pointer-arrow {
|
||||
right:0;
|
||||
border-width: 17px 0 17px 15px;
|
||||
border-width: 13px 0 13px 13px;
|
||||
border-left-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-pointer-right .wp-pointer-arrow:before {
|
||||
margin-left: -14px;
|
||||
margin-top: -13px;
|
||||
border: 13px solid transparent;
|
||||
border-left-color: #fff;
|
||||
display: block;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* Disable pointers at responsive sizes */
|
||||
|
||||
2
wp-includes/css/wp-pointer.min.css
vendored
2
wp-includes/css/wp-pointer.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 18px 14px 60px;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 17px 15px;border-bottom-color:#2ea2cc}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:15px 17px 0;border-top-color:#fff}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:17px 15px 17px 0;border-right-color:#fff}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:17px 0 17px 15px;border-left-color:#fff}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
||||
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 18px 14px 60px;border:1px solid #3592b6;border-bottom:0;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow:before,.wp-pointer-undefined .wp-pointer-arrow:before{margin-left:-13px;margin-top:-11px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow:before{margin-left:-13px;margin-top:-14px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow:before{margin-left:-12px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow:before{margin-left:-14px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}}
|
||||
@@ -1144,7 +1144,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
|
||||
?>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:') ?></label>
|
||||
<input type="text" class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $title; ?>" />
|
||||
<input type="text" class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo esc_attr( $title ); ?>" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id('nav_menu'); ?>"><?php _e('Select Menu:'); ?></label>
|
||||
|
||||
Binary file not shown.
@@ -6,7 +6,7 @@
|
||||
<font id="dashiconsregular" horiz-adv-x="2000" >
|
||||
<font-face units-per-em="2000" ascent="2000" descent="0" />
|
||||
<missing-glyph horiz-adv-x="500" />
|
||||
<glyph unicode="" horiz-adv-x="500" d="M0 0z" />
|
||||
<glyph unicode="◼" horiz-adv-x="500" d="M0 0z" />
|
||||
<glyph unicode="" d="M1448 894l-707 707l150 150q25 28 85 34.5t134 -11t132 -55.5q45 -30 126.5 -97t164.5 -113q43 -24 73 -38t76.5 -30.5t87.5 -23t95.5 -6t112.5 12.5zM1377 823l-707 707l-177 -177q-29 -29 -29 -70.5t29 -70.5l106 -106q29 -29 29 -71t-29 -71q-27 -27 -61.5 -54 t-86 -63t-73.5 -52q-66 -49 -101 -84q-52 -52 -92 -108.5t-64 -113t-20.5 -108.5t39.5 -88t88 -39.5t108.5 20.5t113 63.5t108.5 91.5q34 34 85 102q13 17 51 72t64 88.5t54 60.5q29 29 70.5 29t70.5 -29l106 -106q29 -29 70.5 -29t70.5 29z" />
|
||||
<glyph unicode="" d="M500 1800h900q82 0 141 -59t59 -141v-700q0 -82 -59 -141t-141 -59h-200l-500 -500v500h-200q-82 0 -141 59t-59 141v700q0 82 59 141t141 59z" />
|
||||
<glyph unicode="" d="M1600 1150l153 -153l-106 -106l-647 647l-647 -647l-106 106l753 753l400 -400v200h200v-400zM1000 1396l600 -599v-597h-1200v597zM1200 300v500h-400v-500h400z" />
|
||||
@@ -181,10 +181,19 @@
|
||||
<glyph unicode="" d="M1098 1322l452 -822q-48 -96 -142 -166t-199 -102t-209 -32t-209 32t-199 102t-142 166l450 818q-57 93 -168 146t-261 57l246 292q199 -141 297 -331q51 80 109.5 131t160.5 81l183 -286q-192 46 -369 -86zM817 960l-93 -169q71 -16 154 -16q199 0 355 95l-101 182 q-136 -83 -315 -92zM903 422q147 0 272 50t202 136l-98 176q-77 -86 -202 -136.5t-272 -50.5q-87 0 -176 21l-63 -115q152 -81 337 -81z" />
|
||||
<glyph unicode="" d="M1545 1375q89 -46 127.5 -130t22.5 -181t-80 -187q-59 -83 -159.5 -134.5t-186.5 -43.5l-264 -499h-105l-265 499q-85 -12 -189.5 40t-165.5 139q-64 90 -80 187t23 181t128 129q68 34 143 31q-2 -62 7 -121q20 -129 99.5 -252t186.5 -185q-30 -86 -88 -125l201 -381v566 q-102 28 -191.5 144t-108.5 248q-20 132 16 246t124 184t210 70t210 -70t124 -184t16 -246q-19 -132 -108.5 -248t-191.5 -144v-577l207 384q-63 33 -99 130q109 61 190 185.5t101 254.5q9 59 7 122q73 2 139 -32z" />
|
||||
<glyph unicode="" d="M1000 1800q84 0 197.5 -51.5t215 -125t191 -147t142.5 -124.5l54 -52v-1100h-1600v1100q20 20 55.5 54t138 120t196.5 152t210 120t200 54zM1700 328l-373 292l373 280l-43 37l-226 -130l24 431l-877 52l-46 -454l-199 95l-33 -31l373 -280l-344 -285l40 -43l631 408 l653 -415z" />
|
||||
<glyph unicode="" d="M1200 1600h300q41 0 70.5 -29.5t29.5 -70.5v-100h-1300v100q0 41 29.5 70.5t70.5 29.5h300q17 86 88.5 143t161.5 57t161.5 -57t88.5 -143zM800 1600h300q-16 43 -58.5 71.5t-91.5 28.5t-91.5 -28.5t-58.5 -71.5zM400 1300h1100v-1000q0 -41 -29.5 -70.5t-70.5 -29.5 h-900q-41 0 -70.5 29.5t-29.5 70.5v1000zM700 400v700h-100v-700h100zM1000 400v700h-100v-700h100zM1300 400v700h-100v-700h100z" />
|
||||
<glyph unicode="" d="M1000 1900l-300 -600l-600 -75l413 -462l-113 -663l600 300l600 -300l-112 663l412 462l-600 75zM1000 1676l234 -469l465 -58l-318 -356l87 -515l-468 234v1164z" />
|
||||
<glyph unicode="" d="M400 1100h1200v-200h-1200v200z" />
|
||||
<glyph unicode="" d="M2000 1462l-101 -282v1q-78 28 -153 -8t-104 -114q-28 -78 7.5 -153t114.5 -103v-1l-101 -282l-1506 538l99 279q78 -28 153 7.5t103 113.5t-7.5 152.5t-113.5 102.5l102 287zM1455 1125q34 108 16.5 208.5t-87 183.5t-171.5 120q-156 55 -305.5 -16t-205.5 -226 q-34 -108 -16.5 -209t87 -184t171.5 -119q155 -55 305 16t206 226zM1199 1599q133 -48 197 -171l-4 2q-24 9 -46.5 -3.5t-31.5 -36.5q-10 -28 5 -91q9 -62 -6 -104q-9 -27 -65 -100l-74 -101l8 408l40 -11q14 -3 18 11t-10 18q-57 15 -92 28l-88 36q-7 3 -12 0t-7.5 -7.5 t-0.5 -10.5t8 -9q16 -8 34 -16l1 -163l-153 -196l8 411l40 -11q14 -3 17.5 11t-10.5 18q-56 15 -91 28q-3 1 -22 8q71 54 159 68t178 -16zM740 1381q25 73 78 127l4 -500q-72 72 -94.5 171.5t12.5 201.5zM1144 906l210 263q49 55 69 112q4 10 11 35q14 -90 -17 -177 q-33 -92 -106.5 -153.5t-166.5 -79.5zM1074 1228l2 -322q0 -4 1 -6q-60 0 -120 21q-49 18 -90 48zM1198 620l210 -75q18 -64 71 -104.5t120 -40.5h1v-300h-1600v296q83 0 141.5 58.5t58.5 141.5q0 82 -59 141t-141 59v304h105l-28 -80l428 -152q-105 -115 -105 -268 q0 -166 117 -283t283 -117t283 117t117 283q0 4 -1 10t-1 10zM545 853l148 -53q-11 -3 -10.5 -15t13.5 -13q18 -2 37 -3l56 -154l-78 -236l-131 390l41 3q9 1 12 8.5t-1 14.5t-13 7q-59 -5 -96 -5q-15 0 -23 1q19 29 45 55zM440 600q0 76 32 146l171 -470q-92 45 -147.5 132 t-55.5 192zM859 741l172 -62q12 -29 12 -61q0 -28 -28 -116l-35 -120zM1160 600q0 -98 -48.5 -181t-130.5 -130l110 318q7 20 14 46l52 -19q3 -17 3 -34zM698 255l108 314l111 -303q0 -1 0.5 -2.5t1.5 -2.5q-60 -21 -119 -21q-47 0 -102 15z" />
|
||||
<glyph unicode="" d="M925 836q88 -62 123 -128t35 -165q0 -62 -30 -119.5t-84.5 -104t-140 -74t-189.5 -27.5q-126 0 -231 31.5t-168.5 93t-63.5 140.5q0 128 130 226.5t314 98.5q14 0 40 0.5t38 0.5q-61 61 -61 126q0 43 23 86q-8 -1 -22 0.5t-20 1.5q-151 0 -247.5 97t-96.5 237 q0 87 55.5 166.5t147 128t190.5 48.5h452l-101 -100h-144q83 -87 103 -116q43 -63 43 -144q0 -135 -128 -234q-53 -42 -69.5 -67t-16.5 -62q0 -28 39.5 -70.5t79.5 -70.5zM683 1063q88 -3 139 76t36 194q-15 114 -87 195t-160 84q-88 2 -139 -75t-36 -191q15 -115 87.5 -198 t159.5 -85zM1700 1400v-100h-200v-200h-100v200h-200v100h200v200h100v-200h200zM638 290q172 0 250 63.5t78 170.5q0 22 -5 47q-4 16 -10.5 29.5t-18 27.5t-20.5 23.5t-28 24t-29.5 21.5t-36.5 25t-38 26q-56 18 -112 18q-131 2 -230 -68.5t-99 -166.5q0 -100 85.5 -170.5 t213.5 -70.5z" />
|
||||
<glyph unicode="" d="M1020 1672q173 0 323.5 -79t247.5 -216t121 -305h208l-350 -400l-350 400h232q-34 149 -154.5 247t-277.5 98q-106 0 -199 -48t-155 -130l-171 195q98 112 234.5 175t290.5 63zM980 328q-130 0 -249.5 46.5t-210.5 126.5t-152.5 190.5t-79.5 236.5h-208l350 400 q59 -67 175.5 -200t174.5 -200h-232q34 -149 154.5 -247t277.5 -98q106 0 199 48t155 130l171 -195q-98 -112 -234 -175t-291 -63z" />
|
||||
<glyph unicode="" d="M1389 1661l271 -272q34 -35 33.5 -84t-30.5 -80l-801 -802l-556 -116l116 558q760 763 799 803q29 30 81.5 28.5t86.5 -35.5zM1116 1382l-559 -561l111 -111l554 565zM819 559l558 560l-107 108l-559 -560z" />
|
||||
<glyph unicode="" d="M387 1600h1325q188 0 188 -179v-842q0 -179 -188 -179h-1325q-188 0 -188 179v842q0 179 188 179zM1049 740l674 553q21 17 27 45.5t-14 61.5q-21 30 -56.5 33.5t-60.5 -16.5l-570 -386l-569 386q-25 20 -60.5 16.5t-56.5 -33.5q-20 -33 -14 -61.5t27 -45.5z" />
|
||||
<glyph unicode="" d="M1900 550v900q0 62 -44 106t-106 44h-1401q-62 0 -106 -44t-44 -106v-900q0 -62 44 -106t106 -44h1401q62 0 106 44t44 106zM1769 1461q15 -15 17.5 -32.5t-4 -29.5t-16.5 -22l-406 -372l390 -406q26 -30 6 -51q-9 -11 -28 -12t-28 7l-437 373l-214 -195l-213 195 l-437 -373q-9 -8 -28 -7t-28 12q-20 21 6 51l390 406l-406 372q-10 10 -16.5 22t-4 29.5t17.5 32.5q40 40 95 -7l624 -504l625 504q55 47 95 7z" />
|
||||
<glyph unicode="" d="M1801 882v867q0 89 -59 129.5t-141 7.5l-1201 -477q-83 -33 -141.5 -120t-58.5 -177v-866q0 -90 58.5 -130t141.5 -7l1201 477q83 33 141.5 119.5t58.5 176.5zM1658 1628l-604 -933l-665 460q-7 5 -13 12.5t-10.5 22t6.5 29.5q9 16 25.5 21.5t28.5 2.5l11 -3l630 -232 q483 634 511 670q12 15 30 20.5t43 -7.5q33 -23 7 -63z" />
|
||||
<glyph unicode="" d="M1800 1000q0 163 -63.5 311t-170.5 255t-255 170.5t-311 63.5t-311 -63.5t-255 -170.5t-170.5 -255t-63.5 -311t63.5 -311t170.5 -255t255 -170.5t311 -63.5t311 63.5t255 170.5t170.5 255t63.5 311zM723 1643l149 -373q-97 -45 -142 -142l-373 149q53 123 148 218 t218 148zM1643 1277l-373 -149q-45 97 -142 142l149 373q123 -53 218 -148t148 -218zM1000 800q-82 0 -141 59t-59 141t59 141t141 59t141 -59t59 -141t-59 -141t-141 -59zM357 723l373 149q45 -97 142 -142l-149 -373q-123 53 -218 148t-148 218zM1277 357l-149 373 q97 45 142 142l373 -149q-53 -123 -148 -218t-218 -148z" />
|
||||
<glyph unicode="" d="M1000 1800q163 0 311 -63.5t255 -170.5t170.5 -255t63.5 -311t-63.5 -311t-170.5 -255t-255 -170.5t-311 -63.5t-311 63.5t-255 170.5t-170.5 255t-63.5 311t63.5 311t170.5 255t255 170.5t311 63.5zM1000 400q163 0 301 80.5t218.5 218.5t80.5 301t-80.5 301 t-218.5 218.5t-301 80.5t-301 -80.5t-218.5 -218.5t-80.5 -301t80.5 -301t218.5 -218.5t301 -80.5zM929 929q14 -10 23 -15l-2 -2l450 -212l-303 319l-97 481l-97 -481h1q0 -1 -2 -9t-2 -10q0 -42 29 -71z" />
|
||||
<glyph unicode="" d="M600 1800h800q41 0 70.5 -29.5t29.5 -70.5v-1400q0 -41 -29.5 -70.5t-70.5 -29.5h-800q-41 0 -70.5 29.5t-29.5 70.5v1400q0 41 29.5 70.5t70.5 29.5zM1300 600v1000h-600v-1000h600zM800 1500h400l-400 -500v500z" />
|
||||
<glyph unicode="" d="M400 1800h1200q41 0 70.5 -29.5t29.5 -70.5v-1400q0 -41 -29.5 -70.5t-70.5 -29.5h-1200q-41 0 -70.5 29.5t-29.5 70.5v1400q0 41 29.5 70.5t70.5 29.5zM1500 400v1200h-1000v-1200h1000zM600 1500h600l-600 -500v500z" />
|
||||
<glyph unicode="" d="M300 1800h1400q41 0 70.5 -29.5t29.5 -70.5v-1000q0 -41 -29.5 -70.5t-70.5 -29.5h-500v-200h200q41 0 70.5 -29.5t29.5 -70.5v-100h-1000v100q0 41 29.5 70.5t70.5 29.5h200v200h-500q-41 0 -70.5 29.5t-29.5 70.5v1000q0 41 29.5 70.5t70.5 29.5zM1600 900v700h-1200 v-700h1200zM500 1500h900l-900 -400v400z" />
|
||||
<glyph unicode="" d="M400 1700h1200q82 0 141 -59t59 -141v-700q0 -82 -59 -141t-141 -59h-100l-500 -500v500h-600q-82 0 -141 59t-59 141v700q0 82 59 141t141 59zM1500 1500h-1100v-100h1100v100zM1600 1200h-1200v-100h1200v100zM1300 900h-900v-100h900v100z" />
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 67 KiB |
Binary file not shown.
Binary file not shown.
@@ -121,7 +121,14 @@ function wptexturize($text) {
|
||||
$no_texturize_tags_stack = array();
|
||||
$no_texturize_shortcodes_stack = array();
|
||||
|
||||
$textarr = preg_split('/(<.*>|\[.*\])/Us', $text, -1, PREG_SPLIT_DELIM_CAPTURE);
|
||||
// Look for shortcodes and HTML elements.
|
||||
|
||||
$shortcode_regex =
|
||||
'\[' // Find start of shortcode.
|
||||
. '[^\[\]<>]++' // Shortcodes do not contain other shortcodes. Possessive critical.
|
||||
. '\]'; // Find end of shortcode.
|
||||
|
||||
$textarr = preg_split("/(<[^>]*>|$shortcode_regex)/s", $text, -1, PREG_SPLIT_DELIM_CAPTURE);
|
||||
|
||||
foreach ( $textarr as &$curl ) {
|
||||
if ( empty( $curl ) )
|
||||
@@ -131,7 +138,7 @@ function wptexturize($text) {
|
||||
$first = $curl[0];
|
||||
if ( '<' === $first ) {
|
||||
_wptexturize_pushpop_element($curl, $no_texturize_tags_stack, $no_texturize_tags, '<', '>');
|
||||
} elseif ( '[' === $first ) {
|
||||
} elseif ( '[' === $first && 1 === preg_match( '/^' . $shortcode_regex . '$/', $curl ) ) {
|
||||
_wptexturize_pushpop_element($curl, $no_texturize_shortcodes_stack, $no_texturize_shortcodes, '[', ']');
|
||||
} elseif ( empty($no_texturize_shortcodes_stack) && empty($no_texturize_tags_stack) ) {
|
||||
// This is not a tag, nor is the texturization disabled static strings
|
||||
@@ -172,6 +179,8 @@ function _wptexturize_pushpop_element($text, &$stack, $disabled_elements, $openi
|
||||
|
||||
array_push($stack, $matches[1]);
|
||||
}
|
||||
} elseif ( 0 == count( $stack ) ) {
|
||||
// Stack is empty. Just stop.
|
||||
} else {
|
||||
// Closing? Check $text+2 against disabled elements
|
||||
$c = preg_quote($closing, '/');
|
||||
@@ -238,6 +247,10 @@ function wpautop($pee, $br = true) {
|
||||
$pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee);
|
||||
$pee = preg_replace('!(</' . $allblocks . '>)!', "$1\n\n", $pee);
|
||||
$pee = str_replace(array("\r\n", "\r"), "\n", $pee); // cross-platform newlines
|
||||
|
||||
// Find newlines in all elements and add placeholders.
|
||||
$pee = wp_replace_in_html_tags( $pee, array( "\n" => " <!-- wpnl --> " ) );
|
||||
|
||||
if ( strpos($pee, '<object') !== false ) {
|
||||
$pee = preg_replace('|\s*<param([^>]*)>\s*|', "<param$1>", $pee); // no pee inside object/embed
|
||||
$pee = preg_replace('|\s*</embed>\s*|', '</embed>', $pee);
|
||||
@@ -268,9 +281,109 @@ function wpautop($pee, $br = true) {
|
||||
if ( !empty($pre_tags) )
|
||||
$pee = str_replace(array_keys($pre_tags), array_values($pre_tags), $pee);
|
||||
|
||||
// Restore newlines in all elements.
|
||||
$pee = str_replace( " <!-- wpnl --> ", "\n", $pee );
|
||||
|
||||
return $pee;
|
||||
}
|
||||
|
||||
/**
|
||||
* Separate HTML elements and comments from the text.
|
||||
*
|
||||
* @since 4.2.4
|
||||
*
|
||||
* @param string $input The text which has to be formatted.
|
||||
* @return array The formatted text.
|
||||
*/
|
||||
function wp_html_split( $input ) {
|
||||
static $regex;
|
||||
|
||||
if ( ! isset( $regex ) ) {
|
||||
$comments =
|
||||
'!' // Start of comment, after the <.
|
||||
. '(?:' // Unroll the loop: Consume everything until --> is found.
|
||||
. '-(?!->)' // Dash not followed by end of comment.
|
||||
. '[^\-]*+' // Consume non-dashes.
|
||||
. ')*+' // Loop possessively.
|
||||
. '(?:-->)?'; // End of comment. If not found, match all input.
|
||||
|
||||
$cdata =
|
||||
'!\[CDATA\[' // Start of comment, after the <.
|
||||
. '[^\]]*+' // Consume non-].
|
||||
. '(?:' // Unroll the loop: Consume everything until ]]> is found.
|
||||
. '](?!]>)' // One ] not followed by end of comment.
|
||||
. '[^\]]*+' // Consume non-].
|
||||
. ')*+' // Loop possessively.
|
||||
. '(?:]]>)?'; // End of comment. If not found, match all input.
|
||||
|
||||
$regex =
|
||||
'/(' // Capture the entire match.
|
||||
. '<' // Find start of element.
|
||||
. '(?(?=!--)' // Is this a comment?
|
||||
. $comments // Find end of comment.
|
||||
. '|'
|
||||
. '(?(?=!\[CDATA\[)' // Is this a comment?
|
||||
. $cdata // Find end of comment.
|
||||
. '|'
|
||||
. '[^>]*>?' // Find end of element. If not found, match all input.
|
||||
. ')'
|
||||
. ')'
|
||||
. ')/s';
|
||||
}
|
||||
|
||||
return preg_split( $regex, $input, -1, PREG_SPLIT_DELIM_CAPTURE );
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace characters or phrases within HTML elements only.
|
||||
*
|
||||
* @since 4.2.3
|
||||
*
|
||||
* @param string $haystack The text which has to be formatted.
|
||||
* @param array $replace_pairs In the form array('from' => 'to', ...).
|
||||
* @return string The formatted text.
|
||||
*/
|
||||
function wp_replace_in_html_tags( $haystack, $replace_pairs ) {
|
||||
// Find all elements.
|
||||
$textarr = wp_html_split( $haystack );
|
||||
$changed = false;
|
||||
|
||||
// Optimize when searching for one item.
|
||||
if ( 1 === count( $replace_pairs ) ) {
|
||||
// Extract $needle and $replace.
|
||||
foreach ( $replace_pairs as $needle => $replace );
|
||||
|
||||
// Loop through delimeters (elements) only.
|
||||
for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {
|
||||
if ( false !== strpos( $textarr[$i], $needle ) ) {
|
||||
$textarr[$i] = str_replace( $needle, $replace, $textarr[$i] );
|
||||
$changed = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Extract all $needles.
|
||||
$needles = array_keys( $replace_pairs );
|
||||
|
||||
// Loop through delimeters (elements) only.
|
||||
for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {
|
||||
foreach ( $needles as $needle ) {
|
||||
if ( false !== strpos( $textarr[$i], $needle ) ) {
|
||||
$textarr[$i] = strtr( $textarr[$i], $replace_pairs );
|
||||
$changed = true;
|
||||
// After one strtr() break out of the foreach loop and look at next element.
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( $changed ) {
|
||||
$haystack = implode( $textarr );
|
||||
}
|
||||
|
||||
return $haystack;
|
||||
}
|
||||
|
||||
/**
|
||||
* Newline preservation help function for wpautop
|
||||
*
|
||||
@@ -1109,21 +1222,23 @@ function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'displa
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures a string is a valid SQL order by clause.
|
||||
* Ensures a string is a valid SQL 'order by' clause.
|
||||
*
|
||||
* Accepts one or more columns, with or without ASC/DESC, and also accepts
|
||||
* RAND().
|
||||
* Accepts one or more columns, with or without a sort order (ASC / DESC).
|
||||
* e.g. 'column_1', 'column_1, column_2', 'column_1 ASC, column_2 DESC' etc.
|
||||
*
|
||||
* Also accepts 'RAND()'.
|
||||
*
|
||||
* @since 2.5.1
|
||||
*
|
||||
* @param string $orderby Order by string to be checked.
|
||||
* @return string|bool Returns the order by clause if it is a match, false otherwise.
|
||||
* @param string $orderby Order by clause to be validated.
|
||||
* @return string|bool Returns $orderby if valid, false otherwise.
|
||||
*/
|
||||
function sanitize_sql_orderby( $orderby ){
|
||||
preg_match('/^\s*([a-z0-9_]+(\s+(ASC|DESC))?(\s*,\s*|\s*$))+|^\s*RAND\(\s*\)\s*$/i', $orderby, $obmatches);
|
||||
if ( !$obmatches )
|
||||
return false;
|
||||
return $orderby;
|
||||
function sanitize_sql_orderby( $orderby ) {
|
||||
if ( preg_match( '/^\s*(([a-z0-9_]+|`[a-z0-9_]+`)(\s+(ASC|DESC))?\s*(,\s*(?=[a-z0-9_`])|$))+$/i', $orderby ) || preg_match( '/^\s*RAND\(\s*\)\s*$/i', $orderby ) ) {
|
||||
return $orderby;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1378,7 +1378,7 @@ function wp_mkdir_p( $target ) {
|
||||
if ( @mkdir( $target, $dir_perms, true ) ) {
|
||||
|
||||
// If a umask is set that modifies $dir_perms, we'll have to re-set the $dir_perms correctly with chmod()
|
||||
if ( $dir_perms != $dir_perms & ~umask() ) {
|
||||
if ( $dir_perms != ( $dir_perms & ~umask() ) ) {
|
||||
$folder_parts = explode( '/', substr( $target, strlen( $target_parent ) + 1 ) );
|
||||
for ( $i = 1; $i <= count( $folder_parts ); $i++ ) {
|
||||
@chmod( $target_parent . '/' . implode( '/', array_slice( $folder_parts, 0, $i ) ), $dir_perms );
|
||||
|
||||
@@ -451,8 +451,9 @@ function send_origin_headers() {
|
||||
* @return mixed URL or false on failure.
|
||||
*/
|
||||
function wp_http_validate_url( $url ) {
|
||||
$original_url = $url;
|
||||
$url = wp_kses_bad_protocol( $url, array( 'http', 'https' ) );
|
||||
if ( ! $url )
|
||||
if ( ! $url || strtolower( $url ) !== strtolower( $original_url ) )
|
||||
return false;
|
||||
|
||||
$parsed_url = @parse_url( $url );
|
||||
@@ -462,7 +463,7 @@ function wp_http_validate_url( $url ) {
|
||||
if ( isset( $parsed_url['user'] ) || isset( $parsed_url['pass'] ) )
|
||||
return false;
|
||||
|
||||
if ( false !== strpos( $parsed_url['host'], ':' ) )
|
||||
if ( false !== strpbrk( $parsed_url['host'], ':#?[]' ) )
|
||||
return false;
|
||||
|
||||
$parsed_home = @parse_url( get_option( 'home' ) );
|
||||
@@ -480,8 +481,7 @@ function wp_http_validate_url( $url ) {
|
||||
}
|
||||
if ( $ip ) {
|
||||
$parts = array_map( 'intval', explode( '.', $ip ) );
|
||||
if ( '127.0.0.1' === $ip
|
||||
|| ( 10 === $parts[0] )
|
||||
if ( 127 === $parts[0] || 10 === $parts[0]
|
||||
|| ( 172 === $parts[0] && 16 <= $parts[1] && 31 >= $parts[1] )
|
||||
|| ( 192 === $parts[0] && 168 === $parts[1] )
|
||||
) {
|
||||
|
||||
2
wp-includes/js/admin-bar.min.js
vendored
2
wp-includes/js/admin-bar.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/colorpicker.min.js
vendored
2
wp-includes/js/colorpicker.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/plupload/handlers.min.js
vendored
2
wp-includes/js/plupload/handlers.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user