Commit 1db6da7d authored by lucha's avatar lucha

Wordpress 4.8

parent 58c21501
......@@ -9,7 +9,6 @@
<body>
<h1 id="logo">
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
<br /> Version 4.7
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>
......
This diff is collapsed.
......@@ -64,7 +64,7 @@ $core_actions_post = array(
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', 'delete-plugin',
'search-plugins', 'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme',
'install-theme', 'get-post-thumbnail-html',
'install-theme', 'get-post-thumbnail-html', 'get-community-events',
);
// Deprecated
......
......@@ -78,10 +78,6 @@ do_action( 'admin_footer', '' );
* refers to the global hook suffix of the current page.
*
* @since 4.6.0
*
* @global string $hook_suffix
*
* @param string $hook_suffix The current admin page.
*/
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
......@@ -99,9 +95,6 @@ do_action( 'admin_print_footer_scripts' );
* refers to the global hook suffix of the current page.
*
* @since 2.8.0
*
* @global string $hook_suffix
* @param string $hook_suffix The current admin page.
*/
do_action( "admin_footer-{$hook_suffix}" );
......
......@@ -221,8 +221,9 @@ if ( isset($plugin_page) ) {
*/
do_action( $page_hook );
} else {
if ( validate_file($plugin_page) )
wp_die(__('Invalid plugin page'));
if ( validate_file( $plugin_page ) ) {
wp_die( __( 'Invalid plugin page.' ) );
}
if ( !( file_exists(WP_PLUGIN_DIR . "/$plugin_page") && is_file(WP_PLUGIN_DIR . "/$plugin_page") ) && !( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") && is_file(WPMU_PLUGIN_DIR . "/$plugin_page") ) )
wp_die(sprintf(__('Cannot load %s.'), htmlentities($plugin_page)));
......
......@@ -52,7 +52,7 @@ if ( ! current_user_can( 'upload_files' ) ) {
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
$post = get_post( $id );
if ( 'attachment' != $post->post_type )
wp_die( __( 'Unknown post type.' ) );
wp_die( __( 'Invalid post type.' ) );
if ( ! current_user_can( 'edit_post', $id ) )
wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );
......
......@@ -20,7 +20,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s helps you get your site set up the way you want it.' ), $display_version ); ?></p>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s adds more ways for you to express yourself and represent your brand.' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
......
......@@ -40,7 +40,6 @@
max-width: 100%;
height: auto;
vertical-align: middle;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap .jetpack-video-wrapper {
......@@ -161,43 +160,55 @@
/* 1.2 - Structure */
.about-wrap [class$=col] .col {
float: right;
position: relative;
}
.about-wrap .two-col .col {
margin-left: 4.799999999%;
width: 47.6%;
.about-wrap [class$="-col"] {
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: -moz-box;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
.about-wrap [class$="-col"] .col {
-webkit-flex: 1;
-ms-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
flex: 1;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-left: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: top;
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
margin-left: 4.999999999%;
width: 29.95%;
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .two-col .col:nth-of-type(2n),
.about-wrap .three-col .col:nth-of-type(3n) {
margin-left: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-video .mejs-controls {
......@@ -298,11 +309,6 @@
padding-top: 35px;
}
.about-wrap .headline-feature {
margin: 0 auto;
max-width: 80%;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
......@@ -446,6 +452,11 @@
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
display: block;
margin: 0 auto;
......@@ -475,8 +486,7 @@
.about-wrap .two-col .col,
.about-wrap .three-col .col {
width: 100% !important;
float: none !important;
min-width: 100% !important;
}
.about-wrap .under-the-hood.three-col .col,
......
This diff is collapsed.
......@@ -40,7 +40,6 @@
max-width: 100%;
height: auto;
vertical-align: middle;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap .jetpack-video-wrapper {
......@@ -161,43 +160,55 @@
/* 1.2 - Structure */
.about-wrap [class$=col] .col {
float: left;
position: relative;
}
.about-wrap .two-col .col {
margin-right: 4.799999999%;
width: 47.6%;
.about-wrap [class$="-col"] {
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: -moz-box;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
.about-wrap [class$="-col"] .col {
-webkit-flex: 1;
-ms-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
flex: 1;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-right: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: top;
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
margin-right: 4.999999999%;
width: 29.95%;
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .two-col .col:nth-of-type(2n),
.about-wrap .three-col .col:nth-of-type(3n) {
margin-right: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-video .mejs-controls {
......@@ -298,11 +309,6 @@
padding-top: 35px;
}
.about-wrap .headline-feature {
margin: 0 auto;
max-width: 80%;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
......@@ -446,6 +452,11 @@
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
display: block;
margin: 0 auto;
......@@ -475,8 +486,7 @@
.about-wrap .two-col .col,
.about-wrap .three-col .col {
width: 100% !important;
float: none !important;
min-width: 100% !important;
}
.about-wrap .under-the-hood.three-col .col,
......
This diff is collapsed.
......@@ -133,4 +133,11 @@
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
\ No newline at end of file
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
margin-left: 6px;
padding: 3px 5px;
}
}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}
\ No newline at end of file
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{margin-left:6px;padding:3px 5px}}
\ No newline at end of file
......@@ -133,4 +133,11 @@
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
\ No newline at end of file
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
margin-right: 6px;
padding: 3px 5px;
}
}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}
\ No newline at end of file
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{margin-right:6px;padding:3px 5px}}
\ No newline at end of file
......@@ -408,12 +408,7 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow:
0px 0px 0px 1px #fff,
0px 0px 0px 3px $highlight-color;
box-shadow:
0px 0px 0px 1px #fff,
0px 0px 0px 3px $highlight-color;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color;
}
......
......@@ -430,8 +430,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
}
/* Themes */
......
......@@ -430,8 +430,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
}
/* Themes */
......
......@@ -430,8 +430,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
/* Themes */
......
......@@ -430,8 +430,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
/* Themes */
......
......@@ -430,8 +430,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
box-shadow: 0 0 0