Making WordPress.org

Ticket #4394: #4394-shashank3105.patch

File #4394-shashank3105.patch, 6.3 KB (added by shashank3105, 7 years ago)

Patch file for this issue

  • profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php

     
    156156                public function handle_activity() {
    157157                        // Return error if not a valid activity request.
    158158                        if ( true !== apply_filters( 'wporg_is_valid_activity_request', false ) ) {
    159                                 die( '-1 Not a valid activity request' );
     159                                die( '-1 Not a valid activity request.' );
    160160                        }
    161161
    162162                        // Return error if activities are not enabled.
    163163                        if ( ! bp_is_active( 'activity' ) ) {
    164                                 die( '-1 Activity component not activated' );
     164                                die( '-1 Activity component not activated.' );
    165165                        }
    166166
    167167                        if ( empty( $_POST['user'] ) ) {
     
    215215
    216216                /**
    217217                 * Handles incoming activities for a forum.
     218                 * $user value.
    218219                 *
    219220                 * Recognized activities:
    220221                 *  - Creating new topic
     
    306307                                        );
    307308                                }
    308309
     310
     311                                /*
     312                                * @args   array
     313                                * @return array
     314                                */
    309315                                $args = array(
    310316                                        'user_id'           => $user->ID,
    311317                                        'action'            => $action,
     
    660666                }
    661667
    662668        } /* /class WPOrg_Profiles_Activity_Handler */
    663 } /* if class_exists */
     669}
    664670
     671/* if class_exists */
    665672if ( class_exists( 'WPOrg_Profiles_Activity_Handler' ) ) {
    666673        new WPOrg_Profiles_Activity_Handler();
    667674}
  • wordcamp.org/public_html/wp-content/themes/campsite-2017/style.css

     
    152152}
    153153
    154154hr {
     155  -webkit-box-sizing: content-box;
     156  -moz-box-sizing: content-box;
    155157  box-sizing: content-box;
    156158  height: 0;
    157159}
     
    212214
    213215input[type="checkbox"],
    214216input[type="radio"] {
     217  -webkit-box-sizing: border-box;
     218  -moz-box-sizing: border-box;
    215219  box-sizing: border-box;
    216220  padding: 0;
    217221}
     
    326330# Elements
    327331--------------------------------------------------------------*/
    328332html {
     333  -webkit-box-sizing: border-box;
     334  -moz-box-sizing: border-box;
    329335  box-sizing: border-box;
    330336}
    331337
     
    333339*:before,
    334340*:after {
    335341  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
     342  -webkit-box-sizing: inherit;
     343  -moz-box-sizing: inherit;
    336344  box-sizing: inherit;
    337345}
    338346
  • wordpress.tv/public_html/wp-content/themes/wptv2/style.css

     
    150150        font-style: italic;
    151151}
    152152
    153 strong {
     153strong, b {
    154154        font-weight: bold;
    155155}
    156156
     
    232232
    233233/* Figures & images */
    234234.image {
     235        max-width: 100%;
     236        height: auto;
    235237}
    236238
    237239.figure {
     
    295297
    296298#searchform #searchbox,
    297299#searchform input#s {
     300        -webkit-box-sizing: content-box;
     301        -moz-box-sizing: content-box;
    298302        box-sizing: content-box;
    299303        border: 1px solid #ccc;
    300304        -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
     
    18041808.tag-count {
    18051809        border-radius: 20px;
    18061810        background: #dedede;
    1807 
    18081811        font-size: 11px;
    18091812        font-weight: bold;
    1810 
    18111813        padding: 1px 5px 0px 5px;
    18121814        margin: 0 0 0 2px;
    18131815}
     
    19371939h3 {
    19381940        font-family: "ff-meta-web-pro", Helvetica Neue, Helvetica, sans-serif;
    19391941        border-bottom: 1px #e9e9e9 solid;
    1940 
    19411942        clear: both;
    1942 
    19431943        font-size: 18px;
    19441944        font-weight: bold;
    1945 
    19461945        margin: 20px 0 20px;
    19471946        padding: 0 0 9px;
    19481947}
     
    19551954        font-family: "ff-meta-web-pro", Helvetica Neue, Helvetica, sans-serif;
    19561955        font-size: 16px;
    19571956        font-weight: bold;
    1958 
    19591957        margin: 20px 0 10px;
    19601958}
    19611959
     
    19631961        font-size: 12px;
    19641962        font-weight: bold;
    19651963        text-transform: uppercase;
    1966 
    19671964        margin: 10px 0 2px 0;
    19681965}
    19691966
    19701967.view-more {
    19711968        font-size: 13px;
    1972 
    19731969        display: block;
    19741970        float: right;
    19751971        margin: 5px 0 0 0;
     
    19771973
    19781974.breadcrumb {
    19791975        color: #8B8B8B;
    1980 
    19811976        font-size: 13px;
    19821977        text-transform: uppercase;
    1983 
    19841978        margin: 0 0 10px 0;
    19851979}
    19861980
     
    20001994.breadcrumb .arrow {
    20011995        font-family: Arial, Helvetica, sans-serif;
    20021996        font-size: 12px;
    2003 
    20041997        margin: 0 5px;
    2005 
    20061998        position: relative;
    20071999        top: -1px;
    20082000}
     
    20162008
    20172009.wptv-hero {
    20182010        clear: both;
    2019 
    20202011        margin: 10px auto 30px auto;
    20212012        padding: 30px 0 10px 0;
    2022 
    20232013        background: #F0F0F0;
    20242014}
    20252015
     
    20262016.wptv-hero .main-video {
    20272017        background: #2f2f2f;
    20282018        clear: both;
    2029 
    20302019        float: left;
    20312020        width: 575px;
    20322021}
     
    20572046.wptv-hero .main-video h3 {
    20582047        border-bottom: 0;
    20592048        border-top: 6px #464646 solid;
    2060 
    20612049        text-align: left;
    2062 
    20632050        margin: 0;
    20642051        padding: 15px;
    20652052}
     
    21042091        font-size: 18px;
    21052092        font-weight: bold;
    21062093        border-bottom: 1px #dfdfdf solid;
    2107 
    21082094        padding: 0 0 14px 0;
    21092095        margin: 0 0 18px 0;
    21102096}
     
    21112097
    21122098.wptv-hero .secondary-videos li {
    21132099        font-size: 13px;
    2114 
    21152100        min-height: 75px;
    21162101        position: relative;
    2117 
    21182102        margin: 0 auto 23px 0;
    21192103        padding: 0 0 0 142px;
    21202104}
     
    21222106.wptv-hero .secondary-videos .video-thumbnail img {
    21232107        width: 130px;
    21242108        height: 75px;
    2125 
    21262109        position: absolute;
    21272110        left: 0;
    21282111}
     
    21482131        display: block;
    21492132        width: 100%;
    21502133        height: 100px;
    2151 
    21522134        margin: 0 0 8px 0;
    2153 
    21542135        overflow: hidden;
    21552136        position: relative;
    21562137}
     
    21972178.archive.video-list li {
    21982179        margin: 0 0 40px 0;
    21992180        min-height: 120px;
    2200 
    22012181        display: block;
    22022182        float: none;
    22032183        position: relative;
     
    22072187        position: absolute;
    22082188        top: 0;
    22092189        left: 0;
    2210 
    22112190        width: 220px;
    22122191        height: 120px;
    2213 
    22142192        margin: 0 20px 0 0;
    22152193}
    22162194
     
    22272205.archive.video-list .video-date {
    22282206        color: #aaa;
    22292207        display: block;
    2230 
    22312208        margin: 10px 0 0 0;
    2232 
    22332209        font-size: 12px;
    22342210}
    22352211
     
    22852261        float: left;
    22862262        width: 940px !important;
    22872263        height: 529px !important;
    2288 
    22892264        overflow: hidden;
    22902265}
    22912266
     
    24062381.secondary-videos .video-event {
    24072382        display: block;
    24082383        margin: 5px 0 0 0;
    2409 
    24102384        font-size: 12px;
    24112385        font-weight: normal;
    24122386        text-transform: capitalize;