PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-admin
/
includes
<?php /** * WordPress Options Administration API. * * @package WordPress * @subpackage Administration * @since 4.4.0 */ /** * Output JavaScript to toggle display of additional settings if avatars are disabled. * * @since 4.2.0 */ function options_discussion_add_js() { ?> <script> (function($){ var parent = $( '#show_avatars' ), children = $( '.avatar-settings' ); parent.on( 'change', function(){ children.toggleClass( 'hide-if-js', ! this.checked ); }); })(jQuery); </script> <?php } /** * Display JavaScript on the page. * * @since 3.5.0 */ function options_general_add_js() { ?> <script type="text/javascript"> jQuery( function($) { var $siteName = $( '#wp-admin-bar-site-name' ).children( 'a' ).first(), $siteIconPreview = $('#site-icon-preview-site-title'), homeURL = ( <?php echo wp_json_encode( get_home_url(), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ); ?> || '' ).replace( /^(https?:\/\/)?(www\.)?/, '' ); $( '#blogname' ).on( 'input', function() { var title = $.trim( $( this ).val() ) || homeURL; // Truncate to 40 characters. if ( 40 < title.length ) { title = title.substring( 0, 40 ) + '\u2026'; } $siteName.text( title ); $siteIconPreview.text( title ); }); $( 'input[name="date_format"]' ).on( 'click', function() { if ( 'date_format_custom_radio' !== $(this).attr( 'id' ) ) $( 'input[name="date_format_custom"]' ).val( $( this ).val() ).closest( 'fieldset' ).find( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); }); $( 'input[name="date_format_custom"]' ).on( 'click input', function() { $( '#date_format_custom_radio' ).prop( 'checked', true ); }); $( 'input[name="time_format"]' ).on( 'click', function() { if ( 'time_format_custom_radio' !== $(this).attr( 'id' ) ) $( 'input[name="time_format_custom"]' ).val( $( this ).val() ).closest( 'fieldset' ).find( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); }); $( 'input[name="time_format_custom"]' ).on( 'click input', function() { $( '#time_format_custom_radio' ).prop( 'checked', true ); }); $( 'input[name="date_format_custom"], input[name="time_format_custom"]' ).on( 'input', function() { var format = $( this ), fieldset = format.closest( 'fieldset' ), example = fieldset.find( '.example' ), spinner = fieldset.find( '.spinner' ); // Debounce the event callback while users are typing. clearTimeout( $.data( this, 'timer' ) ); $( this ).data( 'timer', setTimeout( function() { // If custom date is not empty. if ( format.val() ) { spinner.addClass( 'is-active' ); $.post( ajaxurl, { action: 'date_format_custom' === format.attr( 'name' ) ? 'date_format' : 'time_format', date : format.val() }, function( d ) { spinner.removeClass( 'is-active' ); example.text( d ); } ); } }, 500 ) ); } ); var languageSelect = $( '#WPLANG' ); $( 'form' ).on( 'submit', function() { /* * Don't show a spinner for English and installed languages, * as there is nothing to download. */ if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) { $( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' ); } }); } ); </script> <?php } /** * Display JavaScript on the page. * * @since 3.5.0 */ function options_reading_add_js() { ?> <script type="text/javascript"> jQuery( function($) { var section = $('#front-static-pages'), staticPage = section.find('input:radio[value="page"]'), selects = section.find('select'), check_disabled = function(){ selects.prop( 'disabled', ! staticPage.prop('checked') ); }; check_disabled(); section.find( 'input:radio' ).on( 'change', check_disabled ); } ); </script> <?php } /** * Render the site charset setting. * * @since 3.5.0 */ function options_reading_blog_charset() { echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />'; echo '<p class="description">' . __( 'The <a href="https://wordpress.org/documentation/article/wordpress-glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>'; }
[-] media.php
[edit]
[-] class-wp-plugins-list-table.php
[edit]
[-] class-walker-nav-menu-checklist.php
[edit]
[-] class-wp-community-events.php
[edit]
[-] theme-install.php
[edit]
[-] revision.php
[edit]
[-] admin.php
[edit]
[-] privacy-tools.php
[edit]
[-] class-pclzip.php
[edit]
[-] class-theme-upgrader-skin.php
[edit]
[-] class-wp-comments-list-table.php
[edit]
[-] ms-admin-filters.php
[edit]
[-] update-core.php
[edit]
[-] class-automatic-upgrader-skin.php
[edit]
[-] file.php
[edit]
[-] class-wp-ms-sites-list-table.php
[edit]
[-] taxonomy.php
[edit]
[-] image-edit.php
[edit]
[-] noop.php
[edit]
[-] class-wp-application-passwords-list-table.php
[edit]
[-] class-wp-filesystem-ftpext.php
[edit]
[-] class-wp-privacy-policy-content.php
[edit]
[-] ms.php
[edit]
[-] class-wp-debug-data.php
[edit]
[-] class-wp-automatic-updater.php
[edit]
[-] class-walker-category-checklist.php
[edit]
[-] deprecated.php
[edit]
[-] class-theme-installer-skin.php
[edit]
[-] class-bulk-upgrader-skin.php
[edit]
[-] class-bulk-plugin-upgrader-skin.php
[edit]
[-] class-wp-site-icon.php
[edit]
[-] class-wp-ms-users-list-table.php
[edit]
[-] schema.php
[edit]
[-] class-custom-background.php
[edit]
[-] class-wp-posts-list-table.php
[edit]
[-] nav-menu.php
[edit]
[-] screen.php
[edit]
[-] class-wp-ajax-upgrader-skin.php
[edit]
[-] class-wp-upgrader.php
[edit]
[-] class-wp-screen.php
[edit]
[-] class-custom-image-header.php
[edit]
[-] class-wp-privacy-data-removal-requests-list-table.php
[edit]
[-] class-language-pack-upgrader.php
[edit]
[-] class-wp-site-health.php
[edit]
[-] class-core-upgrader.php
[edit]
[-] class-bulk-theme-upgrader-skin.php
[edit]
[-] class-wp-links-list-table.php
[edit]
[-] class-wp-terms-list-table.php
[edit]
[-] class-wp-list-table.php
[edit]
[-] post.php
[edit]
[-] class-wp-internal-pointers.php
[edit]
[-] theme.php
[edit]
[-] plugin.php
[edit]
[-] options.php
[edit]
[-] class-plugin-upgrader.php
[edit]
[-] ajax-actions.php
[edit]
[-] class-wp-upgrader-skins.php
[edit]
[-] export.php
[edit]
[-] continents-cities.php
[edit]
[-] update.php
[edit]
[-] misc.php
[edit]
[-] comment.php
[edit]
[-] class-wp-site-health-auto-updates.php
[edit]
[-] class-language-pack-upgrader-skin.php
[edit]
[-] class-wp-upgrader-skin.php
[edit]
[-] import.php
[edit]
[-] credits.php
[edit]
[-] class-wp-filesystem-ssh2.php
[edit]
[-] class-wp-filesystem-ftpsockets.php
[edit]
[-] class-plugin-upgrader-skin.php
[edit]
[-] list-table.php
[edit]
[-] admin-filters.php
[edit]
[-] class-wp-theme-install-list-table.php
[edit]
[-] class-plugin-installer-skin.php
[edit]
[-] dashboard.php
[edit]
[-] image.php
[edit]
[-] meta-boxes.php
[edit]
[-] widgets.php
[edit]
[-] class-wp-privacy-data-export-requests-list-table.php
[edit]
[-] translation-install.php
[edit]
[-] upgrade.php
[edit]
[-] class-wp-themes-list-table.php
[edit]
[-] bookmark.php
[edit]
[-] network.php
[edit]
[+]
..
[-] menu.php
[edit]
[-] class-walker-nav-menu-edit.php
[edit]
[-] class-wp-plugin-install-list-table.php
[edit]
[-] plugin-install.php
[edit]
[-] template.php
[edit]
[-] class-ftp-sockets.php
[edit]
[-] class-wp-importer.php
[edit]
[-] ms-deprecated.php
[edit]
[-] class-wp-filesystem-direct.php
[edit]
[-] class-ftp-pure.php
[edit]
[-] edit-tag-messages.php
[edit]
[-] class-wp-privacy-requests-table.php
[edit]
[-] class-wp-filesystem-base.php
[edit]
[-] class-wp-media-list-table.php
[edit]
[-] class-wp-post-comments-list-table.php
[edit]
[-] class-wp-ms-themes-list-table.php
[edit]
[-] class-ftp.php
[edit]
[-] class-file-upload-upgrader.php
[edit]
[-] class-wp-list-table-compat.php
[edit]
[-] user.php
[edit]
[-] class-wp-users-list-table.php
[edit]
[-] class-theme-upgrader.php
[edit]