Ticket #34887: 34887.diff
| File 34887.diff, 15.2 KB (added by , 11 years ago) |
|---|
-
wp-signup.php
48 48 do_action( 'before_signup_header' ); 49 49 50 50 /** 51 * Prints styles for front -end Multisite signup pages51 * Prints styles for front end Multisite signup pages 52 52 * 53 53 * @since MU 54 54 */ … … 758 758 */ 759 759 function signup_get_available_languages() { 760 760 /** 761 * Filter the list of available languages for front -end site signups.761 * Filter the list of available languages for front end site signups. 762 762 * 763 763 * Passing an empty array to this hook will disable output of the setting on the 764 764 * signup form, and the default language will be used when creating the site. -
wp-includes/taxonomy.php
271 271 * @since 2.3.0 272 272 * @since 4.2.0 Introduced `show_in_quick_edit` argument. 273 273 * @since 4.4.0 The `show_ui` argument is now enforced on the term editing screen. 274 * @since 4.4.0 The `public` argument now controls whether the taxonomy can be queried on the front -end.274 * @since 4.4.0 The `public` argument now controls whether the taxonomy can be queried on the front end. 275 275 * 276 276 * @global array $wp_taxonomies Registered taxonomies. 277 277 * @global WP $wp WP instance. -
wp-includes/functions.wp-scripts.php
190 190 ); 191 191 192 192 if ( in_array( $handle, $no ) ) { 193 $message = sprintf( __( 'Do not deregister the %1$s script in the administration area. To target the front end theme, use the %2$s hook.' ),193 $message = sprintf( __( 'Do not deregister the %1$s script in the administration area. To target the front end theme, use the %2$s hook.' ), 194 194 "<code>$handle</code>", '<code>wp_enqueue_scripts</code>' ); 195 195 _doing_it_wrong( __FUNCTION__, $message, '3.6' ); 196 196 return; -
wp-includes/js/heartbeat.js
141 141 settings.mainInterval = settings.minimalInterval; 142 142 } 143 143 144 // 'screenId' can be added from settings on the front -end where the JS global 'pagenow' is not set144 // 'screenId' can be added from settings on the front end where the JS global 'pagenow' is not set 145 145 if ( ! settings.screenId ) { 146 146 settings.screenId = options.screenId || 'front'; 147 147 } -
wp-includes/user.php
1285 1285 * https. Default false. 1286 1286 * @type string $user_registered Date the user registered. Format is 'Y-m-d H:i:s'. 1287 1287 * @type string|bool $show_admin_bar_front Whether to display the Admin Bar for the user on the 1288 * site's front end. Default true.1288 * site's front end. Default true. 1289 1289 * @type string $role User's role. 1290 1290 * } 1291 1291 * @return int|WP_Error The newly created user's ID or a WP_Error object if the user could not -
wp-includes/widgets.php
629 629 /** 630 630 * Fires before widgets are rendered in a dynamic sidebar. 631 631 * 632 * Note: The action also fires for empty sidebars, and on both the front -end632 * Note: The action also fires for empty sidebars, and on both the front end 633 633 * and back-end, including the Inactive Widgets sidebar on the Widgets screen. 634 634 * 635 635 * @since 3.9.0 … … 665 665 /** 666 666 * Filter the parameters passed to a widget's display callback. 667 667 * 668 * Note: The filter is evaluated on both the front -end and back-end,668 * Note: The filter is evaluated on both the front end and back-end, 669 669 * including for the Inactive Widgets sidebar on the Widgets screen. 670 670 * 671 671 * @since 2.5.0 … … 701 701 /** 702 702 * Fires before a widget's display callback is called. 703 703 * 704 * Note: The action fires on both the front -end and back-end, including704 * Note: The action fires on both the front end and back-end, including 705 705 * for widgets in the Inactive Widgets sidebar on the Widgets screen. 706 706 * 707 707 * The action is not fired for empty sidebars. … … 713 713 * 714 714 * @type string $name Name of the widget. 715 715 * @type string $id Widget ID. 716 * @type array|callable $callback When the hook is fired on the front -end, $callback is an array716 * @type array|callable $callback When the hook is fired on the front end, $callback is an array 717 717 * containing the widget object. Fired on the back-end, $callback 718 718 * is 'wp_widget_control', see $_callback. 719 719 * @type array $params An associative array of multi-widget arguments. … … 734 734 /** 735 735 * Fires after widgets are rendered in a dynamic sidebar. 736 736 * 737 * Note: The action also fires for empty sidebars, and on both the front -end737 * Note: The action also fires for empty sidebars, and on both the front end 738 738 * and back-end, including the Inactive Widgets sidebar on the Widgets screen. 739 739 * 740 740 * @since 3.9.0 … … 748 748 /** 749 749 * Filter whether a sidebar has widgets. 750 750 * 751 * Note: The filter is also evaluated for empty sidebars, and on both the front -end751 * Note: The filter is also evaluated for empty sidebars, and on both the front end 752 752 * and back-end, including the Inactive Widgets sidebar on the Widgets screen. 753 753 * 754 754 * @since 3.9.0 … … 761 761 } 762 762 763 763 /** 764 * Whether widget is displayed on the front -end.764 * Whether widget is displayed on the front end. 765 765 * 766 766 * Either $callback or $id_base can be used 767 767 * $id_base is the first argument when extending WP_Widget class -
wp-includes/nav-menu.php
664 664 665 665 $items = array_map( 'wp_setup_nav_menu_item', $items ); 666 666 667 if ( ! is_admin() ) { // Remove invalid items only in front end667 if ( ! is_admin() ) { // Remove invalid items only in front end 668 668 $items = array_filter( $items, '_is_valid_nav_menu_item' ); 669 669 } 670 670 -
wp-includes/class-wp-customize-manager.php
1069 1069 * that have no corresponding setting created. 1070 1070 * 1071 1071 * This is a mechanism to "wake up" settings that have been dynamically created 1072 * on the front end and have been sent to WordPress in `$_POST['customized']`. When WP1072 * on the front end and have been sent to WordPress in `$_POST['customized']`. When WP 1073 1073 * loads, the dynamically-created settings then will get created and previewed 1074 1074 * even though they are not directly created statically with code. 1075 1075 * … … 1619 1619 */ 1620 1620 public function customize_pane_settings() { 1621 1621 /* 1622 * If the front end and the admin are served from the same domain, load the1622 * If the front end and the admin are served from the same domain, load the 1623 1623 * preview over ssl if the Customizer is being loaded over ssl. This avoids 1624 * insecure content warnings. This is not attempted if the admin and front end1625 * are on different domains to avoid the case where the front end doesn't have1624 * insecure content warnings. This is not attempted if the admin and front end 1625 * are on different domains to avoid the case where the front end doesn't have 1626 1626 * ssl certs. Domain mapping plugins can allow other urls in these conditions 1627 1627 * using the customize_allowed_urls filter. 1628 1628 */ … … 1699 1699 } 1700 1700 } 1701 1701 1702 // Pass to front end the Customizer construct being deeplinked.1702 // Pass to front end the Customizer construct being deeplinked. 1703 1703 foreach ( $this->get_autofocus() as $type => $id ) { 1704 1704 $can_autofocus = ( 1705 1705 ( 'control' === $type && $this->get_control( $id ) && $this->get_control( $id )->check_capabilities() ) -
wp-includes/post.php
902 902 * @type string $description A short descriptive summary of what the post type is. 903 903 * Default empty. 904 904 * @type bool $public Whether a post type is intended for use publicly either via 905 * the admin interface or by front -end users. While the default905 * the admin interface or by front end users. While the default 906 906 * settings of $exclude_from_search, $publicly_queryable, $show_ui, 907 907 * and $show_in_nav_menus are inherited from public, each does not 908 908 * rely on this relationship and controls a very specific intention. … … 4890 4890 $url = get_the_guid( $post->ID ); 4891 4891 } 4892 4892 4893 // On SSL front -end, URLs should be HTTPS.4893 // On SSL front end, URLs should be HTTPS. 4894 4894 if ( is_ssl() && ! is_admin() && 'wp-login.php' !== $GLOBALS['pagenow'] ) { 4895 4895 $url = set_url_scheme( $url ); 4896 4896 } -
wp-includes/class-wp.php
308 308 if ( $t->query_var && isset( $this->query_vars[$t->query_var] ) ) 309 309 $this->query_vars[$t->query_var] = str_replace( ' ', '+', $this->query_vars[$t->query_var] ); 310 310 311 // Don't allow non-public taxonomies to be queried from the front -end.311 // Don't allow non-public taxonomies to be queried from the front end. 312 312 if ( ! is_admin() ) { 313 313 foreach ( get_taxonomies( array( 'public' => false ), 'objects' ) as $taxonomy => $t ) { 314 314 /* -
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
494 494 // @todo We should probably re-apply some constraints imposed by $args. 495 495 unset( $args['include'] ); 496 496 497 // Remove invalid items only in front end.497 // Remove invalid items only in front end. 498 498 if ( ! is_admin() ) { 499 499 $items = array_filter( $items, '_is_valid_nav_menu_item' ); 500 500 } -
wp-admin/admin-ajax.php
21 21 /** Load WordPress Bootstrap */ 22 22 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 23 23 24 /** Allow for cross-domain requests (from the front end). */24 /** Allow for cross-domain requests (from the front end). */ 25 25 send_origin_headers(); 26 26 27 27 // Require an action parameter -
wp-admin/js/customize-controls.js
1550 1550 // Watch for changes to the section state 1551 1551 inject = function ( sectionId ) { 1552 1552 var parentContainer; 1553 if ( ! sectionId ) { // @todo allow a control to be embedded without a section, for instance a control embedded in the front end1553 if ( ! sectionId ) { // @todo allow a control to be embedded without a section, for instance a control embedded in the front end 1554 1554 return; 1555 1555 } 1556 1556 // Wait for the section to be registered … … 2993 2993 return match ? match[0] : ''; 2994 2994 }); 2995 2995 2996 // Limit the URL to internal, front -end links.2996 // Limit the URL to internal, front end links. 2997 2997 // 2998 // If the front end and the admin are served from the same domain, load the2998 // If the front end and the admin are served from the same domain, load the 2999 2999 // preview over ssl if the Customizer is being loaded over ssl. This avoids 3000 // insecure content warnings. This is not attempted if the admin and front end3001 // are on different domains to avoid the case where the front end doesn't have3000 // insecure content warnings. This is not attempted if the admin and front end 3001 // are on different domains to avoid the case where the front end doesn't have 3002 3002 // ssl certs. 3003 3003 3004 3004 this.add( 'previewUrl', params.previewUrl ).setter( function( to ) { -
wp-admin/my-sites.php
39 39 'id' => 'overview', 40 40 'title' => __('Overview'), 41 41 'content' => 42 '<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. They can use the links under each site to visit either the front end or the dashboard for that site.') . '</p>' .42 '<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. They can use the links under each site to visit either the front end or the dashboard for that site.') . '</p>' . 43 43 '<p>' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '</p>' 44 44 ) ); 45 45 -
wp-admin/network/sites.php
35 35 '<li>' . __('Dashboard leads to the Dashboard for that site.') . '</li>' . 36 36 '<li>' . __('Deactivate, Archive, and Spam which lead to confirmation screens. These actions can be reversed later.') . '</li>' . 37 37 '<li>' . __('Delete which is a permanent action after the confirmation screens.') . '</li>' . 38 '<li>' . __('Visit to go to the front end site live.') . '</li></ul>' .38 '<li>' . __('Visit to go to the front end site live.') . '</li></ul>' . 39 39 '<p>' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '</p>' . 40 40 '<p>' . __('Clicking on bold headings can re-sort this table.') . '</p>' 41 41 ) ); -
wp-admin/admin-post.php
18 18 else 19 19 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 20 20 21 /** Allow for cross-domain requests (from the front end). */21 /** Allow for cross-domain requests (from the front end). */ 22 22 send_origin_headers(); 23 23 24 24 require_once(ABSPATH . 'wp-admin/includes/admin.php');
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)