WordPress.org

Make WordPress Core

Ticket #24302: 24302.diff

File 24302.diff, 6.1 KB (added by TheLastCicada, 8 years ago)

...or, with 2 f's if you prefer....

  • wp-includes/post.php

     
    10741074 *     * While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are
    10751075 *       inherited from public, each does not rely on this relationship and controls a very specific intention.
    10761076 * - exclude_from_search - Whether to exclude posts with this post type from front end search results.
    1077  *     * If not set, the the opposite of public's current value is used.
     1077 *     * If not set, the opposite of public's current value is used.
    10781078 * - publicly_queryable - Whether queries can be performed on the front end for the post type as part of parse_request().
    10791079 *     * ?post_type={post_type_key}
    10801080 *     * ?{post_type_key}={single_post_slug}
  • wp-includes/class-wp-theme.php

     
    8787        /**
    8888         * The directory name of the theme's files, inside the theme root.
    8989         *
    90          * In the case of a child theme, this is directory name of the the child theme.
     90         * In the case of a child theme, this is directory name of the child theme.
    9191         * Otherwise, 'stylesheet' is the same as 'template'.
    9292         *
    9393         * @access private
     
    720720        /**
    721721         * The directory name of the theme's "stylesheet" files, inside the theme root.
    722722         *
    723          * In the case of a child theme, this is directory name of the the child theme.
     723         * In the case of a child theme, this is directory name of the child theme.
    724724         * Otherwise, get_stylesheet() is the same as get_template().
    725725         *
    726726         * @since 3.4.0
  • wp-includes/class-simplepie.php

     
    827827        }
    828828
    829829        /**
    830          * Set the the default timeout for fetching remote feeds
     830         * Set the default timeout for fetching remote feeds
    831831         *
    832832         * This allows you to change the maximum time the feed's server to respond
    833833         * and send the feed back.
     
    31163116                }
    31173117        }
    31183118}
    3119 endif;
    3120  No newline at end of file
     3119endif;
  • wp-includes/functions.php

     
    27432743 * search engines from caching the message. Custom DB messages should do the
    27442744 * same.
    27452745 *
    2746  * This function was backported to the the WordPress 2.3.2, but originally was
     2746 * This function was backported to the WordPress 2.3.2, but originally was
    27472747 * added in WordPress 2.5.0.
    27482748 *
    27492749 * @since 2.3.2
  • wp-includes/formatting.php

     
    19131913 *
    19141914 * @since 1.2.0
    19151915 *
    1916  * @uses get_option() to retrieve the the value of 'gmt_offset'.
     1916 * @uses get_option() to retrieve the value of 'gmt_offset'.
    19171917 * @param string $string The date to be converted.
    19181918 * @param string $format The format string for the returned date (default is Y-m-d H:i:s)
    19191919 * @return string GMT version of the date provided.
     
    33903390 */
    33913391function wp_unslash( $value ) {
    33923392        return stripslashes_deep( $value );
    3393 }
    3394  No newline at end of file
     3393}
  • wp-includes/feed.php

     
    391391                        foreach ( (array) $val as $enc ) {
    392392                                $enclosure = explode("\n", $enc);
    393393
    394                                 //only get the the first element eg, audio/mpeg from 'audio/mpeg mpga mp2 mp3'
     394                                //only get the first element eg, audio/mpeg from 'audio/mpeg mpga mp2 mp3'
    395395                                $t = preg_split('/[ \t]/', trim($enclosure[2]) );
    396396                                $type = $t[0];
    397397
  • wp-includes/class-json.php

     
    438438            case 'array':
    439439               /*
    440440                * As per JSON spec if any array key is not an integer
    441                 * we must treat the the whole array as an object. We
     441                * we must treat the whole array as an object. We
    442442                * also try to catch a sparsely populated associative
    443443                * array with numeric keys here because some JS engines
    444444                * will create an array with empty indexes up to
     
    447447                * otherwise.
    448448                *
    449449                * As per the ECMA and JSON specification an object may
    450                 * have any string as a property. Unfortunately due to
    451                 * a hole in the ECMA specification if the key is a
     450                * have any string as a property. Unfortunately, due to
     451                * a hole in the ECMA specification, if the key is a
    452452                * ECMA reserved word or starts with a digit the
    453453                * parameter is only accessible using ECMAScript's
    454454                * bracket notation.
     
    933933   
    934934}
    935935
    936 endif;
    937  No newline at end of file
     936endif;
  • wp-admin/includes/widgets.php

     
    5858
    5959/**
    6060 * Show the widgets and their settings for a sidebar.
    61  * Used in the the admin widget config screen.
     61 * Used in the admin widget config screen.
    6262 *
    6363 * @since 2.5.0
    6464 *
  • wp-admin/js/revisions.js

     
    621621                        }, true );
    622622                },
    623623
    624                 // go the the previous revision
     624                // go the previous revision
    625625                previousRevision: function() {
    626626                        if ( Diff.rightDiff > 1 ) // unless at left boundry
    627627                                Diff.rightDiff = Diff.rightDiff - 1 ;