Edit File by line
/home/barbar84/www/wp-admin
File: about.php
<?php is_multisite() ? _e( 'Go to Updates' ) : _e( 'Go to Dashboard &rarr; Updates' ); ?>
[500] Fix | Delete
</a> |
[501] Fix | Delete
<?php endif; ?>
[502] Fix | Delete
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
[503] Fix | Delete
</div>
[504] Fix | Delete
</div>
[505] Fix | Delete
[506] Fix | Delete
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
[507] Fix | Delete
[508] Fix | Delete
<script>
[509] Fix | Delete
window.addEventListener( 'load', function() {
[510] Fix | Delete
var createElement = wp.element.createElement;
[511] Fix | Delete
var Fragment = wp.element.Fragment;
[512] Fix | Delete
var render = wp.element.render;
[513] Fix | Delete
var useState = wp.element.useState;
[514] Fix | Delete
var ResizableBox = wp.components.ResizableBox;
[515] Fix | Delete
[516] Fix | Delete
var container = document.getElementById( 'about-image-comparison' );
[517] Fix | Delete
var images = container ? container.querySelectorAll( 'img' ) : [];
[518] Fix | Delete
if ( ! images.length ) {
[519] Fix | Delete
// Something's wrong, return early.
[520] Fix | Delete
return;
[521] Fix | Delete
}
[522] Fix | Delete
[523] Fix | Delete
var beforeImage = images.item( 0 );
[524] Fix | Delete
var afterImage = images.item( 1 );
[525] Fix | Delete
var caption = container.querySelector( 'figcaption' ).innerText;
[526] Fix | Delete
[527] Fix | Delete
function ImageComparison( props ) {
[528] Fix | Delete
var stateHelper = useState( props.width );
[529] Fix | Delete
var width = stateHelper[0];
[530] Fix | Delete
var setWidth = stateHelper[1];
[531] Fix | Delete
[532] Fix | Delete
return createElement(
[533] Fix | Delete
'div',
[534] Fix | Delete
{
[535] Fix | Delete
className: 'about__image-comparison'
[536] Fix | Delete
},
[537] Fix | Delete
createElement( 'img', { src: beforeImage.src, alt: beforeImage.alt } ),
[538] Fix | Delete
createElement(
[539] Fix | Delete
ResizableBox,
[540] Fix | Delete
{
[541] Fix | Delete
size: {
[542] Fix | Delete
width: width,
[543] Fix | Delete
height: props.height
[544] Fix | Delete
},
[545] Fix | Delete
onResizeStop: function( event, direction, elt, delta ) {
[546] Fix | Delete
setWidth( parseInt( width + delta.width, 10 ) );
[547] Fix | Delete
},
[548] Fix | Delete
showHandle: true,
[549] Fix | Delete
enable: {
[550] Fix | Delete
top: false,
[551] Fix | Delete
right: ! wp.i18n.isRTL(),
[552] Fix | Delete
bottom: false,
[553] Fix | Delete
left: wp.i18n.isRTL(),
[554] Fix | Delete
},
[555] Fix | Delete
className: 'about__image-comparison-resize'
[556] Fix | Delete
},
[557] Fix | Delete
createElement(
[558] Fix | Delete
'div',
[559] Fix | Delete
{
[560] Fix | Delete
style: { width: '100%', height: '100%', overflow: 'hidden' }
[561] Fix | Delete
},
[562] Fix | Delete
createElement('img', { src: afterImage.src, alt: afterImage.alt } )
[563] Fix | Delete
)
[564] Fix | Delete
)
[565] Fix | Delete
);
[566] Fix | Delete
}
[567] Fix | Delete
[568] Fix | Delete
render(
[569] Fix | Delete
createElement(
[570] Fix | Delete
Fragment,
[571] Fix | Delete
{},
[572] Fix | Delete
createElement(
[573] Fix | Delete
ImageComparison,
[574] Fix | Delete
{
[575] Fix | Delete
width: beforeImage.clientWidth / 2,
[576] Fix | Delete
height: beforeImage.clientHeight
[577] Fix | Delete
}
[578] Fix | Delete
),
[579] Fix | Delete
createElement( 'figcaption', {}, caption )
[580] Fix | Delete
),
[581] Fix | Delete
container
[582] Fix | Delete
);
[583] Fix | Delete
} );
[584] Fix | Delete
</script>
[585] Fix | Delete
<?php
[586] Fix | Delete
[587] Fix | Delete
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
[588] Fix | Delete
return;
[589] Fix | Delete
[590] Fix | Delete
__( 'Maintenance Release' );
[591] Fix | Delete
__( 'Maintenance Releases' );
[592] Fix | Delete
[593] Fix | Delete
__( 'Security Release' );
[594] Fix | Delete
__( 'Security Releases' );
[595] Fix | Delete
[596] Fix | Delete
__( 'Maintenance and Security Release' );
[597] Fix | Delete
__( 'Maintenance and Security Releases' );
[598] Fix | Delete
[599] Fix | Delete
/* translators: %s: WordPress version number. */
[600] Fix | Delete
__( '<strong>Version %s</strong> addressed one security issue.' );
[601] Fix | Delete
/* translators: %s: WordPress version number. */
[602] Fix | Delete
__( '<strong>Version %s</strong> addressed some security issues.' );
[603] Fix | Delete
[604] Fix | Delete
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
[605] Fix | Delete
_n_noop(
[606] Fix | Delete
'<strong>Version %1$s</strong> addressed %2$s bug.',
[607] Fix | Delete
'<strong>Version %1$s</strong> addressed %2$s bugs.'
[608] Fix | Delete
);
[609] Fix | Delete
[610] Fix | Delete
/* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */
[611] Fix | Delete
_n_noop(
[612] Fix | Delete
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
[613] Fix | Delete
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
[614] Fix | Delete
);
[615] Fix | Delete
[616] Fix | Delete
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
[617] Fix | Delete
_n_noop(
[618] Fix | Delete
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
[619] Fix | Delete
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
[620] Fix | Delete
);
[621] Fix | Delete
[622] Fix | Delete
/* translators: %s: Documentation URL. */
[623] Fix | Delete
__( 'For more information, see <a href="%s">the release notes</a>.' );
[624] Fix | Delete
[625] Fix | Delete
/* translators: 1: WordPress version number, 2: Link to update WordPress */
[626] Fix | Delete
__( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
[627] Fix | Delete
[628] Fix | Delete
/* translators: 1: WordPress version number, 2: Link to update WordPress */
[629] Fix | Delete
__( 'Important! Your version of WordPress (%1$s) will stop receiving security updates in the near future. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
[630] Fix | Delete
[631] Fix | Delete
/* translators: %s: The major version of WordPress for this branch. */
[632] Fix | Delete
__( 'This is the final release of WordPress %s' );
[633] Fix | Delete
[634] Fix | Delete
/* translators: The localized WordPress download URL. */
[635] Fix | Delete
__( 'https://wordpress.org/download/' );
[636] Fix | Delete
[637] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function